CvLTAELG1AAv7GMjp8RSaPGsvS8 CS101 Assignment 1 Solution Fall 2012 (07 November 2012) |
Thursday , 20 June 2019
Virtual University New old assignments, papers, GDB, Quizzez
Newest Assignments
You are here: Home - CS101 - CS101 Assignment 1 Solution Fall 2012 (07 November 2012)

CS101 Assignment 1 Solution Fall 2012 (07 November 2012)

Question No 1:                                       Marks 5

 Distinguish the following as: input, output, processing, communication and storage devices:

  • Microphone CPU
  • Digital pen
  • Modem
  • CD/DVD disc
  • Speakers
  • Touch pad
  • Multimedia Projector
  • Network Adapter
  • USB flash drive

Question No 2:                              Marks 10

Convert the following:

a)      (410)10 decimal number into its equivalent binary number (5 Marks)

b)      (101101)2 binary number into its equivalent decimal number. (5 Marks)

 Solution is Given Below

Slution Question 1

  • Microphone                                   (output)
  • CPU
  • Digital pen                                       (input)

  • Modem                                             (communication)
  • CD/DVD disc                                  (storage)
  • Speakers                                          (output)
  • Touch pad                                       (input)
  • Multimedia Projector                (output)
  • Network Adapter                         (communication)
  • USB flash drive                             (storage)
Solution Question 2 (a)
2 205
2 102 1
2 51 0
2 25 1
2 12 1
2 6 0
2 3 0
1 1


 (11001101)2

Solution Question 2 (b)

(1×25 )+( 0x24 )+ (1×23 )+( 1×22 )+ (0x21 )+ (1×20 )

= (1 x 32) + (0 x 16)+ (1 x 8)+ (1 x 4)+ (0 x 2) +( 1 x 1)

= 32 + 0 + 8 + 4 + 0 + 1

= (45)10

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*