Data Structure Quiz

Data Structure Quiz

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

OM_SBENT3C_Q2

OM_SBENT3C_Q2

University - Professional Development

15 Qs

Quiz 1: The background and history of IoT

Quiz 1: The background and history of IoT

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

CS100||MsWord

CS100||MsWord

University

10 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Cuestionario Steve Jobs

Cuestionario Steve Jobs

12th Grade - University

10 Qs

Website Usability and UX

Website Usability and UX

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

Data Structure Quiz

Data Structure Quiz

Assessment

Quiz

Computers

University - Professional Development

Hard

Created by

SAI PRIYA

Used 26+ 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

Given pointer to a node X in a singly linked list. Only one pointer is given, pointer to head node is not given, can we delete the node X from given linked list?

Possible if X is not last node. Use following two steps (a) Copy the data of next of X to X. (b) Delete next of X.

Possible if size of linked list is even.

Possible if size of linked list is odd

Possible if X is not first node. Use following two steps (a) Copy the data of next of X to X. (b) Delete next of X

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Queue is ____

fifo

Lifi

Both a and b

None of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tree is ____data structure

Linear

Non linear

Array

List

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following points is/are true about Linked List data structure when it is compared with array

Arrays have better cache locality that can make them better in terms of performance.

It is easy to insert and delete elements in Linked List

Random access is not allowed in a typical implementation of Linked Lists

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You are given pointers to first and last nodes of a singly linked list, which of the following operations are dependent on the length of the linked list?

Delete the first element

Insert a new element as a first element

Delete the last element of the list

Add a new element at the end of the list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the stack, If user try to remove element from the empty stack then it called as ___________.

Overflow of Stack

Empty Collection

Underflow of Stack

Garbage Collection

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In order to keep track of current topmost element of the stack we need to maintain one variable.

Yes

No

Both Yes and No

None of the answer

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?