Assignment1 (Advanced Programming in C++)
Assignment1 (Advanced Programming in C++)
Re-Sub
STUDENT DECLARATION
Plagiarism
Plagiarism is a particular form of cheating. Plagiarism must be avoided at all costs and students who break the rules,
however innocently, may be penalised. It is your responsibility to ensure that you understand correct referencing practices.
As a university level student, you are expected to use appropriate references throughout and keep carefully detailed notes
of all your sources of materials for material you have used in your work, including any material downloaded from the
Internet. Please consult the relevant unit lecturer or your course tutor if you need any further advice.
Student Declaration
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I
understand that making a false declaration is a form of malpractice.
Also, I acknowledge that I have received the feedback about my work from the assessor.
FORMATIVE FEEDBACK
1
Learning Outcomes and Assessment Criteria:
Learning Outcome Pass Merit Distinction
Lo1 Understand the P1 Explain the M1 Create a class D1 Implement a
object and class. difference between with a member class in a separate
Object-Oriented function in a C++ file using Microsoft
Programming programming Visual Studio C++.
(OOP)and language, then
programming create an object D2 Evaluate the
languages (LP). and call its significant of placing
P2 Illustrate the member function the class in a
fundamental in the main separate file.
difference between function of the
Procedural program.
Programming and
Object-Oriented M2 Execute a
Programming constructor,
paradigms. destructor,
P3 List the main steps overloading
to develop each methods, and
system by using the static data
OOP paradigm. member in the
C++ programming
language.
Scenario
You are a candidate to work as a programmer in a software company using OOP
paradigm in C++ programming language. The manager of this company has
assigned you the following tasks to test and evaluate candidates’ knowledge of the
basic principles and topics of C++ programming. This test is to identify the
candidates who can deal with the problems using “software engineer thinking” to
find the best solution possible.
2
Task NO. 1:
1) Explain the difference between Object-Oriented Programming (OOP) and programming
languages (PL).
2) Illustrate the fundamental difference between Procedural Programming and Object-Oriented
programming paradigms, then select the best paradigm that is used to build a new Cairo
technological university system.
3) List the main steps to develop any system using the programming paradigm.
Task No 2:
1) Build the new Cairo technological university system to calculate the GPA students
This system includes the following steps:
Step 1: Create a class named “student”. This class includes:
a- Create a member function named “GPA”. This function calculates the GPA of the student.
b- Create object for Two students (student1and student2) from the class (student) Then, call
its member function “GPA” in the main function of the program to calculate the GPA for
this two students”.
Step 2: Execute two constructors, the default constructor that prints " new Cairo technological
university" and another one to includes the number of the students. The number of student is a static
data member. This member is increased by one when creating a new object from the class student.
Task No 3:
Implement the above class "student” in a separate file using Microsoft Visual Studio C++
and evaluate the significant of placing this class in a separate file.
Note: Sources of information that you can use in answering the task are:
• Class handouts and learning materials.
• Individual research.
3
Higher Nationals - Summative Assignment Feedback Form
Student Name Student ID
Assignment Number(1 of 2) 1 Assignment Title The basic principles of advanced C++ programming
Structure Including the classes and objects.
Assessor Summative Feedback: Feedback should be against the learning outcomes and assessment criteria to
help students understand how these inform the process of judging the overall grade. *should be constructive and useful
including:
- Feedback should give full guidance to the students on how they have met the learning outcomes and assessment
criteria
a) Strengths of performance
b) Limitations of performance
.
Actual Date Received Re-
Re-submission Date / / / /
submission
Resubmission Feedback:
*Please note resubmission feedback is focussed only on the resubmitted work
Signature: Date: / /
* Please note that grade decisions are provisional. They are only confirmed once internal and external moderation has
taken place and grades decisions have been agreed at the assessment board.