硬件研发笔试题.doc_第1页
硬件研发笔试题.doc_第2页
硬件研发笔试题.doc_第3页
硬件研发笔试题.doc_第4页
硬件研发笔试题.doc_第5页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

硬件研发类岗位招聘试题(答题时间不限,但作为考察指标)答题前请仔细阅读:请按照试卷要求选答试题,多选无效。答案写在白纸上,注明题号。试卷请勿带出考场。由监考人员记录答题时间。1. 测得放大电路中正常工作的某三极管三个管脚X、Y、Z的对地电位分别是+7V、3V、23V,则管脚Y是 极。2. dBmV是指 ,若两级放大器中第一级的增益为30dB,第二级的增益为25dB,则总增益为 dB。3. 在10进制和16位有符号二进制数之间转换:(0100000001011101)2=( )10,(-36)10=( )24. 如图(1)放大电路,它的名称是 属于 负反馈,它的主要特点是 。5. 由理想集成运放构成的运算电路如图(2)所示,已知VI1=1V,VI2=2V,其余参数如图所示,求:(1)V0 ;(2)R3 ;图(1)图(2)6. 化简函数:7. 如图(3)所示,发现在播放声音是出现嗤嗤声,试分析原因。图(3)8. 从一个中断发出中断服务请求,到这个中断服务请求全部处理完成,程序返回到中断点所经过的过程称为中断处理。试问:a) 在一次完整的中断处理过程中,主要做哪些工作?b) 其中哪些是必须硬件实现?哪些可以用软件实现?c) 哪些既可以用硬件实现又可以用软件实现?d) 简述ARM处理器中的做法。9. 一模型机CPU的结构如图(4)所示:其中有一个累加器A,一个通用寄存器组B,一个标志寄存器F和其他5个寄存器,各部分的连线表示通道。要求:a) 表明图中至个寄存器名,简述其作用;b) 分析一条指令在该结构中的执行过程。图(4)10. 简述在PCB布线时网络的几种拓扑方式,并说明分别在哪些情况下适用?11. 下面是对Intel Hex的说明和示例,请回答问题:a) 示例中所标示的开始地址是多少?b) 如果将示例数据放进数据缓冲区,缓冲区的大小应该是多少字节?c) 如果定义int16 *p,初始化p指向示例标示的开始地址,那么*(p+4)的值是多少?HEX-RECORD CONTENTHex-Records are character strings made of several fields which specify the record type, record length, memory address, data, and checksum. Each byte of binary data is encoded as a 2-character hexadecimal number: the first ASCII character representing the high-order 4 bits, and the second the low-order 4 bits of the byte. The 6 fields which comprise a Hex-record are defined as follows: Field Characters Description 1 Start code 1 An ASCII colon, :. 2 Byte count 2 The count of the character pairs in the data field. 3 Address 4 The 2-byte address at which the data field is to be loaded into memory. 4 Type 2 00, 01, or 02. 5 Data 0-2n From 0 to n bytes of executable code, or memory loadable data. n is normally 20 hex (32 decimal) or less. 6 Checksum 2 The least significant byte of the twos complement sum of the values represented by all the pairs of characters in the record except the start code and checksum. Each record may be terminated with a CR/LF/NULL. Accuracy of transmission is ensured by the byte count and checksum fields. HEX-RECORD TYPESThere are three possible types of Hex-records. 00 A record containing data and the 2-byte address at which the data is to reside. 01 A termination record for a file of Hex-records. Only one termination record is allowed per file and it must be the last line of the file. There is no data field. 02 A segment base address record. This type of record is ignored by Lucid programmers. HEX-RECORD EXAMPLEFollowing is a typical Hex-record module consisting of four data records and a termination record. :10010000214601360121470136007EFE09D2190140 :100150002146017EB7C20001FF5F16002148011984 :10012000194E79234623965778239EDA3F01B2CAA7 :100130003F0156702B5E712B722B732146013421C7 :00000001FF12. 简要说明全局变量、静态全局变量和静态局部变量的异同。13. 通常,函数调用参数如何传递?函数返回值如何传递(可以以某类型的CPU或DSP为例)?14. 写出内存移动函数memmove的实现(不允许调用其它函数,不必检查输入参数)。/* 将地址 pSrc 开始的大小为 nSize 的内存块移动到地址 pDest 开始的位置* 注意源内存块和目标内存块可能重叠*/void memmove(void *pDest, const void *pSrc, size_t nSize)15. 使用定点整数进行卷积运算的代码如下:long Xn, Yn;.long Z = 0;for ( int i = 0; i operand2 (算术右移)MOVRd, Rn, LSL #n; Rd = Rn operand2 (逻辑右移)ADDRd, Rn, operand2; Rd = Rn + operand2SUBRd, Rn, operand2; Rd = Rn - operand2ANDRd, Rn, operand2; Rd = Rn & operand2ORRRd, Rn, operand2; Rd = Rn | operand2EORRd, Rn, operand2; Rd = Rn operand218. 下面的一小段代码从文件中读取了一个字节的数据,并从一个码本中查询对应的值。1extern const void (*FuncTab)(void);2FILE* fp;3unsigned int iFunc;.58iFunc = 0;59fread(&iFunc, 1, 1, fp

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论