DS UNIT 1

DS UNIT 1

University

10 Qs

quiz-placeholder

Similar activities

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Computer Network Fun Review 5 - Data Link Layer

Computer Network Fun Review 5 - Data Link Layer

University

10 Qs

SMITE 6.0: Get to Know Cybersecurity

SMITE 6.0: Get to Know Cybersecurity

University

11 Qs

Graphs

Graphs

University

15 Qs

Spreadsheet Starter

Spreadsheet Starter

7th Grade - University

12 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

DS UNIT 1

DS UNIT 1

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Sumesh P

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Queue
Graph
C
Tree

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is used to implement recursion?
A. Queue
B. Array
C. Stack
D. Tree

Linked List
Hash Table
Graph
C. Stack

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

E. Displays queue size
B. Checks if queue is empty
F. Removes all elements
G. Retrieves front element

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Queue follows which principle?
A. LIFO
B. FIFO
C. FILO
D. LILO

LIFO
FILO
LILO
B. FIFO

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

F. Hash Table
E. Tree
C. Queue
G. Set

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;

array int arr[5];
int arr(5);
int arr = {1,2,3};
B. int arr[] = {1,2,3};

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

A. integer
C. stack
D. array
B. string

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?