Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSCE101 – 4.1, 4.2 and Number Systems October 5 & 10, 2006.

Similar presentations


Presentation on theme: "CSCE101 – 4.1, 4.2 and Number Systems October 5 & 10, 2006."— Presentation transcript:

1 CSCE101 – 4.1, 4.2 and Number Systems October 5 & 10, 2006

2 Study Tree Part II Computer as a State Machine (4.1+) Binary Numbering System And Computing (4.2+) Number System Conversions

3 4.1 Microchips, Miniaturization & Mobility Transistor – key component in all modern electronics Vacuum tubes to discrete transistors to integrated circuitry Transistors –Modulate electric current –Act as switches Integrated circuit – chip, contains other circuitry to control current

4 4.1 Microchips – cont. Microchip or chip contain millions of circuits (interconnections of electronic components) Circuitry is solid-state Circuitry is embedded on silicon Silicon is a semi-conductor Photolithography etches the circuit design onto a wafer in layers Wafer is cut into chips Chips are mounted in a protective frame

5 4.1 Microchips – cont. Different kind of chips – RAM, ROM, CPU Circuitry is designed differently for various chips All are sets of transistors (switches) in on/off state at any given instant (panels of blinking lights, anemones) Computer is a state machine – runs through a series of states to produce result.

6 System to represent the state machine On-off, x-y, 1-0 Number systems –Decimal –Base 20 –Octal –Hexadecimal (Web pages, URLs) –Binary

7 In the machine… Using binary to represent all of the following: –Data and Information (Numbers and Letters) –Instructions –Arithmetic operations –Logical operations –Error-checking (Parity Checking) Bit, byte, kilobyte, megabyte, gigabyte, terabyte, petabyte

8 Representations Data and Information –Numbers –EBCDIC –ASCII –UNICODE BinaryDecHexGlyph 0100 00006440@ 0100 00016541A 0100 00106642B

9 Representations Data and Information –Numbers –EBCDIC –ASCII –UNICODE Instructions –Each processor has its own representation of instructions (its own machine language) –For example adding the registers 1 and 2 and placing the result in register 6 is encoded: [ op | rs | rt | rd |shamt| funct] 000000 00001 00010 00110 00000 100000 binary 0 1 26 0 32 decimal

10 Conversions Binary to Decimal Binary to Hexadecimal Hexadecimal to Decimal Hexadecimal to Binary Decimal to Binary Decimal to Hexadecimal

11 Representations (continued) Binary arithmetic –Addition –Subtraction Binary (Boolean) Logic –George Boole –Claude Shannon –Propositional Logic =if(B16>600, “Car payment can be made”, “Car payment cannot be made”)

12 System Unit 1.Display 2.Motherboard 3.CPU (Microprocessor) 4.Primary storage (RAM) 5.Expansion cards 6.Power supply 7.Optical disk drive 8.Secondary storage (HD) 9.Keyboard 10.Mouse


Download ppt "CSCE101 – 4.1, 4.2 and Number Systems October 5 & 10, 2006."

Similar presentations


Ads by Google