Basic Programming course: My homework for lesson 1

in #devjr-s20w13 months ago
Wow! It seems like there's a Steem school now, quite a few have caught my eye so today I've decided to give the [Basic Programming course](https://steemit.com/devwithseven/@alejos7ven/basic-programming-course-lesson-1-introduction-to-programming-esp-eng) one a go!

Homework

Task 1. Describe in your own words an algorithm of some activity you do daily.

So from what I understand, an algorithm assists a programmer in completing a specific task through a step-by-step process. There are different ways to format it. One is using Pseudocode, which is an easier way for a programmer or even a non-programmer to understand what exactly is being done.
The main use of an algorithm is to develop a fluid set of instructions that a computer will understand.

My example of an algorithm to make a mug cake is:

  1. Check list of ingredients
  2. Collect ingredients
  3. Weigh ingredients
  4. Follow recipe steps
  5. Bake according to recipe's temperature and time
  6. Allow to cool
  7. Eat!

Task 2. What is the importance of programming languages in the world? How do they help us?

Programming languages help humans to interact with machines, in order to code programs to solve problems. Often, a program can be for tasks that are repeated often, so by creating a program for that task, the computer can complete it, while the user can do other things. Programming languages have sets of rules that computers will follow completely. Not only that, but computers follow the program step-by-step, so if there's an error in one step, it could completely stop the program from running.

Task 3. What do you need while programming?

To program, you can use a text file and to follow the rules of the programming language you use. In order to make your programs better and more efficient, you need to practice.

Task 4. Write your first "Hello world!" Using pseudo-code.


image.png

That's all my work, hope it met the guidelines, thank you!


#devjr-s20w1

Sort:  
Loading...

Coin Marketplace

STEEM 0.26
TRX 0.20
JST 0.038
BTC 96270.61
ETH 3631.10
USDT 1.00
SBD 3.88