Search Header Logo

QUIZ-STACK_QUEUE_Jan'24

Authored by Lilesh Pathe

Computers

Professional Development

Used 1+ times

QUIZ-STACK_QUEUE_Jan'24
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which algorithm takes less time or space is called

Best case

Worst case

Average case

None of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A FIFO structure implemented as a ring where the front and rear pointers can wrap around the end of the start of the array.

Linear Queue

Circular Queue

Priority Queue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the disadvantage of array data structure?

Elements of an array can be accessed in constant time

Elements are stored in contiguous memory location

The amount of memory to be allocated should be known beforehand

Multiple other data structures can be implemented using Array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we describe an array in the best possible way?

The Array shows a hierarchical structure.

Arrays are immutable (Not Modifiable)

Container that stores the elements of similar types

The Array is not a data structure

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____________data structures are those whose sizes and structures associated memory locations are fixed at compile time.

linear

homogeneous

static

dynamic

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

People have used the word ________ to mean computer information that is transmitted or stored.

Beta

Data

Database

None of above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider the usual algorithm for determining whether a sequence of parentheses is balanced.

Suppose that you run the algorithm on a sequence that contains 2 left parentheses and 3 right parentheses (in some order).

The maximum number of parentheses that appear on the stack AT ANY ONE TIME during the computation?

1

2

3

4 or more

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?