Back to marketplace

paper 1

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

What is in structured programming?

Back (Answer)

• decomposing into manageable sub tasks, which can be written individually as sub routines • modularising (using subroutines) *using parameters *using return variables *using local variables

#2
Front (Question)

Why use structured programming?

Back (Answer)

• easier to test structured programs as each module can be tested individually • individual subroutines can be fixed and updated, without affecting the rest of the program • the subroutines can be re-used for future programs • programmers can work on one program, as each module can be written individually *coding may be easier

#3
Front (Question)

What is authentication?

Back (Answer)

the process of check a user is who they say

#4
Front (Question)

What is INPUT validation?

Back (Answer)

checks that the data meets a certain criteria before passing into the program

#5
Front (Question)

What are the types of input validation?

Back (Answer)

*range: checks that the data is within a specific range *presence: checks that data has actually been entered *format: checks that the data has the correct format *look-up: checks the data against a table of acceptance values *length: checks the data correct length

#6
Front (Question)

why should programs be easy to maintain?

Back (Answer)

• change parts of the source code, without the risk of causing problems elsewhere in the code

#7
Front (Question)

How can you improve the maintainability of the code?

Back (Answer)

*comments explaining key features *indentation to clearly see the flow of the program *only using global variables where necessary, as they affect the rest of the code, variables with local scope will not affect the rest program, when other programmers change this variable it won’t affect the other part so he program *variable names are enough for the reader to understand

#8
Front (Question)

What are the different types of errors?

Back (Answer)

*syntax error *logical error

#9
Front (Question)

What is a syntax error?

Back (Answer)

When the compiler or interpreter doesn’t understand something you have typed because it doesn’t follow the rules or grammar of the programming language

#10
Front (Question)

How would you use the python in range function for pseudocode?

Back (Answer)

Card back image
#11
Front (Question)

Why are meaningful identifiers names used?

Back (Answer)

Describes the purpose of the variable makes the code easier to understand and maintain

#12
Front (Question)

What are the different types of test data ?

Back (Answer)

🟢normal data 🟢boundary valid data 🟢boundary invalid data 🟢erroneous data

#13
Front (Question)

What are trace tables ?

Back (Answer)

Helps to find logical errors

#14
Front (Question)

What is time efficiency in algorithms?

Back (Answer)

Measures things like the number of time memory was accessed and the number of CPU cycles taken to execute commands

#15
Front (Question)

Define ‘algorithm’

Back (Answer)

The sequence of steps that can be followed to complete a task

#16
Front (Question)

Define decomposition

Back (Answer)

The breaking of a problem into a number of sub problems, so that each sub problems accomplishes an identifiable task, which might itself be further subdivided

#17
Front (Question)

“Abstraction “

Back (Answer)

The process of removing unnecessary detail from a problem

#18
Front (Question)

Why are data types used?

Back (Answer)

Each data type is allocated a different amount of memory, using the correct data types makes the code more memory efficient, robust and predictable

#19
Front (Question)

Define constants

Back (Answer)

#20
Front (Question)

Define variables

Back (Answer)

#21
Front (Question)

What is an algorithm?

Back (Answer)

An algorithm is a sequence of steps that can be followed to complete a task.

#22
Front (Question)

What is decomposition?

Back (Answer)

Breaking a complex problem into sub problems until each task is manageable, then solving each one individually

#23
Front (Question)

What is abstraction?

Back (Answer)

Removing unnecessary detail from a problem so you are left with important bits, simplifying the task

#24
Front (Question)

What is algorithmic thinking?

Back (Answer)

A logical way of getting from the problem to the solution. Acknowledging if certain bits of code can be reused