What is coding?
There are many different ways to define computer
programming; here are my own.
Programming is the only way to get computers to solve problems.
There are two crucial essential phrases in this:
• You: If the programmer—you—is absent, the computer is
useless. That satisfies your requirements.
• Address issues: Computers are tools. They are neither mysterious nor magical, despite their complexity: They are there to make things easier.
Computers function thanks to software or computer programs.
Programs for computers are what make them work. Without software, modern
computers are nothing more than complicated machines that turn electricity into
heat. Your PC's operating system, software, email, games, and movie player are
all controlled by programming.
Also read: Computer Concepts
Programming is creative work: There is no right or wrong way
to solve a problem, just as there is no right or wrong way to paint a picture.
There are options to think about, and just because one
appears to be better than another does not mean that the other is wrong! A
developer can make programming that can tackle an endless number of issues, from
letting you know when your next train will show up to playing your #1 music,
with the right abilities and experience.
Only your imagination can limit the possibilities. I love
programming because of this.
When you write a computer program, you give it a set of
instructions to follow precisely, one at a time, in the right order. A PC would
leap off a bluff on the off chance that you told it to!
1. Look the other way at the cliff. toward the third cliff,
go. Stop at the bluff's edge in sync 4. jump off the cliff Computers also have
the option of choosing what to do next to prevent repeated falls off cliffs:
If I don't make it, don't jump off the cliff. Computers are
exceptionally adept at repeating themselves. Instruction 2 might be more
specific:
2a. 2b, move your
left foot forward 2c, move your right foot forward, and then go back to 2a.
These three concepts are the fundamental, coherent designs used in PC
programming:
1. Sequence:
putting the instructions into action in order 1
2. Selection:
making choices
3. Repetition:
iteration, or performing the same action multiple times.
The tools you need to solve the majority of computing
problems come together when you combine these ideas with the ability to handle
inputs and outputs and store data.
Programming languages Since computers cannot, regrettably,
comprehend English or Spanish, we must instruct them in a programming language
that they can understand.
There are numerous programming languages, each with distinct
benefits. There is no single "best" language; Different jobs call for
different languages.
The programming language that will be utilized in this class in Python. One of the languages that can be used to solve a wide range of problems in Python.
"General-purpose programming languages" are the
name given to these languages. This classification also includes C, Ruby, Java,
and Essential, all of which are well-known dialects.
This is a short Python program that asks the user for their
name to welcome them.
"Welcome and greetings." name = input("Who are
you?") in print
Print "That's also my name!" if the name matches
"Shubham."
You needn't bother with to be a software engineer to peruse
this code: print (name + "Hi"). It has English words and can be read
(if not understood). Nevertheless, by the end of this course, you will have a
solid understanding of this code, including its concepts and functions.
Writing computer programs is otherwise called coding since
programs are regularly alluded to as code.