Professional Documents
Culture Documents
Issue Date
Submission Date
You’ve just made a contract with FPT Academy International, and are
about to be appointed as a Project Leader for a group of programmers to
develop its Student Management System.
- stdId: The student ID of the form like GTxxxxx or GCxxxxx (x: is a digit)
- stdName: Student name
- stdDoB: Student date of birth
- stdEmail: Student email
- stdAddress: Student address
- stdBatch: The batch (class) of the student
=======================
1. Manage Students
2. Manage Lecturers
3. Exit
=======================
Please choose:
When user selects 1, the program will display submenu for managing
students:
=======================
Please choose:
When user selects 2, the program will display submenu for managing
lecturers:
=======================
=======================
Please choose:
When user chooses 2, the program will list all the students/lecturers to
the screen, each student/lecturer in a row and student’s/lecturer’s data
fields are separated by ‘|’.
Task 2
Problem Analysis, for the scenario above.
You need to produce a full design for the requirements given. The design
must include
- Use-case diagrams for the most important features;
- Class diagrams for all objects identified as well as class relationships.
- Pseudo-code for the Algorithms for the main functionalities (3
Submission
Students are expected to submit hard copy of assignment
requirements
In addition to the above PASS criteria, this assignment gives you the opportunity to submit
evidence in order to achieve the following MERIT and DISTINCTION grades
Indicative
Grade Descriptor Contextualization
characteristic/s
M1 Determine a design pattern from
each of the creational, structural and
behavioural pattern types.
M2 Define class diagrams for specific
design patterns using a UML tool.
D1 Analyse the relationship between
the object-orientated paradigm and
design patterns.
D2 Define/refine class diagrams derived
from a given code scenario using a
UML tool.
Internal
Signature Date
Verifier 1
Internal
Signature Date
Verifier 2
P2. Identify the program units and data and file structures required to implement a given design ........... 11
3. Iteration constructs............................................................................................................................... 14
2. Flowchart: ............................................................................................................................................. 18
1.2. The programming language is divided into two types: high-level programming languages
and low-level programming languages:
1.2.1. The high-level programming language is a language that is more abstract than the
language of the computer. It is possible to use natural language elements, which are
easier to use. Making the program development process simpler and relatively
easier to understand than a low-level language.
Local variables are a variable that can only be accessed within the specific
chunk/block of code that it was written in, not through the entire script of code(Like
a global variable) a local variable is declared to override the same variable name in
the larger scope.
A global variable is a variable that can be viewed throughout the entire program by
every other procedure taking place, it is also accessible by every other task running
in the program. The majority of times, a global variable is a static variable, whose
extent is the entire runtime of the program.
3.4. Modularity:
P2. Identify the program units and data and file structures required to implement a given design
2. Selection structures
2.1. “IF” statement is has two basic forms: If – else and if - else if:
2.1.1. “If” conditional statement used to check the condition and
perform the processing corresponding to that condition. if the
condition is right, then it will do something and if condition is
wrong, do something else.
3. Iteration constructs
3.1. “For”: The for statement allows repeat work until conditions are wrong.
3.1.1. Form of for statement:
While(expression){
Statement ;
Do{
}while (expression);
A function is a group of statements that together perform a task. Every C program has at least
one function, which is main(), and all the most trivial programs can define additional functions.
The function takes arguments and returns a value to the program that calls it. Some functions
4.1.2. The printf function is used for output and scanf is used for input.
1. Use case:
2. Flowchart:
2.1 Select menu functions
student information
3.4 Print hightest grade
Requirements specification:
Program design:
Technical documentation: