Introduction to Computer Programming itc-314 Lecture 04.

Slides:



Advertisements
Similar presentations
Agenda Definitions Evolution of Programming Languages and Personal Computers The C Language.
Advertisements

Computers Are Your Future
CS105 INTRODUCTION TO COMPUTER CONCEPTS INTRO TO PROGRAMMING Instructor: Cuong (Charlie) Pham.
Artificial Intelligence
2 We need programming languages to communicate with a computer. The two broad classifications of programming languages are: Low-level and High- level.
Software: Systems and Application Software
Computer Concepts 5th Edition Parsons/Oja Page 546 CHAPTER 11 Software Engineering Section A PARSONS/OJA Computer Programming.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
Introduction to Programming Programming. COMP102 Prog. Fundamentals I: Introduction / Slide 2 Objectives l To learn fundamental problem solving techniques.
SOFTWARE SYSTEMS SOFTWARE APPLICATIONS SOFTWARE PROGRAMMING LANGUAGES.
Software Development CS 1 Rick Graziani Spring 2007.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Your Interactive Guide to the Digital World Discovering Computers 2012.
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.
Programming Languages Lecture 12. What is Programming?  The process of telling the computer what to do  Also known as coding.
Programming Languages – Coding schemes used to write both systems and application software A programming language is an abstraction mechanism. It enables.
BIT Presentation 6. Contents GENERATIONS OF LANGUAGES COMPILERS AND INTERPRETERS VIRTUAL MACHINES OBJECT-ORIENTED PROGRAMMING SCRIPTING LANGUAGES.
Introduction to Computer Programming itc-314
Programming Languages CPS120: Introduction to Computer Science Lecture 5.
Introduction to Programming Language CS105 Programming Language First-generation: Machine language Second-generation: Assembly language Third-generation:
Chapter Lead Black Slide Powered by DeSiaMore Powered by DeSiaMore.
 2008 Pearson Education, Inc. All rights reserved Introduction to Computers, the Internet and World Wide Web.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
UNIVERSITI TENAGA NASIONAL “Generates Professionals” CHAPTER 4 : Part 2 INTRODUCTION TO SOFTWARE DEVELOPMENT: PROGRAMMING & LANGUAGES.
COMPUTER PROGRAMMING Source: Computing Concepts (the I-series) by Haag, Cummings, and Rhea, McGraw-Hill/Irwin, 2002.
Computer programming.
Tranlators. Machine Language The lowest-level programming languageprogramming language Machine languages are the only languages understood by computers.languagescomputers.
Programming Language Rico Yu. Levels of Programming Languages 1.Low level languages 2.High level languages.
COMPUTER PROGRAMS AND LANGUAGES Chapter 4. Developing a computer program Programs are a set (series) of instructions Programmers determine The instructions.
Programming: A Brief History. Introduction Five Generations of Programming Languages Gets closer to representing data in human terms Requires additional.
Chapter 1 The Big Picture.
Programming Languages 1.07a.  A computer program is a series of instructions that direct a computer to perform a certain task.  A programming language.
Visual BASIC 1 Introduction
Copyright © 2007 Addison-Wesley. All rights reserved.1-1 Reasons for Studying Concepts of Programming Languages Increased ability to express ideas Improved.
Software – Applications software and programming languages.
Evolution and History of Programming Languages. Machine languages Assembly languages Higher-level languages To build programs, people use languages that.
Evolution and History of Programming Languages. Software Programming Language.
The Teacher Computing Computer Languages [Computing]
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 5 Information System Software.
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.
Chapter 0 Overview. Why you are here? Where will you go? What is this course for?
Evolution and History of Programming Languages 1.
Chapter 5 Information Systems in Business Software
Module 4 Part 2 Introduction To Software Development : Programming & Languages Introduction To Software Development : Programming & Languages.
PROGRAMMING LANGUAGES
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
5.0 PROGRAMMING Duration: 10 weeks Prepared by Ong Lay Peng Copyright © 2007.
Course Instructor: Hira Farman Course : BY:HIRA FARMAN.
Software: Systems and Applications Software. The Importance of Software in Business time 1950today $ Software Hardware High Low.
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.
Slide 8-1 Chapter 8 Terms Programming Languages Introduction to Information Systems Judith C. Simon.
Lecture-8 Introduction to computer languages.
Programming Languages and the Programming Process lesson 28.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
GROUP 2 NAME :  AZMYLL BIN ARSHAD  (18DNS14F2014)  MARYAM JAMILAH BINTI RAHIM  (18ENS14F2004)  SURAYA BINTI MOHAMAD  (18DNS14F2005)  MUHAMMAD SALEH.
CSC141 Introduction to Computer Programming Programming Language.
Introduction to computer programming
INTRODUCTION TO COMPUTER PROGRAMMING ITC-314. Computer Programming  Computer Programming means creating a sequence of instructions to enable a computer.
Introduction to computer software. Programming the computer Program, is a sequence of instructions, written to perform a specified task on a computer.
Computer Language
Computer Languages [Computing] Computing.
Programming Languages
CSCI-235 Micro-Computer Applications
CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING
Introduction to Computer Programming
Presentation transcript:

