First half of 2016 software designer exam questions morning Roll (26-50 questions)

Source: Internet
Author: User

Get martial arts cheats, repair a good kung fu, you can walk in the lake. Get the soft test real problem , get the direction of the proposition, successfully passed the exam. The Following is the first half of a 2016-year software designer exam for you to help you prepare for the test.


first half of 2016 software designer exam questions morning Roll (26-50 questions)

The P1, P2, P3, P4, and P5 of the process are shown in the preceding diagram:

650) this.width=650; "Src=" http://www.educity.cn/article_images/2016-06-16/ 1bc64b10-d155-4988-b03e-35171886b459.png "style=" Float:none; "alt=" 1bc64b10-d155-4988-b03e-35171886b459.png "/ >

If the process of controlling the process P1, P2, P3, P4, and P5 is performed with the PV operation, 5 signals S1, S2, S3, S4, and S5 are required, and the initial value of the semaphore s1~s5 is equal to zero. A and B shall be filled separately (+), and C and D shall be filled out separately (28) at E and F respectively.

650) this.width=650; "Src=" http://www.educity.cn/article_images/2016-06-16/ 5b33fd5b-abd5-4326-ad0b-6c36dcfb2aa6.png "style=" Float:none; "alt=" 5b33fd5b-abd5-4326-ad0b-6c36dcfb2aa6.png "/ >

A V (S1) P (S2) and V (S3)

B P (S1) v (S2) and V (S3)

C V (S1) v (S2) and V (S3)

D P (S1) p (S2) and V (S3)

(b) A. P (S2) and P (S4)

B P (S2) and V (S4)

C V (S2) and P (S4)

D V (S2) and V (S4)

(b) A. P (S4) and V (S4) v (S5)

B V (S5) and P (S4) p (S5)

C V (S3) and V (S4) v (S5)

D P (S3) and P (S4) V (P5)

As shown, both module A and Module B have access to the same global variables and data structures, and the coupling type between the two modules is (29) coupled.

650) this.width=650; "Src=" http://www.educity.cn/article_images/2016-06-16/ 4856eebf-2828-4446-8f52-a8cbbec8eb58.png "style=" Float:none; "alt=" 4856eebf-2828-4446-8f52-a8cbbec8eb58.png "/ >

A. Public

B Control

C Mark

D Data

The following is a description of the incremental development model, which is incorrect (30).

A You don't have to wait until the entire system is developed.

B You can use the older incremental artifacts as prototypes to get the incremental component requirements later

C The highest priority service is delivered first, so that the most important services receive the most testing

D Facilitates good module partitioning

When designing the module structure of the Software, (31) can not improve the design quality.

A The scope of the module should be within its control range

B The module is of moderate size

C Avoid or reduce the use of sick connections (entering or accessing a module from the middle)

D The more simple the function of the module, the better

In the various styles of the software architecture, the warehouse style consists of a data warehouse and several other artifacts. The Data Warehouse is located at the center of the architecture, and other components access the Data warehouse and add, delete and change the data. The following description of the style is incorrect (32). (33) does not belong to the warehouse style.

A Support for scalability and maintainability

B A reusable source of knowledge

C Support for fault tolerance and robustness

D Simple testing

A Database system

B Hypertext system

C Blackboard System

D Compiler

(a) Shown as an example of a module hierarchy, shown in figure (b) as the order in which the integration test is performed, the test takes the (34) test strategy. The advantages of this test strategy do not include (35).

650) this.width=650; "Src=" http://www.educity.cn/article_images/2016-06-16/ 0dcedd2b-9bf0-48e7-9fd8-120d0cbba5c3.png "style=" Float:none; "alt=" 0dcedd2b-9bf0-48e7-9fd8-120d0cbba5c3.png "/ >

A From bottom up

B From top to bottom

C Sandwich

D Disposable

(A). The main control and judgment points were verified earlier

B Earlier validation of the underlying module

C High degree of parallelism in testing

D Less drive module and pile module writing workload

The McCabe measurement method is used to calculate the loop complexity of the program shown as (36).

