SlideShare a Scribd company logo
CSE 115: COMPUTING
CONCEPTS
Chapter 1: Overview of Computers and
Programming
Objectives
 In this chapter you will learn about:
 To learn about the different categories of computers
 To understand the role of each component in a
computer
 To understand the purpose of an operating system
 To learn the differences between machine language,
assembly language, and higher level languages
 To understand what processes are required to run a C
program
 To learn how to solve a programming problem in a
careful, disciplined way
 To understand and appreciate ethical issues related to
Categories of Computers
 Desktop Computer, iMac.
 Hewlett Packard Laptop.
 iPad.
 Android phone, LG Thrill 4G.
Computer Hardware
Components
Terms - Quantify storage
capacities
Main Memory
 A semiconductor device which stores the
information necessary for a program to
run.
 2 types
 ROM (Read Only Memory)
 Contains information that is necessary for the
computer to boot up
 The information stays there permanently even when
the computer is turned off.
 RAM (Random Access Memory)
 Contains instruction or data needed for a program
to run
 Got erased when the computer is turned off.
Central Processing Unit (CPU)
 Does most of the work in executing a program
 The CPU inside a PC is usually the
microprocessor
 3 main parts:
 Control Unit
 Fetch instructions from main memory and put them in
the instruction register
 ALU (Arithmetic Logic Unit)
 Execute arithmetic operations
 Registers
 Temporarily store instructions or data fetched from
memory
Storage Devices
 A magnetic device used to store a large
amount of information.
 Store the software components or data
needed for the computer to execute its
tasks.
 Could be “read only” or “writable”.
 Example: Hard drive, CD/DVD ROM, flash
drives
Input / Output Devices
 Input Devices
 Accepts information from the user and
transforms it to digitalcodes that the
computer can process
 Example: keyboard, mouse, scanner
 Output Devices
 An interfaceby which the computer
conveys the output to the user
 Example: monitor, printer
Network Devices
 Connect a computer to the other
computers.
 Enable the users to access data or
execute programs remotely.
 Example: modem, Ethernet card
Computer Software
 Operating System
 Communicating with the computer user: receiving
commands and carrying them out or rejecting them with an
error message.
 Managing allocation of memory, of processor time, and of
other resources for various tasks.
 Collecting input from the keyboard, mouse, and other input
devices, and providing this data to the currently running
program.
 Conveying program output to the screen, printer, or other
output device.
 Accessing data from secondary storage.
 Writing data to secondary storage.
Computer Software
 Application Software
 Application programs are developed to assist a computer
user in accomplishing specific tasks.
 Word Processor
 Web Browser
 Messenger, etc.
Computer Languages
 Machine Language
 binary number codes understood by a specific
CPU
 Not standard
 Different machine language for each type of CPU
 Assembly Language
 mnemonic codes that correspond to machine
language instructions
Computer Languages
 A Machine Language Program Fragment
and Its Assembly Language Equivalent
Computer Languages
 High-Level Language
 machine-independent programming language
that combines algebraic expressions and English
symbols
prepared by NI, edited by MAF
Computer Languages
 Compilersoftware
 that translates a high-level language program into
machine language
 Source file
 File containing a program written in a high-level
language; the input for a compiler
 Syntax
 Grammar rules of a programming language
Computer Languages
 Object file
 file of machine language instructions that is the
output of a compiler
 Linker
 Software that combines object files and resolves
cross-references to create an executable
machine language Program
Entering, Translating, and
Running a High-Level
Language Program
Flow of Information During
Program Execution
Software Development Method
 Specify the problem requirements.
 Analyze the problem.
 Design the algorithm to solve the problem.
 Implement the algorithm.
 Test and verify the completed program.
 Maintain and update the program.
Professional Ethics for
ComputerProgrammers
 Privacy and Misuse of Data
 computertheft (computerfraud) - Illegally
obtaining money by falsifying information in a
computer database
 ComputerHacking
 Virus - Code attached to another program that
spreads through a computer’s disk memory,
disrupting the computer or erasing information
 Worm - A virus that can disrupt a network by
