ICAS Programming and Digital Systems 3 — Questions and Answers
Question 1: What symbol is commonly used to represent a decision point in a flowchart?
- Rectangle
- Oval
- Diamond (Correct answer)
- Parallelogram
Correct answer: Diamond
A diamond shape in a flowchart represents a decision or conditional branch with yes/no or true/false paths.
Question 2: Which of the following is an example of an input device?
- Monitor
- Printer
- Keyboard (Correct answer)
- Speaker
Correct answer: Keyboard
A keyboard is an input device because it sends data from the user into the computer.
Question 3: What does 'RAM' stand for?
- Read-Access Memory
- Random Access Memory (Correct answer)
- Rapid Arithmetic Module
- Real-time Application Memory
Correct answer: Random Access Memory
RAM stands for Random Access Memory, which temporarily stores data that the CPU is actively using.
Question 4: In programming, what is a 'variable'?
- A fixed constant value
- A named storage location that holds a value (Correct answer)
- A type of loop
- A programming language keyword
Correct answer: A named storage location that holds a value
A variable is a named location in memory that stores a value which can change during program execution.
Question 5: What is the purpose of an 'if-else' statement?
- To repeat a block of code
- To store multiple values
- To execute different code based on a condition (Correct answer)
- To define a function
Correct answer: To execute different code based on a condition
An if-else statement evaluates a condition and executes one block if true and another if false.
Question 6: Which numbering system uses only the digits 0 and 1?
- Decimal
- Octal
- Hexadecimal
- Binary (Correct answer)
Correct answer: Binary
The binary number system uses only two digits, 0 and 1, and is the foundation of all digital computing.
Question 7: What does 'debugging' mean in software development?
- Writing new program features
- Testing performance speed
- Finding and fixing errors in code (Correct answer)
- Compiling source code
Correct answer: Finding and fixing errors in code
Debugging is the process of identifying, locating, and correcting errors (bugs) in a program.
What symbol is commonly used to represent a decision point in a flowchart?