Computer Science
Computer Science
CHAPTER -1
COMPUTER LANGUAGES
I) Fill In The Blanks:
Interpreter Compiler
Reference material
Chapter -1
Computer Languages
What is Computer Language?
• A computer language is a system of communication with
a computer.
• Such languages are used to create computer code or program code,
the set of instructions forming a computer program which is
executed by a computer
Program is a set of instructions which tell computer what to do.
The process of writing specific instructions in a computer language is
called programming.
COMPUTER LANGUAGES
❖ MACHINE LANGUAGE
❖ ASSEMBLY LANGUAGE
❖ HIGH LEVEL LANGUAGE
❖ 4 GENERATION LANGUAGE
MACHINE LANGUAGE-
FIRST GENERATION
❖ Language that a computer understand.
❖ Binary form – 0’s and 1’s
❖ 0 – off 1- on
❖ Very high speed
❖ Low memory utilization
❖ Machine –Dependent
❖ Machine language written in one computer may or may not run on
another.
It is considered as “low level language
ASSEMBLY LANGUAGE -SECOND GENERATION
▪ Used mnemonic codes or symbols.
▪ ADD – 0010
▪ Easy to work with assembly language
▪ Computers understand only machine language , so assembly
language →machine language.
▪ Translator Programs – Assemblers were used.
▪ Source code – program written in Assembly language
▪ Object code – program converted to machine language
HIGH LEVEL LANGUAGE -
THIRD GENERATION LANGUAGE
❑ USER FRIENDLY
❑ MACHINE INDEPENDENT
❑ EASY TO LEARN
❑ Referred as “High Level Language”
❑ Eg: BASIC , C ,C ++.
❑ HLL need to be converted to machine language using two translator
programs.
* Interpreter
* Compiler
Interpreter converts high level language to machine language.
• Converts one line at a time and executes the instructions.
• If any error found they are to be immediately removed.
• Good for beginners .Slow in execution.
COMPILER
Translator program used to convert assembly language to machine
language
• It translates the whole program once.
• Generates object code for the program with list of all errors.
FOURTH GENERATION LANGUAGE(4GL)
Machine independent
Highly user friendly
Very high Speed of execution
• 4GL is closer to human languages than any other HLL.
• Minimum effort from the user to afford.
User need to specify the required output.
CHAPTER -2
Microsoft Excel 2007
I) Answer the following:
6. What do you understand by MS Excel?
Microsoft Excel is the most popular spreadsheet software.
It is a powerful tool that helps to organize, calculate and
analyze data in rows and columns.
***************************************