PRLD5121Ea THE S1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

18, 19, 20; 21 2021

MODULE NAME: MODULE CODE:


PROGRAMMING LOGIC AND DESIGN PRLD5121/d

ASSESSMENT TYPE: TAKE-HOME EXAM (PAPER ONLY)


TOTAL MARK ALLOCATION: 120 MARKS
TOTAL TIME: This assessment should take you 2 Hours to complete, however
you have 21 Hours (midnight to 9PM on the same day) to
submit. This additional time has been allocated to allow for the
download, completion and upload of your submission.
By submitting this assessment, you acknowledge that you have read and understood all the rules
as per the terms in the registration contract, in particular the assignment and assessment rules in
The IIE Assessment Strategy and Policy (IIE009), the intellectual integrity and plagiarism rules in
the Intellectual Integrity Policy (IIE023), as well as any rules and regulations published in the
student portal.

INSTRUCTIONS:
1. Please adhere to all instructions. These instructions are different from what is normally
present, so take time to go through these carefully.
2. Independent work is required. Students are not allowed to work together on this
assessment. Any contraventions of this will be handled as per disciplinary procedures in The
IIE policy.
3. No material may be copied from original sources, even if referenced correctly, unless it is
a direct quote indicated with quotation marks.
4. All work must be adequately and correctly referenced.
5. You should paraphrase (use your own words) the concepts that you are referencing, rather
than quoting directly.
6. Marks will be awarded for the quality of your paraphrasing.
7. This is an open-book assessment.
8. Assessments must be typed unless otherwise specified.
9. Ensure that you save a copy of your responses.
a. Complete your responses in a Word document.
b. The document name must be your name.student number.Module Code.
c. Once you have completed the assessment, upload your document under the
submission link in the correct module in Learn.
Additional instructions:
• Calculators are allowed
• For multiple-choice questions, give only one (1) response per question. The marker will
ignore any question with more than one answer, unless otherwise stated. You should,
therefore, be sure of your answer before committing it to paper.
• Answer All Questions. .
If you are using a Word Document in specialised numeracy modules:
o Please see the Word document included as part of this assessment.

© The Independent Institute of Education (Pty) Ltd 2021


Page 1 of 9
18, 19, 20; 21 2021

o If you are not familiar with all the functions in word it is recommended that you rather do
a hardcopy if possible.
o The document name must be your name.student number.Module Code.
o Once completed the assessment, upload your document under the submission link in the
correct module in Learn.

© The Independent Institute of Education (Pty) Ltd 2021


Page 2 of 9
18, 19, 20; 21 2021

Referencing Rubric

Providing evidence based on valid and referenced academic sources Markers are required to provide feedback to students by indicating
is a fundamental educational principle and the cornerstone of high- (circling/underlining) the information that best describes the
quality academic work. Hence, The IIE considers it essential to student’s work.
develop the referencing skills of our students in our commitment to
achieve high academic standards. Part of achieving these high Minor technical referencing errors: 5% deduction from the
standards is referencing in a way that is consistent, technically overall percentage – the student’s work contains five or more
correct and congruent. This is not plagiarism, which is handled errors listed in the minor errors column in the table below.
differently.
Major technical referencing errors: 10% deduction from the
Poor quality formatting in your referencing will result in a penalty of overall percentage – the student’s work contains five or more
a maximum of ten percent being deducted from the percentage errors listed in the major errors column in the table below.
awarded, according to the following guidelines. Please note,
however, that evidence of plagiarism in the form of copied or If both minor and major errors are indicated, then 10% only (and
uncited work (not referenced), absent reference lists, or not 5% or 15%) is deducted from the overall percentage. The
exceptionally poor referencing, may result in action being taken in examples provided below are not exhaustive but are provided to
accordance with The IIE’s Intellectual Integrity Policy (0023). illustrate the error

