chapter 1-introduction to programming language

24
FP 101 PROGRAMMING PRINCIPLES CHAPTER 1 INTRODUCTION TO PROGRAMMING LANGUAGE 1 FP 101 : PROGRAMMING PRINCIPLES (CHAPTER 1)

Upload: shahrul-ikhmal

Post on 01-Dec-2015

131 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 1-Introduction to Programming Language

FP 101 PROGRAMMING PRINCIPLES

CHAPTER 1

INTRODUCTION TO PROGRAMMING LANGUAGE

1

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 2: Chapter 1-Introduction to Programming Language

Course Learning Outcome (CLO):

Upon completion of this course, students should be able to:

1) Explain the basic computer and programming fundamentals with appropriate examples of language and technology.

2

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 3: Chapter 1-Introduction to Programming Language

SPECIFIC OUTCOME

3

1.1 Understand the computer fundamentals.1.2 Discuss the evolution of programming

language.1.3 Explain fundamentals of programming

language.

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 4: Chapter 1-Introduction to Programming Language

1.1 Understand The Computer Fundamentals

Page 5: Chapter 1-Introduction to Programming Language

COMPUTER SYSTEM• include the computer along with any software and peripheral

devices that are necessary to make the computer function

• A system of interconnected computers that share a central storage system and various peripheral devices such as a printers, scanners, or routers. Each computer connected to the system can operate independently, but has the ability to communicate with other external devices and computers.

5

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 6: Chapter 1-Introduction to Programming Language

SOFTWARE COMPONENTS

6

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 7: Chapter 1-Introduction to Programming Language

Windows Vista, XP, Linux, Unix, Macintosh (OS)

7

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 8: Chapter 1-Introduction to Programming Language

Types of OS• GUI (graphical user interface )

allows users to interact with electronic devices with images rather than text commands.

• Multi-user allows concurrent access by multiple users of a computer

• Multiprocessing use of two or more central processing units (CPUs) within a

single computer system

• Multitasking method where multiple tasks (processes), share common

processing resources such as a CPU

• Multithreading provides a way to have more than one thread executing in the

same process 8

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 9: Chapter 1-Introduction to Programming Language

Application

9

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 10: Chapter 1-Introduction to Programming Language

1.2 Discuss The Evolution Of Programming Language

Page 11: Chapter 1-Introduction to Programming Language

HISTORY OF PROGRAMMING LANGUAGE

11

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 12: Chapter 1-Introduction to Programming Language

TECHNOLOGY OF PROGRAMMING LANGUAGE

12

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 13: Chapter 1-Introduction to Programming Language

MACHINE LANGUAGES

13

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 14: Chapter 1-Introduction to Programming Language

ASSEMBLY LANGUAGES

14

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 15: Chapter 1-Introduction to Programming Language

3rd GENERATION LANGUAGES

15

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 16: Chapter 1-Introduction to Programming Language

4th GENERATION LANGUAGES

16

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 17: Chapter 1-Introduction to Programming Language

5th GENERATION LANGUAGES

17

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 18: Chapter 1-Introduction to Programming Language

1.3 Explain Fundamentals Of Programming Languages

Page 19: Chapter 1-Introduction to Programming Language

TERMINOLOGY

19

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 20: Chapter 1-Introduction to Programming Language

Structured Programming

20

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 21: Chapter 1-Introduction to Programming Language

Object Oriented Programming

21

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 22: Chapter 1-Introduction to Programming Language

Structured programming is as follows:

--Program startvarvarvar

function { ... }function { ... }function { ... }

main { ... }--- Program End

22

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 23: Chapter 1-Introduction to Programming Language

• Object oriented is as follows:

--- Program Startobject {varvarfunction { ... }function { ... }function { ... }}

varvar

function { ... }main { ... }--- Program end

23

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)

Page 24: Chapter 1-Introduction to Programming Language

vs

24

FP

10

1 :

PR

OG

RA

MM

ING

PR

INC

IPL

ES

(C

HA

PT

ER

1)