Main

Showing posts with label cs302. Show all posts
Showing posts with label cs302. Show all posts

Monday, 26 November 2012

CS302 Assignment No. 2 Solution fall 2012



CS302 fall 2012-Assignment No. 2

Due Date:Your assignment must be uploaded/submitted before or on 03 Dec, 2012.

Total Marks: 20

Solution: Coming Soooooooooon.............!

Objective:
The objective of this assignment is to prepare students to familiar with the solution of real life problems using Boolean expressions. This assignment involves the understanding of mapping truth table to k-map, deriving Boolean expressions from k-map and finally implementing simplified Boolean expressions using logic gates

Problem Statement

You have to design an electronic system. In this system you have four on/off switches S1, S2, S3, and S4 as input and two light bulbs (Red and blue) on out put as shown in block diagram below.
 

                     S1                                                                       RED

                    S2

                     S3
                                                                                               Blue
                    S4

This electronic system should work on the following conditions.
1. Bulb Red should be ON if switches S1 and S3 are ON
2. Bulb Blue should be ON if switches S2 and S4 are ON
3. Both the bulbs should remain OFF in any other condition

“You have to first draw the truth table of whole system then after calculating the boolean expression for each bulb, draw the circuit diagram for each bulb”

CS302-QUIZ -1 15-11-2012


BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     89
sec(s)    
Question # 1 of 20 ( Start time: 10:28:16 PM )     Total Marks: 1
A standard SOP form has __________ terms that have all the variables in the domain of the expression.
Select correct option:
    Sum
    Product
    Max
    Composite

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     89
sec(s)    
Question # 2 of 20 ( Start time: 10:28:36 PM )     Total Marks: 1
the boolean expression AB'CD'is
Select correct option:
    a sumterm
    a product term
    a literal term
    always 1

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     11
sec(s)    
Question # 3 of 20 ( Start time: 10:30:04 PM )     Total Marks: 1
Adjacent 1s detector circuit will have active high output for the input
Select correct option:
    0101
    1010
    0011
    0001

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     60
sec(s)    
Question # 5 of 20 ( Start time: 10:32:47 PM )     Total Marks: 1
_________ is the example of Commutative Law for Multiplication
Select correct option:
    AB=BA
    A+B=B+A
    AB+C = A+BC
    A(B+C) = B(A+C)

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     77
sec(s)    
Question # 8 of 20 ( Start time: 10:35:49 PM )     Total Marks: 1
Which one of the following is NOT a valid rule of Boolean algebra?
Select correct option:
    A + 1 = 1
    A = A'
    AA = A
    A + 0 = A

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     73
sec(s)    
Question # 9 of 20 ( Start time: 10:36:07 PM )     Total Marks: 1
A standard POS form has __________ terms that have all the variables in the domain of the expression.
Select correct option:
    Sum
    Product
    Min
    Composite

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     68
sec(s)    
Question # 10 of 20 ( Start time: 10:36:30 PM )     Total Marks: 1
A SOP expression having a domain of 3 variables will have a truth table having ____ combinations of inputs and corresponding output values.
Select correct option:
    2
    4
    8
    16

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     59
sec(s)    
Question # 11 of 20 ( Start time: 10:36:58 PM )     Total Marks: 1
A + B = B + A is __________
Select correct option:
    Demorgan’s Law
    Distributive Law
    Commutative Law
    Associative Law

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     61
sec(s)    
Question # 12 of 20 ( Start time: 10:37:35 PM )     Total Marks: 1
Sum term (Max term) is implemented using ________ gates
Select correct option:
    OR
    AND
    NOT
    OR-AND

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     19
sec(s)    
Question # 15 of 20 ( Start time: 10:39:34 PM )     Total Marks: 1
(A+B).(A+C) = ___________
Select correct option:
    B+C
    A+BC
    AB+C
    AC+B

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     59
sec(s)    
Question # 18 of 20 ( Start time: 10:42:21 PM )     Total Marks: 1
The 4-variable Karnaugh Map (K-Map) has _______ cells for min or max terms
Select correct option:
    4
    8
    12
    16

BC090201078 : Waqas



Quiz Start Time: 10:28 PM    
Time Left     53
sec(s)    
Question # 20 of 20 ( Start time: 10:43:05 PM )     Total Marks: 1
A.(B + C) = A.B + A.C is the expression of _________________
Select correct option:
    Demorgan’s Law
    Commutative Law
    Distributive Law
    Associative Law

MC100400431 : Zaheer Abbas



Quiz Start Time: 10:45 PM    
Time Left     73
sec(s)    
Question # 1 of 20 ( Start time: 10:45:14 PM )     Total Marks: 1
A product term is 0 when_______________.
Select correct option:
    Any one literal is a 0
    Any of the literals is 1
    At least two literals are 1
    All the literals are 1

MC100400431 : Zaheer Abbas



Quiz Start Time: 10:45 PM    
Time Left     76
sec(s)    
Question # 5 of 20 ( Start time: 10:46:16 PM )     Total Marks: 1
The complement of a variable is always
Select correct option:
    0
    1
    equal to the variable
    the inverse of the variable

MC100400431 : Zaheer Abbas



Quiz Start Time: 10:45 PM    
Time Left     76
sec(s)    
Question # 11 of 20 ( Start time: 10:49:14 PM )     Total Marks: 1
The boolean expression X = AB + CD represents
Select correct option:
    two ORs ANDed together
    a 4-input AND gate
    two ANDs ORed together
    an exclusive-Or

MC100400431 : Zaheer Abbas



Quiz Start Time: 10:45 PM    
Time Left     29
sec(s)    
Question # 13 of 20 ( Start time: 10:50:05 PM )     Total Marks: 1
A 5-variable karnaugh map has
Select correct option:
    sixteen cells
    thirty two cells
    sixty-four cells
    None of these

MC100400431 : Zaheer Abbas



Quiz Start Time: 10:45 PM    
Time Left     76
sec(s)    
Question # 14 of 20 ( Start time: 10:51:12 PM )     Total Marks: 1
the boolean expression A + B' + C is
Select correct option:
    a sum term
    a literal term
    a product term
    a complemented term