Rédigé par des étudiants ayant réussi Disponible immédiatement après paiement Lire en ligne ou en PDF Mauvais document ? Échangez-le gratuitement 4,6 TrustPilot
logo-home
Dissertation

Programming assignment C++

Note
-
Vendu
-
Pages
10
Grade
B
Publié le
30-09-2021
Écrit en
2020/2021

In this assignment Im talking about software development lifecycle, truth tables, flowcharts, pseudocode, testing while giving examples from my program that i built using c++.

Établissement
Cours

Aperçu du contenu

Assignment 1

Paste a link to your code here.


https://repl.it/join/auahqmnl-pinkcoffee



Stages of the software development lifecycle:
The lifecycle of software development is a process model describing five
distinct phases of development that typically consists of the following five
stages:
Stage 1: Systems Analysis- In this stage we are analysing what our program should do
and who are the intended users.
Stage 2: Design- For this stage we create the design for our program and showcase
how it should work using truth tables, Pseudocodes, Flow charts.
Stage 3: Implementation- This is the stage where we actually start writing the code. In
our case we’re using C++
Stage 4: Testing- In stage 4 we test our program and observe how well it runs.Testing
each function.Normal, extreme and erroneous data.
Stage 5: Maintenance- At the last stage we do some last optimisation do improve our
program and solve bugs . Program Optimisation


Stage 1 - system analysis

1. Intended Users/ What the program should do.
The Computer Science department requires an automated way to make the initial selection
and enrollments for applicants on to Computer Science courses.The course administrator
should be able to enter the students’ names and qualifications, then the system will
automatically enroll them on the appropriate course, as described below.
A program that should help with the enrolment of students.
The intended users may be : Teachers, Colleges, Universities, Schools.

2. The use cases / functions.
In the program we have 3 functions : Enrol, showStudents, menu.
The first function is one of the most important ones.This function helps us enrol students.
Firstly it asks us for the student name , then for the gcse maths and gcse english exams.
The user has a choice of pressing q to quit the program. If the student has both exams he
will be automatically applied for a degree program. If the student has maths Or english he
will be applied to a foundation degree, but if the students does not have either of these
exams he will be rejected as he is not meeting the expectation. The second function
(showStudents) show’s us all the students that have been enrolled in the programs. The last
function is menu, which displays the menu in the program to make things easier and clearer.

3.The inputs and outputs of the program.
Depending on the user’s response in the menu, the enrol function will run.

, The first output is asking us for the student's name , and the code takes input from the user
and stores the student name in vectors which are foundationDegree,degreeProgram.
The second output displays if the student has Maths GCSE , then the code asks for the
user's input ( y, or n ) .
The next output displays if the student has English GCSE , then the code asks for the user’s
input ( y. Or n ) .
If the student has both exams the program output will be “applied for degree program.”
If the student has one of the exams the program output will be “applied for foundation
degree.”
If the student doesn’t have any of exams the program output will be” student does not meet
the requirements”




4. The storage of the program: variables, arrays / vectors
This program will store the students name in a variable called studentName, and will store all
the students with foundation degrees in a vector called foundationDegree, and all the
students with a degree program in a vector called degreeProgram.

5.Choice of programming language and why you have chosen it.
I have chosen to work with C++ programming language. This language is a great choice
because it’s very easy to use and very powerful.
C++ is also a great choice because it allows you to break complex programs into simpler
ones that are called functions. C++ also has rich libraries which provides us with built in
functions. It’s an easy language to use because of IF conditions, loops, variables . All of
these are very easy to understand and to use .

6.Code snippets
Below I have a code that helped me with the current program

École, étude et sujet

Niveau d'études
Editeur
Sujet
Cours

Infos sur le Document

Publié le
30 septembre 2021
Nombre de pages
10
Écrit en
2020/2021
Type
DISSERTATION
Professeur(s)
Inconnu
Grade
B

Sujets

€4,15
Accéder à l'intégralité du document:

Mauvais document ? Échangez-le gratuitement Dans les 14 jours suivant votre achat et avant le téléchargement, vous pouvez choisir un autre document. Vous pouvez simplement dépenser le montant à nouveau.
Rédigé par des étudiants ayant réussi
Disponible immédiatement après paiement
Lire en ligne ou en PDF

Faites connaissance avec le vendeur
Seller avatar
pinkcoffee

Faites connaissance avec le vendeur

Seller avatar
pinkcoffee Uxbridge College (London)
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
4
Membre depuis
4 année
Nombre de followers
3
Documents
11
Dernière vente
4 année de cela

0,0

0 revues

5
0
4
0
3
0
2
0
1
0

Documents populaires

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions