Quiz  Data Structures unit II

Quiz Data Structures unit II

University

25 Qs

quiz-placeholder

Similar activities

Data Structures

Data Structures

University

20 Qs

UTS Algoritma dan Struktur Data

UTS Algoritma dan Struktur Data

University

20 Qs

Data Structures

Data Structures

University

20 Qs

DSA5541 Quiz 1 TRI 2210

DSA5541 Quiz 1 TRI 2210

University

20 Qs

Basics of Data Structure

Basics of Data Structure

University

20 Qs

DS GRAND QUIZ

DS GRAND QUIZ

University

20 Qs

Queue

Queue

University

20 Qs

DS - Chapter 8 - Queue

DS - Chapter 8 - Queue

University

20 Qs

Quiz  Data Structures unit II

Quiz Data Structures unit II

Assessment

Quiz

Computers

University

Easy

Created by

Placement Stjosephs

Used 1+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Stack?

FIFO structure

LIFO structure

Random access structure

Circular structure

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid stack operation?

Push

Pop

Peek

AddLast

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'Pop' operation in a stack do?

Inserts an element

Deletes the top element

Clears the stack

Shows the bottom element

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of a stack's push and pop operations?

O(n)

O(log n)

O(1)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used in function call and recursion?

Queue

Stack

Linked List

Tree

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following uses stack internally?

Queue

Tree

Expression evaluation

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In infix expression, where is the operator placed?

After operands

Before operands

Between operands

With brackets

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?