1/40
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
different types of iteration
condition controlled
count controlled
boolean values
true, false
boolean operators
AND, NOT, OR
==
equal to
!=
not equal to
<
less than
<=
less than or equal to
>
greater than
>=
greater than or equal to
what are == != <> examples of?
comparison operators
what are +-/* examples of?
arithmetic operators
+
addition
-
subtraction
*
multiplication
/
division
MOD %
modulo
DIV //
quotient
^
exponentation
defensive design considerations (4)
anticipating misuse
authentication
validation
maintainability
define syntax error
problem with the grammatical rules of the programming language which stop it from being run
define normal test data
data which should be accepted by a program without causing errors
define boundary test data
data of the correct data type on the edge of being valid
define invalid test data
data of the correct data type which should be rejected
define erroneous test data
data of the incorrect data type which should be rejected
and gate symbol

or gate symbol

not gate symbol

proper name and gate
conjunction
proper name or gate
disjunction
proper name not gate
negation
what is the purpose of translators?
code written in high-level source code is converted into machine code for execution
how is assembly language translated into machine code
assembler
ocr reference language comment
//
for i = 2 to 10 step 2
print(i)
next iwhat does this ocr reference language do?
prints even numbers between 2 and 10
is ocr reference language exclusive or inclusive
inclusive
is python exclusive or inclusive
exclusive
for i = 10 to 0 step -1
print(i)
next iwhat does this ocr reference code do?
prints numbers in descending order from 10 to 0
difference between while loop and do until loop
while loop checks condition before first loop carried out
do until does one loop and then checks the condition
possible indexes array colours[5]
5 indexes, 0,1,2,3,4
what possible values does myVariable = random(1, 6) generate?
random integer between 1 and 6 inclusive
why do we test programs?
to identify errors
so we can fix them