Currently Empty: $0.00
Paper 1 – Theory (Typically 2 hours)
0/20
Introduction Paper 2 – Practical (Typically 2 hours) done
0/2
Problem Solving
0/5
Relation of Real Life and Programming done
0/5
Stages of Programming
0/14
Dealing with Constructs
0/24
Question Set 3
0/3
Flow charts – The easy concept
Concept of Validations
0/6
Question Set 4
0/2
Dealing with 1D Arrays
Dealing with 2D Arrays
Linear search with !D Array – The common pattren
Bubble Sort – The common Pattren
Modular Programming – Concept of Procedures and Functions
Handling Errors in Pseudocode
File Handling
File handling – with 1D Array
Logic Gates
Databases
The “repeat…until” loop, also known as a post-controlled loop, is a programming construct that iterates a block of code until a specified condition becomes true. Unlike the “while” loop, which evaluates the condition before executing the loop body, the “repeat…until” loop evaluates the condition after executing the loop body, ensuring that the loop body is executed at least once.
In pseudocode, the structure of a “repeat…until” loop looks like this:
repeat
// Code block to be executed
until condition
Here’s an example demonstrating the usage of a “repeat…until” loop in pseudocode: code in Java
total = 0
count = 1
repeat
// Prompt user for input
input_number = input(“Enter a number (enter 0 to stop): “)
// Add input to total
total = total + input_number
Note: no repeat until in python or vb
// Increment count
count = count + 1
until input_number = 0
// Output the total
output(“The sum of the numbers entered is: ” + total)