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