Data Type and Data Structures

Descripción

Test sobre Data Type and Data Structures, creado por Harry Guest el 24/03/2015.
Harry Guest
Test por Harry Guest, actualizado hace más de 1 año
Harry Guest
Creado por Harry Guest hace más de 9 años
38
1

Resumen del Recurso

Pregunta 1

Pregunta
Which of these are the two Numeric Data types?
Respuesta
  • Integer and Real
  • Character and Integer
  • Real and Character
  • String and Character

Pregunta 2

Pregunta
What is Boolean data?
Respuesta
  • Data that can have up to two values
  • Data that can only have two values
  • Data that allows us to store more than one item of data
  • Data used store characters, digits and punctuation symbols

Pregunta 3

Pregunta
Which of these variables would use a String?
Respuesta
  • Variable: TotalPrice (The cost of the tickets booked by the customer)
  • Variable: SeatNumber (For example F7, meaning the seat is in row F, number 7)
  • Variable: SeatAvailable (Whether a seat can be booked)
  • Variable: NoTickets (The number of tickets wanted)

Pregunta 4

Pregunta
What is a serial file?
Respuesta
  • Files in which records are stored in the order in which they were entered
  • Files in which records have been placed in the file according to some math­ematical hash algorithm
  • Files in which records are stored according to some key field
  • Files 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

Pregunta 5

Pregunta
How would we reference the value 18 from the image?
Respuesta
  • 24
  • 42
  • 18
  • 8

Pregunta 6

Pregunta
What are the four items which need to be stated when defining an array?
Respuesta
  • Name of array
  • Data type of contents
  • Dimensions
  • Maximum number of elements/size of array/bounds of array
  • Length of array
  • Number of values
  • Variable types
  • Location of array

Pregunta 7

Pregunta
What are three advantages of using an array rather than 100 separate variables?
Respuesta
  • Code is easier to manage
  • Can use iteration
  • Code will be more easily scaleable
  • Code will be more accurate
  • Can use more variables
  • Allow individual data items to be accessed

Pregunta 8

Pregunta
What does a record do?
Respuesta
  • Stores a series of similar data items together under one identifier
  • Stores several different related data items under one identifier
  • Stores a series of similar data items together under multiple identifiers
  • Stores several different related data items under multiple identifiers

Pregunta 9

Pregunta
What is an integer used to store?
Respuesta
  • Whole numbers
  • Numbers that may have a decimal point

Pregunta 10

Pregunta
Alphanumeric data types are used to store textual data
Respuesta
  • True
  • False

Pregunta 11

Pregunta
What does the first row of the table tells us?
Respuesta
  • The position of each item of the array
  • The position of each item of the record
  • The position of each variable of the array
  • The position of each variable of the record
Mostrar resumen completo Ocultar resumen completo

Similar

Inglés - Verbos Compuestos I (Phrasal Verbs)
maya velasquez
Glosario de Términos Educativos
maya velasquez
Prueba de Sociales y Ciudadanas
D. Valenzuela
Psicología Deportiva
luigi goterelli
Test 1 Biología Celular
fanitatou
ÁRBOL DE PROBLEMAS
Natasha Zamora
Bienvenido/a al Grupo para Enfermeros y Auxiliares
Laura -
CUADRO SINOPTICO
gnatalia_1296
GAUDÍ...
JL Cadenas
Mis MAPAS MENTALES...
Ulises Yo
APUNTES DE LATÍN
Cintia González Manzanares