1/8
Flashcards covering basic concepts in computer programming.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What is a Variable?
Symbolic name or reference to information; a virtual container whose value can change.
What does the statement name = “John” do?
A statement that stores a string of characters in a variable.
What is a Data Type of variable?
It specifies the kind of data a variable can hold (e.g., int, string).
What are Conditional Statements?
Expressions that ask a program to determine if a variable is true or false, leading to different actions.
What is Iteration?
When a program repeats a process or sequence.
What is the purpose of Data Types?
Data types helps classify what information a variable can hold and what can be done with it.
What are examples of common Data Types
Numbers, Decimals, Booleans, Characters and Strings.
What are Functions?
Self-contained modules of code that accomplish a particular task when needed; a reusable block of code.
What keyword do we use for Methods with no return type?
void.