Csharp_Ch1_PPT - CIPT 3310 C# 2010 for Programmers Dr....

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

View Full Document Right Arrow Icon
CIPT 3310 C# 2010 for Programmers Dr. Meng-Hung Wu
Background image of page 1

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

View Full DocumentRight Arrow Icon
Chapter 1 Topics Chapter 1 discusses the following main topics: Why Program? Computer Systems: Hardware and Software Programming Languages What Is a Program Made Of? The Programming Process Object-Oriented Programming
Background image of page 2
Why Program? Computers are tools that can be programmed to perform many functions, such as: Computers are versatile because they can be programmed. Computer Programmers implement programs that perform these functions. spreadsheets databases word processing games etc.
Background image of page 3

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

View Full DocumentRight Arrow Icon
Why Program? Aspects of a computer program that must be designed: The logical flow of the instructions The mathematical procedures The layout of the programming statements The appearance of the screens The way information is presented to the user The program’s “user friendliness” Manuals, help systems, and/or other forms of written documentation.
Background image of page 4
Why Program? Programs must be analytically correct as well. Programs rarely work the first time they are programmed. Programmers must perform the following on a continual basis: analyze, experiment, correct, and redesign. Programming languages have strict rules, known as syntax , that must be carefully followed.
Background image of page 5

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

View Full DocumentRight Arrow Icon
Computer Systems: Hardware Computer hardware components are the physical pieces of the computer. The major hardware components of a computer are: The central processing unit (CPU) Main memory Secondary storage devices Input and Output devices
Background image of page 6
Computer Systems: Hardware Central Processing Unit Instruction (input) Result (output) Arithmetic Logic Unit Control Unit CPU
Background image of page 7

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

View Full DocumentRight Arrow Icon
Computer Systems: Hardware Central Processing Unit The CPU performs the fetch, decode, execute cycle in order to process program information. Fetch The CPU’s control unit fetches, from main memory, the next instruction in the sequence of program instructions. Decode The instruction is encoded in the form of a number. The control unit decodes the instruction and generates an electronic signal. Execute The signal is routed to the appropriate component of the computer (such as the ALU, a disk drive, or some other device). The signal causes the component to perform an operation.
Background image of page 8
Computer Systems: Hardware Main Memory Commonly known as random-access memory (RAM) RAM contains: currently running programs data used by those programs. RAM is divided into units called bytes . A byte consists of eight bits that may be either on or off.
Background image of page 9

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

View Full DocumentRight Arrow Icon
Computer Systems: Hardware Main Memory A bit is either on or off: 1 = on 0 = off The bits form a pattern that represents a character or a number. Each byte in memory is assigned a unique number
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 / 53

Csharp_Ch1_PPT - CIPT 3310 C# 2010 for Programmers Dr....

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