650) this.width=650; "Src=" http://www.educity.cn/article_images/2016-06-16/ 3292ba41-04da-4f27-9019-46839a21c1db.png "style=" Float:none; "alt=" 3292ba41-04da-4f27-9019-46839a21c1db.png "/ >

(A). 1

B 2

C 3

D 4

In an object-oriented approach, (37) is a mechanism for sharing data and methods between a parent class and a subclass. Subclasses, on the basis of the original parent class interface, replace the corresponding implementation in the parent class with the implementation that is appropriate for their own requirements called (38).

(PNS) A. Packaging

B Inherited

C Covered

D Polymorphic

(A). Packaging

B Inherited

C Covered

D Polymorphic

In the UML use case diagram, the participant represents (39).

A The role that people, hardware, or other systems can play

B The same user who can complete multiple actions

C Regardless of the actual physical user of the role

D Physical system or hardware design with an interface

An association in UML is a structural relationship that describes a set of chains. Two classes (40) are associated with each other.

A. There cannot be more than one

B. There can be multiple different roles identified by the

C can have any number of

D Multiple associations must be aggregated into a

The UML diagram shown below is (41), in Figure (Ⅰ) (42), (Ⅱ) (43).

650) this.width=650; "Src=" http://www.educity.cn/article_images/2016-06-16/ 8fa82864-6894-4e62-8711-6771103a201e.png "style=" Float:none; "alt=" 8fa82864-6894-4e62-8711-6771103a201e.png "/ >

(A) A. Sequence diagram

B State diagram

C Communication diagram

D Activity Chart

(A). Merging Forks

B Branch

C Merging convergence

D Flow

(+) A. Branch conditions

B Guardianship expressions

C Action Name

D Stream name

Defines the parallel class hierarchy of different platforms for graphical user interface (GUI) components, which is suitable for (44) mode.

A Enjoy RMB (Flyweight)

B Abstraction Factory (abstract Factory)

C Appearance (facade))

D Adorner (Decorator)

(45) The design pattern encapsulates a request as an object, which allows the client to be parameterized with different requests, to queue requests or log requests, and to support revocable operations.

Order (command)

B Responsibility chain (Chain of Responsibility)

C Viewer (Observer)

D Strategy (strategy)

(46) The design pattern is best used for the Publish/Subscribe message model, where subscribers are notified when a new message arrives on this topic when a Subscriber registers a topic.

A. Adapter (Adapter)

B Notice (Notifier)

C Viewer (Observer)

D Status (state)

The use of (47) mode for object sharing to reduce the number of objects resulting in less memory consumption and improved performance is appropriate when large amounts of objects are used to create significant storage overhead.

A. Combination (Composite)

B Enjoy RMB (Flyweight)

C Iterators (Iterator)

D Memo (Memento)

The transfer-to-return method is a way for the compiler (or interpreter) to parse the high-level language source program, which belongs to the (48) syntax analysis method.

A. Top-down (or top-down)

B Bottom-up (or bottom-up)

C From left to right

D From right to left

A deterministic finite automaton (DFA) state conversion diagram is shown (A is the initial state, C is the final state), then the DFA can recognize (49).

650) this.width=650; "Src=" http://www.educity.cn/article_images/2016-06-16/ F77ae0f9-5805-46ee-b053-b652d796e16f.png "style=" Float:none; "alt=" f77ae0f9-5805-46ee-b053-b652d796e16f.png "/ >

A Aabb

B Abab

C Baba

D Abba

The function main (), F () is defined as follows, when the function f () is called, the first parameter takes the method of the value (call by value), the second argument is quoted (calls by reference), and the main function "Print (x)" The value of the output after execution is (50).

650) this.width=650; "Src=" http://www.educity.cn/article_images/2016-06-16/ 3ba8e415-4260-4d60-bec8-80840e4df385.png "style=" Float:none; "alt=" 3ba8e415-4260-4d60-bec8-80840e4df385.png "/ >

A 1

B 6

C 11

D 12



First half of 2016 software designer exam questions morning Roll (26-50 questions)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.