Lecture 02
Lecture 02
Programming is like giving instructions to a computer to make it do tasks. It's a way to tell the computer what to do
step by step. Imagine it is like giving directions to a robot.
When we talk about programming, we are talking about writing sets of instructions in a language that the computer
can understand. These instructions tell the computer how to perform tasks, solve problems, or create something.
Computers are powerful, but they need clear instructions. We use programming to harness their potential. It's used
in many areas like making apps, games, websites, and even controlling machines like robots.
Programming Languages
Just like people speak different languages, computers understand different programming languages. Some popular
ones include:
1. Python: Known for its simplicity and readability, Python is a versatile language used in web development,
scientific research, artificial intelligence, and more.
2. Java: Widely used for building applications, Java is known for its "write once, run anywhere" capability,
meaning it can work on different types of devices.
3. C++: This language is often used in game development, system software, and even in some parts of big
projects like operating systems.
4. JavaScript: Despite its name, it's different from Java. JavaScript is mainly used for creating interactive
elements in websites.
5. C#: Developed by Microsoft, C# is commonly used for creating Windows applications, games, and software
for Microsoft platforms.
6. Ruby: Known for its simplicity and productivity, Ruby is often used in web development, making it a favorite
among startups.
7. PHP: Primarily used for web development, PHP helps in creating dynamic websites.
The best language depends on what you want to do. For example, if you're interested in web development, you
might learn HTML, CSS, and JavaScript. If you want to work on apps, languages like Java or Swift (for iOS) could be
your choice.
Programming is like a bridge between humans and computers. It enables us to create amazing things, from simple
apps to complex systems. Learning a programming language is like learning a new way to communicate, and it opens
up a world of possibilities in the digital age. So, if you're curious and love problem-solving, programming might be an
exciting path for you!
6. Complete the following sentences with the correct verb form (present simple, present
continuous, past simple, etc.):
Python, known for its simplicity, ____________ (be) widely used in scientific
research.
MATLAB ____________ (stand) as a prime example of computational capability.
The team ____________ (use) MATLAB extensively for their computational projects.
JavaScript ____________ (become) a crucial language for web development.