Past-paper question · 2015 October-November · Paper 42 · Q7(e)(i)

Question 7(e)(i) 2015 · October-November · Paper 42 · 26 marks

Question 7

Part (e)

(i)

Question 7

Question 8

Question 9

Question 3

(i)

Complete the GANTT chart by adding activities M and N.

[2]

(ii)

State the earliest completion date.

Week number ...............................................................................................................

[1]

Part (b)

There are problems with the progress of the project:

  • Activity E showed that the code contained major errors. The senior programmer now
  • estimates that:

  • further module coding will require another 2 weeks
  • further module testing will require another 2 weeks
  • further integration testing will require another 2 weeks
  • The hardware delivery is delayed by 16 weeks.
A
revised GANTT chart is now required.

(i)

Complete the chart in the grid below.

Activity A B C D E F G H J K L M N Week

Question 10

Question 11

Question 12

Question 13

Question 14

Question 15

Question 16

Question 17

Question 18

Question 19

Question 20

Question 21

Question 22

Question 23

Question 24

Question 25

Question 26

Question 27

Question 28

Question 29

number

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

Question 7

Question 8

Question 9

[9]

(ii)

State the new estimated completion date.

Week number ................................................................................................................

[1]

Question 4

2 A declarative programming language is used to represent the following facts and rules:

01 male(ahmed). 02 male(raul). 03 male(ali). 04 male(philippe). 05 female(aisha). 06 female(gina). 07 female(meena). 08 parent(ahmed, raul). 09 parent(aisha, raul). 10 parent(ahmed, philippe). 11 parent(aisha, philippe). 12 parent(ahmed, gina). 13 parent(aisha, gina). 14 mother(A, B) IF female(A) AND parent(A, B).

These clauses have the following meaning:

Clause Explanation 01 Ahmed is male 05 Aisha is female 08 Ahmed is a parent of Raul 14 A is the mother of B if A is female and A is a parent of B Write the rule to show that X is a brother of Y.

brother(X, Y)

IF .............................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

..............................................................................................................................................

[4]

Question 6

3 A college has two types of student: full-time and part-time.

All students have their name and date of birth recorded.

A
full-time student has their address and telephone number recorded.
A
part-time student attends one or more courses. A fee is charged for each course. The number of

courses a part-time student attends is recorded, along with the total fee and whether or not the fee has been paid.

The college needs a program to process data about its students. The program will use an object- oriented programming language.

Part (a)

Complete the class diagram showing the appropriate properties and methods.

Student

StudentName: STRING

........................................................................

........................................................................

........................................................................

ShowStudentName()

........................................................................

........................................................................

........................................................................

FullTimeStudent PartTimeStudent

Address: STRING ....................................................................... ....................................................................... ....................................................................... ....................................................................... ....................................................................... ....................................................................... .......................................................................

Constructor() ....................................................................... ShowAddress() ....................................................................... ....................................................................... ....................................................................... ....................................................................... .......................................................................

[7]

Question 7

Part (b)

Write program code:

(i)

for the class definition for the superclass Student.

Programming language .....................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

......................................................................................................................................

[2]
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9608_w15_ms_42.pdf →

Topic relevance

Why this question appears here

72% assigned-topic match · Hardware › Logic gates and logic circuits

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 9608_w15_qp_42.pdf

Keep practising this topic