DSA Basic Quiz

DSA Basic Quiz

University

15 Qs

quiz-placeholder

Similar activities

Python Quiz For Starters

Python Quiz For Starters

3rd Grade - Professional Development

17 Qs

Multimedia Video & Animation

Multimedia Video & Animation

University

20 Qs

DreamWeaver CS6

DreamWeaver CS6

University

20 Qs

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

Kuis Webinar Cerdas Bertelekomunikasi OTP Fraud

6th Grade - Professional Development

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

CHAPTER 1: COMPUTER SECURITY REVIEW

CHAPTER 1: COMPUTER SECURITY REVIEW

University

10 Qs

1-基本数据类型

1-基本数据类型

University

10 Qs

WINDOWS 2 ՊԱՏՈՒՀԱՆՆԵՐ

WINDOWS 2 ՊԱՏՈՒՀԱՆՆԵՐ

University

18 Qs

DSA Basic Quiz

DSA Basic Quiz

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Moushmee Kuri

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 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?

ABCD

DCBA

DCAB

ABDC


2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. How many stacks are needed to implement a queue. Consider the situation where no other data structure like arrays, linked list is available to you.

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. The following postfix expression with single digit operands is evaluated using a stack:  8 2 3 ^ / 2 3 + 5 1 -

Note that ^ is the exponentiation operator. The result is:


3

4

12

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. If the sequence of operations - push (1), push (2), pop, push (1), push (2), pop, pop, pop, push (2), pop are performed on a stack, the sequence of popped out values

2,2,1,1,2


2,2,1,2,2

2,1,2,2,1

2,1,2,2,2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What will be the postfix form of the above expression -

(A+B)∗(C∗D-E)∗F/G


A B + C  ∗ D  E − F G ∗ / ∗


A B + C D ∗ E − F G ∗ / ∗

A B + C D E ∗ − F G / ∗ ∗

A B + C D ∗ E - ∗ F ∗ G /

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is the value in the head -> next -> next below?

12


4600

1600

88

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is the operation of the below statements?

  2. newNode--->link = head;

  3. head = newNode;

Create a new node for a linked list


Insert a new node to the front of a linked list

Delete a new node from a linked list

Insert a new node to the end of the linked list

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?

Discover more resources for Computers