15 questions in Algorithms and programming at Form 4
Most triedMost missedNewest- Which logic gate outputs 1 only when both inputs are 1?
- What is the output of: x ← 3; FOR i ← 1 TO 4: x ← x + i; NEXT; PRINT x
- A step-by-step set of instructions to solve a problem is…
- In a flowchart, a diamond shape is used for…
- In a flowchart, what does a rectangle show?
- What is pseudocode?
- What is the output of: total ← 0; FOR n ← 1 TO 5: total ← total + n; NEXT; PRINT total?
- In a flowchart, what does an oval (terminator) show?
- What is a variable in a program?
- Which logic gate outputs 1 if at least one input is 1?
- What is the output of: x ← 10; WHILE x > 3: x ← x − 3; ENDWHILE; PRINT x?
- What does a NOT gate do?
- What is the output of a NAND gate when both inputs are 1?
- What does selection mean in programming?
- What does iteration mean?