《SSD5单选题答案.doc》由会员分享,可在线阅读,更多相关《SSD5单选题答案.doc(32页珍藏版)》请在金锄头文库上搜索。
1、Ssd5单选题1.1.11. C+ is said to be an object-oriented language because of its support for (b) (a) C-style comments (b) classes, inheritance, and polymorphism (c) attendant algorithms (d) pointers 2. Which of the following statements about C+ is (are) true (c)It is strongly typed. It has been standardiz
2、ed by ISO. (a) None (b) I only (c) I and II (d) II only 1.1.21. All of the following characters are allowed to be part of a valid C+ identifier except (a) (a) - (hyphen) (b) _ (underscore) (c) X (d) 3 2. To produce an executable image, a C+ source file must be _, then _, and finally _. (c) (a) linke
3、d, preprocessed, compiled (b) compiled, preprocessed, linked (c) preprocessed, compiled, linked (d) compiled, linked, preprocessed 3. At the end of the _ stage for a C+ program, a(n) _ can be produced. (c) (a) linking, source file (b) preprocessing, object file (c) linking, executable image (d) comp
4、iling, preprocessed file 4. In C+, the directive #include is processed by the (a) (a) preprocessor (b) Standard Template Library (c) linker (d) compiler 1.2.11. Lines at a store, file cabinets, and bookcases are real-world entities that most resemble _ in computer science. (a) (a) data structures (b
5、) functional programming languages (c) algorithms (d) object-oriented programming languages 2. In computer science, a structured representation of information is known as a(n) (b) (a) cache (b) data structure (c) algorithm (d) processor 3. An ordered set of directives that can be carried out mechani
6、cally is known as a(n) (b) (a) hash table (b) algorithm (c) associative array (d) tree 1.2.21. Decomposition of a problem involves which of the following? (d) (a) Simplifying the problem by eliminating low-priority requirements (b) Determining a programming language for implementing a solution to th
7、e problem (c) Reverse-engineering an algorithm that solves a different problem (d) Identifying entities and relationships that will aid in solving the problem 1.3.11. Which of the following expressions evaluates to true in C+ if and only if the index variable i is in bounds for an array of size 10? (c) (a) 0 10 (b) 0 = i & i = 10 (c) 0 = i & i 10 (d) 0 = i , , (c) (d) 2. Suppose inf is an available ifstream and c is an available character. Consider the following cod