Docsity

Assignment 1 programming 1618, Assignments of Programming Languages

Partial preview of the text

Download Assignment 1 programming 1618 and more Assignments Programming Languages in PDF only on Docsity!

Higher Nationals in Computing

Unit 1: Programming

ASSIGNMENT 1

Assignment due: Assignment submitted:

โ’ Summative Feedback: โ’ Resubmission Feedback:

Grade: Assessor Signature: Date: Signature & Date:

Assignment Brief 1 (RQF)

Higher National Certificate/Diploma in Computing

Student Name/ID Number: Unit Number and Title: Unit 1: Programming Academic Year: 2021 โ€“ 2022 Unit Assessor: Phan Minh Tam Assignment Title: Problem solving with algorithms Issue Date: 27 September 2021 Submission Date: Internal Verifier Name: Date: Submission Format: Format: โ— The submission is in the form of an individual written report. This should be written in a concise, formal business style using single spacing and font size 12. You are required to make use of headings, paragraphs and subsections as appropriate, and all work must be supported with research and referenced using the Harvard referencing system. Please also provide a bibliography using the Harvard referencing system. Submission โ— Students are compulsory to submit the assignment in due date and in a way requested by the Tutor. โ— The form of submission will be a soft copy posted on http://cms.greenwich.edu.vn/. โ— Remember to convert the word file into PDF file before the submission on CMS. Note:

outline the process in building an application. from writing code to execution. algorithm in a suitable language. Evaluate the relationship between the written algorithm and the code variant.

Table of Contents

  • I. Algorithm.------------------------------------------------------------------------------------------
      • State your simple business problems be solved.--------------------------------------
  • 1.1 overview about Algorithm.--------------------------------------------------------------------------------------------
  • 1.2 Present a small and simple problem.-------------------------------------------------------------------------------
  • 2 Analyse the problem and design the solutions by the use of suitable methods.-------
  • 2.1. Analyze the problem.--------------------------------------------------------------------------------
  • 2.2 Design.----------------------------------------------------------------------------------------------------------------------
  • 2.3. Implementation or coding------------------------------------------------------------------------------------------
  • 2.4. Testing.--------------------------------------------------------------------------------------------------------------------
  • 2.5. Deployment.-------------------------------------------------------------------------------------------------------------
  • 2.6. Maintenance.----------------------------------------------------------------------------------------------------------
    1. Analyse the problem and design the solutions by the use of suitable methods.------------------------
  • 3.1 Analyze the problem.---------------------------------------------------------------------------------------------------
  • 3.2 Flowchart.------------------------------------------------------------------------------------------------------------------
  • 3.2.1 Menu flowchart.-------------------------------------------------------------------------------------------------------

ASSIGNMENT 1 ANSWERS

I. Algorithm:

1. - State your simple business problems be solved:

1.1 overview about Algorithm: ๏‚ท Algorithms are a way to solve a class of problems step by step. This is a well defined process that allows computers to solve math or certain problems. ๏‚ท Algorithms can perform calculations, data processing and automatic reasoning tasks. ๏‚ท Algorithm is an example of logic written in software by software developers or a set of rules that must be followed in order to complete a particular task or solve a problem. As you can see, programming languages have flow control (if-else) statements and loops (do, for, while). We can use these commands to write algorithms. 1.2 Present a small and simple problem: Example: Write a function that returns the sum of two numbers: For A = 789 and B = 123 , the output should be Sum(A, B) = 912.

2 Analyse the problem and design the solutions by the use of suitable methods:
2.1. Analyze the problem:

At this stage, collect all the basic information of customers to design products that meet their expectations. Any misunderstandings must be resolved only in this step. Business analysts and project managers arrange meetings with customers to obtain all relevant information, such as what the customer wants to develop, who will become the end user, and what is the purpose of the product. Before developing a product, it is essential to have a solid grasp of the product. 2.2 Design: This show with the development of the industrial revolution 4.0, many software manufacturing companies have been formed and developed. SRS specification documents are the product requirements that the software development team needs to fulfill. Therefore, it is very important document in software development regulation The requirements obtained in the SRS document are utilized as input, and the software architecture for system development is developed. 2.3. Implementation or coding: When the developer receives the design document, the implementation/coding process begins. The design of the software becomes the source code. All software components are implemented at this stage. 2.4. Testing When the code is completed and the module is deployed for testing, the testing process begins. At this stage, the developed software is fully tested, and any faults found will be assigned to developers for rectification. Perform retesting and regression testing until the program meets customer expectations. The tester refers to the SRS document to ensure that the program meets the customer's standards. 2.5. Deployment: After the product has been tested, deploy it in the production environment or conduct a preliminary UAT (User Acceptance Test) according to the customer's expectations. In the case of UAT, a copy of

This program includes 5 functions:

  1. Enter student information.
  2. Print out the list of students.
  3. Calculate the student's grade point average.
  4. Search for students by ID. 5) Exit. 3.2.1 Menu flowchart:

A) Select menu function: B) Input student informations:

REFERENCES