请高人指点一下数字电路电方面的这套题目,多谢!

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了请高人指点一下数字电路电方面的这套题目,多谢!相关的知识,希望对你有一定的参考价值。

一、单选题(共 20 道试题,共 80 分。)
1. 8位移位寄存器,串行输入时经( )个脉冲后,8位数码全部移入寄存器中
A. 1
B. 2
C. 4
D. 8

2. 以下代码中为无权码的为( ).
A. 8421BCD码
B. 5421BCD码
C. 余三码
D. 2421码

3. 边沿式D触发器是一种( )稳态电路
A. 无
B. 单
C. 双
D. 多

4. 在何种输入情况下,“与非”运算的结果是逻辑0( ).
A. 全部输入是0
B. 任一输入是0
C. 仅一输入是0
D. 全部输入是1

5. 下列触发器中,没有约束条件的是( )
A. 基本RS触发器
B. 主从RS触发器
C. 同步RS触发器
D. 边沿D触发器

6. N个触发器可以构成能寄存( )位二进制数码的寄存器
A. N-1
B. N
C. N+1
D. 2N

7. TTL集成电路采用的是( )控制,其功率损耗比较大
A. 电压
B. 电流
C. 灌电流
D. 拉电流

8. 当逻辑函数有n个变量时,共有( )个变量取值组合?
A. n
B. 2n
C. n的平方
D. 2的n次方

9. 为实现将JK触发器转换为D触发器,应使( )
A. J=D,K=/D
B. K=D,J=/D
C. J=K=D
D. J=K=/D

10. 对于D触发器,欲使Qn+1=Qn,应使输入D=( )
A. 0
B. 1
C. Q
D. /Q

11. 多谐振荡器可产生( )
A. 正弦波
B. 矩形脉冲
C. 三角波
D. 锯齿波

12. A+BC= ( ).
A. A+B
B. A+C
C. (A+B)(A+C)
D. B+C

13. 对于JK触发器,若J=K,则可完成( )触发器的逻辑功能
A. RS
B. D
C. T
D. T'

14. 欲使JK触发器按Qn+1=1工作,可使JK触发器的输入端( )
A. J=K=1
B. J=1,K=0
C. J=K=/Q或B
D. J=K=0

15. 程序控制中,常用下列哪种电路作定时器( )
A. 比较器
B. 计数器
C. 译码器
D. 编码器

16. 与八进制数(47.3)8等值的数为( ).
A. (100111.011)2
B. (27.8)16
C. (27.3)16
D. (100111.11)2

17. 对于T触发器,若原态Qn=1,欲使新态Qn+1=1,应使输入T=( )
A. 0或/Q
B. 1
C. Q
D. /Q

18. 同步时序电路和异步时序电路比较,其差异在于后者( )
A. 没有触发器
B. 没有统一的时钟脉冲控制
C. 没有稳定状态
D. 输出只与内部状态有关

19. 卡诺图上变量的取值顺序是采用( )的形式,以便能够用几何上的相邻关系表示逻辑上的相邻。
A. 二进制码
B. 循环码
C. ASCII码
D. 十进制码

20. 常用的BCD码有( ).
A. 奇偶校验码
B. 格雷码
C. 8421码
D. 汉明码

二、多选题(共 5 道试题,共 20 分。)
1. CMOS数字集成电路与TTL数字集成电路相比突出的优点是( )。
A. 微功耗
B. 高速度
C. 高抗干扰能力
D. 电源范围宽

2. 逻辑变量的取值1和0可以表示( )。
A. 开关的闭合、断开
B. 电位的高、低
C. 真与假
D. 电流的有、无

3. 下列那种是描述时序电路逻辑功能的方法( )
A. 逻辑方程组
B. 状态图
C. 电路图
D. 时序图

4. 欲使JK触发器按Qn+1=0工作,可使JK触发器的输入端( )。
A. J=K=1
B. J=Q,K=Q
C. J=Q,K=1
D. J=0,K=1

5. 下列哪一个是按照电路结构对触发器进行分类的( )
A. 基本RS触发器
B. T触发器
C. 同步触发器
D. 主从触发器

一、第1-5:DCCBD;第6-10:BDDAC;第11-15:BCCCB;第16-20:AABBC
二、1、ABC;2、ABCD;3、AB;4、BCD;5、CD
本人系大二学生,刚学完数电,期末考试90多分,楼主自己判断正确率
参考技术A 第一个是D,
我是大三学生,
要想知道其他,
你懂的!

参考资料:数子电路

[高分悬赏] sql 行列转换 请高人指点

表的格式为:
-----------------------------------------------------
name 时间 分数1 分数2 分数3
aaa 201001 23 43 97
bb .. 43 54 65
cc .. 43 null null
aaa 201002 87 12 null
-----------------------------------------------------
要求写成如下格式:
-----------------------------------------------------
aaa bb cc
分数1 110 43 43
分数2 55 54 null
分数3 97 65 null
-----------------------------------------------------
怎么写啊?
最好能给我写出来语句,别给我发例题了,百度前10页我都看过了...
在此谢过
回复: wforce 你的运行起来 报错
消息 102,级别 15,状态 1,第 1 行
'end' 附近有语法错误。
回复: wforce 我用的数据库是sql2005 我的QQ 331062104
现在我就是在数据库上面运行,还没涉及页面的问题

