Describe each of the following data types used in programming. In each case, give an example of a piece of data to illustrate your answer. Each example must be different. Char String Boolean
Mark scheme
Marking points from the official mark scheme (May/June 2019). The mark or mark type is shown in brackets.
- [6] Many possible answers, those given are examples only. 1 mark for each correct description and 1 mark for each correct example Char Description: A single character (from the keyboard) Example: A / # / 2 String Description: An (ordered) sequence of characters Example: Hello world / #123?Y / 234 78963 Boolean Description: A data type with two possible values Example: TRUE / FALSE
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 →