Required: Minor errors in technical correctness of Major errors in technical correctness of referencing
Technically correct referencing referencing style style
style Deduct 5% from percentage awarded Deduct 10% from percentage awarded
Consistency Minor inconsistencies. Major inconsistencies.
• The referencing style is generally • Poor and inconsistent referencing style used in-
• The same referencing format consistent, but there are one or two text and/or in the bibliography/ reference list.
has been used for all in-text changes in the format of in-text • Multiple formats for the same type of referencing
references and in the referencing and/or in the bibliography. have been used.
bibliography/reference list. • For example, page numbers for direct • For example, the format for direct quotes (in-text)
quotes (in-text) have been provided for and/or book chapters (bibliography/ reference
one source, but not in another instance. list) is different across multiple instances.
Two book chapters (bibliography) have
been referenced in the bibliography in
two different formats.
Technical correctness Generally, technically correct with some Technically incorrect.
minor errors. • The referencing format is incorrect.
• Referencing format is • The correct referencing format has been • Concepts and ideas are typically referenced, but a
technically correct throughout consistently used, but there are one or reference is missing from small sections of the
the submission. two errors. work.
• Concepts and ideas are typically • Position of the references: references are only
• Position of the reference: a referenced, but a reference is missing given at the beginning or end of large sections of
reference is directly associated from one small section of the work. work.
with every concept or idea. • Position of the references: references • For example, incorrect author information is
are only given at the beginning or end of provided, no year of publication is provided,
• For example, quotation marks, every paragraph. quotation marks and/or page numbers for direct
page numbers, years, etc. are • For example, the student has incorrectly quotes missing, page numbers are provided for
applied correctly, sources in presented direct quotes (in-text) and/or paraphrased material, the incorrect punctuation is
the bibliography/reference list book chapters (bibliography/reference used (in-text); the bibliography/reference list is
are correctly presented. list). not in alphabetical order, the incorrect format for
a book chapter/journal article is used, information
is missing e.g. no place of publication had been
provided (bibliography); repeated sources on the
reference list.
Congruence between in-text Generally, congruence between the in-text A lack of congruence between the in-text referencing
referencing and bibliography/ referencing and the bibliography/ and the bibliography.
reference list reference list with one or two errors. • No relationship/several incongruencies between
• There is largely a match between the the in-text referencing and the
• All sources are accurately sources presented in-text and the bibliography/reference list.
reflected and are all accurately bibliography. • For example, sources are included in-text, but not
included in the bibliography/ • For example, a source appears in the in the bibliography and vice versa, a link, rather
reference list. text, but not in the bibliography/ than the actual reference is provided in the
reference list or vice versa. bibliography.
In summary: the recording of In summary, at least 80% of the sources In summary, at least 60% of the sources are
references is accurate and are correctly reflected and included in a incorrectly reflected and/or not included in
complete. reference list. reference list.

Overall Feedback about the consistency, technical correctness and congruence between in-text referencing and bibliography:
....................................................................................................................................................................................................................................................................................................

© The Independent Institute of Education (Pty) Ltd 2021


Page 3 of 9
18, 19, 20; 21 2021

Question 1 (Marks: 15)


Answer all questions within this section.

Q.1.1 Discuss the first three phases of the Program Development Cycle. (3)

Q.1.2 Briefly state the purpose of flowcharts and pseudocode. (2)

Q.1.3 By means of examples explain the difference between a constant and a


variable.
Hints: You will be awarded marks for the examples and explanation (5)
provided. References taken directly from the textbook must be
acknowledged.

Q.1.4 By making use of pseudocode, show the programming statements that will
accept two values from a user. These values should be added together and (5)
the result displayed on the screen.

Question 2 (Marks: 60)


Answer all questions within this section.

Q.2.1 Briefly explain what an array is. As part of your answer make use of a
labelled example to show the declaration and components of an array
(10)
Note: You will receive 4 marks for your explanation and 6 marks for your
labelled example.

