First, single selection 1. Set x and y are BOOL, X && y is true (????). ???????? a. They are true ?????? b. One is true ???????????? c. They are all fake ????? D. One of them is false 2. In order to improve the running speed of the program, it can be implemented with a function of uncompletely complex function. This function should be selected (????). ???????? a. Inline function ?? b. Overload function ?? c. Recursive function ?? d. Function template 3. The pretreatment command starts with (????) symbols in the program. ???????? a. * ?????? B. # ??????? d. @ 4. OOD represented by object-oriented software development (??). ???????? a. Object-oriented analysis ???? b. Object-oriented design ???????????? c. Object-oriented language method 5. Assume that AB is a class, the "AB X;" statement will automatically call (????). ???????? a. Take the constructor ?? b. No argument constructor ?? C. Copy constructor ?? D. Assignment overload function 6. Several operation steps from the C program are obtained from the resulting result sequence (??????). ???????? a. Compile, editor, connection, run ???????? b. Edit, compile, connection, run ???????? c. Compile, run, edit, Connection ???????? d. Edit, Run, Edit, Connect 7. When the program is running more than one data from the keyboard, the (????) symbol should be used as the separator between the data. ???????? a. Space or comma ?????? b. Comma or enter ?????? c. Comma or semicolon ?????? d. Space or Enter 8 . Function call is not (????). ???????? a. Appears in an expression ???????? b. Appear in the execution statement ???????? c. As a function of a function??? ????? d. As a function of a function of the group 9. Set Array as an array, the result of expression sizeof (array [0]) is (????). ???????? a. Array population address ???????? b. ARRAY array ???????? c. The words occupied by each element in the array array The number of times ???????? d. ARRAY array accounts for the total byte number 10. OOA representation (??) used in object-oriented software development. ???????? a. Object-oriented analysis ???? b. Object-oriented design ???????????? c. Object-oriented language-oriented method 11. Members of the key defined after keyword private as class (??) members. ???????? a. Private ?????? b. Public ?????? c. Protection ?????? d. Any 12. Is incorrect in the following description (????). ???????? a. In a function, you can have multiple returnis statements ???????? b. The definition of the function cannot nested, but the call can be nestled ????? ??? c. The function must have a return value ??????? d. Variables 13 of the same name can be used in different functions. Function overload refers to (????). ???????? a. Two or more functions take the same function name, but the number or type of the shape is different ???????? b. More than two functions take the same The name and the number of the same parameters, but the type of parameter can be different ???????? c. Different of the two function names, but the number of parameters or type is the same ?????? ?? d. More than two functions take the same function name, and the return type of the function is 14. The following correct function prototype statement is (????).
???????? a. Double fun (int x, int y) ???????? b. Double fun (int x; int y) ???????? c. Double fun (int, int); ???????? d. Double Fun (INT X, Y); 15. If the array name is used as the actual parameters called by the function, it is transmitted to the formation (????). ???????? a. The first address of the array ???????? b. The value of the first element in the array ???????? c. The value of the array of all elements ??? ? D. Number of array elements, fill in the blanks 1. It is assumed that A is a one-dimensional array, then the storage address (in bytes) corresponding to the A [i] is ____________. 2. It is assumed that the pointer to the element B [4] in the one-dimensional array b is p, then the element pointed to by P 3 is ________________. 3. Perform int * p = new int [10], so that the P pointing the element to 0 in the dynamically assigned array, the element can be represented as _______ or ________. 4. The value of expression rand () * 20 containing random functions is in the _____ to ______. 5. If the "head" "of the While loop is" while (i <= 10) ", the initial value of I is 0, and the value of the I is not modified in the cyclic body, the cyclic body will be repeated ______ Normal end. 6. After the program is executed _______ function, the execution of the entire program will end, return to the C integrated development window under the operating system. 7. The length of the space is ________, stores it needs to occupy ________ bytes. 8. The length of string "/ 'a /' xy = 4 / n" is ________. 9. If a function only allows a function call in the same file, you should add _________ c before the function definition. 10. Known statement "COUT <<
__________.
11. It is known to define "INT X, A [] = {5, 7, 9}, * PA = A;", after the "x = * Pa;" statement, the value of x is ________.
12. Object-oriented analysis includes _________ analysis and __________ analysis two steps.
13. In each member function, the parameters of the implicit first parameter are named ________.
14. The standard output stream object for outputting the expression value is _________.
15. A function definition consists of two parts: _______ and ________.
16. The octal C corresponding to the decimal constant 245 is expressed as __________.
17. The length of the string "this / 's a book./n" is __________.
18. If x = 5, y = 10, the value of x and y after the Y * = X expression is calculated, respectively ______ and ______.
19. If the "Tail" of the DO loop is "while ( i <10)", and the initial value of I is 0, the value of I does not modify I in the cyclic body, the cyclic body will be repeated ______ times The end is ended normally.
20. If a function is called directly or indirectly, such a call is called ____________ call.
twenty one. The global variable and static partial variable have a static survival period, stored in the ____________________________________________________________________________________________.
twenty two. Element type is an array of INT A [10] takes up the storage space of the ________ byte.
twenty three. If A is a character array, enter a string of characters from the keyboard into __________. twenty four. The local variable has a local survival period, stored in the __________________________________________________________________________.
25. A pointer points to a data object, which saves the ________ of the data object, if the data object is a DataType type, the corresponding pointer type is __________.
26. An array name name is actually pointing to the pointer of the array ________ element, and does not allow ________ at any time.
27. It is assumed that X and CH are int type and CHAR type, respectively, the values of SIZEOF (X) and SIZEOF (CH) are ______ and ______, respectively.
28. In the IF statement, each ELSE keyword is equipped with the same level and closest to the front and close to the ________ key.
29. Assuming that the value of the object referred to P5, the value of the object referred to by P 1 is 42, then the value of * p is ________.
30. To define the integer pointer P and initially point to X, the definition statement used is ________.
31. It is assumed that a two-dimensional array is C [5] [8], then the value of C [3] is the address of the two-dimensional element ________, the value of C [3] 2 is the address of the two-dimensional element ________.
32. If P points to X, ________ and the representation of X is equivalent.
33. If Y is a reference to x, the value of & y and & x _______, that is, the address of the variable ________.
34. The type of return value when performing new char [m] [n] is ________.
35. Each object is one ___________________________.
36. This function belongs to the _______ function if a full definition of a member function is given in the defined body of the class.
37. There must be a function named ________ in a full program.
38. A function of a function is a _________ statement.
39. If the definition of a function is in a function of calling its function, the ______ statement of the function can be saved in the program.
40. The pointer variable PV and PC are defined as "Void * PV =" Hello, Word! "; Char * pc;", to assign PV values to PC, the correct assignment statement is _______________.
41. In C , the polymorphism of compile is to be implemented by __________________________.
42. In the class definition, both data members, also include ________ member.
43. Assuming x = 5, y = 6, then the value of the X and Y is performed in _________________________________________________________________________________________________________, execute expression y * = x calculation.
44. Store strings in C "A B = C" requires at least ________ bytes.
45. The data types of constants 100 and 3.62 are _______________________________, respectively.