1. Trang chủ
  2. » Công Nghệ Thông Tin

HUYNH TRAN ANH KHOA GCS200252 procedural programming (2)

26 13 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 26
Dung lượng 636,43 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Assignment Brief 2 (RQF) Higher National CertificateDiploma in Computing Unit Number and Title Procedural Programming Academic Year 2021 Unit Tutor Assignment Title Analysis and Design a solution for procedural programming problem Issue Date Submission Date IV Name Date Learning Outcomes and Assessment Criteria Pass Merit Distinction LO3 Be able to implement procedural programming solutions LO4 Be able to test procedural programming solutions P4 Write a program that implements the designed so.

Trang 1

Assignment Brief 2 (RQF)

Higher National Certificate/Diploma in Computing

Unit Number and Title Procedural Programming

Unit Tutor

Assignment Title Analysis and Design a solution for procedural programming

problem Issue Date

Submission Date

IV Name & Date

Learning Outcomes and Assessment Criteria

LO3 Be able to implement procedural programming solutions

LO4 Be able to test procedural programming solutions

P4 Write a program that

implements the designed

solution

M3 Program is written following

coding standards, input data are

validated

D2 Evaluate your program, state

lessons learnt and future improvements

Trang 2

P5 Test the program with

proper test plan

M4 Analyse test results for future

maintenance

Trang 3

Assignment Brief

Scenario: Please refer to scenario in Assignment 1

Tasks 1

Your next task is to implement the software that you designed in previous steps You need

to implement the software designed in assignment 1 using C programming

language. Your code must make use of programming standards, including file headers

and effective code commenting You need to provide screenshots of your program when

running During the development of your program, if you make any changes to the original

design, state them with reasons in report Your code listings must be included as an

appendix

Task 2

Test your program by making a test plan, execute it and log results Your test plan should

include data validation and program operations based on requirements Test results

(passed or failed) should be analysed to help the program in future maintenance

Task 3

Write an evaluation and conclusion of the whole development The evaluation of your

program should be based on its running and its test result You should mention about

lessons learnt and future improvement Also evaluate how procedural programming is

applied in your program, state benefits, disadvantages or difficulties

A final report of these 3 tasks must be submitted in PDF format to CMS

Submission Format

The submission is in the form of a Word document You are required to make use of appropriate structure, including headings, paragraphs, subsections and illustrations as appropriate, and all work must be supported with research and referenced using the Harvard referencing system

Trang 4

Table of Contents

Assignment Brief 2 (RQF) 1

Higher National Certificate/Diploma in Computing 1

P4 Write a program that implements the designed solution 5

1) Problem 5

Thomas is a Math teacher, he wants to assess the learning situation of students in the last semester He asks me to help him to create a score viewer app for him and all student’s parents He needs to enter student IDs, full names of all students, student’s score and store this information into 2 separate arrays, integer array(IDs) and float array(grades) After that, he needs to print all student IDs together with their grades My program should have a menu base on the option above so that parents can easily access their child's grades Finally, he needs to find which student has the highest score and lowest The student with the highest score will receive an extremely valuable prize and will be recruited into the team of good students in chemistry The student with the lowest score is required to take chemistry tutoring and is punished for community service 5

2) Solve a problem 5

3) Code 7

A) Variable 7

B) Display Menu 9

C) Input Student’s Information and Display All Student 11

D) Display All Students And Show Highest Score 13

E) Show Lowest Score, Back To Menu and Display student’s information 15

F) Display Student’s Score and Find Highest Score 17

G) Find Lowest Score and Check whether there is no student or IsNoStudent 19

4) Program results 21

P5 Test the program with proper test plan 25

Trang 5

access their child's grades Finally, he needs to find which student has the highest score and lowest The student with the highest score will receive an extremely valuable prize and will be recruited into the team of good students in chemistry The student with the lowest score is required to take chemistry

tutoring and is punished for community service

2) Solve a problem

There are 5 Function to assess the learning situation of students in the last semester

• Input student IDs and their grades

• Display student information

• Find the highest score

Trang 6

• Find the lowest score

• Exit

Trang 7

3) Code

A) Variable

Trang 9

B) Display Menu

Trang 11

C) Input Student’s Information and Display All Student

Trang 13

D) Display All Students And Show Highest Score

Trang 15

E) Show Lowest Score, Back To Menu and Display student’s information

Trang 17

F) Display Student’s Score and Find Highest Score

Trang 19

G) Find Lowest Score and Check whether there is no student or IsNoStudent

Trang 21

4) Program results

Screenshot menu options

Trang 22

Screenshot input information

Trang 23

Screenshot display all information

Screenshot finding lowest grade

Trang 24

Screenshot finding highest grade

Screenshot exit program

Trang 25

P5 Test the program with proper test plan

Statement Error

Input the number of students

Symbols or words (a,

Decimal (1.2,1 1…) Accepted Typical data (1,2, 3 ) Accepted

Trang 26

Statement Accepted Duplicate Error

Ngày đăng: 11/05/2022, 17:15

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w