What is Programming Language? - Types & Examples

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: What Is Stack Overflow? - Errors, Exceptions & Causes

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
 Replay
Your next lesson will play in 10 seconds
  • 0:01 Computers Don't Speak English
  • 0:56 How Computers Think
  • 2:13 Types of Languages
  • 4:35 Lesson Summary
Add to Add to Add to

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Login or Sign up

Timeline
Autoplay
Autoplay

Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Lonny Meinecke

Lonny teaches psychology classes at King University, and has a bachelor's degree in IT and a doctorate in psychology.

In this lesson, we will look at what a programming language is, what language computers really use, and types of languages people use to communicate with computers.

Computers Don't Speak English?!

You and I feel, think, and live inside bodies (separate vessels made up of tissue), that end with the skin at our fingertips - so we can't feel what another person is feeling, or know what another person is thinking. But, to get along and work together, we invented language to bridge this barrier. I say something to you, you figure out what I said and my thoughts end up in your head so we can both laugh at the same joke, or work on the same task.

Well, computers live and think in vessels too… so we need a way to tell them what we want, so we can work together and get stuff done. Programming language is how we can talk to computers. It's a lot like English but it's kind of quirky too. Unlike people, machines cannot guess our intent. We have to be super meticulous and describe what we want in every little detail.

How Computers Think?

Computers don't actually use words or meanings the way humans do. Instead, computers are made of gazillions of tiny switches that are either on or off. When they're on, we call that a 1, and when they're off, we call that a 0. When you put those together, you get options. If you put lots of them together, you get lots of options. Each chunk of options can now be something meaningful (a number, a letter, even a picture made of tiny dots). Ta-dah! Now we have a way to tell a machine to do stuff using these simple bits of information (strings of 1s and 0s).

The trouble is, it's really clunky to tell a computer to do stuff using that language, binary, which uses only 1s and 0s. So, we layer several human-like languages on top of the binary language to help translate machine language into human language. This gives us a more human way to tell the computer what we want it to do.

But you know how people are - everybody has their own idea of the best way. So, there are tons of human-like languages to choose from. In the end though, every language meant for a machine ends right back at simple 1s and 0s, and that's all the computer cares about.

How computer bits become meaningful
bits of meaning

Types of Languages

There are three main kinds of programming language:

  • Machine language
  • Assembly language
  • High-level language

We just went over what machine language is - it's the language of machines, consisting of bits (1s and 0s) put together into chunks like bytes, a group of 8 bits, and lots of other larger sizes. It's highly unlikely you will ever have to write in machine language, but in the old days, we used to plot 1s and 0s on graph paper and then type them in, to make pictures appear on the computer screen. Very tedious!

Assembly language is a little easier than machine language, but not much! It uses more convenient numbers, symbols, and abbreviations to describe the huge strings of 1s and 0s, to make it both easier and more memorable to type in instructions. The computer knows that certain strings of numbers are commands, so assembly language lets you use English-like strings instead of numbers to refer to those. Plus, with assembly language you have access to all kinds of resources to organize your programming code. Then you tell a program called an assembler to assemble your instructions, which just means they get turned into 1s and 0s for you.

The third type of language are the high-level languages. These languages use English-like statements and symbols, and are independent of the type of computer you are using. You can even put in lots of English labels and comments to help remember what the instructions are doing. This makes your programs much easier to read and modify. There are far more high-level languages than any other type of computer language, each one tailored for a certain kind of use.

To unlock this lesson you must be a Study.com Member.
Create your account

Register for a free trial

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use Study.com

Become a Study.com member and start learning now.
Become a Member  Back
What teachers are saying about Study.com
Free 5-day trial

Earning College Credit

Did you know… We have over 160 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? Study.com has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it free for 5 days!
Create An Account
Support