Q.2.2 Identify the purpose and the components of the method represented in the
(8)
pseudocode below:

© The Independent Institute of Education (Pty) Ltd 2021


Page 4 of 9
18, 19, 20; 21 2021

© The Independent Institute of Education (Pty) Ltd 2021


Page 5 of 9
18, 19, 20; 21 2021

Q.2.3 Explain what it means when a module is said to be functionally cohesive. (2)

Q.2.4 Convert the following pseudocode into a class diagram.

(10)

Q.2.5 Create the pseudocode that will demonstrate how an application will write
(10)
your name and surname to a text file called “students.dat”.

Q.2.6 Identify each of the GUI components in the image below. The components
are labelled 1 – 6. Only write down the number of the component and the
name of the component.

(6)

© The Independent Institute of Education (Pty) Ltd 2021


Page 6 of 9
18, 19, 20; 21 2021

Q.2.7 Briefly discuss any four user-initiated actions that can be taken using a
(4)
graphical user interface (GUI).

Q.2.8 Briefly explain what system modelling is and how it can benefit the systems
design process.
(5)
Note: References taken directly from the textbook must be acknowledged
or paraphrased.

Q.2.9 Below are the elements of the data hierarchy. Rearrange them so that they
appear in order from the smallest element to the largest element.
(5)

Elements: file, field, character, record, database

Question 3 (Marks: 15)


Answer all questions in this section.

Q.3.1 Read the following short scenario, then answer the questions that follow:

Jane wants to become a doctor. If Jane obtains an average of 90% for


Maths in her final exams, she will be admitted to the qualification, however,
if she obtains an average of more than 85% but less than 90% for Maths
and an overall average of 90% for all her subjects she will still be able to
study medicine but will have to complete a BSc degree first.
Q.3.1.1 Write the pseudocode that will accurately reflect the logic (10)
contained in the above scenario.

Q.3.2 Write the pseudocode that will populate an array of type string with data.
The array is called dogBreeds and the following values must be loaded: (5)
Labrador, Poodle, Terrier, Spanniel, Doberman.

© The Independent Institute of Education (Pty) Ltd 2021


Page 7 of 9
18, 19, 20; 21 2021

Question 4 (Marks: 20)


Answer all questions within this section.
Q.4.1 Identify and differentiate between the two (2) types of selection structures. (4)

Q.4.2 If a person is 17 years old, what will be the outcome if the following snippet
of code is executed.
“ if NOT(age < 18) then
output “The person can vote” (1)
else
output “The person cannot vote”
endif”

Q.4.3 Consider the following pseudocode, then write the pseudocode for mainline
logic that contains the elements required in Q.4.3.1 to Q.4.3.3.

Q.4.3.1 Declare each of the instance variables and include an object for
(8)
the class in the mainline logic.
Q.4.3.2 Assign the value “Glock” to the instance variable make. (2)
Q.4.3.3 Use the appropriate method to display the contents of the
(2)
instance variable make on the screen.

© The Independent Institute of Education (Pty) Ltd 2021


Page 8 of 9
18, 19, 20; 21 2021

Q.4.4 Create an object diagram for the object created in Q.4.3.1. Your diagram
(3)
only has to include the details for the make instance variable.

Question 5 (Marks: 10)


Answer all questions within this section.

Q.5.1 Below are the elements of the data hierarchy. Rearrange them so that they
appear in order from the smallest element to the largest element.
(5)

Elements: file, field, character, record, database

Q.5.2 Consider the image below, then answer the questions that follow:

Q.5.2.1 The image provided was created as part of the design of an


interactive program.
(3)

What does this image represent? Motivate your answer.


Q.5.2.2 Briefly state the relationship between the item identified in
(2)
Q.5.2.1 and a storyboard.

END OF PAPER

© The Independent Institute of Education (Pty) Ltd 2021


Page 9 of 9

You might also like