Data Structures using C

Data Structures using C

12th Grade - University

20 Qs

quiz-placeholder

Similar activities

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

Sistem Informasi Manajemen

Sistem Informasi Manajemen

University

20 Qs

The AI Shield

The AI Shield

University

15 Qs

Unit 28 - Quiz #1

Unit 28 - Quiz #1

University

15 Qs

PROBLEM SOLVING USING R  UNIT I  MCQS

PROBLEM SOLVING USING R UNIT I MCQS

University

15 Qs

Data Structures using C

Data Structures using C

Assessment

Quiz

Computers

12th Grade - University

Medium

Created by

M Niranjan

Used 44+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 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

The size of array has to be pre-decided, linked lists can change their size any time.

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

All the Above

2.

MULTIPLE CHOICE QUESTION

2 mins • 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

Inser a new element as the first element

Delete the last element

Add a new element at the end of the list

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which one of the following is an application of Stack Data Structure?

Managing function calls

The stock span problem

Arithmetic expression evaluation

All the above

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which one of the following is an application of Queue Data Structure?

When a resource is shared among multiple consumers.

When data is transferred asynchronously (data not necessarily received at same rate as sent) between two processes

Process Scheduling

All the above

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is true about linked list implementation of stack?

In push operation, if new nodes are inserted at the beginning of linked list, then in pop operation, nodes must be removed from end.

In push operation, if new nodes are inserted at the end, then in pop operation, nodes must be removed from the beginning.

Both of the above

None of the above

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Suppose the numbers 7, 5, 1, 8, 3, 6, 0, 9, 4, 2 are inserted in that order into an initially empty binary search tree. The binary search tree uses the usual ordering on natural numbers. What is the in-order traversal sequence of the resultant tree?

7 5 1 0 3 2 4 6 8 9

0 2 4 3 1 6 5 9 8 7

0 1 2 3 4 5 6 7 8 9

9 8 6 4 2 3 0 1 5 7

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is not the type of queue?

Priority Queue

Single ended Queue

Ordinary Queue

Circular Queue

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

Already have an account?