Computer Science Studies (BIT)

This fourm is created by Sir Muhammad Tahir Farooq. The purpose of creating this fourm to share information the students.
 
HomeHome  RegisterRegister  Log inLog in  
Aslam-O-Alikum!
Search
 
 

Display results as :
 
Rechercher Advanced Search
Calender
Latest topics
» Chapter #1 Complete MCQ's (PART-1)
Tue Feb 24, 2015 6:00 am by Shaheer

» Windows Operating System (COMPLETE)
Mon Jan 26, 2015 10:17 am by shaista

» Computer Architecture (COMPLETE)
Sun Jan 25, 2015 5:52 am by shaista

» A virus that create more folders in your computer
Tue Jan 06, 2015 3:49 am by tahir48

» Browsers Comparision
Tue Jan 06, 2015 3:39 am by tahir48

» WEb to PDF convert
Sun Jan 04, 2015 7:34 am by shaista

» 7th Class Computer paper 1st 2 Chapters
Mon Dec 08, 2014 6:21 pm by shaista

» 8th Class Computer Paper 1st 2 chapters
Mon Dec 08, 2014 6:16 pm by shaista

» Chapter # 1 9th Class
Mon Dec 08, 2014 2:52 am by shaista

Poll
Top posters
Admin
 
shaista
 
tahir48
 
computerstudent18
 
computerstudent29
 
thompson john
 
Shaheer
 
Statistics
We have 30 registered users
The newest registered user is benish

Our users have posted a total of 214 messages in 210 subjects
Flag Counter

Share | 
 

 Programming Languages

Go down 
AuthorMessage
shaista



Posts : 49
Join date : 2012-11-09

PostSubject: Programming Languages    Sun Sep 08, 2013 4:06 am

Programming Languages

A program is a set of instruction that the computer can understand. The computer can understand only binary code, all computer languages must be eventually reduced to binary code and the way this is done depends on the type of language used.

Low-Level-languages

Low-level languages are languages that are easy for the computer to understand but more difficult for the programmer to understand. Assembly language and Machine language (Machine code) collectively called low-level language.

Machine Language (or Machine code)

Machine language is the language directly understood by the machine. It consists of a series of 1’s and 0’s. Machine code is often machine specific, which means that one computer’s machine code will not be understood by a different type of computer. A program written in machine code needs no translation and is therefore very fast.

Assembly Language

An assembly language is a language that uses simple instruction such as ADD, SUB and is used in preference to machine code, since it is easier for the programmer to use and to debug (debugging means removing any mistake from the program). Once a program has been written in assembly language it needs translating into machine code by software called as assembler before it can be understood by a computer.

High-Level Language

High-level language is developed with the programmer in mind rather than the computer. Such language have the advantage that they are not as machine-dependent as machine codes or assembly language, so once a program has been written it can be used on different computers with very little alteration.

It is similar to English, which means that programming is made easier.

Advantages of high-level language

: Simple instructions similar to English make high-level language easy to understand

: It is easy to correct errors and test program.

: Program written in high-level languages can be used on different makes of computer.

Examples for high-level language

COBOL, BASIC, FORTON, C++, LOGO, JAVA, HTML (Hypertext Markup Language)

Compiler and Interpreters

Compiler & Interpreter are both programs that change high-level language instruction into machine-code. An interpreter is a translator of high level language program. These translators translate one instruction at a time.

A Compiler is a translator which is used to translate the whole source of a program at a time.
Back to top Go down
 
Programming Languages
Back to top 
Page 1 of 1
 Similar topics
-
» Do anyone have programming card ?
» THE GAMES FACTORY 2
» where the hell is the remote programmer?

Permissions in this forum:You cannot reply to topics in this forum
Computer Science Studies (BIT) :: Classes :: First Year Standard-
Jump to: