Quiz  Data Structures unit II

Quiz Data Structures unit II

University

25 Qs

quiz-placeholder

Similar activities

Data Structures using C

Data Structures using C

12th Grade - University

20 Qs

Stack & Quiz

Stack & Quiz

University

20 Qs

Data Structure Basics

Data Structure Basics

University

20 Qs

Data Structure

Data Structure

University

20 Qs

Data Structure & Algorithm-Quiz-1

Data Structure & Algorithm-Quiz-1

University

30 Qs

Queues

Queues

University

20 Qs

Introduction - Data Structures

Introduction - Data Structures

University

25 Qs

ICT 1 (H1H2)

ICT 1 (H1H2)

University

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