Date post: | 01-Dec-2015 |
Category: |
Documents |
Upload: | shahrul-ikhmal |
View: | 115 times |
Download: | 0 times |
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)
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)
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)
1.1 Understand The Computer Fundamentals
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)
SOFTWARE COMPONENTS
6
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
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)
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)
Application
9
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
1.2 Discuss The Evolution Of Programming Language
HISTORY OF PROGRAMMING LANGUAGE
11
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
TECHNOLOGY OF PROGRAMMING LANGUAGE
12
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
MACHINE LANGUAGES
13
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
ASSEMBLY LANGUAGES
14
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
3rd GENERATION LANGUAGES
15
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
4th GENERATION LANGUAGES
16
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
5th GENERATION LANGUAGES
17
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
1.3 Explain Fundamentals Of Programming Languages
TERMINOLOGY
19
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
Structured Programming
20
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
Object Oriented Programming
21
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)
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)
• 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)
vs
24
FP
10
1 :
PR
OG
RA
MM
ING
PR
INC
IPL
ES
(C
HA
PT
ER
1)