Review Game Zone
Flash Cards
(current)
Games
Teachers
Search
Computer Programming 2 - 2
Test Description: Computer Programming 2 - Part 2
Instructions: Answer all questions to get your test result.
1) Multiple functions with the same name but different parameter types and/or different number of parameters are called:
A
Overachieving
B
Overridden
C
Overloaded
D
Overunder
2) Which of these is not an overloaded function by the name of mouse?
A
int mouse (int, char)
B
int mouse (int, int)
C
int muose (int, string)
D
int mouse (string, int)
3) Which of the following is one difference between overloaded functions?
A
A different set of parameter names
B
A different name
C
A different number of parameters
D
A different set of
4) A search that progresses sequentially through a structure such as an array is called:
A
Linear search
B
Progressive search
C
Search
D
Binary search
5) A search that splits a sorted structure (array) in the middle and then compares to see if a value is higher or lower is called:
A
Search
B
Binary search
C
Progressive search
D
Linear search
6) Which of the following is NOT an iterative (sequential) sorting algorithm?
A
Merge
B
Bubble
C
Selection
7) Which of the following is NOT a recursive sorting algorithm?
A
Selection
B
Merge
C
Heap
D
Quick
8) A multidimensional array defined as array(4)(5)(6) has how many elements?
A
26
B
15
C
120
D
240
9) Which of the following will have 42 elements?
A
array(10)(10)(2)
B
array(20)(20)(2)
C
array(2)(3)(7)
D
array(6)(8)
10) Anything you can do to an array can be done to a multidimensional array.
A
False
B
True
*select an answer for all questions
Check Results & Get Answers
Play Games with the Questions Above
Teachers: Create FREE classroom games with your questions
Click for more info!
©2007-2024
ReviewGameZone.com
|
About
|
Privacy
|
Contact
|
Terms
|
Site Map
WAIT! Find what you needed?
×
Still Looking for the Answers?
Have Another Question?
Play a Review Game with These Questions?
Want to Make Your Own Test Like This One?