Data Structures Quiz 1

Data Structures Quiz 1

University

10 Qs

quiz-placeholder

Similar activities

Recording Software Button Identification Quiz

Recording Software Button Identification Quiz

8th Grade - University

10 Qs

13de IT English

13de IT English

9th Grade - University

15 Qs

Computer Hardware foundation degree 1

Computer Hardware foundation degree 1

University

12 Qs

Round 2 for Preplacement Bootcamp

Round 2 for Preplacement Bootcamp

University

15 Qs

Operating System - Chapter 1-1

Operating System - Chapter 1-1

University

10 Qs

Server Administration- Quiz 1

Server Administration- Quiz 1

12th Grade - University

10 Qs

Computer Science (1-9) - Identifying & Preventing Threats

Computer Science (1-9) - Identifying & Preventing Threats

University

11 Qs

Computer Science: CPU performance

Computer Science: CPU performance

University

13 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?