数字逻辑试题及答案1
一、填空:(每空1分,共20分)
1、(20.57)=( )8 16
2、(63.25) = ( )102
3、(FF)= ( )1610
4、[X]=1.1101,真值X= __________,[X]= ___________。 原补
5、[X]=0.1111,[X]= _____________。 反补
6、-9/16的补码为_________________,反码为_______________。
7、已知葛莱码为1000,二进制码为___________________,
已知十进制数为92,其余三码为___________________。
8、时序逻辑电路的输出不仅取决于当时的________,还取决于电路的 ________ 。
9、逻辑代数的基本运算有三种,它们是________ 、________ 、_________ 。
10、,其最小项之和形式为______________________。 F,A,B,1
11、RS触发器的状态方程为________________,约束条件为______________。
12、已知F1,AB,AB、F2,AB,AB,则两式之间的逻辑关系为________________。
13、触发器的CP时钟端不连接在一起的时序逻辑电路称之为_______步时序逻辑电路 。 二、简答题(20分)
1、列出设计同步时序逻辑电路的步骤。(5分)
2、化简 (5分) F,AB,ABC,A(B,AB)
3、
以下电路,其中RCO为进位输出。(5分)
4、下图为PLD电路,在正确的位置添 * , 设计出函数。(5分) F,A,B
三、分析题(30分)
1
1、分析以下电路,说明电路功能。(10分)
2、分析以下电路,其中X为控制端,说明电路功能。(10分)
3、分析以下电路,说明电路功能。(10分)
四、设计题(30分)
1、 设计一个带控制端的组合逻辑电路,控制端X=0时,实现,控制端X=1F,A,B
F,AB时,实现,用与非门及反相器实现。(15分)
2、用D触发器设计一个0110序列检测器,X为序列输入,Z为检测输出,其关系如下。(15分)
X:1011010110110
Z:0000100001000
数字逻辑试题1答案
一、填空:,每空1分~共20分,
2
1、(20.57)=( 10.BC )2、(63.25) = ( 111111.01 )3、(FF)= ( 255 )8 16 102 1610 ,、[X]=1.1101,真值X= -0.1101,[X]= 1.0011。,、[X]=0.1111,[X]= 0.1111。 原补反补
,、-9/16的补码为1.0111,反码为1.0110 。7、 已知葛莱码1000,其二进制码为1111,
已知十进制数为92,余三码为1100 0101
,、时序逻辑电路的输出不仅取决于当时的输入,还取决于电路的状态 。 9、逻辑代数的基本运算有三种,它们是_与_ 、_或__、_非_ 。 10、,其最小项之和形式为_ 。F,AB,AB F,A,B,1
Q,S,RQ11、RS触发器的状态方程为__,约束条件为。 SR,0n,1n
12、已知、F2,AB,AB,则两式之间的逻辑关系相等。 F1,A,B
_步时序逻辑电路 。 13、将触发器的CP时钟端不连接在一起的时序逻辑电路称之为_异二、简答题,20分,
1、列出设计同步时序逻辑电路的步骤。(5分)
答:(1)、由实际问题列状态图(2)、状态化简、编码
(3)、状态转换真值
、驱动表求驱动方程、输出方程
(4)、画逻辑图(5)、检查自起动
2、化简(5分) F,AB,ABC,A(B,AB)
答: F,0
3、分析以下电路,其中RCO为进位输出。(5分)
答:7进制计数器。
F,A,B4、下图为PLD电路,在正确的位置添 * , 设计出函数。(5分)
3
5分 注:答案之一。 三、分析题,30分,
1、分析以下电路,说明电路功能。(10分)
X,m(3,5,6,7), 2分 解:
Y,m(1,2,4,7),
该组合逻辑电路是全加器。以上8分
2、分析以下电路,其中X为控制端,说明电路功能。(10分)
F,X,ABC,X,ABC,XABC,XABC,XABC,XABC解: 4分
4
F,X(A,B,C),X(ABC,ABC) 4分 所以:X=0 完成判奇功能。
X=1 完成逻辑一致判断功能。 2分 3、分析以下电路,说明电路功能。(10分)
J,QK,K,1J,Q010110解: (1)、 , , 3分
Q,QQ1n,101n (2)、、
Q,QQ0n,110n 2分
(3)、 2分
Q1n Q0n Q1n+1 Q0n+1
0 0 1 0
0 1 0 0
1 0 0 1
1 1 0 0
(4)、
2分 该电路是3进制减法计数器 1分
四、设计题,30分,
5
2、 设计一个带控制端的组合逻辑电路,控制端X=0时,实现,控制端X=1F,A,B
F,AB时,实现,用与非门及反相器实现。(15分) 解:
(1)、真值表 (8分)
X A B F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 0
(2)、卡诺图、代数式:(4分)
F,AB,AB,XA
或F,AB,AB,XB
(3)、画电路图:(3分)略
2、用D触发器设计一个0110序列检测器,X为序列输入,Z为检测输出,其关系如下。(15
分)
X:1011010110110
Z:0000100001000
解:(1)、设S0:输入1,S1:输入0,S2:输入01,S3:输入011,S4:输入0110
S4与S0等价,状态图如上。
6
(2)、列状态转换真值表及驱动表 每填对1格给1分 (8分)
X Q1n Q0n Q1n+1 Q0n+1 D1 D0 Z
0 0 0 0 1 0 1 0
0 0 1 0 1 0 1 0
0 1 0 0 1 0 1 0
0 1 1 0 0 0 0 1
1 0 0 0 0 0 0 0
1 0 1 1 0 1 0 0
1 1 0 1 1 1 1 0
1 1 1 0 0 0 0 0
求驱动方程及输出方程,每个方程1分 (3分)
D,X(Q,Q)110
D,QQ,X,Q0101
Z,XQQ10
电路图2分
1、not... until(直到……才)
例如:We can't release the film until we have the approval from the authority concerned.
直到获得有关当局的批准我们才能发行那部电影。
2、so/ such(…)that(如此……以至于)
例如:With the rumor spreading fast, their anxiety was such that they could not sleep/they
became so anxious that they could not sleep.
在谣言迅速散播的情况下,他们焦虑异常,无法人睡。
3、(The) chances are that(很可能……)
例如:Chances are thatshe has already known it, and there is no need for us to keep the
secret.她很可能已经知道了,所以我们没有必要再保守这个秘密。
4、It occurred to sb. that(突然想到……)
例如:It had never occurred toCinderella she would become a princess someday.
Cinderella从来没有想到她会成为一位王妃。
5、not... but...(不是……而是……)
例如:To our disappointment, the plan caused not development but destruction.
7
让我们失望的是,这个计划带来的不是进步而是破坏。
6、It is taken for granted that(……被认为是理所当然的)
例如:It has been taken for granted thatwomen should take on all the housework.
多年来人们一直认为女性做家务是理所当然的。
7、It is/ was said that(据说)
例如:It is said thatman is the least biologically determined species of all because he possesses features absent in other natural species.
据说人类是生物学上最难归类的物种,因为人类拥有其他天然物种所缺乏的特性。
8、When it comes to...(提及,当提到……的时候)
例如:When it comes to physics, I know nothing.
谈到物理学,我一无所知。
9、be not much of a…(是个不太好的……)
例如:Mike is not much of a teacher for he often skips from one subject to another.
麦克不是个好老师,因为他总是从一个话题跳转到另一个话题。
10、As far as sb.,sth. is concerned(就……而言,在……看来)
例如:As far as I am concerned, fashion belongs to women.
在我看来,时尚是属于女性的。
11、not only... but also(不但……而且……)
例如:Shakespeare is not only a great playwright but also a brilliant poet.
莎士比亚不仅是一位伟大的剧作家而且是一位才华横溢的诗人。
12、(n) either...(n) or...(既不……也不……;或者……或者……)
例如:Liking neither the story nor the background music, he fell asleep in the cinema.
他既不喜欢故事情节也不喜欢背景音乐, 所以在电影院里睡着了。
13、no sooner than/ hardly when/ scarcely when(刚……就……)
例如:I had hardly opened the door when he rushed in.
我刚开门他就冲进来了。
14、the more…the more(越……越……)
例如:The fastera country's economy develops, the slower its population grows.
一个国家的经济发展越快,它的人口增长就越慢。
8