Вы находитесь на странице: 1из 1

The City School

Boys Campus North Nazimabad


Computer Science (2210)

Grade-10
WorkSheet-2
Teacher: Sr. Nisar

Date: 13-6-2015

Q1.Convert the following decimals in to binary and store it in to 10 bit register, also show padding if any.
Note: (Convert decimal part up till five steps)

i)

(78)10

`ii)

(27.41)10

Q2.Convert the following binary into decimal


i) (10110)2

ii)

(1001011)2

Q3. A digital clock is controlled by the microprocessor. It uses the 24 hours clock system (I.e. 1:00 pm is 13:00)
Each digit in a typical display is represented by a 4-digit binary code.
(a) Convert the displayed time in the 4-digit binary code and store it in to 4 bit register.
2

(b) What time is showed on the clock display if the 4-digit binary codes are?
0

Q4.Convert the following decimals in to binary and store it in to 10 bit register, also show padding if any.
Note: (Convert decimal part up till five steps)

i)

(51)10

`ii)

(41.27)10

Q5.Convert the following binary into decimal


i) (10101)2

ii)

(1000111)2

Q6. A digital clock is controlled by the microprocessor. It uses the 24 hours clock system (I.e. 1:00 pm is 13:00)
Each digit in a typical display is represented by a 4-digit binary code.
(a) Convert the displayed time in the 4-digit binary code and store it in to 4 bit register.
1

(b) What time is showed on the clock display if the 4-digit binary codes are?
0

Вам также может понравиться