Back to marketplace

Pseudocode and Writing Algorithms

No description yet. This curated deck is ready for daily study.

Total cards: 15•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (15)

#1
Front (Question)

Comments

Back (Answer)

//

#2
Front (Question)

Variables

Back (Answer)

variablename = 3 (int) variablename = “string” (string) CONST variablename = 3 (constant)

#3
Front (Question)

Casting

Back (Answer)

str(20) (casts an integer to a string) int(“20”) (casts a string to an integer)

#4
Front (Question)

Input

Back (Answer)

variablename = input()

#5
Front (Question)

Output

Back (Answer)

print(“Hello”) print(5) print(variablename)

#6
Front (Question)

Selection

Back (Answer)

if… then elseif… then else endif

#7
Front (Question)

While Loop

Back (Answer)

while… endwhile

#8
Front (Question)

For Loop

Back (Answer)

for… endfor

#9
Front (Question)

Logical Operators

Back (Answer)

AND OR NOT

#10
Front (Question)

Comparison Operators

Back (Answer)

== != < <= > >=

#11
Front (Question)

Arithmetic Operators

Back (Answer)

* / MOD DIV

#12
Front (Question)

String Handling (length, upper, lower)

Back (Answer)

variable.LENGTH (length of a variable) variable.UPPER (converts to uppercase) variable.LOWER (convers to lowercase)

#13
Front (Question)

Sub-routines - creates a function and pass parameters

Back (Answer)

function name(parameters) return value endfunction

#14
Front (Question)

Arrays - use of an array and index

Back (Answer)

arrayname[lengthofarray] arrayname[1] = “Bob”

#15
Front (Question)

File Handling

Back (Answer)

OpenWrite(“filename.txt”) file.ReadLine() file.WriteLine(variable) file.Close()