Search Header Logo

DS Quiz 1

Authored by Vishnuvardhan Reddy Avija

Computers

University

Used 4+ times

DS Quiz 1
AI

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 data structure is used for implementing recursion?

Stack

Queue

List

Array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is based on the Last In First Out (LIFO) principle?

Tree

Linked List

Stack

Queue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear collection of data elements where the linear node is given by means of pointer is called?

Linked list

Node list

Primitive list

Unordered list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the asymptotic time complexity to insert an element at the front of the linked list (head is known)?

O(1)

O(n)

O(n2)

O(n3)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is false about a doubly linked list?

We can navigate in both the directions

It requires more space than a singly linked list

The insertion and deletion of a node take a bit longer

Implementing a doubly linked list is easier than singly linked list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a disadvantage to the usage of array?

Fixed size

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

Insertion based on position

Accessing elements at specified positions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming int is of 4bytes, what is the size of int arr[15];?

15

19

11

60

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?