Search Header Logo

gfgghfh

Authored by Rohini R

English

9th - 12th Grade

Used 2+ times

gfgghfh
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a data structure?

A type of computer hardware

A programming language

A collection of algorithms

A way to store and organize data

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used for implementing recursion?

Array

Queue

Stack

List

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

-18

-12

20

15

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The prefix form of A-B/ (C * D ^ E) is?

-ABCD*^DE

-A/B*C^DE

-/*^ACBDE

-A/BC*^DE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A queue follows __________

LIFO (Last In First Out) principle

Ordered array

FIFO (First In First Out) principle

Linear tree

6.

MULTIPLE CHOICE QUESTION

30 sec • 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?

DCBA

ABDC

ABCD

DCAB

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A normal queue, if implemented using an array of size MAX_SIZE, gets full when?

Rear = front

Rear = MAX_SIZE – 1

Front = (rear + 1)mod MAX_SIZE

Front = rear + 1

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?