CDT Flashcards
(13 cards)
What is a boolean expression
True or False
What is a command
It is an instruction to a computer to do a specific task.
What is an integer
It is whole number that can be positive, negative or zero.
What is a loop
It repeats the code
What is an operator
Specific symbols that carry out mathematical or logical statements: +, - , = <, >
What is a string
It is a sequence of characters, letters, numbers and symbols
What is a variable
It is a way of storing and keeping track of data.
What is a conditional statement?
It a piece of code that contains if or elif or else
What is Camel case
Two words where the first word starts with a lower Case and the second word a capital
‘Hello’ is a:
string variable
‘105’ is a:
Integer
What is ‘Name = input (“What is your first name?”)’
It is a variable and input command
Name = “Jane”
string variable