What is the benefit of breaking down a complex problem into smaller sub-problems during the decomposition process?
- It makes the problem more complicated
- It allows easier identification of irrelevant details
- It facilitates parallel processing and collaboration
- It increases the overall complexity of the problem
What is a common advantage of high-level programming languages in terms of human-readability?
- Code written in high-level languages is usually more difficult to understand
- High-level languages often require additional comments for clarity
- Code written in high-level languages is generally more readable and easier to understand
- Human-readability is not a consideration in programming languages
In a web form, what input validation technique can help prevent SQL injection attacks?
- Presence check
- Length check
- Format check
- Input sanitisation
What is the value of
X when
A = 0, B = 1?
What is the value of
F when
D = 1, E = 0?
What are the primary components of an Integrated Development Environment (IDE)?
- Only a text editor
- Compiler and linker
- Text editor, debugger, and compiler
- Compiler, interpreter, and operating system
What is the primary advantage of binary search over linear search?
- Simplicity
- Suitable for unsorted data
- Requires less memory
- Faster on large lists
What is the value of
A when
X = 0, Y = 0, Z = 0?
Which of the following is a valid Python variable name?
123variablemy_variablebreakelse
What is the value of
X when
A = 0, B = 1, C = 0, D = 1?