1 / 10

ENGR112 Engineering Orientation II

Instructor: Diana Schab Text: C Programming for Engineering and Computer Science by H.H.Tan Course Web Site: http://www.socc.edu/faculty/dschab/index.html. ENGR112 Engineering Orientation II. Computer Architecture. Central Processing Unit Main Memory

libby
Download Presentation

ENGR112 Engineering Orientation II

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. Instructor: Diana Schab Text: C Programming for Engineering and Computer Science by H.H.Tan Course Web Site: http://www.socc.edu/faculty/dschab/index.html ENGR112 Engineering Orientation II

  2. Computer Architecture • Central Processing Unit • Main Memory • Peripheral Devices with Associated Controllers • Mass Storage Devices • Input/Output Devices

  3. Data Storage • Bit • Byte (8 bits) • Word (16 bits) • Double Word (32 bits) • Quad Word (64 bits)

  4. Data Representation • Characters • Numbers • Integer • Floating Point • Addresses • Instructions

  5. Characters • Stored in 1 byte (8 bits) • ASCII Character Format • Standard Character Set (0 – 127) • Extended Character Set (128 -255) • EBCDIC • Unicode

  6. Numbers • Integer • 16 bits (short) • 32 bits (long) • Floating Point • 32 bits (float) • 64 bits (double)

  7. Number Systems • Binary (0-1) • Octal (0-7) • Decimal (0-9) • Hex (0-9, A, B, C, D, E, F)

  8. 255 Decimal Equals • 11111111 Binary • 377 Octal • FF Hex

  9. C Programming Language • Developed in early 1970’s by Dennis Ritchie at Bell Labs (now Lucent Technologies) • Developed to replace assembly language for creating system software

  10. C Programming Language • Highly portable and machine independent • ANSI C approved 1989, ISO C approved 1990 • Influenced by BCPL and B language

More Related