2025/2026 QUESTIONS WITH ANSWERS RATED A+
✔✔Record - ✔✔Records can combine different data types, and each record would be
about one person, or one building or one book.
✔✔Why we use Data Structures - ✔✔Using data structures instead of lots of individual
variables can reduce the amount of code you need to write in order to solve a problem.
Arrays also reduce the likelihood of errors occurring, as there are fewer places in the
code in which errors could exist.
✔✔When programs are designed, why are they broken down into smaller tasks and
each task is addressed individually? - ✔✔For large programs, different tasks can be
assigned to different programmers, with clear understanding of who is to code what.
Each component can be tested separately as it is coded, which means the complete
program, when all the parts are assembled, will possibly contain fewer errors.
If the program needs updating later, the individual component can be updated, leaving
the rest of the program unchanged.
✔✔Algorithm - ✔✔A step-by-step set of instructions to allow a computer to solve a
problem in a finite number of steps.
✔✔Flow Charts - ✔✔A way of showing, within a program, what tasks are to happen in
what order. This is done using shapes and arrows.
✔✔Function - ✔✔Carries out a subtask of a larger task for which the program is
responsible. It then returns a value. It also has a data type.
✔✔Procedure - ✔✔Carries out a subtask of a larger task for which the program is
responsible. It does not return a value.
✔✔Parameter - ✔✔A piece of data that is needed in order for a procedure or function to
run. (Input)
✔✔Syntax Error - ✔✔Happens when you do not follow the rules of the language you
are writing in. If your code contains a syntax error, it will either not compile or it will
crash when the erroneous line is reached.
✔✔Logic Error - ✔✔Does not cause the program to crash, although it does cause the
program to do something it shouldn't. It might, for example, produce an incorrect result
to a calculation. They are harder to find than syntax errors and they are only usually
identified by detailed testing.