Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Problem solving with algorithms, Assignments of Programming Languages

Explain, using examples, how algorithms are used to solve simple business problems and the steps needed to be followed to produce a working program solution. The problems to be solved will involve basic procedural programming instructions - sequence instructions (input, output and assignment statements), loops, conditional statements, case statements and logical operators. Problems should be demonstrated by the use of modules (procedures) using a menu based program.

Typology: Assignments

2020/2021
On special offer
30 Points
Discount

Limited-time offer


Uploaded on 02/16/2021

nguyen-manh-tai
nguyen-manh-tai 🇻🇳

4.7

(19)

7 documents

1 / 13

Toggle sidebar
Discount

On special offer

Related documents


Partial preview of the text

Download Problem solving with algorithms and more Assignments Programming Languages in PDF only on Docsity! ASSIGNMENT 1 BRIEF Qualification BTEC Level 5 HND Diploma in Business Unit number Unit 1: Programming Assignment title Problem solving with algorithms Academic Year Unit Tutor Issue date Submission date IV name and date Submission Format: Format: The submission is in the form of an individual written report and a presentation. 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 Tutors. The form of submission will be a soft copy in PDF posted on corresponding course of http://cms.greenwich.edu.vn/ Note: The Assignment must be your own work, and not copied by or from another student or from books etc. If you use ideas, quotes or data (such as diagrams) from books, journals or other sources, you must reference your sources, using the Harvard style. Make sure that you know how to reference properly, and that understand the guidelines on plagiarism. If you do not, you definitely get fail Assignment Brief and Guidance: Scenario: You have applied for a post as a trainee with a software development company and have been invited for an interview. You have been asked to demonstrate your problem solving and basic programming skills. To do this you have to prepare a report on using algorithms to solve problems. The report should use appropriate headings, table of content, Harvard referencing. Tasks Explain, using examples, how algorithms are used to solve simple business problems and the steps needed to be followed to produce a working program solution. The problems to be solved will involve basic procedural programming instructions - sequence instructions (input, output and assignment statements), loops, conditional statements, case statements and logical operators. Problems should be demonstrated by the use of modules (procedures) using a menu based program. You should make clear your assumption about your program. You also need to do a presentation of your work (it should be summary of your report). Page 1 Learning Outcomes and Assessment Criteria Pass Merit Distinction LO1 Define basic algorithms to carry out an operation and outline the process of programming an application P1 Provide a definition of what an algorithm is and outline the process in building an application. M1 Determine the steps taken from writing code to execution. D1 Examine the implementation of an algorithm in a suitable language. Evaluate the relationship between the written algorithm and the code variant. Contents P1 Provide a definition of what an algorithm is and outline the process in building an References........................................................................................................................................................12 P1 Provide a definition of what an algorithm is and outline the process in building an application *Define basic algorithms to carry out an operation An algorithm is a procedure or formula for solving a problem, based on conducting a sequence of specified actions. _ A computer program can be viewed as an elaborate algorithm. _ In mathematics and computer science, an algorithm usually means a small procedure that solves a recurrent problem. An algorithm must be : Page 2 ____________________________________________________________________ 4. Documenting the program - Document explains +How the program works and how to use the program (user manual) +How to maintain the program (developer manual) -Details of particular programs, or particular pieces of programs, are easily forgotten or confused without suitable documentation ____________________________________________________________________ 5. Compiling and running the program -Compilation is a process of translating a source program into machine understandable form -The compiler is system software +It examines each instruction for its correctness +It does the translation -During the execution +Program is loaded into the computer’s memory +The program instructions are executed ____________________________________________________________________ Page 5 6. Testing and Debugging -Debugging is a process of correcting the errors +Programs may have logical errors which cannot be caught during compilation +Debugging is the process of identifying their root causes +One of the ways is to print out the intermediate results at strategic points of computation +Another way is to use support from the IDE -Testing vs Debugging +Testing means detecting errors +Debugging means diagnosing and correcting the root causes ____________________________________________________________________ 7. Maintenance -Program maintenance +Continuing process of maintenance and modification +To keep pace with changing requirements and technologies -Maintainability of the program is achieved by +Modularizing it Page 6 +Providing proper documentation for it +Following standards and conventions (naming conventions, using symbolic constants, etc.) ____________________________________________________________________ M1 Determine the steps taken from writing code to execution You have 3 input: Input the first number, Input the second number, Input the third number. Find Max in 3 numbers.  Step 1: Analyze Our program should show where to put the inputs Your program saves inputs Then print the result Max  Step 2: Algorithm/Diagram: Page 7 GD UNIVERSITY 4 Xs GREENWICH, Py 3 3 numbers 1, 2, 3 Max: 3 Step 6: Testing and debug renner rr Oye Pee File : eo Ce a ee Se ed ® cso108 an meet y Sec Ee EE onen i Cree an : ime i does oot (Peat Sa Reo) end ee ed int Generate propery ‘Programa 4 Changes Par Bre nee cd Stee ring[] args) Ea Pomeeres treet Reno Os Debug:  Step 7: Maintenance When there is an error or the program cannot run the complicated operation, the dev will fix the error and update the new patch. Page 11 References P1 1. -Unit 1 - Programming 2019, Lecture 1 - introduction, Steps in program development: analyzing or defining the problem, University of Greenwich (Alliance with Vietnam FPT Education), United Kingdom. -Destinysodyssey.com. (2019). Problem Solving - identifying problems and causes. [online] Available at: http://destinysodyssey.com/performance-improvement/skill-enhancement/personal- effectiveness/problem-solving/ [Accessed 24 Oct. 2019]. 2. -Unit 1 - Programming 2019, Lecture 1 - introduction, Steps in program development: Design, University of Greenwich (Alliance with Vietnam FPT Education), United Kingdom. -cleanpng.com. (2019). Circle Design - Unlimited Download. cleanpng.com.. [online] Available at: https://www.cleanpng.com/png-introduction-to-algorithms-algorithms-design-and-a-2144838/ [Accessed 24 Oct. 2019]. 3. -Unit 1 - Programming 2019, Lecture 1 - introduction, Steps in program development: Coding, University of Greenwich (Alliance with Vietnam FPT Education), United Kingdom. -Code, V. (2019). C# programming with Visual Studio Code. [online] Code.visualstudio.com. Available at: https://code.visualstudio.com/docs/languages/csharp [Accessed 24 Oct. 2019]. 4. -Unit 1 - Programming 2019, Lecture 1 - introduction, Steps in program development: Documenting the program, University of Greenwich (Alliance with Vietnam FPT Education), United Kingdom. -Time Management Ninja. (2019). 5 Steps to Documenting Processes for Your Virtual Assistant. [online] Available at: https://timemanagementninja.com/2013/08/5-steps-to-documenting- processes-for-your-virtual-assistant/ [Accessed 24 Oct. 2019]. 5. -Unit 1 - Programming 2019, Lecture 1 - introduction, Compiling and executing the program, University of Greenwich (Alliance with Vietnam FPT Education), United Kingdom. -Jana, A. (2019). Command Line C# Interactive Script Execution for Visual Studio - Daily .NET Tips. [online] Daily .NET Tips. Available at: https://dailydotnettips.com/command-line-c-interactive- script-execution-for-visual-studio/ [Accessed 24 Oct. 2019]. 6. -Unit 1 - Programming 2019, Lecture 1 - introduction, Steps in program development: Debugging, University of Greenwich (Alliance with Vietnam FPT Education), United Kingdom. -Debugging, T. (2019). The Differences Between Testing and Debugging. [online] Test Automation Resources. Available at: https://testautomationresources.com/software-testing-basics/differences- testing-debugging/ [Accessed 24 Oct. 2019]. 7. -Unit 1 - Programming 2019, Lecture 1 - introduction, Steps in program development: Maintenance, University of Greenwich (Alliance with Vietnam FPT Education), United Kingdom. -DPSI. (2019). 7 Important Preventive Maintenance Software Functions. [online] Available at: https://www.dpsi.com/blog/7-important-functions-of-preventive-maintenance-software/ [Accessed 24 Oct. 2019]. Page 12
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved