1/28
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
String
is a sequence of characters (letters numbers and symbols)
Boolean
A data type that either has a vibrable of true and false
program
a collection of commands
Loop
repeats the code
command
is an instruction to a computer to perform a specific task
Debug
the process of finding and fixing issues in a program. they can be either logic or syntax issues
Operator
specific symbols that carry out mathematical,or logical statements. Eg. and,or, + (plus),- (minis),> (greater than)
Vibrable
is a way of storing and keeping track of data. A list is a variable containing multiple other variables.
Integer
is a whole number not a fraction that can be positive negative or zero
Conditional Statement
is a piece of code that contains an “if” or “if/else”
setTextColour(RED)
Text color
setHighlightColour(RED)
Highlight Color
setTextSize(35)
TEXT SIZE
clear(GREEN)
will make the whose console turn green and any remaining lines of code to be executed on that green background
sum = 3 + 5
Integer
sum = 3 * 5
* is times
if choice ==(“play “):
conditional statement
label and goto
Loop
elif choice ==(“eat“)
conditional statement
cat= “(=^0.0^=)’’
variable
else:
Conditional Statement
print (“Hello “)
print command
input(“Press [ENTER] to continue“)
input command
else:
Conditional Statement
#comment
comment
“hello”
String
105
Interger
name=”Jane ”
string variable
name= input (“what is your first name?”)
Variable and command