Data Structures and Algorithms Quiz No.1

Data Structures and Algorithms Quiz No.1

1st Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

Stacks and Queues (TextBook MCQs)

Stacks and Queues (TextBook MCQs)

12th Grade

20 Qs

Stack

Stack

University

15 Qs

data structure

data structure

University

15 Qs

Lesson 1: Queues and Stacks

Lesson 1: Queues and Stacks

6th Grade

10 Qs

Data Structures

Data Structures

University

10 Qs

ROTC Make-up Quiz

ROTC Make-up Quiz

University

15 Qs

XII_REVISION FOR FIRST UNIT TEST

XII_REVISION FOR FIRST UNIT TEST

12th Grade

15 Qs

data structures1

data structures1

University

20 Qs

Data Structures and Algorithms Quiz No.1

Data Structures and Algorithms Quiz No.1

Assessment

Quiz

Computers, Professional Development

1st Grade - Professional Development

Medium

Created by

saad ilyas

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?