What do we call the process of turning human-readable source code into machine language?

Source code is the human-readable stage of computer programming

Source code is the list of human-readable instructions that a programmer writes—often in a word processing program—when he is developing a program. The source code is run through a compiler to turn it into machine code, also called object code, that a computer can understand and execute. Object code consists primarily of 1s and 0s, so it isn't human-readable. 

Source Code Example

Source code and object code are the before and after states of a computer program that is compiled. Programming languages that compile their code include C, C++, Delphi, Swift, Fortran, Haskell, Pascal and many others. Here is an example of C language source code:

/* Hello World program */

#include

main()

{

printf("Hello World")

}

You don't have to be a computer programmer to tell that this code has something to do with printing "Hello World." Of course, most source code is much more complex than this example. It is not unusual for software programs to have millions of lines of code. Windows 10 operating system is reported to have about 50 million lines of code.

Source Code Licensing

Source code can be either proprietary or open. Many companies closely guard their source code. Users can use the compiled code, but they cannot see or modify it. Microsoft Office is an example of proprietary source code. Other companies post their code on the internet where it is free to anyone to download. Apache OpenOffice is an example of open source software code.

Interpreted Program Languages Code

Some programming languages such as JavaScript are not compiled into machine code but are interpreted instead. In these cases, the distinction between source code and object code does not apply because there is only one code. That single code is the source code, and it can be read and copied. In some cases, developers of this code may intentionally encrypt it to prevent viewing. Programming languages that are interpreted include Python, Java, Ruby, Perl, PHP, Postscript, VBScript and many others.

  • Home
  • News
  • Sport
  • Weather
  • iPlayer
  • Sounds
  • Bitesize
  • CBeebies
  • CBBC
  • Food
  • Home
  • News
  • Sport
  • Reel
  • Worklife
  • Travel
  • Future
  • Culture
  • TV
  • Weather
  • Sounds

  • Home
  • Learn
  • Support
  • Careers
    • My Bitesize

Instructions

All computer software is built up of sets of instructions. Instructions are encoded in binary. The fetch-decode-execute cycle is the sequence of steps that the CPU follows to process instructions.

  • Test

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. Page2 of5

Instructions

Most programmers do not write programs as sequences of binary digits. They use programming languages like Java, C++, Ruby, BASIC or Python. These are also known as high-level programming languages.

High-level languages need to be translated into a binary code before the CPU can execute them. The benefit of high-level languages is that they are more like everyday written language than sequences of binary numbers, so people find them easier to write and understand.

A contrasting diagram of high level and low level programming

Languages can be defined as human-readable or machine-readable:

  • Human-readable language instructions are encoded in a language that humans can understand more easily. This includes high- and low-level languages. Low-level languages, such as assembly language, more closely reflect the mechanical workings of the CPU.
  • Machine-readable language instructions are written using only the binary codes of the processor's instruction set.

Did you know?

The first computers were programmed using machine code. Today, it is more common for programmers to use high-level languages.

Translators

A piece of translator software, which is usually included within programming software, converts high-level languages into machine code. These translators are known as compilers and interpreters. Programs are translated using either a compiler or interpreter.

Compiler

A compiler translates a human-readable program directly into an executable, machine-readable form before the program can run.

Interpreter

An interpreter translates a human-readable program into an executable, machine-readable form, instruction by instruction. It then executes each translated instruction before moving on to the next one. A program is translated every time it is run. Python is an example of an interpreted language.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. Page2of 5

GCSE Subjects

  1. Art and Design
  2. Biology (Single Science)
  3. Business
  4. Chemistry (Single Science)
  5. Combined Science
  6. Computer Science
  7. Design and Technology
  8. Digital Technology (CCEA)
  9. Drama
  10. English Language
  11. English Literature
  12. French
  13. Geography
  14. German
  15. History
  16. Home Economics: Food and Nutrition (CCEA)
  17. Hospitality (CCEA)
  18. ICT
  19. Irish – Learners (CCEA)
  20. Journalism (CCEA)
  21. Learning for Life and Work (CCEA)
  22. Mandarin
  23. Maths
  24. Maths Numeracy (WJEC)
  25. Media Studies
  26. Modern Foreign Languages
  27. Moving Image Arts (CCEA)
  28. Music
  29. Physical Education
  30. Physics (Single Science)
  31. PSHE and Citizenship
  32. Religious Studies
  33. Science
  34. Sociology
  35. Spanish
  36. Welsh Second Language (WJEC)

What is the process of converting source code into machine code called?

The correct answer is Compiler. A compiler takes the program code (source code) and converts the source code to a machine language module (called an object file).

What is the process of translating human language to a machine based language?

Machine translation is the process of using artificial intelligence to automatically translate text from one language to another without human involvement. Modern machine translation goes beyond simple word-to-word translation to communicate the full meaning of the original language text in the target language.

What converts computer language into machine language?

A compiler is a translator program that converts a high-level language source program into a machine language object program.

What is the process of translating human

Compilers are computer programs that translate high-level programming code into lower-level code like assembly language. The compiler is part of the computer translation hierarchy which ultimately translates human-readable code into machine-readable code.