Data Structure Quiz

Data Structure Quiz

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

Trg@home 1

Trg@home 1

Professional Development

10 Qs

Post Test #4 - Python Fundamental #3

Post Test #4 - Python Fundamental #3

University

10 Qs

Google Calendar

Google Calendar

University

10 Qs

Conditions

Conditions

University

15 Qs

isc2 sample questions

isc2 sample questions

Professional Development

14 Qs

KSK2013 -9 Setup report

KSK2013 -9 Setup report

KG - University

15 Qs

Grade 7 IA CARPENTRY (MEASURING AND LINING TOOLS)

Grade 7 IA CARPENTRY (MEASURING AND LINING TOOLS)

7th Grade - University

10 Qs

HA400 - UNIT 3

HA400 - UNIT 3

Professional Development

10 Qs

Data Structure Quiz

Data Structure Quiz

Assessment

Quiz

Computers

University - Professional Development

Hard

Created by

SAI PRIYA

Used 26+ times

FREE Resource

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?