Lecture Slides on Computer System Design unit 1


Download 293.03 Kb.
bet1/4
Sana23.03.2023
Hajmi293.03 Kb.
#1287852
  1   2   3   4
Bog'liq
SOC2040 SP WEEK 3 LECTURE SLIDES ON DATA REPRESENTATION SPRING 2023

INHA UNIVERSITY TASHKENT SPRING SEMESTER 2023 SOC 2040 SYSTEM PROGRAMMING CREDITS/HOURS PER WEEK : 3/3 COURSE TYPE : TECHNICAL CORE SEQUENCE INSTRUCTOR DR. A. R. NASEER HEAD & PROFESSOR OF COMPUTER SCIENCE & ENGG

SOC 2040 SYSTEM PROGRAMMING

WEEK 3 LECTURE

DATA REPRESENTATION

OFFLINE CLASS RULES

OFFLINE CLASS RULES

TO BE FOLLOWED VERY STRICTLY

    • BE PRESENT IN THE CLASS ATLEAST 5 MINUTES BEFORE THE START OF THE CLASSES
    • STUDENTS LATE BY MORE THAN 5 MINUTES WILL NOT BE ALLOWED TO ENTER THE CLASS
    • USE OF CELLPHONES & LAPTOPS STRICTLY PROHIBITED INSIDE THE CLASS
    • CELL PHONES & LAPTOPS SHOULD NOT BE KEPT ON THE DESK
    • CELLPHONES SHOULD BE KEPT EITHER IN YOUR POCKET OR BACKPACK/BAG YOU CARRY
    • SLEEPING IN CLASS IS TOTALLY PROHIBITED
    • BRING A NOTE BOOK FOR THIS COURSE AND MAKE NOTES IN THIS BOOK DURING THE CLASS
    • NO DRINKING & NO EATING IS ALLOWED IN CLASS (PLEASE NOTE THAT CLASSROOM IS NOT CANTEEN)

Lecture Outline

  • Representing information as bits
    • Bit-level manipulations
  • Integers
  • Representations in memory, pointers, strings
  • Real Number Representation
  • Reading Assignment

INFORMATION REPRESENTATION AS BITS

NUMBER SYSTEMS

BINARY, HEXADECIMAL & OCTAL

Everything is bits

  • Each bit is 0 or 1
  • By encoding/interpreting sets of bits in various ways
    • Computers determine what to do (instructions)
    • … and represent and manipulate numbers, sets, strings, etc…
  • Why bits? Electronic Implementation
    • Easy to store with bistable elements
    • Reliably transmitted on noisy and inaccurate wires

0.0V
0.2V
0.9V
1.1V
0
1
0

Download 293.03 Kb.

Do'stlaringiz bilan baham:
  1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling