CS2 - Practical Bifocal Computer Science HSC
CS2 - Practical Bifocal Computer Science HSC
PAGE NO
Experi ment, lo 1
3 OR Gate OR Gate
Taruth table :
a IDaicTf A s mu Ox 6 is mu taan Yis ne
YA+s b Cambinatians of iapus
A Y A+B S
EX O Grat e
32EX-DR Gate
a Laaie TA is true Bis tnebut nnt baih;
Truth +able:
hen Y is mu
Y A8 Y: AOB bCanhinatiansDf Inats
case1 T£ A:0, =0then As 000 D
O Case 2: Tf A-0, 6-then A®B 0 =1
Boalean Equaion : AOR Cae3 Tf A=l, 80S t n B 100 =
Y- B+AB Case : TA , 8= then AO8 1
DATE:
PAGE NO:
Experimevut No. 3
e TE Aand S o, then-
LYS A+6
RHS A 6 T. o.1 O
Caue4 Tf A=1 and B hen
LHS 8 1t= T
RHS AB 1T 0.0 d
DATE:
PAGE N
Experiment NO 4
caRe 2 H A0 ancd8=Lthen=
LHS = AB =
.1=
RHS = A +B = 0+1 +0=1
RHS A+ T+D 0+ =1
it sina6
AND using NANO
bTruth Table
Lambination of inputs:
Case :#A:0, 8-0, then cage 2 f A-oB:í Hwn
O
|LHS 66 0.0 =O HS AB O.
lenr, Eoon
RHSA:6 O:6-0 RHS A:B =. 0
Cse 3: Tf A=,G-0: ten case 4 Tf A=1, 8 l then
O
O
A 8 1:0 0
Drt
Aim Loq C diaaram hol ubtroctor.
Orite the truth 4able_and bosle an eauahicn
a) Jogic dia4Yam Also calculteeach coubinaian nic m
A B
SABOG
Conbinations nt inpus
caue 1Tf A:0 B-0, C= 0 Haen
S : A BOC =o 0 0 =O_
O+0+0 - O
C= AB+ BC* AC = 0.0 O0+O.O =
bBoolean esmai on
AC
Corry= C =
AB t BC +
ABB0 c thon
Sum S
cage 2: Tf A= 0, 8-0, C=1
S AO80c = 0 0 I = 1
0.0t0.l +0.1= 0+0 +0 -
A B C Carry C Sum
(s) Cage 3: I f A=0, 8 l C 0 Hhen
0 S A8C = 0 1 0
+ 10+ . d 0+0+0 = O
O C AB-+ BC+AC =O =
0
cage4 T A:0, 8-1, C=15 hen
S A8c oO11 o
AB+ eC+Ac =O« + 11 +0.1 0t 1+0 =
C
aFul Subttoctor
Do
Bout AB+ Ain+8.8n
A fl subhractori a tombinatono) catt that
perforns Subhrachibn inunlvina thoebit ian
A(minue/nd)£ (Suhtrahendand BtnEormi-1n).
B.ein Ano ta0 Outputs as D (dfference) andBut Esrni-nu
A O8
bCobinahions inpuds i
D: A@B Bin Cose 1 If A:0, B=0 B:0 then