Review and analysis of real questions for software reviewers in the second half of 2022

The second half of 2022 is the second exam since the revision of the software reviewer textbook. The following content is organized according to the memories after the exam, mainly focusing on the list of relevant knowledge points. I hope it will be helpful to everyone.

morning roll

The previous ones are the basic questions of the unit and the operating system, and there are many calculation questions. Error-prone or difficult questions: complement code, parity check, number system conversion, PV operation (two questions), thread blocking. There is also a legal question: What rights cannot be inherited by copyright heirs? Qiubuliujiu chose the distribution right, but it seems to say on the Internet that the authorship right cannot be inherited QAQ

 

In the middle are program questions and database inspections. The C language is the focus, accounting for 4-5 points, and there is a study of arrays and pointers. The database questions are not difficult, there are basically no questions about algorithms and data structures, only one question asked what is included in the outline design, A: interface, B: data structure, C: algorithm, D: physical structure of the database.

Later, more investigations will focus on some basic principles and concept recognition of the test. Some of them can be judged through text descriptions, and some need to be memorized. There are almost no calculation questions, which are a bit liberal arts. The last one examines the binary test and the ternary test. It is necessary to understand the basic concepts and perform numerical calculation and analysis.

The last English question is random, there are a few blanks related to the palindrome in the back, Qiubujiu English is just so so, so I won’t comment much.

To sum up, the questions in the morning cover a wide range of topics, but they are not difficult. The calculation questions need to be carefully calculated step by step. The programming, especially the C language, is relatively extensive, and there is also a grasp of some test concepts.

afternoon roll

first question

C language white box test questions, the core is to draw the picture correctly.

1.1 Write the logical conditions for judgment coverage, but there will be some pitfalls. 1. Write the conditions sufficiently. The judgments made before will be quoted later. You can also write the second question to draw the control flow diagram, and then write this question. This will be clearer. 2. The horizontal line on the answer sheet of the test paper is not long enough, and some conditions need to be combined, such as P<end, P+1<end, P+2<end. It can be combined into P+2<end, otherwise you don't have to think about finishing the answer.

1.2 Draw a picture question, control the flow graph, and then calculate the complexity of the cycle. Note the correspondence between the lines of && and or || and the next-step structure. There are also 5 returns in the program, all of which are directly connected to step 19 in the end. It is more convenient to calculate V(G) with the decision node, and I wrote 12.

1.3 Linearly irrelevant path, if the drawing title is written correctly, this question is a sub-question.

It took 50 minutes to write this question, and I was almost confused by the multiple judgments in the program. The drawing must be drafted, otherwise it will make people stupid.

second question

black box test design

The background of the topic is the relationship between the price of goods purchased in the supermarket and the reduction or exemption of parking fees, and then there is a judgment on whether it is a weekend. There are roughly three inputs, ABCD, ABC is the total price of the product type, a 2-digit positive floating point number, D is whether it is weekend, and the value is two integers of 0 and 1.

2.1 Fill in the blanks, divide equivalence classes, in fact, find the rules of other form items, you can do it without reading the questions

2.2 It is not difficult to fill in the numbers according to the first question

2.3 Find out what is missing in the test plan designed according to the specifications of the first and second questions. Qiubuliujiu's answer probably stated that it did not judge whether ABC is a 2-digit floating-point number, and there are some special boundary values ​​that were not written in the second question.

third question

Web Design Test Questions

Questions that are partial to concepts and liberal arts, you should be able to answer them with an endorsement and a combination of questions. Qiu Buliujiu didn't choose this question, so he wasn't impressed.

fourth question

Object Oriented, Class Diagram, C#/C++

Give a class diagram, the content probably has a basic class A, the solid line arrow points to a Windows class C, and then there is a two-dimensional vector class B with a solid line arrow pointing to A, and there are two classes D and E below with solid lines The triangle points to A.

4.1

The first question is, compared with structured design, what are the characteristics of object-oriented design in testing. Qiubuliujiu thinks that the answer revolves around the three characteristics of object-oriented, and the answer revolves around encapsulation, inheritance, polymorphism and combination testing.

The second small question, what is the direct relationship between A, D, and E? Qiubuliujiu didn’t know whether to answer the question of parent-child class or inheritance polymorphism, so I wrote them all up, let’s just let it go.

The third small question, the method X of A has been tested, D/E has the same method X, under what circumstances does it need to be re-tested, there is a standard answer for one year’s real questions, Qiu Buliujiu’s answer is to the effect that it is the method X of D/E After modifying or calling other methods that have been modified, answer in two small points

4.2.

Question 1. What type of polymorphism is method Y of class C. This little question is not answered.

Question 2. Method Y implements method X of each element in A, and renders the control, how to test it. Qiubuliujiu decomposed and answered the description of method Y in the title description.

4.3

Strategies for Integration Testing

Refer to the blogger's link, Qiubuliujiu doesn't think he answered well.

Strategies for Integration Testing - Yiban & Zhang Kaiyue - Blog Park

fifth question

Decision tables, black box testing, state analysis

The aircraft control signal, state ABCD, has two states respectively, and there are four output signals, normal, airport control, unchanged, and one forgotten.

Both 5.1 and 5.2. are fill-in-the-blank questions that give you points, similar to the second question, but the decision table is examined. According to the title description, you can basically get points if you fill in the condition items and action items correctly.

5.3. The reason why the compiled code needs to be tested again, Qiubuliujiu chose BD, the compiled code is consistent with the source code, and redundant codes are prevented from appearing in the compiled code.

To sum up, the difficulty of the basic questions in the afternoon paper is a little bit deeper than the previous questions of the same type, especially for the inspection of the judgment branch. This year's afternoon paper is of medium difficulty.

The code word is not easy, I hope it can help everyone. I also hope that I can pass this exam. This year because of the epidemic, I have to go to a place far away to take the exam. I don’t want to do it again next year┭┮﹏┭┮.

Guess you like

Origin blog.csdn.net/qq_33562122/article/details/127725602