DS UNIT 1

DS UNIT 1

University

10 Qs

quiz-placeholder

Similar activities

2024 - Struktur Data Quiz 1

2024 - Struktur Data Quiz 1

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

relaciones de bases de datos

relaciones de bases de datos

University

11 Qs

Hands-on Modul 3

Hands-on Modul 3

University

10 Qs

CS100||MsWord

CS100||MsWord

University

10 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Software dan Hardware

Software dan Hardware

University

10 Qs

Peranti Input Ouput

Peranti Input Ouput

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?

Discover more resources for Computers