Instructions
Please
read the following instructions carefully before solving & submitting
assignment:
It should be clear that
your assignment will not get any credit (zero marks)
if:
·
The assignment is
submitted after due date.
·
The submitted assignment is other than .doc or .docx file.
·
The submitted assignment does NOT open or file is
corrupted.
·
The assignment is copied (from other student or ditto copy
from handouts or internet).
Uploading instructions
·
For clarity and simplicity, you are required to Upload/Submit only .doc or .docx file.
Objective
The objective of this assignment is:
·
To understand the practical implementation of decimal data
conversion into binary data conversion.
·
To understand the basic concept of
fundamentals gates and how to use it to solve a problem.
For
any query about the assignment, contact at cs101@vu.edu.pk
Note:
No assignment will be
accepted after the due date via email in any case (whether it is the
case of load shedding or internet malfunctioning etc.). Hence refrain from
uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its
closing date.
Q.1: Convert the numeric part of your student id into binary number system.
For example, if your student id is:
B
|
C
|
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
Remove the alphabetic data from your student id, the remaining id
will be:
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
Now the numeric portion
of the student id “123456789” should be converted into binary number system.
Note: You must convert the numeric
portion of your own student id. If any other number or other student id is
converted, then zero marks will be awarded.
Q.2:Complete the following
truth table for the given logical expression.
U
|
V
|
W
|
U+V+W
|
|||||||
0
|
0
|
0
|
|
|
|
|
|
|
|
|
0
|
0
|
1
|
|
|
|
|
|
|
|
|
0
|
1
|
0
|
|
|
|
|
|
|
|
|
0
|
1
|
1
|
|
|
|
|
|
|
|
|
1
|
0
|
0
|
|
|
|
|
|
|
|
|
1
|
0
|
1
|
|
|
|
|
|
|
|
|
1
|
1
|
0
|
|
|
|
|
|
|
|
|
1
|
1
|
1
|
|
|
|
|
|
|
|
|
No comments:
Post a Comment