From: α∂мιη●●gяєу_ƒєяяу●● <greyferry@gmail.com>
Date: 2011/1/5
Subject: ::::|| VU Askari ||:::: Re: CS302 ASSGNMENT IDEA SOLUTION BY ADMIN BINISH AWAIS --- DONT FORGET TO COMMENT PLZ
To: askarivu@googlegroups.com
Cs302 idea solution by Admin Binish Awais
don't copy juts get the idea
Question_1: [marks: 14]
Solution:
and the corresponding truth table is:
Truth table for JK flip_flop by admin Binish Awais | |||
J | K | Qnext | Comment |
0 | 0 | Qprev | hold state |
0 | 1 | 0 | reset |
1 | 0 | 1 | set |
1 | 1 | Qprev | toggle |
Question_2: [marks: 6]
Provide to-the-point (max 4 to 5 lines) answer to the following:
§ What is the main difference between a gated S-R latch and an edge-triggered S-R flip-flop?
Solution:
There is no real difference.
1- A latch only uses one output
whereas a flip-flop has two.
2-In a latch one of the inputs
is used as a set.
The second is used as a reset.
3-In a flip-flop the first input sets the first output and resets the
second. The second input resets the first output and sets
the second.
4-A number os flipflops are often used as a part of a (shift)
register. Then both outputs are used and the shift is made
by a clockpulse.
5- A flip-flop (and thus a latch) can be edge triggered or
level-triggered. This depends on the internal structure of
the IC.
Q#no3
Solution:
§ How many flip-flops are required to produce a divide-by-32 device?
Solution:
32=2^5 => 5 bit longNumber divisible is 2*5=10 bit longQuotient & Remainder both are 5 bit eachso total 25 flip-flops at least (+ may be some other auxilliary register also)
Cs302 idea solution by Admin Binish Awais
don't copy juts get the idea
Question_1: [marks: 14]
Solution:
and the corresponding truth table is:
Truth table for JK flip_flop by admin Binish Awais
J
K
Qnext
Comment
0
0
Qprev
hold state
0
1
0
reset
1
0
1
set
1
1
Qprev
toggle
Question_2: [marks: 6]
Provide to-the-point (max 4 to 5 lines) answer to the following:
§ What is the main difference between a gated S-R latch and an edge-triggered S-R flip-flop?
Solution:
There is no real difference.
1- A latch only uses one output
whereas a flip-flop has two.
2-In a latch one of the inputs
is used as a set.
The second is used as a reset.
3-In a flip-flop the first input sets the first output and resets the
second. The second input resets the first output and sets
the second.
4-A number os flipflops are often used as a part of a (shift)
register. Then both outputs are used and the shift is made
by a clockpulse.
5- A flip-flop (and thus a latch) can be edge triggered or
level-triggered. This depends on the internal structure of
the IC.
Q#no3
Solution:
§ How many flip-flops are required to produce a divide-by-32 device?
Solution:
32=2^5 => 5 bit longNumber divisible is 2*5=10 bit longQuotient & Remainder both are 5 bit eachso total 25 flip-flops at least (+ may be some other auxilliary register also)
--m proactive person
--
m proactive person
--
"Zalimon per Allah ki Laanat" (And we think Hackers when working against any one with negative attitude or to destroy some one, is also doing Zulm.)
Please visit www.vuaskari.com, get registered for old papers, quiz, assignments and GDBs...
You received this message because you are subscribed to the Google
Groups "VU ASKARI" group.
To post to this group, send email to vu-askari@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/askarivu?hl=en?hl=en
http://groups.google.com/group/vu-askari?hl=en?hl=en
--
| |||||
MBA -III (Finance Group) |
اللہ آپ کو آسانیاں عطا فرمائے۔
جزاكم الله خيرا وأحسن الجزاء في الدنيا والأخرة
--
You received this message because you are subscribed to the Google Groups "Virtual University of Pakistan" group.
To post to this group, send email to discussion_vu@googlegroups.com.
To unsubscribe from this group, send email to discussion_vu+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/discussion_vu?hl=en.
No comments:
Post a Comment