Ppaf05d - Trof05d Study - Guide 2025
Ppaf05d - Trof05d Study - Guide 2025
STUDY GUIDE
PPAF05D
5 15 Principles of Programming A Extended
PRETORIA
0001
All rights reserved. Apart from any reasonable quotations for the purposes of
research criticism or review as permitted under the Copyright Act, no part of this
book may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopy and recording, without permission in writing from
the publisher.
TABLE OF CONTENTS
SECTION A: INTRODUCTION………………………………………………………………………….2
1. Welcome......................................................................................................................... 2
3. Code of conduct.............................................................................................................2
4. Class attendance............................................................................................................2
5. Modules names.............................................................................................................. 3
6. Modules credits..............................................................................................................3
11. Timetable........................................................................................................................ 9
SECTION E: ASSESSMENT…………………………………………………………………………..23
20. Moderation....................................................................................................................32
21. Plagiarism..................................................................................................................... 32
i
SECTION A: INTRODUCTION
1. Welcome
Welcome to the modules Principles of Programming A Extended (PPAF05D) and Introduction
to Programming 115R (TROF0D5). These modules are year subjects that help to form the
foundation in the training for general IT professions such as Software Analyst, Software
Architect, Software Coder, and Software Tester. Once you have knowledge of and skills in
developing basic programs, you will be able to complete your programming B modules, and
ultimately succeed in the specialization of your choice (Computer Science, Informatics,
Information Technology or Multimedia). We trust you will enjoy the course and find it
interesting and informative.
Most of the material that the student needs to master to pass this module will not be taught in
class. It is primarily the student's responsibility to master this material and this will not be
achieved by the instructor presenting the material in class. This study guide is a great ally in
navigating through the module.
3. Code of conduct
See Chapter 15 of Students’ Rules and Regulations.
“Any student who contravenes the provisions of rule 15.1 of the disciplinary code is guilty of
misconduct and will be dealt with in terms of the disciplinary code for students. For the
purposes of this disciplinary code, the word “University” refers to the Tshwane University of
Technology (TUT).”
4. Class attendance
See Chapter 12 of Students’ Rules and Regulations. (Rules 12.1.1 – 12.1.15).
2
It is critical to understand the full attendance requirements outlined in Chapter 12. Below are
some key highlights:
Attendance Obligation: All students must attend lectures, complete assignments, and
participate in practicals and tests. (Rule 12.1.1)
80% Minimum Attendance: Failure to attend at least 80% of scheduled classes may
result in exclusion from examinations. (Rule 12.1.2)
Class Registers: Attendance is recorded using a class register, and it is the student's
responsibility to sign in each session. (Rule 12.1.5)
Penalties for Violations: Non-compliance with attendance rules may result in denial
of examination admission and full liability for class fees. (Rules 12.1.7 & 12.1.14)
5. Grievances
If students encounter issues or have grievances related to their academic experience, they
should follow a structured procedure to ensure their concerns are addressed effectively. The
first step is to discuss the issue directly with their lecturer, providing relevant details and
evidence to support their grievance. Many concerns can be resolved at this level through open
communication. If unresolved, the student should escalate it to the Module Coordinator. If the
matter remains unresolved, submit a formal written grievance to the Unit Manager, and if
necessary, the Dean of the Faculty.
Students are advised to follow this procedure sequentially, without skipping any steps unless
specifically advised otherwise. It is essential to keep records of all communications, including
emails, meeting notes, and supporting documents, at every stage. Grievances must be
presented respectfully and professionally to ensure fair and efficient resolution.
3
6. Modules names
Principles of Programming A Extended, Introduction to Programming 115R.
7. Modules credits
Total credits for the course: 15 credits for the year.
The module emphasizes the development of problem-solving skills, logical thinking, and
the ability to write programs incorporating conditional statements and iteration control
structures. It also instils good coding practices that align with industry standards.
This module contributes to the following qualifications: Diploma in Computer Science, Diploma
in Information Technology, Diploma in Multimedia Computing, and Diploma in Informatics. It
forms the basis for more advanced programming topics, including Object-Oriented
Programming (OOP), which is introduced in subsequent modules.
4
9. Qualification module layout
The layout diagrams below show where this module fits into each qualification .
5
Diploma in Computer Science
6
Diploma in Informatics
7
Diploma in Information Technology
8
SECTION B: ORGANISATIONAL COMPONENT
Mr MB Phurutsi 18-G07 Soshanguve 012 382 9839 Unit Manager for 1st Year
South PhurutsiMB@tut.ac.za and Foundation Unit.
MoetiMN@tut.ac.za
MarebaneSM@tut.ac.za
TshehlaKS@tut.ac.za
SekeleMS@tut.ac.za
9
Mr SN Maluleke 12-222 Soshanguve South 012 382 9068 Lecturer
MalulekaNS@tut.ac.za
MalingaSF@tut.ac.za
NzimaLZ@tut.ac.za
MasekoTA@tut.ac.za
MokeleV@tut.ac.za
KgapholaPM@tut.ac.za
12. Timetable
The timetable for the class attendance is obtainable from the timetable coordinator or the departmental
administrator.
10
13. Dates and year planner
ACADEMI
DATE TOPICS ASSESSMENTS
C WEEK #
( Page 15-26)
11
(Page 26-38)
( Page 41-60)
12
LO 3: Good programming practices.
Chapter 3
3.4 Obtaining Output in Java - 3.5 Primitive data types
(pages 23-42)
SEMESTER TEST 1
13
LO 2: Problem solving skills.
Chapter 3
3.17 Mathematical calculations - 3.19 Unary operators
(pages 84-104)
Chapter 4
4.7 the if…else statement-4.9 Boolean expressions pages(16-30)
14
LO 2: Problem solving skills.
Chapter 4
4.10 Terminologies - 4.14 Using flags (pages 31-46)
23-28 Jun
15
SECTION C: PRESCRIBED AND RECOMMENDED RESOURCES
RECOMMENDED RESOURCES
Deitel, P. & Deitel, H. Java: How to program: Early Objects 2015 ISBN-13: 978-0133807806
(Tenth Ed.)
https://cdn-learn.adafruit.com/downloads/pdf/guide-to-scratch-3.pdf?timestamp=1549714937
http://scratched.gse.harvard.edu/sites/default/files/lp_scratch3.pdf
https://cdn-learn.adafruit.com/downloads/pdf/guide-to-scratch-3.pdf?timestamp=1549714937
http://www.calvin.edu/~vtn2/MACUL%20Scratch%20Workshop.pdf
16
SECTION D: MODULE DESCRIPTION
ELO 1: Design and analyse algorithms and data structures to create efficient solutions.
Scratch Programming
o Introduction to Scratch and its features
o Creating and customizing sprites
o Creating basic programs using Scratch blocks
o Debugging and testing programs in Scratch
Java Programming
o Introduction to Java and its features
o Java syntax and basic programming concepts
o Writing and running Java programs using a text editor
o Debugging and testing Java programs
17
Use comments and appropriate variable names.
Apply debugging techniques.
18
18. Unit descriptors
Outcomes:
Understand the basic programming concepts and syntax of Scratch and Java.
Write basic code in Java using a text editor and command prompt.
Summative:
19
UNIT 2: Problem Solving and Algorithm Design (Students notes: Chapter 2, 3, 4 and 5)
Outcomes:
Analyse programming problems and design algorithms using IPO tables, flowcharts, and trace tables.
20
UNIT 3: Good Programming Practices (Students notes: Chapter 2, 3)
Outcomes:
Summative:
21
UNIT 4: Control Structures in Java (Students notes: Chapter 4 & 5)
Outcome:
Use if/else statements, switch statements, for loops, while loops, and do-while loops in Java programming.
problems (draw diagrams of a problem’s Adding activities, notes and reflection in the
scenario) academic portfolio.
Summative:
22
SECTION E: ASSESSMENT
Assertion/reason Consists of an assertion and supporting Ability to weigh up options and Formative
questions explanation. The learner has to decide to discriminate Summative
whether the assertion and explanation are
RPL
true, and if true, whether the explanation is
a valid reason for the assertion.
Sometimes the learner is asked to select
his/her answer from a list of possibilities,
e.g. True; True + Valid; True + Invalid.
Aural/oral tests These are mainly used to generate Interpretation of ideas Formative
evidence on learners’ ability to listen, Expression of ideas Summative
interpret, communicate ideas and sustain a
23
conversation in the language of RPL
assessment.
Completion Learners are presented with a question Recall of factual information Formative
questions/short with a pre-determined answer consisting of Test understanding and Summative
answer a few words or may be given a statement application of knowledge, e.g. RPL
questions where key words are omitted. They are in mathematical concepts
then required to complete the statement by
filling in the word(s). Such questions may
also involve the use of numbers, diagrams
and graphs.
Extended These are usually in a written form. There Open-ended debates or other Formative
response are few restrictions on the content and responses Summative
questions form of the response. Continuous prose is Arguments
RPL
normally required, but there may be limits
Reports
on the length and/or time allocated.
Grid Grid questions and matching questions are Recall of information Formative
questions variants of each other. The learner is Application of knowledge Summative
/matching presented with two lists – a set of
24
questions statements and a set of responses. The RPL
learner is required to indicate which
response from the second list corresponds
or matches each statement in the first list.
Grid questions are presented in grid
format. They differ from the other selected-
response assessment instruments in that
each question may have more than one
correct response and each response may
be used more than once.
Oral questions / The form and content of the response is Allows for self-expression Formative
restricted limited by the way in which the question is when questions are oral
25
response asked. These questions do not have pre- Supports observation of tasks Summative (small groups only)
questions determined correct answers (as in short where underpinning RPL
answer questions, etc.) and the assessor knowledge and
must exercise his/her professional understanding are tested
judgment when interpreting learner’s
responses.
Personal A personal interview is probably the oldest A range of applications using Formative
interviews and best-known means of
eliciting different forms of questions, Summative (small groups only)
information directly from learners. It particularly
RPL
combines two assessment methods, Open-ended questions
namely observation and questioning. An
Guidance and support to the
interview is a dialogue between the
learner
assessor and the learner, creating
opportunities for learner questions.
26
series of related questions. The stem can understanding RPL
be text, a diagram, a picture, a video, etc. Analyses, Debates,
Arguments
27
Practical An activity that allows learners to Demonstration of skill Formative
exercises / demonstrate manual and/or behavioural Summative
demonstrations skills. The assessment may be based on
RPL (Not always practical –
the end-result of the activity (the product),
logistics)
or the carrying-out of the activity (the
process), or a combination of both
28
• Practical and across unit standards or
Role-plays Learners are presented with a situation, Assessment of a wide range Formative
often a problem or an incident, to which of behavioural and Summative
they have to respond by assuming a interpersonal skills
RPL
particular role. The enactment may be
unrehearsed, or the learner may be briefed
in the particular role to be played. Such
assessments are open-ended and are
person centred.
Reflective A reflective journal gives learners the It gives the assessor a unique Formative
journal opportunity to critically reflect on their own opportunity to follow the
learning, to express their thoughts and thought-processes of a learner
experiences and to present this in an and to monitor the way a
acceptable way. Even though it is a form of learner thinks and grows
29
self-assessment, it can be submitted for Critical evaluation of progress
assessment. by the learner
Peer Assessment by the learner’s peers, usually Assessment of paired or Mainly formative
assessment in the form of a checklist. group activities Summative if team-, group work part
Assessment of teamwork of outcomes
30
20. Assessment administration
The assessment administration process and expectations of the undergraduate student is
outlined below.
Due dates for summative assessments will be communicated to students by the lecturer or
exams department as it is made available.
The following table reflects the allocation of marks for the calculation of the year mark. (The
examiner reserves the right to change the below structure as needed).
31
19.4 Pass requirements
A student must achieve a final mark of 50% or more to pass the module.
In addition to the final mark of 50%, a student should obtain a subminimum mark of at
least 40% in examination to pass.
Students shall pass this module with distinction by obtaining a final mark of 75% or
more.
Supplementary examination
The predicate mark obtained for admission to main exam shall also apply to
supplementary examination.
A student who fails the main examination, but obtains a final mark of at least 45%,
qualifies for a supplementary examination.
A student who obtains a final mark of 50% and above but failed the minimum
subminimum (40% in examination) also qualifies for a supplementary examination.
21. Moderation
Moderation will be done internally by a moderator approved by Senate. The moderator will be
competent in corporate governance, ethics and risk management including the field of auditing
and/or internal auditing.
22. Plagiarism
The following is an extract from TUT’s plagiarism policy. Reference: RIPPOL067.
All students have a moral obligation and responsibility to maintain the following
academic integrity principles in the production and presentation of academic outputs,
regardless of the presentation format and/or work type:
Each student should only submit his/her own original academic work, except when
formal group work was required in the production of the academic output;
Each student should accurately indicate in all academic outputs when information is
used that was produced by another scholar by referencing it in accordance with a
recognised referencing convention system;
No student should use, present or submit someone else’s electronic works, multimedia
products or artistic works as if it is his/her own;
32
Each student should accurately indicate the download/access date and the uniform
resource locator (URL) of the internet web page when information is used from a
website, web page or other electronic source;
No student should allow another person/s to use or copy from his/her academic output
and present it as their own work;
Each student has the responsibility to request assistance from staff members should
they require guidance and/or advice about plagiarism in their academic outputs.
Students have a moral obligation to report plagiarism incidents in academic and/or
research environments. All whistle-blowers are protected in terms of the Policy on
Prevention of Fraud, Corruption and Theft (Policy #: VCPOL010).
Plagiarism is a form of misconduct. The relevant part (Chapter 15 – Student Discipline)
of the Prospectus, Part 1 (Students’ rules and regulations) read as follows:
“Any student who contravenes the provisions of rule 15.1 of the disciplinary code is
guilty of misconduct and will be dealt with in terms of the disciplinary code for students
…
Handing in any written assignment for assessment in which the essential parts of the
assignment have been copied from the work of another person, or any form of
plagiarism.”
All students must be fully aware that plagiarism offences/penalties can seriously affect
their academic status and progress at TUT and other tertiary institutions. In the most
serious cases, it can result in dismissal from the University and/or formal
cancellation/retraction of current/previously submitted academic outputs. In addition,
the University may indicate the nature and outcome of all plagiarism offences/penalties
when it is required to provide a reference or conduct statement for the student.
33