Computer Language www.AssignmentPoint.com.

Slides:



Advertisements
Similar presentations
GCSE Computing Lesson 5.
Advertisements

Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
2 We need programming languages to communicate with a computer. The two broad classifications of programming languages are: Low-level and High- level.
Program Flow Charting How to tackle the beginning stage a program design.
Chapter 16 Programming and Languages: Telling the Computer What to Do.
Chapter 1 Introduction to C Programming. 1.1 INTRODUCTION This book is about problem solving with the use of computers and the C programming language.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Chapter 3 Software Two major types of software
Programming. Software is made by programmers Computers need all kinds of software, from operating systems to applications People learn how to tell the.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
1.3 Executing Programs. How is Computer Code Transformed into an Executable? Interpreters Compilers Hybrid systems.
Introduction to Programming End Show. Resource Team R.P Ranjan-Lecturer, SPICTEC, Galle. W.M.A.S. Wijesekara-Centre manager,CRC Hali-Ela H.P.U.S Indra.
1 Chapter-01 Introduction to Computers and C++ Programming.
Introduction to Computer Programming itc-314
Chapter 17 Programming Tools The Architecture of Computer Hardware and Systems Software: An Information Technology Approach 3rd Edition, Irv Englander.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
CC111 Lec#5: Program Development 1 Program Development and Programming Languages Lecture 4 Reference :Understanding Computers Chapter 13.
สาขาวิชาเทคโนโลยี สารสนเทศ คณะเทคโนโลยีสารสนเทศ และการสื่อสาร.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming (CS 102) C++ Programminhg.
Programming Language Rico Yu. Levels of Programming Languages 1.Low level languages 2.High level languages.
TMF1013 : Introduction To Computing Lecture 1 : Fundamental of Computer ComputerFoudamentals.
CSC425 - Introduction To Computer Programming 1. 2 Generation Of Programming Languages A set of rules that telling a computer what to do. There are over.
INTRODUCTION TO COMPUTING CHAPTER NO. 04. Programming Languages Program Algorithms and Pseudo Code Properties and Advantages of Algorithms Flowchart (Symbols.
A language which is acceptable to a computer system is called a computer language or programming language and the process of writing instructions in such.
PROGRAMMING LANGUAGES
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Machine Machine language is PL in which program instructions are written in strings of 0s and 1s.The computer circuitry is wired in a manner that it can.
Introduction to Computer Programming itc-314 Lecture 04.
Lecture-8 Introduction to computer languages.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
The Functions and Purposes of Translators Translators, Interpreters and Compilers - High Level Languages.
1 Asstt. Prof Navjot Kaur Computer Dept PRESENTED BY.
Alexandria University Faculty of Science Computer Science Department Introduction to Programming C++
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
Introduction to Computer Programming Concepts M. Uyguroğlu R. Uyguroğlu.
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
Programming Languages
Software Engineering Algorithms, Compilers, & Lifecycle.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Introduction to Software
Chapter Goals Describe the application development process and the role of methodologies, models, and tools Compare and contrast programming language generations.
Chapter-3 Computer Software.
Evolution and History of Programming Languages
DDC 2223 SYSTEM SOFTWARE DDC2223 SYSTEM SOFTWARE.
Component 1.6.
High or Low Level Programming Language? Justify your decision.
Programming Languages
Introduction to programming
Operating System Interface between a user and the computer hardware
Programming Language Hierarchy, Phases of a Java Program
CSCI-235 Micro-Computer Applications
Computer Programming.
COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE
Application Development Theory
Programming Languages and Translators
Unit# 8: Introduction to Computer Programming
Translators & Facilities of Languages
Computer Programming.
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
CS105 Introduction to Computer Concepts Intro to programming
Programming.
Introduction to Computer Programming
Lecture 8 Programming Paradigm & Languages. Programming Languages The process of telling the computer what to do Also known as coding.
Tonga Institute of Higher Education IT 141: Information Systems
Tonga Institute of Higher Education IT 141: Information Systems
CS105 Introduction to Computer Concepts Intro to programming
Presentation transcript:

Computer Language www.AssignmentPoint.com

Introduction A language which is acceptable to a computer system, is called a computer language or programming language, and the process of writing instructions is such a language for an already planned program is called programming coding. 10/28/2017 www.AssignmentPoint.com

All the computer languages can be broadly classified into three categories Machine language Assembly language and High-level language 10/28/2017 www.AssignmentPoint.com

Machine Language A programming language, which can be understood by a computer without using a translation program, is called the machine language of the computer. It is normally written as strings 1s and 0s. 10/28/2017 www.AssignmentPoint.com

Advantages and Limitations of Machine Language Program written in machine language can be executed very fast by the computer. This is because machine instructions are directly understood by the computer, and no translation of the program is required. However writing a program in machine language has several disadvantages, which are described below : Machine dependent : Because the internal design of every type of computer is different from every other type of computer, the machine language also differs from computer to computer. Hence, after becoming proficient in the machine language of a particular computer, if a company decides to change to another computer, its programmers will have to learn a new machine language, and would have to rewrite all the existing programs. 10/28/2017 www.AssignmentPoint.com

Difficult program: Although machine language programs are directly and efficiently executed by the computer, it is difficult to program in machine language . It is necessary for the programmer either to memorize the dozens of operation code numbers for the commands in the machine’s instruction set or to constantly refer to a reference card. A programmer is also forced to keep track of the storage locations of data and instructions. Moreover, a machine language programmer must be an expert who knows about the hardware structure of the computer. 10/28/2017 www.AssignmentPoint.com

Difficult to modify: It is difficult to correct or modify machine language programs. Similarly, modifying a machine language program later is so difficult that many programmers would prefer to code the new logic afresh, instead of incorporating the necessary modifications in the old program. Error prone: For writing programs in machine language, since a programmer has to remember the opcodes, and must keep track of the storage locations of data and instructions, it becomes very difficult for him/her to concentrate fully on the logic of the problem. This frequently results in programming errors. 10/28/2017 www.AssignmentPoint.com

Assembly Language A language, which allows instructions and storage locations to be represented by letters and symbols, instead of numbers, is called assembly language or symbolic language. A program written in an assembly language is called assembly language program or a symbolic program 10/28/2017 www.AssignmentPoint.com

Advantages of Assembly Language over Machine language Easier to understand and use Easier to locate and correct errors Easier to modify No worry about addresses Easily relocatable Efficiency of machine Language 10/28/2017 www.AssignmentPoint.com

Limitations of Assembly Language The following limitations of machine language are not solved by using assembly language Machine dependent Knowledge of hardware required Machine level coding 10/28/2017 www.AssignmentPoint.com

High-level Language Machine and assembly languages are often referred to as low-level programming languages, because they are machine dependent, they require the programmers to have a good knowledge of the internal structure of the computer being used, and they deal with machine-level coding requiring one instruction to be written for each machine-level operation. High-level programming languages overcome these limitations of low-level programming languages. 10/28/2017 www.AssignmentPoint.com

Compiler A compiler is a translator program, which translates a high-level language program into its equivalent machine-language program High-level language program Machine language program compiler Input Output 10/28/2017 www.AssignmentPoint.com

Linker A linker is a software, which takes multiple object program files of a software, and fits them together to assemble them into the program’s final executable form, which is sometimes called a load module. 10/28/2017 www.AssignmentPoint.com

Interpreter An interpreter is a translator program, which translates a high-level language program into its equivalent machine language program. However, unlike a compiler, which merely translators the entire source program into an object program and is not involved in its execution, an interpreter takes one statement of source program, translates it into machine language instructions, and then immediately executes the resulting machine language instructions, before taking the next statement for translation. No object program of the source program is generated by the interpreter. 10/28/2017 www.AssignmentPoint.com

Advantages and Limitation of High-level Languages High-level languages enjoy the following advantages over assembly and machine languages: Machine independence Easier to learn and use Fewer error Lower program preparation cost Better documentation Easier to maintain 10/28/2017 www.AssignmentPoint.com

Limitations of high-level Languages The two limitations of high-level languages are as follows : Lower efficiency Less flexibility 10/28/2017 www.AssignmentPoint.com

What was the first generation of programming languages? Machine languages were the first languages available for programming computers First-generation languages A machine language provides a set of commands, represented as a series of 1s and 0s 10/28/2017 www.AssignmentPoint.com

What is a second-generation languages? An assembly language allows programmers to use abbreviated command words, called op codes, rather than 1s and 0s Classified as a low-level language Most often used to write system software 10/28/2017 www.AssignmentPoint.com

What is a third generation languages? Third-generation languages use easy-to-remember command words to take the place of several lines of assembly language or endless strings of machine language COBOL FORTRAN Pascal C BASIC 10/28/2017 www.AssignmentPoint.com

What is a fourth generation languages? Fourth-generation languages more closely resemble human languages Eliminate many of the strict punctuation and grammar rules complicating third-generation languages Typically used for database applications SQL RPG-I 10/28/2017 www.AssignmentPoint.com

What about fifth-generation languages? Some believe a fifth-generation language is a computer programming language based on a declarative programming paradigm Other experts feel fifth-generation languages are those that allow programmers to use graphical or visual tools to construct programs 10/28/2017 www.AssignmentPoint.com