MBA KMB 108 (Computer Applications and Management Information System) Lecture 5


MBA

SUBJECT NAME: Computer Applications and Management Information System

Subject Code: RMB 108

UNIT 1(conceptual frame work)

Introduction to Programming Languages
A computer is a computational device which is used to process the data under the control of a computer program. Program is a sequence of instruction along with data. While executing the program, raw data is processed into a desired output format. These computer programs are written in a programming language which are high level languages. High level languages are nearly human languages which are more complex then the computer understandable language which are called machine language, or low level language
A programming language is a vocabulary and set of grammatical rules for instructing a computer or computing device to perform specific tasks. The term programming language usually refers to high-level languages, such as BASIC, C, C++, COBOL, Java, FORTRAN, JAVA etc.
Translators
Computer can understand only machine level language which is in binary (0&1). It is difficult to write and maintain program in machine level language. So the need arises for converting the code of high level to low level language and translators are used for this purpose.


1.   1    Assembler
2.    2   Compiler
3.   3    Interpreter

Assembler: It is used for converting the code low level language (assembler language) into machine level language.

Compiler: A Compiler searches all the error of program and list them. If the program is error free then it converts the code and then program can be executed.
Image result for high level to assembly language to hardware A compiler is a computer program that translates computer code written in one programming language (the source language) into another language (the target language). The name compiler is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly languageobject code, or machine code) to create an executable program.

        Interpreter: It checks the error of program statement by statement. After checking one statement it converts that statement into machine code and then executes the statement.
This process continues for last statement of program.

1 comment:

  1. Thank you for sharing such a valuable article on higher education. It’ll help people a lot, looking for advanced diploma to boost their career.

    ReplyDelete

Give your valuable feedback

Topic :Software & Types, Subject: Computer Fundamental Notes for CSJM University Kanpur(for different courses like BBA, BCA, etc..)

Software Software refers to the programs, data, and instructions that enable a computer or other digital device to perform specific tasks or...