Test
Data Type and Data Structures
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (11)
1Which of these are the two Numeric Data types?
- AInteger and Real
- BCharacter and Integer
- CReal and Character
- DString and Character
2What is Boolean data?
- AData that can have up to two values
- BData that can only have two values
- CData that allows us to store more than one item of data
- DData used store characters, digits and punctuation symbols
3Which of these variables would use a String?
- AVariable: TotalPrice (The cost of the tickets booked by the customer)
- BVariable: SeatNumber (For example F7, meaning the seat is in row F, number 7)
- CVariable: SeatAvailable (Whether a seat can be booked)
- DVariable: NoTickets (The number of tickets wanted)
4What is a serial file?
- AFiles in which records are stored in the order in which they were entered
- BFiles in which records have been placed in the file according to some mathematical hash algorithm
- CFiles in which records are stored according to some key field
- DFiles in which records are stored according to some key field and where one or more indexes have been created to make searching even more efficient
5How would we reference the value 18 from the image?

- A24
- B42
- C18
- D8
6What are the four items which need to be stated when defining an array?
- AName of array
- BData type of contents
- CDimensions
- DMaximum number of elements/size of array/bounds of array
- ELength of array
- FNumber of values
- GVariable types
- HLocation of array
7What are three advantages of using an array rather than 100 separate variables?
- ACode is easier to manage
- BCan use iteration
- CCode will be more easily scaleable
- DCode will be more accurate
- ECan use more variables
- FAllow individual data items to be accessed
8What does a record do?
- AStores a series of similar data items together under one identifier
- BStores several different related data items under one identifier
- CStores a series of similar data items together under multiple identifiers
- DStores several different related data items under multiple identifiers
9What is an integer used to store?
- AWhole numbers
- BNumbers that may have a decimal point
10Alphanumeric data types are used to store textual data
- AVerdadero
- BFalso
11What does the first row of the table tells us?

- AThe position of each item of the array
- BThe position of each item of the record
- CThe position of each variable of the array
- DThe position of each variable of the record
Información
- Descripción
- Test sobre Data Type and Data Structures, creado por Harry Guest el 24/03/2015.
- Autor
- Harry Guest
- Idioma
- English
- Visitas
- 70
- Valoración
- 4,7 de 5 · 3 valoraciones Valora este test