CDT Flashcards
(14 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
an integer is a whole number that can be positive, negative, and a zero
what is a loop
it repeats the code
what is an operator
specific symbols that carry out mathmatical or logical statements, +,-,<
what is a string
it is a sequence of characters, letters, symbols and numbers
what is a variable?
it is a way of keeping track and storing data
what is a conditional statement
a peice of code that uses “if” “elif” “else”
What is camel case?
Its two words where the first one is lowercase and the secons one is capital.
“hello” is a
string
“105” is a
integer
what is “name = input(“What is your first name?”)
it is a comand and input variable
Name = “Jane”
string variable
age = 15
integer variable