软件测试类英文笔试题
1. What will be the output of the follow C code?
define product(x) (x*x)
main()
{
int i = 3, j, k;
j = product(i++);
k = product(++i);
printf("%d %d",j,k);
}
2. Simplify the following Boolean expression!((i ==12) || (j > 15))
3. How many flip-flop circuits are needed to divide by 16?
4. Provides 3 properties that make an OS, a RTOS?
5. What is pre-emption?
6. Assume the BC register value is 8538H, and the DE register value is the value of register BC after the following assembly operations:
MOV A,C
SUB E
MOV C,A
MOV A,B
SBB D
MOV B,A
the Assembly code shown below
LOOP: MVI C,78H
DCR C
JNZ LOOP
HLT
How many times is the DCR C Operation executed?
ribe the most efficient way(in term of execution time and code size) to divide a number by 4 in assembly language
value is stored in m in the following assembly language code fragment if n=7?
LDAA #n
LABEL1: CMPA #5
BHI L3
BEQ L2
DECA
BRA L1
LABEL2: CLRA
LABEL3: STAA #m
10. What is the state of a process if a resource is not available?
define a 365*24*60*60
11. Using the #define statement, how would you declare a manifest constant that returns the number of seconds in a year? Disregard leap years in your answer.
12. Interrupts are an important part of embedded systems. Consequently, many compiler vendors offer an extension to standard C to support cally, the keyword is __interrupt. The followingroutine (ISR). Point out problems in the code.__interrupt double compute_area (double radius)
{
double area = PI * radius * radius;
printf(" Area = %f", area);
return area;
-
2017考研英语语法:分词
分词有现在分词和过去分词两种。考生们在复习考研英语的时候要对分词进行充分了解,下面就跟着小编一起去了解关于分词的语法吧!作为谓语,现在分词和be一起构成进行时;过去分词和be一起构成被动语态,和have一起构成完成时。例如:IamreadinganovelbyMaupassant.我正...
-
北京大学心理学2017考研参考书目
随着考研接近,各地考生们都在积极复习备考。各院校也开始公布了各自的考研参考资料。下面是小编为大家整理收集的北京大学心理学2017考研参考书目,仅供大家参考。北京大学心理学系已形成师资力量雄厚、学科设置齐全、专业人才层出不穷的教学、科研体系。北京大学...
-
2017年广东技术师范学院802马克思主义民族理论与政策考研大纲
随着2017考研的到来,各院校的考研大纲也开始出台了。下面是小编为大家整理收集的关于2017年广东技术师范学院802马克思主义民族理论与政策考研大纲的相关内容,欢迎大家的阅读。Ⅰ考查目标通过本课程的考查,要求达到如下目标:1,掌握民族的要素;民族与宗教的联系与区...
-
烟台大学生命科学学院2016考研专业目录
烟台大学生命科学学院的前身为烟台大学生物化学系,创立于1985年。学院下设生物科学与技术、海洋生物工程、食品工程3个系及1个食品检验检测中心,设有生物科学、生物技术、生物工程、食品科学与工程、食品质量与安全5个本科专业。在读本科生1700余人。烟台大学生...