Answers G7 T1 Review Pack
Answers G7 T1 Review Pack
Answers G7 T1 Review Pack
Grade 7
Theory Questions
Unit 1
Academic Year 2024/2025
1
Questions 1.2 Page No.(25)
2. Create a flowchart to take a number as input, divide the number by 2 and output the result.
3. Create a flowchart to take a distance in miles, convert it to kilometres and output the result.
1.2 Selection and logic in flowcharts – page (26)
Key words
1. AND: Boolean operator that has a true result when both conditions are true.
2. Boolean condition: a condition that can only be answered by true or false.
3. Boolean logic: a set of rules that are used to test conditions, and the rules are applied to the inputs
of a logic gate to create different outputs that are either true or false.
4. Comparison operator: <, >, =, <=
5. Condition: a test that gives a true or false result.
6. IF, THEN, ELSE: the three parts of a selection statement
7. NOT: Boolean operator that has a true result when the input condition is false.
8. OR: Boolean operator that has a true result when either condition is true.
9. Selection statement: used when a decision needs to be made in an algorithm.
To save time, because a repeated piece of code only needs to be written and tested once; to
make a program more efficient.
then call it several times. This saves time, and you only need to test the sub-routine once.
2. What punctuation do you put around a message in Python to output the message?
Double quotation marks
3. What will be the difference between the output from these two print statements?
print ("Good morning.")
print("good morning!")
The first has a capital G, the second has a lowercase g. The first has a full stop at the end, the second has an
exclamation mark.
5. the_Total Valid .
An early/small version of a product or system that might only have some of the features.
Whether the design is suitable; whether the inputs and outputs are appropriate; whether it meets
the requirements; whether it can be improved.
A formal description/table that lists all of the ways in which the program will be tested, and what the
output should be.
A description of what is being tested, the data input and the expected output.
To create a record of the tests and the results, to make sure everything is tested and to avoid
repeating the same test(s) multiple times.
Code that does not follow the rules of the programming language.
Read the code line by line and check that it makes sense.