OCR Pseudocode Flashcards

(34 cards)

1
Q

What is the symbol for equal to?

A

==

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the symbol for not equal to?

A

!=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the symbol for less than?

A

<

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the symbol for less than or equal to?

A

<=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the symbol for greater than?

A

>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the symbol for greater than or equal to?

A

> =

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the symbol for addition?

A

+

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the symbol for subtraction?

A

-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the symbol for multiplication?

A

*

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the symbol for exponent?

A

Num^num2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the symbol for division?

A

/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the symbol for modulo?

A

MOD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the symbol for quotient?

A

DIV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the logical AND symbol?

A

AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the logical OR symbol?

A

OR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the logical NOT symbol?

17
Q

What is the symbol for a comment?

18
Q

What is the symbol for assignment?

19
Q

What is the symbol for input?

20
Q

What is the symbol for output?

21
Q

What is the symbol for a string?

22
Q

What is the symbol for an integer?

23
Q

What is the symbol for a float?

24
Q

What is the symbol for a real number?

25
What is the symbol for Boolean?
bool()
26
How is a for loop written in pseudocode?
for (i = 0) to (9) next (i) for…to…step (2) next ‼️GOES THROUGH LOOP FROM FIRST TO LAST I INCLUSIVE
27
How is a while loop written in pseudocode?
while… endwhile
28
How is a do until loop written in pseudocode?
do … until…
29
How is an if loop written in pseudocode?
if…then elseif…then else endif
30
How would a case select or switch be written in pseudocode?
switch… : case… : case… : default: endswitch
31
How would an array in 1D be written?
array (colours) []
32
How can a random number be generated?
random(…,…)
33
How can the length of a string be found?
stringName.length
34
How can a substring be found?
stringname.subString(startingPosition, numberOfCharacters)