
Data Structures and Algorithms Quiz
Authored by Khalil Marwat
Computers
University
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure uses LIFO order?
Queue
Stack
Array
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm repeatedly compares adjacent elements?
Merge Sort
Quick Sort
Bubble Sort
Insertion Sort
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which operation removes an item from the top of a stack?
Insert
Add
Pop
Push
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which sorting algorithm builds the sorted array one element at a time?
Merge Sort
Insertion Sort
Selection Sort
Quick Sort
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the index of the first element in an array in C/C++?
1
-1
0
Depends on compiler
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which sorting algorithm selects the minimum element in each pass?
Insertion Sort
Bubble Sort
Merge Sort
Selection Sort
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
An array is a type of:
Non-linear DS
File
Linear DS
Tree
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?