c programming - CSEB114: Principle of Programming Click to...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Click to edit Master subtitle style 6/1/11 CSEB114: Principle of Programming Chapter 1: Introduction to Computer and Programming
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6/1/11 Objectives In this chapter you will learn about: Overview of PC components The different types of language Natural Language Formal Language Functional / Imperative Language Programming Languages C as an imperative language C program at a glance
Background image of page 2
6/1/11 Section 1 Revision Session: Overview of PC Components
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6/1/11 Computer Hardware Components Components of a PC
Background image of page 4
6/1/11 Input / Output Devices Input Devices Accepts information from the user and transforms it to digital codes that the computer can process Example: keyboard, mouse, scanner Output Devices An interface by which the computer conveys the output to the user Example: monitor, printer
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6/1/11 Input / Output Devices Accepts information from the user and transforms it to digital codes that the computer can process Input Device Informa tion
Background image of page 6
6/1/11 Input / Output Devices An interface by which the computer conveys the output to the user Output Device Informa tion
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6/1/11 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.
Background image of page 8
6/1/11 {180AFD5D-5878-439C-97BD-0B18E4353EF2} Control Unit {A9859373-752 -4209-A1 0-D3FC83AF62 6} ALU {F87F B48-7C61-461C-A609-7B032D505DD7} Registers {4DBC6CAD-2179-4953-8C9A-F5F6C8F1D2DE} CPU Central Processing Unit (CPU) Does most of the work in executing a program The CPU inside a PC is usually the Temporarily store instructions or data fetched from memory Execute arithmetic operations Fetch instructions from main memory and put them in
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6/1/11 Storage Devices A magnetic device used to store a large amount of information.
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 35

c programming - CSEB114: Principle of Programming Click to...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online