Study Vault
Information Technology · Grade 11 CAPS

Arrays, Searching & Sorting Algorithms

Arrays, Searching & Sorting Algorithms is one of 10 topics in the Grade 11 Information Technology CAPS syllabus, covered across 3 lessons on Study Vault. Below are real practice questions from this topic with full worked answers.

Sample practice questions

Easy

1. What is a nested loop?

Answer: A loop placed entirely inside the body of another loop — A nested loop is a loop placed entirely inside the body of another loop, where the inner loop completes all its repetitions each time the outer loop executes once.
Easy

2. In a one-dimensional array, what is used to access an individual value?

Answer: A position number called an index — Each individual value in an array is accessed using a position number called an index, with the first position typically at index 0.
Medium

3. An outer loop repeats 4 times, and a nested inner loop inside it repeats 5 times on every single pass of the outer loop. In total, how many times do the inner loop's instructions run?

Answer: 20 — The inner loop runs 5 times for each of the outer loop's 4 repetitions, so the total is 4 x 5 = 20 times.
Unlock the full Arrays, Searching & Sorting Algorithms question bank free

Free account — daily streaks, XP, and every question in this topic.

← Networks & Network Innovation String Manipulation & Date/Time Objects →