Docsity

Assignment1_1618_Programming, Essays (university) of C programming

Toggle sidebar
bg1
ASSIGNMENT 1 FRONT SHEET
Qualification
BTEC Level 5 HND Diploma in Computing
Unit number and title
Unit 1: Programming
Submission date
15/06/2021
Date Received 1st submission
Re-submission Date
Date Received 2nd submission
Student Name
Nguyễn Trí Tài
Student ID
GCS200742
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
Tai
Grading grid
P1
M1
D1
x
pf3
pf4
pf5
pf8

Partial preview of the text

Download Assignment1_1618_Programming and more Essays (university) C programming 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 15/06/2021 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Nguyễn Trí Tài 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 Tai Grading grid P1 M1 D x

 Summative Feedback:  Resubmission Feedback:

Grade: Assessor Signature: Date: Lecturer Signature:

I. Introduce: Algorithms are well known in jobs related to computer programming in particular and in information technology-related industries in general. Now let's talk about algorithms in this report. Figure 1

II. Body Chapter 1: 1.1 Overview about algorithm Defination: “An algorithm is a series of instructions telling a computer how to transform a set of facts about the world into useful information. The facts are data, and the useful information is knowledge for people, instructions for machines or input for yet another algorithm. There are many common examples of algorithms, from sorting sets of numbers to finding routes through maps to displaying information on a screen.” [ 1 ] Example about algorithm: With Linear Search we can understand about algorithm. Linear search is an algorithm about an array arr[] of n elements to find the element in the given program. Problem: Input arr [] = {10, 80, 60, 150, 90, 210, 50, 300} X= 90 Output = 4 The element x give result is 4. Figure 2

b) The solution to the actually second problem: The business specifically is running a customer appreciation program on its definitely second anniversary in a sort of major way. The condition actually is set that customers using the service from $ 50 - $100 will generally get 20 % off, from $ 100 - $ 250 will definitely get 25 % off, over $ 250 will basically get 3 0% off in a subtle way They also gave two criteria

  • Fasting
  • Pretty Easy us in a sort of major way. Flowchart

III. Conclusion: If you want to solve some problem, we can use algorithm to solve that problem. However, we still have to follow each step to be able to solve the problem effectively. Referrence: [1] Jory Denny, 2020, What is an algorithm? How computers know what to do whith data, Available at: https://theconversation.com/what-is-an-algorithm-how-computers-know-what-to-do-with-data- 146665 (06/2021)