Collecting and sorting out multiple-choice questions for the JD 2021 test development engineer for the programmer’s written test

1. What kind of xpath is more stable during UI automation testing and is the least likely to fail due to changes?
A. The deepest path
B. The path with text
C. The shallowest path
D. The path without text

2. In the white box test, which of the following are static analysis methods?
A. Program structure analysis
B. Code rule check
C. Program complexity analysis
D. Memory leak

3. Which of the following descriptions of connected graphs and connected components are correct?
A. A non-connected undirected graph has multiple connected components
B. A strongly connected graph has only one strongly connected component, which is itself
C. A non-strongly connected directed graph has multiple strongly connected components
D. The connectedness of any connected graph There is only one component, which is itself

4. JD.com has a very strict program design process and standardized design methods during the development of JD programs. Which of the following statements about the sequential file search algorithm is correct?
A. The binary search method is only suitable for sequential files
. B. The binary search method is suitable for single-element targets, but the multi-element target search is more complicated
. C. When the amount of data is large, the binary search method can be used to greatly improve the efficiency
. D. Yes Search down one by one through the sequential search method, knowing that all elements are searched again

5. Confirmation test is also called validity test or qualification test. Its task is to verify whether the system's functions, performance and other characteristics meet the requirements and specifications. The most important tasks of confirmation test include?
A. Functional test
B. Accuracy test
C. Software configuration review
D. Effectiveness test

6. There is an executable file echoName.sh, the content of the file is name='Hello World!'. After executing one of the following methods, the echo $name variable in the command line cannot be successfully output to display Hello World!.
A…/echoName.sh
B.sh echoName.sh
C…/echoName.sh
D.source echoName.sh

Guess you like

Origin blog.csdn.net/qq_34124009/article/details/107864732