Basic programming course: Lesson #1 - Introduction to programming.

in Steem4Professionals12 days ago (edited)

Steemian Friends,
Computer language is binary or 0 and 1. Whatever we input to the computer, the computer understands 0 and 1. 0 and 1 are often called machine language. Computers convert our language into machine language very quickly. We can convert to machine language through various formulas. There are many programming languages ​​available today. C++, Python, PHP, and Jaba are among them. I prefer programming with C++. Today, I learned about pseudo-code from the teaching team at Engagement Challenge Session 20.

Basic programming course.png
Design By Canva

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

I am an electrical engineer. I have to ensure that the electrical systems have an uninterrupted power supply while I work in my office. So, I have developed an algorithm to keep my power supply on.


Algorithm to work when power supply is off.


Step 01: In the event of a sudden power cut, switch on the emergency generator.

Step02: Then I go to the substation and check the tripping code of the main VCB.

Step03: If the tripping code comes in the main VCB, then understand that there is an electrical problem in our internal substation.

Step 04: Then, we start working to find the internal fault in the substation and keep the emergency generator running until the electrical problem is solved.

Step 05: If the fault code does not appear in the main VCB, then understand that the grid's power supply has been stopped. We then contact the grid and keep the emergency generator running until the grid supply arrives.

Step 06: If any of the above steps 03 and 05 issues are resolved, turn off the emergency generator.

Algorithms make it easier for us to program computers. If I make the algorithm simple and efficient, then the program execution time will decrease. A client wants computer programs to be simple and output in less time, so I always have to keep in mind while writing the algorithm that my algorithm is simple and takes less program run time.

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

Importance of programming languages ​​in the world:
Different types of programming languages ​​have made the world technology-dependent. Programming languages ​​have solved many complex tasks easily and in less time. I am sharing an experience of my working life to tell everyone the importance of programming language.

  • I have been working as an electrical engineer in a rod manufacturing company for about ten years. Ten years ago, a company could produce twenty to fifty tons of rods daily. The reason is that people used to produce rods manually. As a result, it took a lot of time, and the quality of the rod was poor. Later, after the introduction of PLC programming, the company's rod production increased to three hundred tons per day. After the advent of PLC programming, rod companies gave importance to engineers. Because PLC programs require skilled engineers to operate. I am slowly learning about PLC programming. Currently, some of our country's rod production companies produce more than 1000 tons of rods daily by increasing programming technology, which is possible because of the programming language.

  • Programming languages ​​have made education much easier and ​​have played an important role in generating results online. They have also been used for everything from online admission to educational institutions to creating websites.

  • Programming languages ​​in the medical field have improved medical science by developing various websites and software. Apps have made medical care much easier.

  • Programming languages ​​have played a very important role, especially in the manufacturing industry and technical fields. Programming languages ​​have also played a major role in the field of communication and information technology. Anyone can now create apps with programming languages, earning profit by making apps and selling products from home.

  • With programming language, we can increase the quality of writing on the Steemit platform and enhancing the beauty of the blog by using different types of code.

Task 3

What do you need while programming?

I need a lot of patience while programming. I think learning a programming language and being successful requires time, patience, and hard work. I have to take a pledge in my mind that I can do programming. Starting from the programming language basics, slowly learn coding to create big projects. Coding is now taught to young children in our country. My daughter is nine years old. I have been teaching my daughter to program with small bits of code from a young age. Which I learned growing up but my daughter is learning from a young age.

Task 4

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

Pseudo-código

200.png


C++

c-1.png

c++.png

Blue line.png

SL No.My Invited Steemit Friends
1@rmm31
2@pea07
3@enamul17

Steemit.com.png

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 sending some of your rewards to @null. It will make Steem stronger.

Your post has been rewarded by the Seven Team.

Support partner witnesses

@seven.wit
@cotina
@xpilar.witness

We are the hope!

This is very informative. I invite #steemschools to check this out

You created a nice algorithm with some conditional situations which is about power supply. You explained many of the important aspects that programming languages ​​have in our lives. A device capable of writing plain text is must needed to write program. You presented hello world in pseudo code and in C++ so we can understand that you are good in these languages. Best wishes for you.