Engr112 engineering orientation ii
This presentation is the property of its rightful owner.
Sponsored Links
1 / 10

ENGR112 Engineering Orientation II PowerPoint PPT Presentation


  • 85 Views
  • Uploaded on
  • Presentation posted in: General

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

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


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

Computer Architecture

  • Central Processing Unit

  • Main Memory

  • Peripheral Devices with Associated Controllers

    • Mass Storage Devices

    • Input/Output Devices


Data storage

Data Storage

  • Bit

  • Byte (8 bits)

  • Word (16 bits)

  • Double Word (32 bits)

  • Quad Word (64 bits)


Data representation

Data Representation

  • Characters

  • Numbers

    • Integer

    • Floating Point

  • Addresses

  • Instructions


Characters

Characters

  • Stored in 1 byte (8 bits)

  • ASCII Character Format

    • Standard Character Set (0 – 127)

    • Extended Character Set (128 -255)

  • EBCDIC

  • Unicode


Numbers

Numbers

  • Integer

    • 16 bits (short)

    • 32 bits (long)

  • Floating Point

    • 32 bits (float)

    • 64 bits (double)


Number systems

Number Systems

  • Binary (0-1)

  • Octal (0-7)

  • Decimal (0-9)

  • Hex (0-9, A, B, C, D, E, F)


255 decimal equals

255 Decimal Equals

  • 11111111 Binary

  • 377 Octal

  • FF Hex


C programming language

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


C programming language1

C Programming Language

  • Highly portable and machine independent

  • ANSI C approved 1989, ISO C approved 1990

  • Influenced by BCPL and B language


  • Login