Introduction to Programming Languages

Get an overview of what will be covered in this chapter.

We'll cover the following

Overview

To write a computer program, we need a programming language. However, we don’t have just one or two to pick from; thousands of different languages are available at our disposal. In this chapter, we’ll talk about programming languages, why there are so many languages available, how all of these languages are related, and how a computer can understand the code we write. Toward the end, we’ll talk about the grammar of a programming language, which is also known as its syntax.

Press + to interact
Some commonly used programming languages
Some commonly used programming languages

Here are the learning goals of this chapter:

  • Understand why we have programming languages.
  • Understand how programming languages evolved from one language to another.
  • Understand how programming languages are related.
  • Understand the difference between interpreted and compiled languages.
  • Understand the concepts of syntax, keywords, and reserved words in a programming language.