replicating itself on other network computers
Professional Ethics for
ComputerProgrammers
 Plagiarismand Software Piracy
 Software piracy – Violating copyright agreements
by illegally copying software for use in another
computer
 Misuse of a ComputerResource

More Related Content

What's hot

Introduction to Computer and Programming - Lecture 01
Introduction to Computer and Programming - Lecture 01Introduction to Computer and Programming - Lecture 01
Introduction to Computer and Programming - Lecture 01
hassaanciit
 
Computer Programs & System Softwares
Computer Programs & System SoftwaresComputer Programs & System Softwares
Computer Programs & System Softwares
Abijah Naresh Jumani
 
computer programing and utilization
computer programing and utilizationcomputer programing and utilization
computer programing and utilizationTushar Limbasiya
 
Computer hardware and software
Computer hardware and softwareComputer hardware and software
Computer hardware and software
sheikhparvez4
 
Computer memory, Types of programming languages
Computer memory, Types of programming languagesComputer memory, Types of programming languages
Computer memory, Types of programming languages
Infinity Tech Solutions
 
Computer software
Computer softwareComputer software
Computer software
Maneesh Singh
 
Software and hardware presentation
Software and hardware presentationSoftware and hardware presentation
Software and hardware presentation
njabulo madonsela
 
Grade 7 computer software
Grade 7  computer softwareGrade 7  computer software
Grade 7 computer software
Rafael Balderosa
 
Unit i
Unit iUnit i
Unit i
Durga Devi
 
Software - Introduction
Software - IntroductionSoftware - Introduction
Software - Introduction
SagarGupta372
 
Introduction To Programming in Matlab
Introduction To Programming in MatlabIntroduction To Programming in Matlab
Introduction To Programming in Matlab
DataminingTools Inc
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer Softwares
Naresh Dubey
 
Software and hardware
Software and hardwareSoftware and hardware
Software and hardware
meryy21
 
BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2
Ndubi Amos
 
Garcia Act4 Patience
Garcia Act4 PatienceGarcia Act4 Patience
Garcia Act4 Patience
trixie garcia
 
Introduction to Computer System
Introduction to Computer System Introduction to Computer System
Introduction to Computer System
sonykhan3
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12
Sehrish Rafiq
 
Input output devices
Input output devicesInput output devices
Input output devices
sonykhan3
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem Solving
Sukhendra Singh
 
Computer Software
Computer SoftwareComputer Software
Computer Software
RoshanMaharjan13
 

What's hot (20)

Introduction to Computer and Programming - Lecture 01
Introduction to Computer and Programming - Lecture 01Introduction to Computer and Programming - Lecture 01
Introduction to Computer and Programming - Lecture 01
 
Computer Programs & System Softwares
Computer Programs & System SoftwaresComputer Programs & System Softwares
Computer Programs & System Softwares
 
computer programing and utilization
computer programing and utilizationcomputer programing and utilization
computer programing and utilization
 
Computer hardware and software
Computer hardware and softwareComputer hardware and software
Computer hardware and software
 
Computer memory, Types of programming languages
Computer memory, Types of programming languagesComputer memory, Types of programming languages
Computer memory, Types of programming languages
 
Computer software
Computer softwareComputer software
Computer software
 
Software and hardware presentation
Software and hardware presentationSoftware and hardware presentation
Software and hardware presentation
 
Grade 7 computer software
Grade 7  computer softwareGrade 7  computer software
Grade 7 computer software
 
Unit i
Unit iUnit i
Unit i
 
Software - Introduction
Software - IntroductionSoftware - Introduction
Software - Introduction
 
Introduction To Programming in Matlab
Introduction To Programming in MatlabIntroduction To Programming in Matlab
Introduction To Programming in Matlab
 
Introduction to Computer Softwares
Introduction to Computer SoftwaresIntroduction to Computer Softwares
Introduction to Computer Softwares
 
Software and hardware
Software and hardwareSoftware and hardware
Software and hardware
 
BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2BCS 100: Introduction to Computer Science Lesson 2
BCS 100: Introduction to Computer Science Lesson 2
 
