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

Uploaded on 02/16/2021

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

4.8

(20)

7 documents

1 / 13

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
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
pf3
pf4
pf5
pf8
pf9
pfa
pfd

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).

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 :

2. Design (algorithm) -Easier to read and understand later -Less of bugs and errors -Easier to extend to add new features -Easier to program in the first place ___________________________________________________________________ 3. Coding -An algorithm expressed in programming languages is called Program -Writing a program is called Coding - The logic that has been developed in the algorithm is used to write program

____________________________________________________________________

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 ____________________________________________________________________

+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:

 Step 3: Coding

 Step 6: Testing and debug Testing:

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.