1 / 57

Chapter 1 Introduction to Computers

Chapter 1 Introduction to Computers. Maran Illustrated Computers CIS 102. Hardware. Software. Getting Help. How Computers Work in General. Input devices. Process (CPU). Output. Storage device. Data representation in Bytes. Computer Memory.

Télécharger la présentation

Chapter 1 Introduction to Computers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 1 Introduction to Computers Maran Illustrated Computers CIS 102

  2. Hardware

  3. Software

  4. Getting Help

  5. How Computers Work in General

  6. Input devices

  7. Process (CPU)

  8. Output

  9. Storage device

  10. Data representation in Bytes

  11. Computer Memory • Memory is comprised of a large collection of bi-state (off/on) electrical devices called bits (binary digits) • A single bit can assume the value 0 or 1. • A single bit is not sufficient to represent all data ; therefore, it is necessary to use a sequence of bits.

  12. Computer Memory • How many bits are needed in a bit pattern to represent a symbol in a language? • A bit pattern of size 1 can represent two different pieces of information. For example, to represent pass / fail we could use 0 - Fail 1 - Pass

  13. Binary system • The binary system is based on 2. • There are only two digits: 0 and 1 • We convert a number from binary to decimal by multiplying each binary digit by its corresponding power of 2. i.e. Multiply the bit at position n (n = 0, 1, 2, …) by

  14. Figure 3-1 Decimal system

  15. Figure 3-2 Binary system

  16. Binary system Binary to Decimal Conversion Binary number

  17. Figure 3-3 Binary to decimal conversion

  18. Exercises • Convert the binary number 10011 to decimal. • Convert the binary number 1110101 to decimal.

  19. Example 1 Convert the binary number 10011 to decimal. Solution Write out the bits and their weights. Multiply the bit by its corresponding weight and record the result. At t Write out the bits and their weights. Multiply the bit by its corresponding weight and record the result. At the end, add the results to get the decimal number. Binary 1 0 0 1 1Weights 16 8 4 2 1 ------------------------------------- 16 + 0 + 0 + 2 + 1

  20. Exercises • Convert the decimal number 35 to binary. • Convert the decimal number 327 to binary.

  21. Octal Digit------------ 0 1 2 3 Bit Pattern------------ 000 001 010 011 100 101 110 111 4 5 6 7 Base 8 (Octal ) Valid digits: 0, 1, 2, 3, 4, 5, 6, 7

  22. Bit Pattern------------ 0000 0001 0010 0011 0100 0101 0110 0111 Hex Digit------------ 0 1 2 3 4 5 6 7 Bit Pattern------------ 1000 1001 1010 1011 1100 1101 1110 1111 Hex Digit------------ 8 9 A B C D E F Base 16 - Hexadecimal Valid digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F

  23. Converting from base 2 to hexadecimal • To convert from base 2 to hexadecimal • Organize the stream of binary digits into groups of four. • Find the hexadecimal value for each group of 4 bits. 10010010111000011010 1001 0010 1110 0001 1010 9 2 E 1 A

  24. Converting from hexadecimal to base 2 • To convert from hexadecimal (base 16) to base 2 Convert each digit to its 4-bit equivalent. 9 2 E 1 A 1001 0010 1110 0001 1010

  25. Binary to hexadecimal and hexadecimal to binary transformation

  26. Exercises • Show the hexadecimal equivalent of the bit pattern 1100 1110 0010. • Show the hexadecimal equivalent of the bit pattern 0011100010. • What is the bit pattern for 2675 base 16? • What is the bit pattern for B51E base 16?

  27. Review number systems • Review base 10 • Review base 2 (binary) • Review base 16 (hexadecimal) • Convert from decimal to binary • Convert from binary to decimal • Convert between binary and Hexadecimal • See notes for links covering these topics

  28. Types of computers

  29. Surge Protector

  30. UPS

  31. Monitor Port

  32. Sound Ports

  33. Modem port

  34. Ethernet (Network) Port

  35. USB port

  36. Firewire port

  37. Daisy chaining

  38. Plug and Play

  39. Adding ports to your computer

  40. Expansion slots

  41. Connect devices

  42. High-End video

  43. Firewire or USB 2.0

  44. High-End Sound

More Related