Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
1.2.1. Objectives of the Unit
This section
Practice test
11 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What does a conditional instruction do?
Hint
Think about the 'if' statements in programming.
- 2.
Define the term 'unconditional jump'.
Hint
Recall how function calls work.
- 3.
What is the purpose of conditional instructions?
- To execute sequentially
- To alter execution flow based on conditions
- To produce output
Hint
Think about 'if...then' statements.
- 4.
True or False: Unconditional jumps require a condition to be executed.
- True
- False
Hint
Think of function calls.
- 5.
Write a pseudocode that incorporates both a conditional and an unconditional jump. Explain each part of the code.
Hint
Think about the flow of alternatives.
- 6.
How would you modify an existing program to include a loop that checks a zero flag? Draft a solution.
Hint
Use a decrement operation to check where the zero flag comes into play.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
1 more question available
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting