Data Structures Through C C-21 (UNIT 5 & 6)

Data Structures Through C C-21 (UNIT 5 & 6)

12th Grade

20 Qs

quiz-placeholder

Similar activities

AP CSP - Unit 6: Lesson 6: Assessment Day

AP CSP - Unit 6: Lesson 6: Assessment Day

12th Grade

15 Qs

iGCSE Computer Science: Internet & WWW

iGCSE Computer Science: Internet & WWW

9th - 12th Grade

20 Qs

Tes Formatif 1 Informatika

Tes Formatif 1 Informatika

12th Grade

20 Qs

Data structure test1

Data structure test1

12th Grade

20 Qs

Quiz -2 Arithmetic Expressions Evaluation in C

Quiz -2 Arithmetic Expressions Evaluation in C

12th Grade

15 Qs

Network basics quiz

Network basics quiz

9th - 12th Grade

20 Qs

File Handling in C++

File Handling in C++

12th Grade - University

20 Qs

CSP 1.4 Vocab

CSP 1.4 Vocab

9th - 12th Grade

20 Qs

Data Structures Through C C-21 (UNIT 5 & 6)

Data Structures Through C C-21 (UNIT 5 & 6)

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Battala Krishna

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

1

30

-9

-18

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Here is an infix expression: 4 + 3*(6*3-12). Suppose that we are using the usual stack algorithm to convert the expression from infix to postfix notation. The maximum number of symbols that will appear on the stack AT ONE TIME during the conversion of this expression?

4

3

2

1

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does ‘stack underflow’ refer to?

accessing item from an undefined stack

adding items to a full stack

removing items from an empty stack

index out of bounds exception

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following array element will return the top-of-the-stack-element for a stack of size N elements?

S[N-1]

S[N]

S[N-2]

S[N+1]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Convert the following infix expressions into its equivalent postfix expressions.
(A + B ⋀D)/(E – F)+G

(A B D ⋀ + E F – / G +)

(A B D +⋀ E F – / G +)

(A B D ⋀ + E F/- G +)

(A B D E F + ⋀ / – G +)

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A data structure in which elements can be inserted or deleted at/from both ends but not in the middle is?

Queue

Circular queue

Deque

Priority queue

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the need for a circular queue?

effective usage of memory

easier computations

to delete elements based on priority

implement LIFO principle in queues

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?