Zusammenfassung der Ressource
Frage 1
Frage
Which of these are the two Numeric Data types?
Antworten
-
Integer and Real
-
Character and Integer
-
Real and Character
-
String and Character
Frage 2
Frage
What is Boolean data?
Antworten
-
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
Frage 3
Frage
Which of these variables would use a String?
Antworten
-
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)
Frage 4
Frage
What is a serial file?
Antworten
-
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 mathematical 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
Frage 5
Frage
How would we reference the value 18 from the image?
Frage 6
Frage
What are the four items which need to be stated when defining an array?
Frage 7
Frage
What are three advantages of using an array rather than 100 separate variables?
Antworten
-
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
Frage 8
Frage
What does a record do?
Antworten
-
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
Frage 9
Frage
What is an integer used to store?
Frage 10
Frage
Alphanumeric data types are used to store textual data
Frage 11
Frage
What does the first row of the table tells us?
Antworten
-
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