Search Header Logo

DS and APTITUDE MCQ

Authored by Dr.C.P. CSE

Computers

University

Used 1+ times

DS and APTITUDE MCQ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the disadvantages of arrays?

Index value of an array can be negative

Elements are sequentially accessed

There are chances of wastage of memory space

Data structure like queue or stack cannot be implemented

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not the application of stack?

Compiler Syntax Analyzer

Data Transfer between two asynchronous process

A parentheses balancing program

Tracking of local variables at run time

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Queue

Tree

Stack

Linked List

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following data structure can provide efficient searching of the elements?

binary search tree

treap

unordered lists

2-3 tree

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the functionality of the following piece of code?

display the list excluding top-of-the-stack-element

display the list

reverse the list

reverse the list excluding top-of-the-stack-element

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the type when Tail is pointed to the Head of a same Linked-List?

Circular Linked-List

Doubly Linked-List

Priority Queue

Stack

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?

Heap Sort

Quick Sort

Insertion Sort

Merge Sort

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?