Garcia Act4 Patience
Garcia Act4 PatienceGarcia Act4 Patience
Garcia Act4 Patience
 
Introduction to Computer System
Introduction to Computer System Introduction to Computer System
Introduction to Computer System
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12
 
Input output devices
Input output devicesInput output devices
Input output devices
 
Programming for Problem Solving
Programming for Problem SolvingProgramming for Problem Solving
Programming for Problem Solving
 
Computer Software
Computer SoftwareComputer Software
Computer Software
 

Similar to L2 ch1

introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
HazardRhenz1
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cpp
meharikiros2
 
Understanding Computer Systems
Understanding Computer SystemsUnderstanding Computer Systems
Understanding Computer Systems
Ar Kyu Dee
 
Computer system
Computer systemComputer system
Computer system
RajThakuri
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptx
ummeafruz
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
Uzma1102
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptx
gaafergoda
 
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Lanie Plecerda
 
Computer
ComputerComputer
ComputerCAFE91
 
C PROGRAMING AND PC
C PROGRAMING AND PCC PROGRAMING AND PC
C PROGRAMING AND PC
4044uday
 
c and data structures first unit notes (jntuh syllabus)
c and data structures first unit notes (jntuh syllabus)c and data structures first unit notes (jntuh syllabus)
c and data structures first unit notes (jntuh syllabus)
Acad
 
C with lab
C with labC with lab
C with lab
ParveenSingh73
 
Computer systems
Computer systemsComputer systems
Computer systems
anicolepotonia
 
Vskills c developer sample material
Vskills c developer sample materialVskills c developer sample material
Vskills c developer sample material
Vskills
 
Computer software and computer network
Computer software and computer networkComputer software and computer network
Computer software and computer network
Infinity Tech Solutions
 
B.Ed class-1
B.Ed class-1B.Ed class-1
B.Ed class-1
Santhosh Thomas
 
Computer application
Computer applicationComputer application
Computer application
HilalFadlallah
 
Essential Knowledge of Computers.pptx
Essential Knowledge of Computers.pptxEssential Knowledge of Computers.pptx
Essential Knowledge of Computers.pptx
HODCSE74
 

Similar to L2 ch1 (20)

introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cpp
 
Understanding Computer Systems
Understanding Computer SystemsUnderstanding Computer Systems
Understanding Computer Systems
 
Computer system
Computer systemComputer system
Computer system
 
introductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptxintroductiontocomputerprogramming-140713205433-phpapp02.pptx
introductiontocomputerprogramming-140713205433-phpapp02.pptx
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptx
 
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)Introductiontocomputerprogramming 140713205433-phpapp02 (1)
Introductiontocomputerprogramming 140713205433-phpapp02 (1)
 
Computer
ComputerComputer
Computer
 
C PROGRAMING AND PC
C PROGRAMING AND PCC PROGRAMING AND PC
C PROGRAMING AND PC
 
CISY 105 Chapter 1
CISY 105 Chapter 1CISY 105 Chapter 1
CISY 105 Chapter 1
 
c and data structures first unit notes (jntuh syllabus)
c and data structures first unit notes (jntuh syllabus)c and data structures first unit notes (jntuh syllabus)
c and data structures first unit notes (jntuh syllabus)
 
C with lab
C with labC with lab
C with lab
 
Computer systems
Computer systemsComputer systems
Computer systems
 
Vskills c developer sample material
Vskills c developer sample materialVskills c developer sample material
Vskills c developer sample material
 
Computer software and computer network
Computer software and computer networkComputer software and computer network
Computer software and computer network
 
B.Ed class-1
B.Ed class-1B.Ed class-1
B.Ed class-1
 
Computer application
Computer applicationComputer application
Computer application
 
Essential Knowledge of Computers.pptx
Essential Knowledge of Computers.pptxEssential Knowledge of Computers.pptx
Essential Knowledge of Computers.pptx
 
Information systems software
Information systems softwareInformation systems software
Information systems software
 

Recently uploaded

一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 

Recently uploaded (20)

一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 

