CP 2200 Final Exam-Daniel R. Collins-Page 3 of Spring 2018 - Common Segment for
ID: 3903660 • Letter: C
Question
CP 2200 Final Exam-Daniel R. Collins-Page 3 of Spring 2018 - Common Segment for Sections 02, o IF ALSE. Write 'T if the statement is true and 'F if atement is false. (1 pt each) 34) A linked list can consist of structs, objects, or other abstract data types. 21) The number of comparisons made by a binary search is expressed in powers of two. 35) A new node must atways be made the last node in the list. 22) It is legal to subtract a pointer variable from 36) A linked list is called "linked because each another pointer variable node in the series has a pointer that points to the next node in the list 23) A pointer can be used as a function argument, giving the function access to the original argument 37) The pop function in the stack template does not retrieve the value from the top of the stack. It merely removes it 24) C++ does not perform array bounds checking. making it possible for you to assign a pointer the address of an element out of the boundaries of an array 38) The programmer must declare in advance the size of a dynarmic stack or queue 39) When a recursive function directly calls itself 25) You may use the and this is known as direct recursion relational operators to compare string objects 40) A recursive function cannot call another 26) Structure variables may be passed as function arguments to functions 27) When passing a file stream object to a function, you should always pass it by reference 28) When an object is defined without an argument list for its constructor, the compiler automatically calls the object's default constructor 29) If you do not declare a destructor function, the compiler will furnish one automatically 30) When you over load the > operator 31) The this pointer is a special built-in pointer that is automatically passed as a hidden argument to all non-static member functions 32) Pointers to a base class may be assigned the address of a derived class object )A derived class may not have any classes derived from itExplanation / Answer
21)F
22)F
23)T
24)T
25)F
26)T
27)T
28)T
29)T
30)F
31)T
32)T
33)F
34)T
35)F
36)T
37)F
38)F
39)T
40)F
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.