-
PRINT Statement: The PRINT statement in BASIC is used to display text or the value of variables on the screen. It facilitates communication between the program and the user.
-
INPUT Statement: The INPUT statement allows the program to receive input from the user. It prompts the user for data, which is then stored in a variable for further processing.
-
FOR...NEXT Loop: The FOR...NEXT loop in BASIC is a control structure that repeats a set of statements for a specified number of iterations. It simplifies repetitive tasks and supports efficient coding.
-
IF...THEN...ELSE Statement: Conditional statements, such as IF...THEN...ELSE, enable decision-making in a program. Depending on a specified condition, the program executes different sets of instructions.
-
GOTO Statement: The GOTO statement is used to redirect the flow of a program to a specified line number. While it can simplify program control, its use is often discouraged in modern programming practices due to potential code complexity.
Score High in JAMB With EduPadi CBT App
Practice JAMB CBT, get instant results, and understand solutions in-depth with smart AI insights.