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