HARRAN UNIVERSITY

DEPARTMENT OF COMPUTER ENGINEERING

0504305 INTRODUCTION TO COMPUTER SCIENCE

HOMEWORK #1

Due Date: Tuesday, 26/02/2008

HW will be prepared in English on A4 paper

1. Number Systems: Binary,Decimal,Hexadecimal and Octal Numbers

Calculete the values of the numbers in desired number system.

(175) 10 = ( ? ) 2 = ( ? ) 8 = ( ? ) 16

(ABCD) 16 = ( ? ) 2 = ( ? ) 8 = ( ? ) 10

(1100 1011 0011 0110) 2 = ( ? ) 8 = ( ? ) 10 = ( ? ) 16

2.Arithmetical operations in Binary number systems

Make the calculations given below in Binary number systems. Check each result for Carry and Borrow.Explain the results.

  5-4=? (3 bit)                                             10-13=? (5 bit)

3+2=? (3 bit)                                          20+14=? (5 bit)

3.Definitions
 What  are Digital and Analog signal?

Why do we use Binary system in computer?