0% found this document useful (0 votes)
58 views3 pages

Grade 7 Terms and Definition Python Program: Programming Language: A Programming Language Is A Formal

The document defines key terms related to programming languages: A program is a set of instructions given to a computer to perform a specific task. There are high-level languages like Python that are easy for humans to read and low-level languages that are close to machine code. Machine code uses binary numbers directly understood by computers. Translators like compilers and interpreters convert high-level code into binary machine code. Compilers convert an entire program at once while interpreters convert line-by-line. Functions are reusable blocks of code that perform single related actions.

Uploaded by

dawood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views3 pages

Grade 7 Terms and Definition Python Program: Programming Language: A Programming Language Is A Formal

The document defines key terms related to programming languages: A program is a set of instructions given to a computer to perform a specific task. There are high-level languages like Python that are easy for humans to read and low-level languages that are close to machine code. Machine code uses binary numbers directly understood by computers. Translators like compilers and interpreters convert high-level code into binary machine code. Compilers convert an entire program at once while interpreters convert line-by-line. Functions are reusable blocks of code that perform single related actions.

Uploaded by

dawood
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Grade 7

Terms and Definition Python Program

1. Program:
Any one from:
 Set of instructions given to the computer to perform a
specific task
 a sequence of instructions that specifies how to perform a
computation
 A program (noun) is executable software that runs on a
computer. ...

2. Programming Language: A programming language is a formal


language that specifies a set of instructions that can be used to
produce various kinds of output. Programming languages
generally consist of instructions for a computer.

3. High Level Language (HLL): In computer science, a high-level


programming language is a programming language with strong
abstraction from the details of the computer. It consists of
English-like instructions which are easily understood by the
human/programmer.

4. Low Level Language (LLL): Low level language abbreviated


as LLL, are languages close to the machine level instruction set.
They provide less or no abstraction from the hardware. A low-
level programming language interacts directly with the registers
and memory. Since, instructions written in low level
languages are machine dependent
5. Binary Language (Binary code or Machine Language):
Machine code or machine language is a set of instructions
executed directly by a computer's central processing unit (CPU).
All the binary instructions are written using 0’s and/or 1’s.

6. Translator programs: In computer terminology, a translator


program is a program that converts instructions written in a High
Level Language into Binary or Machine Language (Machine
Codes).
There are mainly 2 types of translators:
1. Compiler
2. Interpreter

7. Compiler:

Program that converts a HLL program into Machine/Binary codes


in one go. The conversion takes place in one step and displays the
result or errors, if any, at the end.

8. Interpreters:

Convert a High level programming language into Binary codes/Low


level/Machine codes line-by-line/Step-by-step. It stops the execution whenever
an error is detected.

9. Functions: A function is a named block of organized, reusable


code that is used to perform a single, related action. ... As you
already know, Python gives you many built-in functions like
print(), input() etc. but you can also create your own functions.
These functions are called user-defined function

You might also like