Review Game Zone
Flash Cards
(current)
Games
Teachers
Search
Computer Programming 2 - 3
Test Description: Computer Programming 2 - Part 3
Instructions: Answer all questions to get your test result.
1) A data structure that follows FILO is:
A
Array
B
Structure
C
Stack
D
Queue
2) A data structure that follows FIFO is:
A
Array
B
Stack
C
Structure
D
Queue
3) The function to take an item off a stack is called:
A
pop
B
remove
C
push
D
top
4) The function that adds an item to the end of a queue is called
A
remove
B
front
C
pop
D
push
5) A function that can easily change types as needed by a program without the need to overload the function is called:
A
Template function
B
Polymorphic function
C
Dynamic function
D
Virtual functions
6) An example of a real life queue is:
A
A pile of books
B
The checkout line in a grocery store
C
A character's movement in a video game
D
The spray of shotgun bullets
7) An example of a real life stack is:
A
The checkout line in a grocery store
B
A pile of books
C
A character's movement in a video game
D
The spray of shotgun bullets
8) Which of these is not a data structure?
A
Stack
B
Class
C
Array
D
Queue
9) Stacks and Queues are able to change their size.
A
False
B
True
10) Templates have the advantage of:
A
Not needing to be programmed
B
Not needing to write code at all
C
Not needing to be defined
D
Not needing to write overloaded functions
*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?