Past-paper question · 2015 October-November · Paper 21 · Q1(a)

Question 1(a) 2015 · October-November · Paper 21 · 5 marks

Original past-paper question for 1(A)
Reveal official mark-scheme answer Official mark-scheme answer for 1(A)Official mark-scheme answer for 1(A)

Official answer for Question 1

Part (a)

Part (a)

✓
Field
✓
Example of
✓
size
✓
Field
✓
Identifier
✓
Data type
✓
input data
✓
(in
✓
marks
✓
bytes)

Question 10

✓
course
✓
STRING
✓
(approx.)

Question 1

✓
CourseCode
✓
code
✓
(not text/alphanumeric)
✓
(accept
✓
a range)

Question 30

✓
STRING
✓
Programming
✓
(approx.)
✓
title
✓
Title
✓
(not text/alphanumeric)
✓
for Beginners
✓
(accept
✓
a range)

Question 1

✓
tutor
✓
(3-letter
✓
STRING
✓
3/6
✓
Tutor
✓
PGL
✓
initials)
✓
(not text/alphanumeric)
✓
day of
✓
BYTE / INTEGER
✓
1 / 4
✓
week
✓
Day

Question 2

Question 1

✓
1 / 2
✓
lab based?
✓
IsLabBased
✓
BOOLEAN
✓
TRUE
✓
1 / 2

Question 1

✓
session
✓
duration in
✓
SessionHours
✓
REAL/FLOAT/SINGLE
✓
2.5
✓
4 / 8

Question 1

✓
hours
✓
CURRENCY/FLOAT/DECIMAL
✓
fee ($)
✓
CourseFee
✓
25.50
✓
8 / 16

Question 1

✓
SINGLE/REAL/DOUBLE
✓
date
✓
course
✓
StartDate
✓
DATE/REAL (STRING)
✓
03/11/2015
✓
8 (10)
✓
starts

Question 1

✓
date
✓
course
✓
EndDate
✓
DATE/REAL (STRING)
✓
03/12/2015
✓
8 (10)
✓
ends
✓
[max 5]
✓
Mark Scheme
✓
Syllabus
✓
Paper
✓
Cambridge International AS/A Level – October/November 2015
✓
9691

Question 21

Mark scheme 9691_w15_ms_21.pdf →

Show text version of question

Question 1

Part (a)

A
college provides courses for the local community. The Computing teacher, Ravi, wants to

develop a program to keep details of the courses. One way of storing this data will be to use records. Each record will contain the fields shown in the table below.

Complete the table.

Example of Field size Field Identifier Data type input data (in bytes) course code CourseCode 015110217 Programming title Title for Beginners tutor Tutor PGL (3-letter initials) day of week (1 – Monday Day 2 7 – Sunday) lab based? IsLabBased TRUE session duration SessionHours 2.5 in hours fee ($) CourseFee 25.50 date course starts StartDate 02/11/2015 date course ends EndDate 03/12/2015

[5]
Topic relevance

Why this question appears here

99% assigned-topic match · Data types and structures › Data types and records

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9691_w15_qp_21.pdf

Keep practising this topic