Data_structure_quiz1

Data_structure_quiz1

University

20 Qs

quiz-placeholder

Similar activities

Data Structure With C++

Data Structure With C++

University

20 Qs

Basics: Data structure 2024

Basics: Data structure 2024

University

20 Qs

Data Structures

Data Structures

University

20 Qs

Stack & Queue

Stack & Queue

University

16 Qs

Data Structure

Data Structure

University

20 Qs

Data Structure Quiz-1

Data Structure Quiz-1

University

22 Qs

Data Structure

Data Structure

University

20 Qs

DSA5541 Quiz 1 TRI 2210

DSA5541 Quiz 1 TRI 2210

University

20 Qs

Data_structure_quiz1

Data_structure_quiz1

Assessment

Quiz

Computers

University

Easy

Created by

Mr. Joseph

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Process of inserting an element in stack is called ____________

Create

Push

Evaluation

Pop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the insertion and deletion happens from both the ends then the queue is called a______Queue

a) Deque

b) Header

c) Queue

d) Circular Queue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

a) ABCD

b) DCBA

c) DCAB

d) ABDC

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A container which can hold a fix number of items and these items should be of the same type. Most of the data structures make use of arrays to implement their algorithms.

Element

Array

Index

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a stack and are deleted one at a time, in what order will they be removed?

ABCD

DCBA

DCAB

ABDC

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Almost all programming languages start arrays at ___

index 0

index 1

index 2

the null character

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Arrays of characters, like letters, numbers, punctuation and other written symbols, are called ___

structs

vectors

strings

groups

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?