What is programming?
The writing of computer code to create a program
Creating algorithms to solve a problem
Creating a flowchart to solve a problem
What is a variable?
A variable is a number
A variable is a message input by the user
A variable is a location in memory that we use to store data
Why are variables so named?
Variables are so named because we can choose whether or not to use them
Variables are so named because the data we store in them can change
Variables are so named because we can change their names
A variable is needed to record a student's surname. Which of the following would be the most meaningful variable name?
name
student_surname
studentName
How can strings and variables be told apart?
The data in a string is stored inside quotes
By its name
By its size
In programming what name is given to the data type which represents any combination of characters on a keyboard?
Integers
Strings
Floating point numbers
In programming what name is given to the data type which represents decimal numbers?
In programming what name is given to the data type which represents whole numbers?
Which statement is used to specify a decimal number?
int
str
float
What statement is used to obtain a value for a variable from a user?
get
input
fetch