Linear Data Structures Quiz

Linear Data Structures Quiz

University

40 Qs

quiz-placeholder

Similar activities

CPSC 131 midterm review

CPSC 131 midterm review

University

45 Qs

2025190602

2025190602

University

40 Qs

DSA QUIZ - 2 (17-06-23)

DSA QUIZ - 2 (17-06-23)

University

40 Qs

Techno Excellent

Techno Excellent

University

40 Qs

Ujian Informatika Kelas VIII

Ujian Informatika Kelas VIII

8th Grade - University

41 Qs

2902032025

2902032025

University

40 Qs

DS and DAA Comprehensive Viva

DS and DAA Comprehensive Viva

University - Professional Development

40 Qs

Struktur Data dalam Pembuatan Gim

Struktur Data dalam Pembuatan Gim

12th Grade - University

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