Professional Documents
Culture Documents
16th February Class
16th February Class
PROGRAMMING
Third Generation (3GL) – C, C++, Java, Pascal (High– Level PL) Mapping between assemble instructions and machine instructions is 1 - 1
Written in with mathematical symbols and natural language words
4GL is a language and it’s environment that is used to develop software rapidly
Program Translators
There are 3 types;
1. Complier
2. Interpreter
3. Assembler
Machine
Source Program
/ Object
Code Translator
Code
Program Translators continues….
Compiler Interpreter
It translate source code into object code It translate and executes the source code
First the entire program is converted into machine code at a time One instruction at a time is converted into source code
Then, complied code can be executed on the computer Then, executed by the processor
Assembler
It translate assembly language mnemonics in to object code / machine code format
Examples: a = 7
a += 4
print (a)
Output 11
Variables are case sensitive, need to begin with a lower-case letter and no spaces allowed
between words in the variable name, use underscore ‘_’ instead (your_name)
Input Function
o This is used to enter user input(s) through keyboard and it takes values as string data type by
default
o Try out below! New line (Line break)