Introduction to Computer Programming itc-314 Lecture 04

Basic Beginners All-Purposes Symbolic Instructions code, abbreviated as BASIC, was developed at the Dartmouth College, USA, by John Kemeny and Professor Kurtz. BASIC languages were initially developed to make it convenient for the people to communicate with computers. BASIC has improved over the years, but unfortunately it is not a portable language i.e., a program developed in basic on one computer may not run on another without necessary modifications. This is because different versions of BASIC do not conform to the same standards. Different versions of Basic Language are: GW-BASIC, Visual Basic, BBC BASIC etc

FORTRAN FORTARN (FORmula TRANslation) was developed in 1957 for IBM 704 computer by a team headed by John Backus. A full version of FORTRAN was approved by the American National Standard Institute (ANSI) in FORTRAN was basically developed for scientific and engineering’s data processing purposes. FORTRAN has widely been accepted as a language for scientific calculations.

COBOL Common business Oriented Languages (COBOL) was specially designed for business purposes. COBOL is used all over the world for a variety of data processing tasks, such as payroll, inventory and stock control. It is a self documented language and it is convenient to understand a program written in COBOL.

C C is the high-level language which has the power and many facilities of low-level languages. It is used very commonly in system programming and a very popular operating system UNIX is written in this language. Its special features are the efficient use of memory and fast processing speed. However, it is the choice if many experienced programmers because the big program of other languages can be written very concisely in C.

PASCAL Pascal is named after Blaise Pascal, a French mathematician of the seventeenth century. PASCAL language was developed in the late 1960s. Pascal was the first major language developed on the concepts of structured programming. Pascal can be used for both scientific and business type file processing applications.

Generations of Programming Language

1GL or first-generation language 1GL or first-generation language was (and still is) machine language. Machine languages are the only languages understood by computers. While easily understood by computers, machine languages are almost impossible for humans to use because they consist entirely of numbers. Example:

2GL or second-generation language 2GL or second-generation language is assembly language. Its was introduced in 1952 helped in overcoming the limitations of machine language. An assembly language contains the same instructions as a machine language, but the instructions and variables have names (Mnemonics) instead of being just numbers. For Example: To Add two numbers we write A 12,8

Assembler The assembler of a computer system is a system software, supplied by system manufacture, which translates an assembly language program into an equivalent machine language program.

3GL or third-generation language 3GL or third-generation language is a "high-level" programming language. The first high-level programming languages were designed in the 1950s. High level languages are those languages that are closer to human languages and further from machine languages. The main advantage of high-level languages over low-level languages is that they are easier to read, write, and maintain. Ultimately, programs written in a high-level language must be translated into machine language by a compiler or interpreter.

Compiler & Interpreter A compiler is a translator program, which converts the statements of a specific high-level programming language into machine language. An interpreter is another type of translator, which is used for translating programs written in high level languages. It takes one statement of high level language program, translate it into machine language instructions, and then immediately execute the resulting instructions.

4GL or fourth-generation language 4GL or fourth-generation language is designed to be closer to natural language than a 3GL language. Fourth generation languages are commonly used in database programming and scripts. A 4GL language statement might look like this: EXTRACT ALL CUSTOMERS WHERE "PREVIOUS PURCHASES" TOTAL MORE THAN $1000

5GL or fifth-generation language The fifth generation languages, or 5GL are programming languages that contain visual and graphical tools to help develop a program. Fifth-generation languages are used mainly in artificial intelligence research. The branch of computer science concerned with making computers behave like humans. The term was coined in 1956 by John McCarthy at the Massachusetts Institute of Technology. Artificial intelligence includes games playing: programming computers to play games such as chess and checkers. expert systems : programming computers to make decisions in real-life situations (for example, some expert systems help doctors diagnose diseases based on symptoms).

5GL programs are usually compiled with a 3GL or 4GL language compiler. Microsoft, Borland, IBM, and other companies make 5GL visual programming products for developing applications.