
Quiz2-DSA-FCPC
Quiz
•
Others
•
Professional Development
•
Practice Problem
•
Medium
ALVIN CERTEZA
Used 6+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A web browser maintains a history of visited pages. When you press the “Back” button, the browser retrieves the last page you visited. Which data structure best models this behavior?
Queue
Stack
Linked List
Tree
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A printer receives multiple print requests from users. It processes the first request received before the rest. Which structure is most suitable?
Stack
Queue
Heap
Tree
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A recursive function for factorial(5) calls itself until n == 1. How many total calls are made?
A. 4
B. 5
C. 6
D. Infinite
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a customer service line, the first customer is served first. This behavior follows:
LIFO
FIFO
FILO
LILO
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A recursive function without a base case will result in:
Logical error
Stack overflow
Queue overflow
Compilation error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
During function execution, the system stores return addresses and local variables in a:
Queue
Stack
Heap
Array
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A hospital triage system prioritizes patients based on severity instead of arrival order. Which structure is not suitable?
Priority Queue
Simple Queue
Heap
Stack
Create a free account and access millions of resources
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
36 questions
bhs Inggris kls 11
Quiz
•
Professional Development
35 questions
Le paiement du prix
Quiz
•
Professional Development
35 questions
Marriott Knowledge Quiz
Quiz
•
Professional Development
40 questions
AWS v3
Quiz
•
Professional Development
35 questions
Mastering Question Words
Quiz
•
Professional Development
40 questions
Lighting - 2
Quiz
•
Professional Development
42 questions
Cuestionario sobre Colchones Luuna
Quiz
•
Professional Development
35 questions
SAS PKN 7 2024-2025
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
