Skip to main content

Programing-Coding


Now a days coding is becoming more and more popular among youngsters as well as some Primary School Students. it’s good to know the students are Having their interests in programming and coding as well . But remember programming and coding are different sports.

Programming:-  To Write a sequence of instructions that will automate the performance of a task on a computer, often  Used in  solving a given problem.

Lets take a example of addition of program. you have written a program that will automate the addition operation . Then you just have to give the numbers and the computer will add them based on the program that you have Written .

Whereas, coding is the process of using a programming language to get a computer to behave how you want it to. Every line of code tells the computer to do something, and a document full of lines of code is called a script.




Lets take an example of adding two numbers you have written some code to tell computer to how to add then:-


1)number1 = int(input('Enter first number: '))
2)number2 = int(input('Enter second number: ')) 
3)sum = number1 + number2
4)print(sum)



Description:-
1) number1 = input('Enter first number: ')

This code tells computer to take the input from keyboard  as integer number and store it in a variable called number1.

2) number2 = input('Enter second number: ') 

This code tells computer to take the input from keyboard as integer number and store it in a variable
called number2.

3) sum = number1 + number2

This code tells that the numbers that we got from the keyboard i.e number1 and number2 perform addition operation on them and store it in variable sum.

4) print(sum)

This code tells us to display the value that is in the sum variable.

The group of codes together forms Program.

You must have been hearing everyone says Python Programming Language, CPP Programming Language, C Programming Language etc. 

Ever Heard someone saying Python Coding Language, CPP Coding Language, C Coding Language??


That's The Difference Between Them.

Lets take another example:-
Everybody somewhere in their life has done programming.

Yes! 

when u set Alarm on mobile that ,wake me up at 6.am.you are programming mobile to perform certain task. The task is to wake you up at 6.am.

OR

when you know your Favourite show is going come on TV and you set a reminder that remind me when the show will be live. you are programming TV to perform certain task  this can be called as programming.And how to do the task is called coding.It has been written in backend that when this button is pressed it performs the set of code and that set on codes are programming .That will help you to achieve certain task.

All the task that you are assigning is programming and all the code that we write to make the task work we can refer it as coding.

That Should Give you an Better UnderStanding!









Comments

Post a Comment