Data Structures and Algorithms Quiz No.1

Data Structures and Algorithms Quiz No.1

1st Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

Python_DS

Python_DS

Professional Development

13 Qs

QUIZ M4 Stack & Queue

QUIZ M4 Stack & Queue

1st Grade - University

14 Qs

Data Structures

Data Structures

10th Grade - University

18 Qs

Stack

Stack

12th Grade

20 Qs

A Level - Data Structures 1

A Level - Data Structures 1

11th Grade

10 Qs

Data Structures

Data Structures

1st - 3rd Grade

20 Qs

Topic 3 (Stacks)

Topic 3 (Stacks)

1st - 12th Grade

20 Qs

Programming Basics

Programming Basics

11th - 12th Grade

10 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?