Programming is writing computer code to create a program, in order to solve a problem. To program a computer, you need to know how programs are constructed.
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?
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?
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?
The statement 'float' is used to specify a decimal number. 'int' specifies a whole number.