--假设表名叫tt,由于使用了聚合函数,所以会取消null值,结果中的null被显示为0
declare @s1 varchar(8000)
declare @s2 varchar(8000)
declare @s3 varchar(8000)
declare @sql varchar(8000)
set @s1 = ''
set @s2 = ''
set @s3 = ''
--构建组成列名的变量
select @s1 = @s1 + name+'=sum(case when name = '''+name+''' then 分数1 else 0 end), ',
@s2 = @s2 + name+'=sum(case when name = '''+name+''' then 分数2 else 0 end), ',
@s3 = @s3 + name+'=sum(case when name = '''+name+''' then 分数3 else 0 end), '
from(
select distinct name
from tt
) a
--整理构建后的字段变量
set @s1 = '''分数1'' as 分数,'+left(@s1,len(@s1) - 1)
set @s2 = '''分数2'' as 分数,'+left(@s2,len(@s2) - 1)
set @s3 = '''分数3'' as 分数,'+left(@s3,len(@s3) - 1)

set @sql = 'select '+@s1+' from tt union all select '+@s2+' from tt union all select '+@s3+' from tt'
--执行
exec(@sql)
----------结果-----------------------------

分数 aaa bb cc
----- ----------- ----------- -----------
分数1 110 43 43
分数2 55 54 0
分数3 97 65 0

