Linear Data Structures Quiz

Linear Data Structures Quiz

University

40 Qs

quiz-placeholder

Similar activities

Quiz in Stacks & Queue [Pre-Test]

Quiz in Stacks & Queue [Pre-Test]

10th Grade - University

35 Qs

Stack Quiz (BSIS 2-A)

Stack Quiz (BSIS 2-A)

University

35 Qs

IT104-SF-Exam

IT104-SF-Exam

University

40 Qs

struktur data array dan linked list

struktur data array dan linked list

University

40 Qs

ITC 214 - Data Structures and Algorithm - Final Exam

ITC 214 - Data Structures and Algorithm - Final Exam

University

45 Qs

Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

University

40 Qs

ARKOM PRA UTS

ARKOM PRA UTS

University

35 Qs

QuizFinLesson7

QuizFinLesson7

University

35 Qs

Linear Data Structures Quiz

Linear Data Structures Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Navkiran Gill

Used 8+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a linear data structure?

A structure where elements are connected sequentially

A structure where elements are connected hierarchically

A structure where elements are connected randomly

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a dangling pointer in the context of data structures?

A pointer that points to a memory location which has already been deallocated

A pointer that has not been initialized

A pointer that points to the starting address of an array

A pointer that points to a memory block managed by a garbage collector

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of accessing an element in an array by index?

O(1)

O(n)

O(log n)

O(n^2)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operations is performed in O(1) time in a stack?

Push

Pop

Both

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the rear end of a queue called?

Front

Rear

Back

Tail

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure works on the principle of LIFO?

Stack

Queue

Array

Linked List

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of searching in a linked list?

O(1)

O(n)

O(log n)

O(n^2)

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?