CodeNewbie Community 🌱

Cover image for What is Programming?
Prathmesh
Prathmesh

Posted on • Updated on

What is Programming?

So today I started learning about the fundamentals of computer science. I am going to explain programming in my terms. So let's come back to the topic.

Programming - It is a set of step by step instructions given to the computer to perform a certain task we want it to do.

The computer can perform many complex tasks like complex calculations, software for booking a ticket for a flight, ordering online food from nearby restaurants etc.

Let's create our first program in code IDE

print("Hello, World");
Enter fullscreen mode Exit fullscreen mode

The output will be Hello World

Let's understand code little by little. print("Hello, World");
this is called a Statement. Every program is made up of statements, and each statement has a goal to do something which is told by a human to perform.

Function - This print() is called function. These are already created terms in programming language and its work is to print something on console as an output.

String - This " " is called a string. In the string whatever text you write will be printed as it is. for example, if you have written the number "9" then the number 9 will be printed in the console as it is. So string function is to print whatever input given by the user as it is.

Parentheses - This () symbol is called parentheses. In () we write instructions to perform with the help of functions like print. It is necessary to write instructions between () to perform the task, if not written then the code will not work.

; - This is used to end the statement of code. In many programs ; is used.

There are many other ways to write print() function in different programming languages like printf() in C, document.write() in JavaScript etc.

So this was what I learned today. Show some virtual love by clicking ❤. If you want to add something or want to suggest something, you can write in the comment section.

Top comments (1)

Collapse
 
dfghthsdrg profile image
dfghthsdrg • Edited

When I faced challenges with my computer science homework, I turned to https://domyhomework123.com/computer-science for help. Their approach to computer science assignments is thorough and accurate, making difficult concepts easier to grasp. The positive feedback from their clients is well-deserved, as they offer quality service at affordable prices. They are a reliable and valuable resource for any computer science student in need of assistance.