Assignment Individual (Khant Eaint Hmoo)
Assignment Individual (Khant Eaint Hmoo)
ASSIGNMENTS
1. The Centre for Foundation and General Studies has decided to implement a digital record
of their students marking and grading for all their tests and examinations. Their Headmaster
has submitted a grade specification below for you to design a system.
Marks Grades
80 - 100 A
70 - 79 B
60 - 69 C
50 - 59 D
40 - 49 E
0 - 39 F
Given the following output as a guideline below, you are required:
Display “Grade A”
Display “Grade B”
Display “Grade C”
Display “Grade D”
Display “Grade E”
Else;
Display “Grade F”
End
Flowchart
Start
80-100
No
70 -79
No
60 -69
No
is 50-59
No
is 40-49
No
is 0-39
end
II. Write a code at a specific comment which is labeled as shown below.
Result:
Welcome to Student Assessment System
Please key-in students mark: 100
Your grade is A
Answer:
#include <stdio.h>
int main () {
int mark;
char grade;
if (mark>=80){
grade='A';}
else if (mark>=70){
grade='B';
}
else if (mark>=60){
grade='C';
}
else if (mark>=50){
grade='D';
}
else if (mark>=40){
grade='E';
}
else{
grade='F';
}
Your task is to design an appropriate Software Development Life Cycle (SDLC) model for the
development of the Campus Management System. Considering the requirements and
constraints, propose a suitable SDLC model and provide a brief explanation of why you
selected that particular model.
Answer:
According to the needs of the university which requires to streamline and improve the
complexity of the system, I would like to adopt “Waterfall Model” for the development if
the campus management system.
Here is the brief explanation of why Waterfall model is suitable for the university
administration;
1. Requirements:
In this stage, the university administration will work closely with stakeholders from
various departments to gather and document all the requirements for the Campus
Management System. This will include understanding the needs of students, faculty,
and administrative staff, as well as identifying integration points with existing university
systems.
2. System Design:
Once the requirements are finalized, the system design phase will involve creating a
detailed design of the Campus Management System. This will include defining the
system architecture database design, user interface design, and data flow diagrams.
The design will also consider scalability, security, and usability aspects.
3. Implementation:
In the implementation phase, the development team will start building the Campus
Management System based on the approved design specifications. This will involve
coding, database development, and integration with other university systems. Regular
progress updates and reviews will ensure that the development is on track.
4. Testing:
Once testing is successful, the Campus Management System will be deployed for use
by students, faculty, and staff. Post-deployment, ongoing maintenance and support
will be provided to address any issues that arise, implement updates or
enhancements, and ensure the smooth operation of the system.
In conclusion, the Waterfall Model is a suitable SDLC model for the development of
the Campus Management System due to its emphasis on clear requirements,
structured approach and risk management capabilities.
3. Suppose you are developing a simple calculator program. Your task is to implement the
division operation in the calculator.
Write a C program to perform division between two numbers entered by the user. Your
program should prompt the user to enter two integer values, perform the division operation,
and then display the result.
Instruction:
Declare two integer variables numerator and denominator to store the input numbers.
Perform the division operation (numerator / denominator) and store the result in a variable
named result.
Your program should handle cases where the denominator is zero and inform the user about
the impossibility of division by zero.
Answer:
#include <stdio.h>
int main() {
int numerator;
int denominator;
float result;
scanf("%d",&numerator);
scanf("%d",&denominator);
if(denominator==0){
else{
result=(float) numerator/denominator;
return 0;