DS Quiz 1

DS Quiz 1

University

10 Qs

quiz-placeholder

Similar activities

COMPUTER PROGRAMMING 2- SEATWORK 1- INTRO TO DATA STRUCTURES

COMPUTER PROGRAMMING 2- SEATWORK 1- INTRO TO DATA STRUCTURES

University

10 Qs

DATA STRUCTURES QUIZ

DATA STRUCTURES QUIZ

University

15 Qs

data structure

data structure

University

15 Qs

Quiz 1 - AK2 Section

Quiz 1 - AK2 Section

University

10 Qs

ROTC Make-up Quiz

ROTC Make-up Quiz

University

15 Qs

C++ linked lists

C++ linked lists

University

9 Qs

Data Structures and Algorithm

Data Structures and Algorithm

University

9 Qs

Linked List - Implementation

Linked List - Implementation

University

15 Qs

DS Quiz 1

DS Quiz 1

Assessment

Quiz

Computers

University

Easy

Created by

Vishnuvardhan Reddy Avija

Used 4+ times

FREE Resource

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

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?