Search Header Logo

Data Structures and Algorithms Quiz No.1

Authored by saad ilyas

Computers, Professional Development

1st Grade - Professional Development

Used 3+ times

Data Structures and Algorithms Quiz No.1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

If the insertion and deletion happens from both the ends then the queue is called a______Queue

a) Deque

b) Header

c) Queue

d) Circular Queue

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Process of inserting an element in stack is called ____________

Create

Push

Evaluation

Pop

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following applications may use a stack?

a) A parentheses balancing program

b) Tracking of local variables at run time

c) Compiler Syntax Analyzer

d) Data Transfer between two asynchronous process

4.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

What is the value of the postfix expression 6 3 2 4 + – *:

1

14

74

-18

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

The data structure required to check whether an expression contains balanced parenthesis is?

a) Stack

b) Queue

c) Array

d) Tree

6.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

a) ABCD

b) DCBA

c) DCAB

d) ABDC

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which of the following are themselves a collection of different data types?

String

Struct

char

all

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?