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
Overunder
C
Overridden
D
Overloaded
2) Which of these is not an overloaded function by the name of mouse?
A
int muose (int, string)
B
int mouse (int, int)
C
int mouse (string, int)
D
int mouse (int, char)
3) Which of the following is one difference between overloaded functions?
A
A different name
B
A different set of
C
A different number of parameters
D
A different set of parameter names
4) A search that progresses sequentially through a structure such as an array is called:
A
Search
B
Linear search
C
Binary search
D
Progressive 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
Linear search
C
Binary search
D
Progressive search
6) Which of the following is NOT an iterative (sequential) sorting algorithm?
A
Merge
B
Selection
C
Bubble
7) Which of the following is NOT a recursive sorting algorithm?
A
Quick
B
Merge
C
Heap
D
Selection
8) A multidimensional array defined as array(4)(5)(6) has how many elements?
A
240
B
120
C
15
D
26
9) Which of the following will have 42 elements?
A
array(2)(3)(7)
B
array(6)(8)
C
array(20)(20)(2)
D
array(10)(10)(2)
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?