Most programming languages include basic data types. Ahmad is describing the basic data types he has used. State the data type that Ahmad is describing in each sentence. Choose the data type from this list of programming terms. Array Boolean Char Constant Function Integer Iteration Procedure Real String Variable A number with a fractional part that can be positive or negative and used in calculations Data type A whole number that can be positive, negative or zero and used in calculations Data type A single number, symbol or letter Data type A sequence of characters Data type A data type with two values, True or False Data type
- (i)A number with a fractional part that can be positive or negative and used in calculations Data type[1]
- (ii)A whole number that can be positive, negative or zero and used in calculations Data type[1]
- (iii)A single number, symbol or letter Data type[1]
- (iv)A sequence of characters Data type[1]
- (v)A data type with two values, True or False Data type[1]
Mark scheme
Marking points from the official mark scheme (May/June 2020). The mark or mark type is shown in brackets.
- [1] Real
- [1] Integer
- [1] Char/String
- [1] String
- [1] Boolean
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →