
CS ADT's GAME
Authored by Lareina Huang
Fun, Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
A queue is a data structure that operates on a ____ principle.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The input sequence of a stack is 1, 2, 3...n, if the first element of the output sequence is n, the i-th (1<= i <=n) element of the output is
A. not sure
B. n-i+1
C. i
D. n-i
3.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Following pseudocode writes about accessing all nodes stored in the linked list. Read the code and fill in the blank.
PEOCEDURE OutputAllNodes
CurrentNodePtr <-- StartPointer
WHILE CurrentNodePtr <> NullPointer
OUTPUT List[CurrentNode].Data
CurrentNodePtr <-- _______________
ENDWHILE
ENDPROCEDURE
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the result of the inorder traversal in this binary tree?
ABDEC
DEBCA
DBEAC
None of the above answers are correct
5.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
In linked lists, elements are not stored in ____ memory location.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The four elements enter into queue consecutively in order A, B, C, and D. After an out of the queue operation, the front element of the queue is
A
B
C
D
7.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which two storage structures can be used for a general binary tree?
Sequential storage (using arrays)
Sequential storage (using queue)
Sequential storage (using stack)
Chain structure (using linked lists)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Intro Quiz
Quiz
•
10th - 12th Grade
12 questions
Guess the YouTuber
Quiz
•
6th Grade - Professio...
10 questions
emtech
Quiz
•
12th Grade
15 questions
EmTech Module 1.1 Pretest
Quiz
•
12th Grade
11 questions
rasy psów
Quiz
•
1st - 12th Grade
10 questions
Списки Python + Pygame
Quiz
•
KG - University
15 questions
Ipad
Quiz
•
1st Grade - Professio...
15 questions
Sejarah Komputer 2
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade