Data_Structures_1

Data_Structures_1

University

16 Qs

quiz-placeholder

Similar activities

9.4.25 Mentoring quiz

9.4.25 Mentoring quiz

University

20 Qs

Data Structure With C++

Data Structure With C++

University

20 Qs

New DSC Quiz

New DSC Quiz

University

20 Qs

STRUKTUR DATA (QUIZ FINAL)

STRUKTUR DATA (QUIZ FINAL)

University

15 Qs

Data Structures2

Data Structures2

University

11 Qs

TREES

TREES

University

20 Qs

Queue ADT

Queue ADT

12th Grade - University

20 Qs

AVL Trees

AVL Trees

KG - University

12 Qs

Data_Structures_1

Data_Structures_1

Assessment

Quiz

Computers

University

Hard

Created by

sobha xavier

Used 3+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is a data structure?

a) A programming language

b) A collection of algorithms

c) A way to store and organize data

d) A type of computer hardware

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What are the disadvantages of arrays?

a) Index value of an array can be negative

b) Elements are sequentially accessed

c) Data structure like queue or stack cannot be implemented

d) There are chances of wastage of memory space if elements inserted in an array are less than the allocated size

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

3. Which data structure is used for implementing recursion?

a) Stack

b) Queue

c) List

d) Array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. What is the value of the postfix expression 6 3 2 4 + – *?

a) 74

b) -18

c) 22

d) 40

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as _____________

a) Queue

b) Stack

c) Tree

d) Linked list

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

a) ABCD

b) DCBA

c) DCAB

d) ABDC

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A normal queue, if implemented using an array of size MAX_SIZE, gets full when?

a) Rear = MAX_SIZE – 1

b) Front = (rear + 1) mod MAX_SIZE

c) Front = rear + 1

d) Rear = front

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?