
CODE_DUEL(Quiz Questions)
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Samiksha Singh
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Internet Web browsers store the addresses of recently visited sites
on a data structure. Each time a user visits a new site, that site’s address is stored onto the top of the
Data structure . The browser then allows the user to traverse back to previously
visited sites using the “back” button. What data structure is used for the implementation?
Queue
Priority Queue
Stack
Circular Linked List
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which part of memory is used for the allocation of local variables declared inside any function.
Stack
Heap
Address Space
Depends on Compiler
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If queue is implemented using arrays, what would be the worst run time complexity of queue and dequeue operations?
Ο(n), Ο(n)
Ο(n), Ο(1)
Ο(1), Ο(n)
Ο(1), Ο(1)
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
When Bob wants to send Alice a message M on the Internet, he breaks M into n data packets, numbers the packets consecutively, and injects them into the network. When the packets arrive at Alice’s computer, they may be out of order, so Alice must assemble the sequence of n packets in order before she can be sure she has the entire message. What efficient scheme can Alice use to do this ?
Doubly Linked List
Singly Linked List
Circular linked List
Circular doubly linked List
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following uses memorization?
Greedy Approach
Divide and conquer Approach
Dynamic Programming Approach
None of the above
6.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Suppose a certain flight is fully booked an hour prior to departure. Because of the possibility of cancellations, the airline maintains a record of standby passengers hoping to get a seat. The priority of each passenger is determined by the fare paid, the frequent-flyer status, and the time when the passenger is entered into the record. When a passenger requests to fly standby, the associated details of the passenger are recorded . Shortly before the flight departure, if seats become available (for example, due to last-minute cancellations), the airline repeatedly removes a standby passenger with first priority from the record and lets this person board. What data structure is used to maintain the airline record?
Circular Queue
Priority Queue
Hash Tables
A) B-Trees
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A binary tree can be converted in to its mirror image by traversing it in _________.
In-order
Pre-order
Post-order
Any order
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
11 questions
Determining System Requirements
Quiz
•
University
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
10 questions
INTO Artificial Intelligence
Quiz
•
University - Professi...
14 questions
ITF Chapter 1 Computing Devices
Quiz
•
University
10 questions
Let's Play Together
Quiz
•
University - Professi...
15 questions
ทดสอบ เรื่องกฎหมายดิจิทัล สิทธิ เสรีภาพของพลเมืองดิจิทัล
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
