null
US
Sign In
Sign Up for Free
Sign Up
We have detected that Javascript is not enabled in your browser. The dynamic nature of our site means that Javascript must be enabled to function properly. Please read our
terms and conditions
for more information.
Next up
Copy and Edit
You need to log in to complete this action!
Register for Free
2353313
Data Type and Data Structures
Description
Quiz on Data Type and Data Structures, created by Harry Guest on 24/03/2015.
Quiz by
Harry Guest
, updated more than 1 year ago
More
Less
Created by
Harry Guest
over 9 years ago
41
1
0
Resource summary
Question 1
Question
Which of these are the two Numeric Data types?
Answer
Integer and Real
Character and Integer
Real and Character
String and Character
Question 2
Question
What is Boolean data?
Answer
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
Question 3
Question
Which of these variables would use a String?
Answer
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)
Question 4
Question
What is a serial file?
Answer
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
Question 5
Question
How would we reference the value 18 from the image?
Image:
7a4e6ebb-7751-4f47-b995-40859b498a79 (image/png)
Answer
24
42
18
8
Question 6
Question
What are the four items which need to be stated when defining an array?
Answer
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
Question 7
Question
What are three advantages of using an array rather than 100 separate variables?
Answer
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
Question 8
Question
What does a record do?
Answer
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
Question 9
Question
What is an integer used to store?
Answer
Whole numbers
Numbers that may have a decimal point
Question 10
Question
Alphanumeric data types are used to store textual data
Answer
True
False
Question 11
Question
What does the first row of the table tells us?
Image:
d12db505-e734-49fc-9fd4-3805c903a8b4 (image/png)
Answer
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
Show full summary
Hide full summary
Want to create your own
Quizzes
for
free
with GoConqr?
Learn more
.
Similar
REVISION TIMETABLE
v.r.123
C1 - Formulae to learn
Tech Wilkinson
Girls' and Boys' Education - A Mind Map_1
meriya77
C1 B1 & P1 Test
jodie00
Study Schedule- this week (1)
Lavinia Hayde
Chemistry (C1)
Phobae-Cat Doobi
Input, output and storage devices
Mr A Esch
Edexcel Additional Science Chemistry Topics 1+2
Amy Lashkari
Health and Social Care
Kelsey Phillips
IB ITGS AREAS OF IMPACT
san wis
Účto Fífa 6/6
Bára Drahošová
Browse Library