Basic programming course: Lesson #1 - Introduction to programming

in #devjr-s20w112 days ago

It's a privilege to be part of this contest, and I must say this is truly a challenge because it took me hours to figure this out and it kept my brain working overtime, Uhh, with time I hope to see the turbid sea of the 0's and 1's become clear.

Lesson #1 - Introduction to programming_20240909_140812_0000.jpg

Programming: For me, programming is more or less an action word; it is a doing word. With programming, we design or code computers to do what we ask them to do; we speak and make commands like bosses.




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


Algorithms: I would say algorithms are a "don't skip the process" strategy; it is an ordered process, and it must have an end. This explanation seems to further explain the concept since an algorithm has to be ordered, regular, and come with an end, then it must also have a beginning. It is this beginning that determines the end; a beginning can be in different phases, and the position of the beginning determines what time it takes to reach the end. Let me explain using two examples similar to what has been given before now by the Cc.

Algorithms for getting a degree


You cannot just wake up and get a degree or receive a call from the university asking you to come and get a degree.

  • You have been an applied aspirant

  • Pay an acceptance fee to determine whether or not you accept the admission.

  • Attend lecture

  • Write an exam.

  • Got to the next level depending on the course (e.g., 4 years); it goes on until the 4 years elapsed and then

  • Make a clearance with the university (to re-verify your studentship).

  • Other processes

  • Then obtain your degree.

Life stage algorithms


Looking at life stages, a woman doesn't give birth to a teen but a child, who then becomes a teen and then an adult. No stage can ever be skipped, just like you can't skip age 10 to 20 to become a teen; it is regular and follows a pattern.

woman-3597095_1280.jpg
source




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


Since it is a language a computer understands, we speak to the computer through this language in the form of codes and wait to get a response. In other words, the response we get is determined by the set of language we speak to the computer. We have different languages, and a particular language spoken determines the response or result we get, and this response is the help the language offers and the help it offers birth to its importance to our daily lives. Programming has made life easier; we can now ask search engine questions, and they give accurate answers because they have been programmed to do so.

Here are a few ways of how programming has helped

it-business-722950_1280.webp
source

  • Building of websites and applications: Programming languages HTML, CSS, and JavaScript are languages that help code websites and website applications that serve different purposes. e.g., a site like pixabay.com is built to accept all kinds of images and designs; it may not be used for end-to-end encrypted communication.
  • Drive innovation; no two applications serve the same purpose; if they do, they may not come with the same design. This drives innovation as people create their own brand and manage their companies through applications, and innovation is brought to life just like we can now speak to Google to give us an answer; before now they were no such thing.
  • Automate process: Have you heard of customer/self service? With programming, a set of answers given to a particular question can be sent to as many that ask at the moment, and with this, it lessens the stress of always replying to repetitive messages or questions.
  • With programming language, I am able to connect with people across the world; it is the key element to social media, messaging apps, and other platforms that provide connections with people across the world.

We are in the internet age, and many applications and websites are evolving. Everything we see, experience, and utilise on the net has a basis, which is programming languages.

WHAT YOU NEED TO PROGRAM

I have found it very difficult to learn programming, and at least by now I would have been playing with some codes to see them bring results for me because I love coding, but I had a challenge; mine was a device. Firstly, I will speak of the basic/personal needs of a programmer and then other environmental needs.




  • Since programming has a wide range of areas and delve into solving real-life questions, then I think first you need a problem-solving technique, an idea. A programmer may not actually begin a website creation but can develop it for another; the pile-up of ideas in store upstairs determines what outstanding feature you are ready to bring up. Comparing the former Steemit interface to the new one, there is a clear difference, and that is what a programmer is capable of doing.
  • Your understanding of algorithms is necessary unless there may be errors.
  • A programming language is important; you can't program without a language.
  • You need code snippets like the ones we have on Steemit. <center></center> codes like this are necessary to give you a clue.
  • Most importantly, a comfortable workspace with your device and a good Internet connection because you need to relax and keep your brain busy so you may know what code to put next or where you made a mistake from when you see wrong results.
  • Patience is needed too, because programming is a matter of consistency, and if you are not in this category, you may be discouraged when you see your website creation or app development process is taking so much time.

  • I think you also need a laptop for this; mobile phones like the one I use may be very stressful.

  • Programming software and other tools to analyse your work and test it.




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


If I want to try something new, I may consider changing “Hello world” to something like “Have your seat, Friend,” and the images below explain better.

Algorithm name_of_algorithm

Print “Hello world!”

EndAlgorithm

Hello worldHave your sit, Friend
1725887479896.jpg1725887515612.jpg

See you in the next class
Sort:  
Loading...

Thank you, friend!
I'm @steem.history, who is steem witness.
Thank you for witnessvoting for me.
image.png
please click it!
image.png
(Go to https://steemit.com/~witnesses and type fbslo at the bottom of the page)

The weight is reduced because of the lack of Voting Power. If you vote for me as a witness, you can get my little vote.

Upvoted! Thank you for supporting witness @jswit.

Upvoted. Thank You for sending some of your rewards to @null. It will make Steem stronger.

Muy buen trabajo.


💯⚜2️⃣0️⃣2️⃣4️⃣ This is a manual curation from the @tipu Curation Project.

@tipu curate

Thank you for sharing such a beautiful post. Programming languages ​​have solved many complex tasks easily and in less time. I think learning a programming language and being successful requires time, patience, and hard work. Stay healthy, stay well, I wish you all the best.