Data Structures Quiz 1

Data Structures Quiz 1

University

10 Qs

quiz-placeholder

Similar activities

Data Structures : Queue

Data Structures : Queue

University

12 Qs

CIS11 Quiz 3 Review SPR

CIS11 Quiz 3 Review SPR

University

15 Qs

Data Structures

Data Structures

University

10 Qs

Data Structures and Algorithms - Quiz 1

Data Structures and Algorithms - Quiz 1

University

13 Qs

Queue ADT

Queue ADT

University

15 Qs

DATA STRUCTURES MODULE 1 QUIZ

DATA STRUCTURES MODULE 1 QUIZ

University

10 Qs

Tutorium 1 - Prog2

Tutorium 1 - Prog2

University

11 Qs

QUIZ M4 Stack & Queue

QUIZ M4 Stack & Queue

1st Grade - University

14 Qs

Data Structures Quiz 1

Data Structures Quiz 1

Assessment

Quiz

Computers

University

Hard

Created by

Sugantha Samuel

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

When a pop() operation is called on an empty stack, what is the condition called?

Overflow

Underflow

Syntax Error

Garbage Value

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one of the following is the size of int arr[9] assuming that int is of 4 bytes?

9

36

35

4

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

 If the size of the stack is 10 and we try to add the 11th element in the stack then the condition is known as___

Underflow

Garbage collection

Overflow

None

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the infix expression?

A+B*C

+A*BC

ABC+*

None of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is the prefix form of A+B*C?

                

A+(BC*)

+AB*C

ABC+*

+A*BC

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not the correct statement for a stack data structure?                 

Arrays can be used to implement the stack

Stack follows FIFO

Elements are stored in a sequential manner

Top of the stack contains the last inserted element

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following principle does Queue use?

LIFO principle

FIFO principle

Linear tree

Ordered array

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?