13.1 User-defined data types
6 questions in this subtopic. Open a question to solve it and check the official answer.
User-defined data types · 2 marks · official answer ready
(a) Write a pseudocode statement to declare the enumerated data type, Vehicle, to hold the identity code of each of the company’s taxis: ..........................................…
User-defined data types · 2 marks · official answer ready
(a) A data type to hold a set of prime numbers below 20. These prime numbers are: .................................................................................................…
User-defined data types · 2 marks · official answer ready
(b) A data type to point to a day in the week, for example Monday. ................................................................................................................…
User-defined data types · 2 marks · official answer ready
(a) A data type to hold a set of prime numbers below 20. These prime numbers are: .................................................................................................…
User-defined data types · 2 marks · official answer ready
(b) A data type to point to a day in the week, for example Monday. ................................................................................................................…
User-defined data types · 2 marks · official answer ready
(a) Write pseudocode to create an enumerated type called Parts to include these parts sold in a computer shop: Monitor, CPU, SSD, HDD, LaserPrinter, Keyboard, Mouse ..............…
