
CC204: DSA Prefinals
Authored by Mikaelee Bustamante
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the pointers FRONT and REAR in a queue?
They track the first and last elements, respectively.
They manage the size of the queue.
They point to the middle element.
They are irrelevant in queue implementation.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial value of FRONT and REAR when a queue is empty?
0
-1
1
null
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the Enqueue operation do in a queue?
Removes an element
Adds an element to the front
Adds an element to the end
Checks if the queue is full
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the Dequeue operation performed in a queue?
Removes the last element
Removes the middle element
Removes the first element
Removes all elements simultaneously
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the IsEmpty operation check in a queue?
If the queue is partially filled
If the queue is full
If the queue is empty
If the queue has a certain size
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the Peek operation in a queue?
Remove the front element
Get the value of the front without removing it
Check if the queue is full
Add an element to the front
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary limitation of a standard queue?
It cannot store elements
It cannot perform Dequeue operation
It can only add elements to the front
It cannot utilize empty spaces after dequeueing
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
40 questions
Computer Network
Quiz
•
12th Grade - University
45 questions
Pagtatapos Isa
Quiz
•
University
40 questions
ENG-103 Vocab
Quiz
•
University
40 questions
ICT-Department-Grade4-November
Quiz
•
4th Grade - University
40 questions
Discrete Structure (COS 203) CA
Quiz
•
University
35 questions
JAVA BASIC 2
Quiz
•
University
40 questions
MS office 2016
Quiz
•
1st Grade - Professio...
35 questions
FINAL_EXAM (CFP_122)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University