Data Structures P1 - Short

Data Structures P1 - Short

11th Grade

65 Qs

quiz-placeholder

Similar activities

DATA REPRESENTATION

DATA REPRESENTATION

9th - 12th Grade

63 Qs

Visual Basic

Visual Basic

9th Grade - University

69 Qs

UHB 2 INFORMATIKA

UHB 2 INFORMATIKA

11th Grade

70 Qs

data structures lab model exam

data structures lab model exam

1st Grade - University

60 Qs

AQA GCSE Algorithms

AQA GCSE Algorithms

9th - 11th Grade

60 Qs

Jaringan Komputer & Internet

Jaringan Komputer & Internet

10th Grade - University

60 Qs

Visual C# Chapter 1 Review

Visual C# Chapter 1 Review

11th - 12th Grade

60 Qs

Latihan Soal PSAS

Latihan Soal PSAS

11th Grade

70 Qs

Data Structures P1 - Short

Data Structures P1 - Short

Assessment

Quiz

Computers

11th Grade

Hard

Created by

muhammad abdulmajeed

FREE Resource

65 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure follows the First-In-First-Out (FIFO) principle?

Stack

Queue

Tree

Graph

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a stack, which operation adds an element to the top?

push

pop

peek

enqueue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of accessing an element in a linked list?

O(1)

O(log n)

O(n)

O(n^2)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many dimensions does a 2D array have?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which tree traversal visits the root node last?

Preorder

Inorder

Postorder

Level order

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of edges in a simple graph with n vertices?

n

n-1

n(n-1)/2

2^n

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Dijkstra's algorithm is used to find:

Minimum spanning tree

Shortest path

Longest path

Euler circuit

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?