stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming concepts quiz Flashcards | StudBud
Explore
/
Programming concepts quiz
What is a variable?
What does an 'if' statement do?
Programming concepts quiz
5 terms
·
StudBud Administration
·
28 plays
Imported from external platform
Flashcards
5 cards
F
Practice quiz
P
Host live
L
Questions
5
Answers
1
What does an 'if' statement do?
Repeats a piece of code until you tell it to stop.
Runs a piece of code over and over again until a condition becomes false.
Checks for a condition to be true before running a piece of code.
Terminate your code.
2
What is a variable?
A number that changes value every second.
Something that runs a piece of code over and over again.
Something that stores a value for a computer program to reuse.
A statement that comapres two values to see which is greater.
3
Every '{' character must have a matching '}' character.
True
False
4
What is a function?
A statement that compares which of two values is greater.
A piece of code which can be used over and over again.
A big party!
A piece of code which runs every few seconds.
5
An 'if' statement must be followed by an 'else' statement
False
True