
DS UNIT 1
Authored by Sumesh P
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which structure is best for implementing undo operations?
A. Queue
B. Tree
C. Stack
D. Graph
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is used to implement recursion?
A. Queue
B. Array
C. Stack
D. Tree
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of isEmpty() in a queue?
A. Deletes element
B. Checks if queue is empty
C. Inserts element
D. Shows rear element
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Queue follows which principle?
A. LIFO
B. FIFO
C. FILO
D. LILO
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure uses both front and rear for operations?
A. Stack
B. Array
C. Queue
D. Linked List
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct array declaration in C?
A. int arr();
B. int arr[] = {1,2,3};
C. arr int[5];
D. int[5] arr;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a non-primitive data structure?
A. float
B. boolean
C. stack
D. char
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?