Quiz 1 - AK2 Section
Quiz
•
Computers
•
University
•
Hard
Nagendra Prabhu S
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the major advantage of a linked list over an array?
Faster access to elements.
Fixed size allocation.
Dynamic memory allocation and efficient insertion/deletion
More memory efficient for large datasets.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the time complexity for accessing an element in the middle of a singly linked list?
O(1)
O(n)
O(log n)
O(n^2)
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which data structure can be used to reverse a string?
Queue
Stack
Linked List
Double Linked List
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a circular queue, how is the queue full condition detected?
Front == Rear
(Rear + 1) % Size == Front
(Front + 1) % Size == Rear
Rear == Size - 1
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a disadvantage of using a linked list?
Efficient insertion and deletion
Flexibility in size
Dynamic memory allocation
Requires more memory due to pointers
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the primary advantage of using a stack for expression evaluation?
Stack is simpler to implement.
It evaluates expressions faster than other structures.
Stack naturally handles operations in reverse (LIFO), matching the needs of expression evaluation.
Stack uses less memory.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
You are given a list of names, and you need to reverse the order of these names. Which data structure and operation would you use?
Stack to push names and then pop them.
Queue to enqueue names and then dequeue them.
Array to iterate from end to beginning.
Linked List to directly reverse the pointers.
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Form: DataList-Select
Quiz
•
University
10 questions
Quiz-AIML
Quiz
•
University
10 questions
Post Test #4 - Python Fundamental #3
Quiz
•
University
12 questions
Quiz PTI Multimedia 23/24 Pertemuan 3-4
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
10 questions
OOP intro quizz
Quiz
•
University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
9 questions
Rounding Numbers in Python
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
22 questions
FYS 2024 Midterm Review
Quiz
•
University
20 questions
Physical or Chemical Change/Phases
Quiz
•
8th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
12 questions
1 Times Tables
Quiz
•
KG - University
20 questions
Disney Trivia
Quiz
•
University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University