Programming basics test questions

1

What is programming?

2

What is a variable?

3

Why are variables so named?

4

A variable is needed to record a student's surname. Which of the following would be the most meaningful variable name?

5

How can strings and variables be told apart?

6

In programming what name is given to the data type which represents any combination of characters on a keyboard?

7

In programming what name is given to the data type which represents decimal numbers?

8

In programming what name is given to the data type which represents whole numbers?

9

Which statement is used to specify a decimal number?

10

What statement is used to obtain a value for a variable from a user?