Data Structures Quiz

Data Structures Quiz

University

9 Qs

quiz-placeholder

Similar activities

Programação - Loops e Arrays

Programação - Loops e Arrays

University - Professional Development

13 Qs

Pertemuan 1 Struktur Data

Pertemuan 1 Struktur Data

University

10 Qs

Quiz - Linked list

Quiz - Linked list

University

14 Qs

UAS - Teknik Pemrograman

UAS - Teknik Pemrograman

University

14 Qs

Data Structures & Algorithms

Data Structures & Algorithms

University

10 Qs

Struktur Data

Struktur Data

University

10 Qs

Array

Array

University

12 Qs

Quizze Buzzie

Quizze Buzzie

University

14 Qs

Data Structures Quiz

Data Structures Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Shubhangi Divekar

Used 1+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a key disadvantage of using an array?

Fast access

Fixed size

Random access

Sequential access

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure follows LastInFirstOut (LIFO)?

Stack

Queue

Array

Linked List

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which follows FirstInFirstOut (FIFO)?

Stack

Queue

Linked List

Tree

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

O(n)

O(1)

O(log n)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a singly linked list, insertion at the head takes how much time?

O(1)

O(n)

O(log n)

O(n²)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Finding an element in a linked list requires what time complexity?

O(1)

O(n)

O(log n)

O(n²)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure allows insertion/deletion at both ends?

Stack

Queue

Deque

Array

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a static memory allocation structure?

Linked list

Stack

Queue

Array

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a dynamic data structure?

Array

Linked list

Tree

Both B and C