Introduction to Computer Programming
Introduction to Computer Programming
🔹 What is Programming
Every time you turn on your smartphone, laptop,
tablet, smart TV, or any other electronic device, you
are running code that was planned, developed, and
written by developers. This code creates the final and
interactive result that you can see on your screen.
So, programming is the process of writing code to
solve a particular problem or to implement a
particular task.
Programming is what allows your computer to run the
programs you use every day and your smartphone to
run the apps that you love. It is an essential part of
our world as we know it. Whenever you check your
calendar, attend virtual conferences, browse the web,
or edit a document, you are using code that has been
written by developers.
console.log("Hello, World!");
Visually, they look very different, right? This is
because Python and JavaScript have a different
syntax and a different set of built-in functions.
built-in functions are basically tasks that are
already defined in the programming language. This
lets us use them directly in our code by writing their
names and by specifying the values they need.
In our examples, print() is a built-in function in Python
while console.log() is a function that we can use in
JavaScript to see the message in the console (an
interactive tool) if we run our code in the browser.
Examples of programming languages include Python,
JavaScript, TypeScript, Java, C, C#, C++, PHP, Go,
Swift, SQL, and R. There are many programming
Data Science
Programming is also essential for a field called Data
Science. If you are interested in answering questions
through data and statistics, this field might be exactly
what you are looking for and having programming
skills will help you to achieve your goals.
Effective data scientists are able to identify relevant
questions, collect data from a multitude of different
data sources, organize the information, translate
results into solutions, and communicate their findings
in a way that positively affects business decisions.
There are many powerful programming languages for
analyzing and visualizing data, but perhaps one of the
most frequently used ones for this purpose is Python.
Education
Every time a student opens an educational app,
browses an educational platform, writes on a digital
whiteboard, or attends a class through an online
meeting platform, programming is making that
possible. As a programmer or as a teacher who knows
how to code, you can create the next great app that
will enhance the learning experience of students
around the world.
Other Applications
There are many other fascinating applications of
programming in almost every field. The possibilities
are endless. I hope that this section will give you a
notion of why learning how to code is so important for
your present and for your future. It will be a valuable
skill to have in any field you choose.
Complexity
High-level programming languages: they are
designed to be understood by humans and they
have to be converted into machine code before
the computer can understand them. They are the
programming languages that we commonly use.
For example: JavaScript, Python, Java, C#, C++,
and Kotlin.
Low-level programming languages: they are
more difficult to understand because they are not
designed for humans. They are designed to be
understood and processed efficiently by
machines.
Conversion into Machine Code