DS UNIT 1

DS UNIT 1

University

10 Qs

quiz-placeholder

Similar activities

PROBLEM SOLVING USING R  UNIT I  MCQS

PROBLEM SOLVING USING R UNIT I MCQS

University

15 Qs

Prak MC

Prak MC

University

15 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

Uji Pengetahuan TIK untuk Siswa Kelas 7

Uji Pengetahuan TIK untuk Siswa Kelas 7

7th Grade - University

15 Qs

Javascript

Javascript

University

12 Qs

The AI Shield

The AI Shield

University

15 Qs

Unit 28 - Quiz #1

Unit 28 - Quiz #1

University

15 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 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?