Programming Fundamentals Notes
Programming Fundamentals Notes
• Electrical Engineering:
“Is a professional engineering discipline that generally deals
with study of Electricity, Electronics and Electromagnetism.”
• Computing Fundamentals:
Computer:
Computer is an electronic machine.
OR
The science deals with theory and method processing information and digital
electronics.
OR
Study of both computer hardware and computer software.
• Parts of Computer:
There are four main parts of computer as followed.
1. Hardware:
Computer hardware includes the physical, tangible parts or components of a
computer such as the central processing unit, keyboard, computer data storage,
graphic card, sound card, speakers and motherboard.
2. Software:
In Computer Science and software engineering computer software is all
information processed by computer systems, programs and data.
3. Data:
Data is any sequence of one or more symbols given meaning by specific act of
interpretation to become information.
4. User:
A user is a person who utilizes a computer or network service.
• Applications of Computer:
Today everything is controlled and managed by
computers.
There are some applications of computer.
a) Office
b) Education
c) Avialian
d) Multimedia
• History of Computer:
➢ Abacus (Ancient Times)
➢ Mechanical Computers
➢ Electrical Computers (19th Century)
➢ Electronic Counting (20th Century)
➢ PC => Personal Computer
➢ MS => Microsoft => Windows
➢ Apple => Macintosh (iOS)
• Hardware:
The machines, wiring and other tangible components of a computer called as
Hardware.
• Software:
The programs and other operating information used by a computer called as software.
There are two types of computer.
1. System Software.
2. Application Software.
1. System Software:
System software is a type of computer program that is designed to run a computer’s
hardware and applications program.
2. Application Software:
An application is any program or group of programs that is designed for the end
user. Application software include such things as MS office, games, multimedia,
calculator, Facebook, WhatsApp, web browser and data base programs.
• CPU:
CPU is an abbreviation of Central Processing Unit.
The CPU is the brains of computer where most calculations take place.
❖Dual 2 (Processors)
❖Quad 4 (Processors)
❖Octa 8 (Processors)
• Computer Language:
000111000011110
Void Main
A=5
B=6
0=white
1=black
0,1=Bit
8 Bit=1 Byte
11110000=1 Byte
0=OFF
1=ON
• Advantages of Computer:
➢ Increase your productivity
➢ Connects you to the internet.
➢ Super speed of computer.
➢ Vast amount to store data.
➢ Reliability.
➢ Communication.
• Disadvantages of Computer:
➢ Violation of privacy.
➢ Public safety risks.
➢ Health risks.
➢ Impact on environment.
• Communication:
➢ Exchange of Information.
➢ Telecommunication.
➢ Devices for communication:
▪ Modem
▪ Router
▪ Switch
▪ Hub
• Network:
Interconnection of computers and other communication devices are called as
network.
• Familiarization with DOS environment and its important commands:
DOS => Disk Operating System.
CLI => Command Line Interface.
Directory Tree
• IP Address:
IP stands for Internet Protocol, all devices connected to the internet have IP address
every device have unique IP address.
c)World Wide Web (WWW):
The World Wide Web (WWW) also called the Web is an information space
where documents and other web resources are identified by Uniform Resource
Locators (URLs). Interlinked by hypertext links and accessible via the Internet.
English scientist Tim Berners-Lee invented the World Wide Web in 1989.
➢ www is a collection of webpages
➢ website consists of webpages
➢ web browser is an application to browse webs
➢ www is used to access web pages
➢ URL=uniform resource locater
➢ Search Engine (Search Engine is a tool use to search or find information over
the internet)
➢ Types of Websites
▪ Protocol
▪ Educational
▪ NEWS
▪ Business
▪ Entertainment
d) Other Internet Services:
➢ E-mail (Electronic Mail)
➢ IM (Instant Messaging)
➢ FTP (File Transfer Protocol)
➢ VOIP (Voice Over IP)
IMPORTANT: Protocols is a set of rules which computers obey for communication
process.
INPUT PRINT
2. Process:
Sum=A+B
3. Selection:
N>50
4. Start/End:
Start End
5. Flow Lines:
6. Connector:
8. Function Cell: