lect01_Introduction

lect01_Introduction - Introduction Introduction CS...

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

View Full Document Right Arrow Icon
Introduction SIS1117A CS S Computer Programming I 1
Background image of page 1

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

View Full DocumentRight Arrow Icon
ontents Contents troduction to hardware and software Introduction to hardware and software Steps for running a program Layout of a C++ program Testing and Debugging c1117 lecture 1 2
Background image of page 2
troduction Introduction asic concepts Basic concepts Program: A set of instructions for a computer to follow ardware: he actual physical parts that make up a Hardware: The actual physical parts that make up a computer oftware: he collection of programs used by a computer Software: The collection of programs used by a computer Hardware (only the simple model that is sufficient r our programming purpose is mentioned) for our programming purpose is mentioned) Basic components: Central processing unit, main memory, put/output devices secondary memory input/output devices, secondary memory. c1117 lecture 1 3
Background image of page 3

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

View Full DocumentRight Arrow Icon
Output device S l Input device Power Supply Floppy Disk Drive Hard Disk CD ROM Drive PU Main Memory c1117 lecture 1 4 CPU
Background image of page 4
ardware Hardware entral Processing Unit (CPU): he rain f computer Ce t a ocess g U t (C U) te ba oc o p u t e use to perform basic operations like simple calculation A Pentium chip Main memory: For temporary storage of data & y py g information The information will be lost when the computer is switched off c1117 lecture 1 5
Background image of page 5

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

View Full DocumentRight Arrow Icon
ardware Hardware put/output device: llow computer to mmunicate Input/output device: allow computer to communicate information with users. e.g keyboard, mouse, monitor, speaker, printer Secondary memory: For permanent storage of data & information in units of files e.g. hard disk, ssd (solid-state drives) DVD/CD ROM, memory stick The information will NOT be lost even after turning off the computer c1117 lecture 1 6
Background image of page 6
ardware Hardware put utput CPU Input devices Output devices Main memory Secondary c1117 lecture 1 7 memory
Background image of page 7

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

View Full DocumentRight Arrow Icon
oftware Software oftware at are frequently encountered in Software that are frequently encountered in programming perating system Command prompt Editor Compiler Operating system, Command prompt, Editor, Compiler, Debugger perating System Operating System A program that is running as long as the computer is on acts as a manager to ordinate e sources f a It acts as a manager to coordinate the resources of a computer e.g. read data from disk, execute programs. c1117 lecture 1 8
Background image of page 8
perating System (OS) Operating System (OS) provides raphical user interface (GUI) r users to It provides graphical user interface (GUI) for users to perform basic tasks easily e.g. controlling the printer, facilitating networking and managing files. Common OS: Windows, DOS, UNIX, Linux, MacOS.
Background image of page 9

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

View Full DocumentRight Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 05/04/2011.

Page1 / 28

lect01_Introduction - Introduction Introduction CS...

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

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