L2 ch1

  • 1. CSE 115: COMPUTING CONCEPTS Chapter 1: Overview of Computers and Programming
  • 2. Objectives  In this chapter you will learn about:  To learn about the different categories of computers  To understand the role of each component in a computer  To understand the purpose of an operating system  To learn the differences between machine language, assembly language, and higher level languages  To understand what processes are required to run a C program  To learn how to solve a programming problem in a careful, disciplined way  To understand and appreciate ethical issues related to
  • 3. Categories of Computers  Desktop Computer, iMac.  Hewlett Packard Laptop.  iPad.  Android phone, LG Thrill 4G.
  • 5. Terms - Quantify storage capacities
  • 6. Main Memory  A semiconductor device which stores the information necessary for a program to run.  2 types  ROM (Read Only Memory)  Contains information that is necessary for the computer to boot up  The information stays there permanently even when the computer is turned off.  RAM (Random Access Memory)  Contains instruction or data needed for a program to run  Got erased when the computer is turned off.
  • 7. Central Processing Unit (CPU)  Does most of the work in executing a program  The CPU inside a PC is usually the microprocessor  3 main parts:  Control Unit  Fetch instructions from main memory and put them in the instruction register  ALU (Arithmetic Logic Unit)  Execute arithmetic operations  Registers  Temporarily store instructions or data fetched from memory
  • 8. Storage Devices  A magnetic device used to store a large amount of information.  Store the software components or data needed for the computer to execute its tasks.  Could be “read only” or “writable”.  Example: Hard drive, CD/DVD ROM, flash drives
  • 9. Input / Output Devices  Input Devices  Accepts information from the user and transforms it to digitalcodes that the computer can process  Example: keyboard, mouse, scanner  Output Devices  An interfaceby which the computer conveys the output to the user  Example: monitor, printer
  • 10. Network Devices  Connect a computer to the other computers.  Enable the users to access data or execute programs remotely.  Example: modem, Ethernet card
  • 11. Computer Software  Operating System  Communicating with the computer user: receiving commands and carrying them out or rejecting them with an error message.  Managing allocation of memory, of processor time, and of other resources for various tasks.  Collecting input from the keyboard, mouse, and other input devices, and providing this data to the currently running program.  Conveying program output to the screen, printer, or other output device.  Accessing data from secondary storage.  Writing data to secondary storage.
  • 12. Computer Software  Application Software  Application programs are developed to assist a computer user in accomplishing specific tasks.  Word Processor  Web Browser  Messenger, etc.
  • 13. Computer Languages  Machine Language  binary number codes understood by a specific CPU  Not standard  Different machine language for each type of CPU  Assembly Language  mnemonic codes that correspond to machine language instructions
  • 14. Computer Languages  A Machine Language Program Fragment and Its Assembly Language Equivalent
  • 15. Computer Languages  High-Level Language  machine-independent programming language that combines algebraic expressions and English symbols prepared by NI, edited by MAF
  • 16. Computer Languages  Compilersoftware  that translates a high-level language program into machine language  Source file  File containing a program written in a high-level language; the input for a compiler  Syntax  Grammar rules of a programming language
  • 17. Computer Languages  Object file  file of machine language instructions that is the output of a compiler  Linker  Software that combines object files and resolves cross-references to create an executable machine language Program
  • 18. Entering, Translating, and Running a High-Level Language Program
  • 19. Flow of Information During Program Execution
  • 20. Software Development Method  Specify the problem requirements.  Analyze the problem.  Design the algorithm to solve the problem.  Implement the algorithm.  Test and verify the completed program.  Maintain and update the program.
  • 21. Professional Ethics for ComputerProgrammers  Privacy and Misuse of Data  computertheft (computerfraud) - Illegally obtaining money by falsifying information in a computer database  ComputerHacking  Virus - Code attached to another program that spreads through a computer’s disk memory, disrupting the computer or erasing information  Worm - A virus that can disrupt a network by replicating itself on other network computers
  • 22. Professional Ethics for ComputerProgrammers  Plagiarismand Software Piracy  Software piracy – Violating copyright agreements by illegally copying software for use in another computer  Misuse of a ComputerResource