spec niche

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/40

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:51 PM on 6/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

41 Terms

1
New cards

different types of iteration

  • condition controlled

  • count controlled

2
New cards

boolean values

true, false

3
New cards

boolean operators

AND, NOT, OR

4
New cards

==

equal to

5
New cards

!=

not equal to

6
New cards

<

less than

7
New cards

<=

less than or equal to

8
New cards

>

greater than

9
New cards

>=

greater than or equal to

10
New cards

what are == != <> examples of?

comparison operators

11
New cards

what are +-/* examples of?

arithmetic operators

12
New cards

+

addition

13
New cards

-

subtraction

14
New cards

*

multiplication

15
New cards

/

division

16
New cards

MOD %

modulo

17
New cards

DIV //

quotient

18
New cards

^

exponentation

19
New cards

defensive design considerations (4)

  • anticipating misuse

  • authentication

  • validation

  • maintainability

20
New cards

define syntax error

problem with the grammatical rules of the programming language which stop it from being run

21
New cards

define normal test data

data which should be accepted by a program without causing errors

22
New cards

define boundary test data

data of the correct data type on the edge of being valid

23
New cards

define invalid test data

data of the correct data type which should be rejected

24
New cards

define erroneous test data

data of the incorrect data type which should be rejected

25
New cards

and gate symbol

knowt flashcard image
26
New cards

or gate symbol

<p></p>
27
New cards

not gate symbol

knowt flashcard image
28
New cards

proper name and gate

conjunction

29
New cards

proper name or gate

disjunction

30
New cards

proper name not gate

negation

31
New cards

what is the purpose of translators?

code written in high-level source code is converted into machine code for execution

32
New cards

how is assembly language translated into machine code

assembler

33
New cards

ocr reference language comment

//

34
New cards
for i = 2 to 10 step 2
	print(i)
next i

what does this ocr reference language do?

prints even numbers between 2 and 10

35
New cards

is ocr reference language exclusive or inclusive

inclusive

36
New cards

is python exclusive or inclusive

exclusive

37
New cards
for i = 10 to 0 step -1
       print(i)
next i

what does this ocr reference code do?

prints numbers in descending order from 10 to 0

38
New cards

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

39
New cards

possible indexes array colours[5]

5 indexes, 0,1,2,3,4

40
New cards

what possible values does myVariable = random(1, 6) generate?

random integer between 1 and 6 inclusive

41
New cards

why do we test programs?

  • to identify errors

  • so we can fix them