Programing Greenwich_Assignment 1, Study Guides, Projects, Research of Computer science

Programing Greenwich_Assignment 1 2021

Typology: Study Guides, Projects, Research

2020/2021

Uploaded on 09/11/2021

min98
min98 🇻🇳

4.5

(11)

5 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1 | P a g e
ASSIGNMENT 1 FRONT SHEET
Qualification
BTEC Level 5 HND Diploma in Computing
Unit number and title
Unit 1: Programming
Submission date
June 15th 2021
Date Received 1st submission
June 15th 2021
Re-submission Date
Date Received 2nd submission
Student Name
Thái Thị Yến Nhi
Student ID
GCS200207
Class
GCS0904_NX
Assessor name
Thái Thị Thanh Thảo
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
Nhi
Grading grid
P1
M1
D1
X
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Programing Greenwich_Assignment 1 and more Study Guides, Projects, Research Computer science in PDF only on Docsity!

ASSIGNMENT 1 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 1: Programming Submission date June 15th^2021 Date Received 1st submission June 15th^2021 Re-submission Date Date Received 2nd submission Student Name Thái Thị Yến Nhi Student ID GCS Class GCS0904_NX Assessor name Thái Thị Thanh Thảo Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Nhi Grading grid P1 M1 D X

 Summative Feedback:  Resubmission Feedback:

Grade: Assessor Signature: Date: Lecturer Signature:

INTRODUCTION

he process of creating a set of instructions that tells the computer how to build a program or solve a problem by writing computer code is programming. This is one of the basic subjects of the IT major. Programming can be used in a variety of computer programming languages, such as JavaScript, Python, and C++..... A programming language is like a set of instructions that the computer follows to do something. Programming languages are used to write all computer software. They are used in the computer in the form of an algorithm. Programming has a significant influence on our lives. That is the reason which is we have to learn programming in everyday life. It is required to develop software and applications that assist computer and mobile users in their daily lives. Summarize, we must comprehend the significance of programming. It is gradually permeating all aspects of human's lives. Because of technological products, programming life allows us to have more free time for other interests and work faster. Like in the Covid 19 pandemic, we have programming and technological products so we could work or study online easy.

T

A. 6 Characteristics of an algorithm:........................................................................................................

A. 6 Characteristics of an algorithm:

  • Input Specified : The input is the data to be transformed during the computation to produce the output. An algorithm should have many inputs, 1 or more inputs or no inputs at all, how much and what form the data should be
  • Output Specified : The output is the data resulting from the computation. An algorithm may have 0 or many defined outputs, and must match the desired output.
  • Definiteness : This means specifying the sequence of operations for turning an input into output. It should contain everything quantitative and not quantitative.
  • Effectiveness : For an algorithm to be effective, it means that all those steps that are required to get to output must be feasible with the available resources
  • Finiteness : Everything in the world has its limit, so does the algorithm. The algorithm must stop within a certain limit. Stopping may mean that you get the expected output or you get a response that no solution is possible. An algorithm should not be infinite and always terminate after a definite number of steps. There is no point in developing an algorithm that is infinite as it will be useless for us.

B. Example :

I will tackle a small problem. I will write a program to calculate the price of shirts for wholesale customers. If customers buy retail, the price will be 99,000. If the customer buys in bulk from 10 to 20 shirts, the price of the shirt will be reduced by 5,000 each. If the customer buys in bulk from 21 to 50 shirts, the price will be reduced by 7,000 each shirt. If the customer buys in bulk over 50 shirts, the price of the shirt will be reduced by 9,000 per shirt. To solve the above problem, we need 4 steps: Step 1: Enter the retail price of the shirt; Step 2: Input the number of shirts that wholesale customers want to buy; Step 3: Compare with the topic conditions; Step 4: Output new price.

Inconclusion I solved some small problems with algorithms. I have found that almost all modern devices, especially computers use algorithms. They are closely related to modern technology and help propel the country's development to the pinnacle of global technology. I hope that people will use algorithms to create more high quality products with high global value.

References

Cambridge Dictionary (2019). ALGORITHM | meaning in the Cambridge English Dictionary.

[15/6/ 2021 ] Cambridge.org. Available at:

https://dictionary.cambridge.org/dictionary/english/algorithm

Shlok Bhatt (2019). Characteristics of an Algorithm. [15/6/2021] Medium. Available at:

https://medium.com/@bhattshlok12/characteristics-of-an-algorithm-49cf4d7bcd