How does decomposing a problem aid in collaborative software development?
- It adds unnecessary complexity to the collaboration process
- It facilitates parallel processing of sub-problems by different team members
- It discourages teamwork and collaboration
- It limits the involvement of team members in problem-solving
Which is the correct Boolean expression for this logic circuit?
D = NOT((A OR B) AND C)D = (A AND B) NOT CD = (A AND B) OR NOT CD = NOT((A AND B) OR C)
Which of the following is an example of abstraction in everyday life?
- Summarising the plot of a book
- Memorising every word in a song
- Examining an object under a microscope to see every detail
- Ignoring important details in a conversation
Which of the following is a low-level programming language?
- Assembly
- Python
- JavaScript
- BASIC
When should comments not be added to code?
- To state the purpose of the program
- To identify the end of a
for loop - To describe the purpose of a function
- When code is obvious and self-explanatory
A system processes postcodes. What type of validation should be used?
- Range check
- Length check
- Format check
- Presence check
What is validation?
- Checking input data is sensible and in the right format.
- Checking output data is accurate and in the right format.
- Checking code logic is correct and in the right format.
- Checking system resources are sufficient and in the right format.
Which boolean operator returns True if at least one of the conditions is True?
What is the purpose of the input() function in Python?
- Prints a message to the console
- Pauses the program execution
- Accepts user input from the console
- Converts a variable to an integer
What is another name for final testing?
- Terminal testing
- Active testing
- Boolean testing
- Iterative testing