--------
以上语句在查询分析器运行通过,可能是页面的问题把语句分开了 ,对了,你的是什么数据库?
参考技术A 现成的程序没有,不过你可以学着写,不难,只要你学会用程序创建表,创建字段。 参考技术B 创建数据库
创建之前判断该数据库是否存在 if exists (select * from sysdatabases where name='databaseName') drop database 'databaseName' go Create DATABASE database-name
删除数据库
drop database dbname
备份sql server
--- 创建 备份数据的 device USE master EXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwind_1.dat' --- 开始 备份 BACKUP DATABASE pubs TO testBack
创建新表
create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..) 根据已有的表创建新表: A:create table tab_new like tab_old (使用旧表创建新表) B:create table tab_new as select col1,col2… from tab_old definition only
删除新表
drop table tabname
增加一个列
Alter table tabname add column col type 注:列增加后将不能删除。DB2中列加上后数据类型也不能改变,唯一能改变的是增加varchar类型的长度。
添加主键
Alter table tabname add primary key(col) 说明:删除主键: Alter table tabname drop primary key(col)
创建索引
create [unique] index idxname on tabname(col….) 删除索引:drop index idxname on tabname 注:索引是不可更改的,想更改必须删除重新建。
创建视图
create view viewname as select statement 删除视图:drop view viewname
几个简单的基本的sql语句
选择:select * from table1 where 范围 插入:insert into table1(field1,field2) values(value1,value2) 删除:delete from table1 where 范围 更新:update table1 set field1=value1 where 范围 查找:select * from table1 where field1 like ’%value1%’ (所有包含‘value1’这个模式的字符串)---like的语法很精妙,查资料! 排序:select * from table1 order by field1,field2 [desc] 总数:select count(*) as totalcount from table1 求和:select sum(field1) as sumvalue from table1 平均:select avg(field1) as avgvalue from table1 最大:select max(field1) as maxvalue from table1 最小:select min(field1) as minvalue from table1[separator]
几个高级查询运算词
A: UNION 运算符 UNION 运算符通过组合其他两个结果表(例如 TABLE1 和 TABLE2)并消去表中任何重复行而派生出一个结果表。当 ALL 随 UNION 一起使用时(即 UNION ALL),不消除重复行。两种情况下,派生表的每一行不是来自 TABLE1 就是来自 TABLE2。 B: EXCEPT 运算符 EXCEPT 运算符通过包括所有在 TABLE1 中但不在 TABLE2 中的行并消除所有重复行而派生出一个结果表。当 ALL 随 EXCEPT 一起使用时 (EXCEPT ALL),不消除重复行。 C: INTERSECT 运算符 INTERSECT 运算符通过只包括 TABLE1 和 TABLE2 中都有的行并消除所有重复行而派生出一个结果表。当 ALL 随 INTERSECT 一起使用时 (INTERSECT ALL),不消除重复行。 注:使用运算词的几个查询结果行必须是一致的。
使用外连接
A、left outer join: 左外连接(左连接):结果集既包括连接表的匹配行,也包括左连接表的所有行。 SQL: select a.a, a.b, a.c, b.c, b.d, b.f from a LEFT OUT JOIN b ON a.a = b.c B:right outer join: 右外连接(右连接):结果集既包括连接表的匹配连接行,也包括右连接表的所有行。 C:full outer join: 全外连接:不仅包括符号连接表的匹配行,还包括两个连接表中的所有记录。复制表
(只复制结构,源表名:a 新表名:b) (Access可用) 法一:select * into b from a where 1<>1 法二:select top 0 * into b from a
拷贝表
(拷贝数据,源表名:a 目标表名:b) (Access可用) insert into b(a, b, c) select d,e,f from b;
跨数据库之间表的拷贝
(具体数据使用绝对路径) (Access可用) insert into b(a, b, c) select d,e,f from b in ‘具体数据库’ where 条件 例子:..from b in '"&Server.MapPath("."&"\data.mdb" &"' where..
子查询
(表名1:a 表名2:b) select a,b,c from a where a IN (select d from b 或者: select a,b,c from a where a IN (1,2,3)
显示文章、提交人和最后回复时间
select a.title,a.username,b.adddate from table a,(select max(adddate) adddate from table where table.title=a.title) b
外连接查询
(表名1:a 表名2:b) select a.a, a.b, a.c, b.c, b.d, b.f from a LEFT OUT JOIN b ON a.a = b.c
在线视图查询
(表名1:a select * from (Select a,b,c FROM a) T where t.a > 1;
between的用法
between限制查询数据范围时包括了边界值,not between不包括 select * from table1 where time between time1 and time2 select a,b,c, from table1 where a not between 数值1 and 数值2
in 的使用方法
select * from table1 where a [not] in (‘值1’,’值2’,’值4’,’值6’)
删除主表中已经在副表中没有的信息
两张关联表delete from table1 where not exists ( select * from table2 where table1.field1=table2.field1
四表联查问题
select * from a left inner join b on a.a=b.b right inner join c on a.a=c.c inner join d on a.a=d.d where .....
日程安排提前五分钟提醒
SQL: select * from 日程安排 where datediff('minute',f开始时间,getdate())>5
一条sql 语句搞定数据库分页
select top 10 b.* from (select top 20 主键字段,排序字段 from 表名 order by 排序字段 desc) a,表名 b where b.主键字段 = a.主键字段 order by a.排序字段
前10条记录
select top 10 * form table1 where 范围
选择排名
选择在每一组b值相同的数据中对应的a最大的记录的所有信息(类似这样的用法可以用于论坛每月排行榜,每月热销产品分析,按科目成绩排名,等等.) select a,b,c from tablename ta where a=(select max(a) from tablename tb where tb.b=ta.b)
派生结果表
包括所有在 TableA 中但不在 TableB和TableC 中的行并消除所有重复行而派生出一个结果表 (select a from tableA except (select a from tableB) except (select a from tableC)
随机取出10条数据
select top 10 * from tablename order by newid()
随机选择记录
select newid()
删除重复记录
Delete from tablename where id not in (select max(id) from tablename group by col1,col2,...)
列出数据库里所有的表名
select name from sysobjects where type='U'
列出表里的所有的
select name from syscolumns where id=object_id('TableName')
列示排列
列示type、vender、pcs字段,以type字段排列,case可以方便地实现多重选择,类似select 中的case。 select type,sum(case vender when 'A' then pcs else 0 end),sum(case vender when 'C' then pcs else 0 end),sum(case vender when 'B' then pcs else 0 end) FROM tablename group by type 显示结果: type vender pcs 电脑 A 1 电脑 A 1 光盘 B 2 光盘 A 2 手机 B 3 手机 C 3
初始化表table1
TRUNCATE TABLE table1
选择从10到15的记录
select top 5 * from (select top 15 * from table order by id asc) table_别名 order by id desc
数据类型转换
declare @numid int declare @id varchar(50) set @numid=2005 set @id=convert(varchar,@numid) 通过上述语句完成数据类型Int转换成varchar,其他转换类似,可参看convert函数
参考技术C 我这里写了一个很笨的方法:在SQL2000下通过。

select a1.type,a1.aaa,b1.bb,c1.cc from (
select '分数1'type,分数1 as aaa from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='aaa'
union
select '分数2'type,分数2 as aaa from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='aaa'
union
select '分数3'type,分数3 as aaa from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='aaa'
) a1
inner join (
select '分数1'type,分数1 as bb from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='bb'
union
select '分数2'type,分数2 as bb from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='bb'
union
select '分数3'type,分数3 as bb from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='bb'
) b1 on a1.type=b1.type

inner join (
select '分数1'type,分数1 as cc from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='cc'
union
select '分数2'type,分数2 as cc from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='cc'
union
select '分数3'type,分数3 as bb from (
select name,sum(分数1)分数1,sum(分数2)分数2,sum(分数3)分数3
from table2
group by name
) aaaaa where name='cc'
)c1 on a1.type=c1.type

以上是关于请高人指点一下数字电路电方面的这套题目,多谢!的主要内容,如果未能解决你的问题,请参考以下文章

请高人解释一下集成电路设计中 可编程逻辑器件设计(PLD)和现场可编程逻辑阵列设计(FPGA)和两者的区别

primeface中如何实现 fileupload功能,我这个怎么无效,请高人指点一下。

我想修改一下X5045门限电压,那位高人知道啊?

linux ax5.4下 如何启动和停止weblogic和apache。请高人指点一下,说的详细些,谢谢!

怎么样C语言解析一个XML文件中的信息,题目很详细,跪求高人指点。

子网掩码怎么算?有啥规则??高人指点