Student Grade Management System, Assignments of Programming Languages

A simple program for managing student grades. It includes an overview of algorithms, a representation of a small problem related to sorting student grades, an analysis of the problem, and the design of a solution using suitable methods. The document also demonstrates the compilation and running of the program, including the source code, screen shots of the final result, and a brief explanation of the software development life cycle (sdlc) and how the source code is compiled. The program allows users to input student information, display the list of students, search for a student by name, sort the grades in ascending or descending order, and sort the names in alphabetical order. This document could be useful for students studying programming, data structures, and algorithms, as well as for educators looking to implement a simple grade management system.

Typology: Assignments

2021/2022

Uploaded on 08/28/2022

NOname1010
NOname1010 🇬🇧

2 documents

1 / 19

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT 1 FRONT SHEET
Qualification
BTEC Level 5 HND Diploma in Computing
Unit number and title
Unit 1: Programming
Submission date
Date Received 1st submission
Re-submission Date
Date Received 2nd submission
Student Name
Đặng Nam Hưng
Student ID
GCH211312
Class
GCH1104
Assessor name
Đặng Trần Long
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.
Student’s signature
Hưng
Grading grid
P1
M1
D1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download Student Grade Management System and more Assignments Programming Languages in PDF only on Docsity!

ASSIGNMENT 1 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 1: Programming Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Đặng Nam Hưng Student ID GCH Class GCH1104 Assessor name Đặng Trần Long 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. Student’s signature Hưng Grading grid P1 M1 D

 Summative Feedback:  Resubmission Feedback:

Grade: Assessor Signature: Date: Lecturer Signature:

**1 – State your simple business problems to be solved (P1) 1.1 Overview about algorithm

  • Definition:** An algorithm is a procedure used for solving a problem or performing a computation. Algorithms act as an exact list of instructions that conduct specified actions step by step in either hardware- or software-based routines. *** Example:
  • Characteristics:**
  • Possibility: Program can solve problem with the resources are given
  • Independent: Algorithm doesn’t need to use a certain programming language to solve the problem
  • finiteness: The problem must be handled by the algorithm after a predetermined number of steps. 1.2 Represent a small and simple problem The problem I will represent is about sorting student’s grade in descending order. This is a simple way for teacher to sort the list of the class.

To solve this problem, I use the bubble sort algorithm due to it is the simplest. This algorithm will swap two consecutive grade if the next grade is greater than the current until the sequence grades has been sorted in order and sort the name in order. 2 – Analyse the problem and design the solutions by the use of suitable methods (P1) 2.1 Analyse the problem

  • Input:

*** Input function:**

*** Search function:**

3 – Demonstrate the compilation and running of a program (P1 – M1) 3.1 Introduce how the problem is solved To solve this problem, I apply procedural programing to divide it into small tasks so that I can easily solve the problem. In the input information stage, I use if-else conditional statement and for and do-while loops to consider if the ID is duplicate or not and to see if the grade is in a range from 0 to 10. **3.2 Source code and screen shots of the final result

  • Source code:**
  • Sort grade in ascending order:
  • Sort name from A to Z:
  • Sort name form Z to A:
  • Exit the program: 3.3 Explain briefly what is Software Development Life Cycle SDLC is a process followed for a software project, within a software organization. It comprises of a thorough plan outlining how to create, maintain, replace, and modify or improve particular software. The life cycle outlines an approach for enhancing both the general software development process and the quality of the final product. There are 6 stages in Software Development Life Cycle:
  • Stage 1: Planning and requirement analysis: gathering pertinent data about the issue and determining the inputs, outputs, and other elements required to address the issue
  • Stage 2: Defining requirement: determining what the application is intended to achieve and its requirements is taken into account during planning
  • Stage 3: Designing the product architecture: solve the problem, develop appropriate algorithms based on the requirements analysis
  • Stage 4: Building or developing the product: If the design is carried out in a comprehensive and organized manner, code generation may be finished without much problem.

4. Reference Alexander S. Gillis, 2022. Algorithm. [online] Available at: https://www.techtarget.com/whatis/definition/algorithm [Accessed 10 August 2022] Admin, 2022. Software Development Life Cycle (SDLC). [online] Available at: https://www.tutorialspoint.com/sdlc/sdlc_overview.htm [Accessed 10 August 2022]