Senior Secondary · 11-12 · Computer Science

Data Structures & Algorithms Basics

40 practice questions available.

What data structure follows a 'Last In, First Out' (LIFO) principle?

A stack

What data structure follows a 'First In, First Out' (FIFO) principle?

A queue

What do we call a sorting algorithm that repeatedly compares and swaps adjacent elements?

Bubble sort

What do we call an algorithm that searches a sorted list by repeatedly dividing the search interval in half?

Binary search

What do we call a data structure made of nodes connected by references, often used to represent hierarchical relationships?

A tree

Create a worksheet → Study with flashcards → Take a practice quiz →

Free, offline, no account needed — runs entirely in your browser.