C# Student Information Management Program
C# Student Information Management Program
1618(Distintion)
Computer Programming
FPT University
30 pag.
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
Grading grid
P1 M1 D1
I. Introduction:
Problem: Teacher can’t remember information of student in class. He told me create a program to
write information of student, and create user and password to make sure no one can login without him.
Documentary management of student information can lead to loss of documents and possible theft of
student information by outsiders.
Solution: I create a program to manage student information with C#. The program have function of
logging in, input information of student, display information of student, search information of student ,
delete information of student and exit program.
1. C# language:
-C# is a programming language created by Microsoft. It was presented in 2002 with adaption 1.0
Microsoft’s .NET Framework. From that point toward, C# has gone through a few corrections, comparing
with each .NET update. Today, it is perhaps the most well-known programming dialects for making
Windows projects and web applications (Christensson, 2014).
Document shared on www.docsity.com
Downloaded by: tranvuanhminh ([email protected])
-C# is a subsidiary of the C programming language and is like C++. It utilizes similar essential
administrators as C++, is object-arranged, case sensitive, and has almost identical syntax. However, there
are a few contrasts among C# and C++ (Christensson, 2014).
-In particular, C# is planned explicitly for Microsoft’s .NET Framework. This permits designers to
exploit every one of the elements offered by the .NET API. However, it additionally implies C#
applications can just sudden spike in demand for stages that help .NET runtimes, like windows, windows
server, and windows phone. For programs written in C# to run on different stages, the code should be
incorporated utilizing a transformation instrument like Microsoft .NET native (Christensson, 2014).
2. Algorithm:
An algorithm is a process or set of decides that are continued in estimations or other problem-solving
operations. Algorithms are viewed as the foundation of data programming. It incorporates rules, mandates,
or techniques for finishing the underlying state given. At the point when the necessities are careful
arranged, the algorithm will show exact outcomes (Lynch, 2021).
Figures 1 : Algorithm
Characteristics of algorithm (Pedamkar, n.d.):
-Finiteness: An algorithm ought to be finished at one specific time, and this is vital for any
algorithm; in any case, your algorithm will go in endless state, and it won’t be finished ever.
-Definiteness: Each algorithm ought to be clear and unambiguous.
-Effectiveness: Each algorithm ought to be fundamentals. We should attempt to write in a basic
manner so it would be essential.
-Input: Every algorithm should take input; in tends to be zero or at least one. Thus, as per the
conditions, the client can utilize it.
-Output: For any work, some output should come; this is an absolute necessity; in any case, there is
no significance of any work. Similarly, every algorithm ought to create at least one outputs.
-Generality: The algorithm ought to be normal for the arrangement of input and requirements so a
similar algorithm can apply in various spotsDocument
as pershared
theonclient’s necessities.
www.docsity.com
Downloaded by: tranvuanhminh ([email protected])
Figures 2 : SDLC
The entire SDLC process divided into the following SDLC steps:
Requirement collection and analysis: The necessity is the primary stage in the SDLC interaction.
It is led by the senior colleagues with contributions from every one of the partners and space
specialists in the business. Anticipating the quality confirmation necessities and recognition of the
dangers implied is additionally done at this stage. This stage gives a clearer image of the extent of
the whole task and the expected issues, openings, and orders which set off the undertaking.
Prerequisites Social occasion stage need groups to get definite and exact necessities. This assists
organizations with concluding the essential course of events to complete crafted by that framework.
Feasibility study: This process conducted with the help of 'Software Requirement Specification'
document also known as 'SRS' document. It includes everything which should be designed and
developed during the project life cycle.
Design: In this third stage, the framework and programming configuration reports are ready
according to the prerequisite detail archive. Document
This characterizes in general framework engineering.
shared on www.docsity.com
Downloaded by: tranvuanhminh ([email protected])
This plan stage fills in as contribution for the following period of the model.
Coding: When the design stage is finished, the following stage is coding. In this stage, engineers start
construct the whole framework by composing code utilizing the picked programming language. In the
coding stage, undertakings are separated into units or modules and allotted to the different engineers. It is
the longest period of the Product Advancement Life Cycle measure. In this stage, Designer needs to
follow certain predefined coding rules. They likewise need to utilize programming devices like compiler,
translators, debugger to create and execute the code.
Testing: When the product is finished, and it is conveyed in the testing climate. The testing group
begins testing the usefulness of the whole framework. This is done to confirm that the whole
application works as indicated by the client necessity. During this stage, QA and testing group may
discover a few bugs/absconds which they convey to designers. The improvement group fixes the
mess with and send back to QA for a re-test. This interaction proceeds until the product is sans bug,
stable, and working as indicated by the business needs of that framework.
Deployment: When the product testing stage is finished and no bugs or mistakes left in the
framework then the last arrangement measure begins. In view of the criticism given by the venture
chief, the last programming is delivered and checked for arrangement issues assuming any.
Maintenance: When the framework is sent, and clients begin utilizing the created framework,
following 3 exercises happen
• Bug fixing - bugs are accounted for due to certain situations which are not tried by any stretch
of the imagination
• Update - Overhauling the application to the more up to date forms of the Product
• Upgrade - Adding some new highlights into the current programming
The principle focal point of this SDLC stage is to guarantee that requirements keep on being met
and that the framework keeps on proceeding according to the detail referenced in the main stage.
2. V-Shape:
In this kind of SDLC model testing and the turn of events, the stage is arranged in equal. Along these
lines, there are check periods of SDLC as an afterthought and the approval stage on the opposite side.
VModel joins by Coding stage. Before going to how does it work, there are two declaration we must
define first:
Validation: is the confirmation that an item, administration, or system addresses the issues of the
client and other identified partners. It frequently includes acknowledgment and appropriateness with
outside clients.
According to Sami (Sami, 2018), The V-Model contains the principal stages correspondingly to other
interaction models. Besides, it separates the testing stage into detailed stages to guarantee the validation
and
verification process. Thus, it contains the beneath testing phases:
Unit testing: The Unit testing is the trying at the code level and takes out issues at a
beginning phase, essentially the designer is mindful to play out the unit test for his code while
not every one of the deformities can't be found at the unit testing.
Functional testing: Practical testing is related with the low-level plan stage which
guarantees that assortments of codes and units are cooperating most likely to execute new
capacity or administration.
Integration testing: Integration testing is related with the significant level plan stage. Mix
Document shared on www.docsity.com
testing guarantees the combination between all framework modules in the wake of adding
Downloaded by: tranvuanhminh ([email protected])
Advantages:
1. Easy and simple to perform.
2. Testing exercises are arranged prior to coding. This saves a ton of time and furthermore helps
in fostering an awesome comprehension of the task at the starting state.
3. Each stage has explicit expectations.
4. Works for little tasks.
5. Functions admirably for where necessities are without any problem.
Disadvantages:
1. The greatest weakness of V-model is that it's very unbending and the most un-adaptable.
2. It isn't proposed for momentary activities as it requires reviews at each stage.
3. If any progressions happen mid-way, not just the necessities reports yet in addition the test
documentation should be refreshed.
All in all, V-model is a model easily to use, necessities must be exceptionally clear before the venture
begins, since it is normally costly to return and make changes. There are some of the most suitable
scenarios
to use the V-model:
• Requirements are distinct, obviously reported and fixed.
• Technology isn't dynamic and is surely known by the designer group.
• The project is short.
• There are no equivocal or unclear requirements.
• Item definition is stable.
Example: Military projects, Space shuttle, etc.
3. Scrum:
Scrum is a one the agile practices, it is a incremental methodology and iterative in nature used to
deal with the complex work implies develop the complex software products with the much of the time
changing business necessities (Hema and Thota, 2020). There are 3 roles in Scrum:
Scrum master: keeps up scrum processes.
Owner of the product: customer or stockholder.
Scrum team: 7 people.
The entire product is partitioned into little augmentations which are shippable expectations that can be
Document shared on www.docsity.com
Downloaded by: tranvuanhminh ([email protected])
checked at each sprint's end.
Figures 4 : Scrum
Scrum events:
Sprint: controls the hauling instrument that limits inflow over-burden.
Sprint planning: permits self-evaluation of each task that starts clarity and development
with respects DoD (Definition of Done).
Daily Scrum meeting: upgrades the coordination among team to show and communicate
their thoughts
Sprint review: Incorporates scrum team alongside different stockholders. Which takes the
feedback from the scrum team and furthermore assessment has been taken here.
Sprint retrospective: supplies an opportunity to examine at deterrents for the second and to
get supplements for the coming sprint. Document shared on www.docsity.com
Downloaded by: tranvuanhminh ([email protected])
Figures 5 : Scrum framework
How it works:
Advantages:
• Scrum helps the organization in saving time and money.
• It is simpler to convey a quality product in a planned time.
• Feedback at each level of the project guarantees that quality product is conveyed eventually.
• Ordinarily there is a meeting will be held among the group assembled scrum meeting (additionally
called as Daily Standup) to share their perspectives to acquire the progression of the product work.
Disadvantages:
• If a task isn't distinct, assessing project expenses and time won't be precise. In such a case, the
assignment can be spread more than a few sprints.
• If any member of the team leaves during a development it can have a gigantic reverse impact on the
project development.
• Project quality management is difficult to execute and measure if the test team can't lead failure
testing after each sprint.
If statement: Check to see if the command is still running or if it is being blocked by the condition. In my
software, I'll utilize it to check if the user and pass you enter are correct before running the function.
Otherwise, the code will not be run.
Figures 6 : If statement
Switch: used to choose a function from the program, and the function will execute the code. My program
has five functions to pick from, and if the number you enter does not correspond to one of them, it will
return you to the main menu.
For: storing, exporting, and inspecting array values. Example, in my program, code will run from 0 to all
of data I input if them find it in list, them will display result with name, age, id and gpa.
Figures 8 : For
Do-while: Check the condition after running the code. The code will terminate if the condition is not met.
I'll utilize it in my software to check the password and username; if there are more than three attempts, you
won't be allowed to enter username, Downloaded
password, or shared
Document quitonthe application.
www.docsity.com
by: tranvuanhminh ([email protected])
Figures 9 : Do-while statement
List: I create an empty list to contain all entered student information, all entered information will be saved
here.
2. Flowchart:
a. Create struct:
e. Search function:
I create internal class Student with the attributes such as name, age, gpa, id. Attributes are in public so all
part of program can use these attributes.
To use the software, you must first log in. If you input your username and password incorrectly more than
five times, the program will terminate. If your information is correct, the main menu will appear, allowing
you to select the function you want to use. Enter the number of functions you want to utilize; the program
will switch to that function and execute the instructions in that case; the function will then return to the
main menu, allowing you to select another function. The software will be terminated if you select case 5.
If the number you provided does not match any of the functions, you will be sent to the main menu, where
you can select a different function.
b. Input function:
The function of input is to enter data such as: name, age, score and Id of the student to enter, the
information just entered will be included in the list of students.
c. Display function:
This function is to display all the student information entered and that information will be displayed.
d. Search function:
When entering a name to search, this function will run from 0 until the name matches it and if there are no
Document shared on www.docsity.com
Downloaded by: tranvuanhminh ([email protected])
results, it will return null.
Figures 23 : Search function.2
When have result, if result have data it will display name, age, gpa, id of student was enter for search or
this result don’t have any data it will display nothing is found.
e. Delete function:
a. Login:
Right username and password: I was entered right data, menu choice was display.
b. Input function:
c. Display function:
I choose case 2, the student list was displayed to the console screen so I can see all student information.
d. Search function:
I choose case 4, the list of students is displayed on the console screen, I choose case 2 for see list of
information students and students deleted by me didn't display
V. TEST CASE
44444444444444
TC05 1.Input 2 Display all Display all Pass
2.Submit student student
JEVTIC, G., n.d. What is SDLC? Phases of Software Development, Models, & Best Practices. [Online]
Available at: https://phoenixnap.com/blog/software-development-life-cycle
[Accessed 15 12 2021].
Sami, M., n.d. The Validation and Verification Model – The V-Model. [Online]
Available at: https://melsatar.blog/2018/08/27/the-validation-and-verification-model-the-v-model/
[Accessed 15 12 2021].
Figures 2 : https://atories.com/software-development-life-cycle-sdlc/
Figures 4 : http://sfdcsrini.blogspot.com/2014/10/scrum-agile-basics.html
Figures 5 : http://previous.agileinafrica.com/scrum-framework-02-1/