德爾福筆試(軟體類)
德爾福軟體方向的筆試題
1.How do you code an infinite loop in C?
2. Volatile:
a) What does the keyword volatile mean? Give an example
b) Can a parameter be both const and volatile? Give an example
c) Can a pointer be volatile? Give an example
3. What are the values of a, b, and c after the following instructions:
int a=5, b=7, c;
c = a+++b;
4, What do the following declarations mean?
a) const int a;
b) int const a;
c) const int *a;
d) int * const a;
e) int const * a const;
5. Which of the following statements describe the use of the keyword static?
a) Within the body of a function: A static variable maintains its value between function revocations
b) Within a module: A static variable is accessible by all functions within that module
c) Within a module: A static function can only be called by other functions within that module
6. Embedded systems always require the user to manipulate bits in registers or variables. Given an integer variable a, write two code fragments.
The first should set bit 5 of a. The second shnuld clear bit 5 of a. In both cases, the remaining bits should be unmodified.
7. What does the following function return?
char foo(void)
{
unsigned int a = 6;
iht b = -20;
char c;
(a+b > 6)? (c=1): (c=0);
return c;
}
8. What values are printed when the following C program is executed?
int i = 8;
void main(void)
(
9. What will be the output of the following C code?
main()
{
int k, num= 30;
k =(num > 5? (num <=10? 100:200): 500);
printf("%d", k);
}
10. What will the following C code do?
int *ptr;
ptr =(int *)Ox67a9;
ptr = Oxaa55;11. 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);
}
12. Simplify the following Boolean expression!((i ==12) || (j > 15))
13. How many flip-flop circuits are needed to divide by 16?
14. Provides 3 properties that make an OS, a RTOS?
15. What is pre-emption?
16. 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
-
中國人民銀行直屬事業單位筆經
中國人民銀行直屬事業單位筆經我考的是經濟金融類,昨天考的,記性不太好今天已經忘得差不多了,歡迎補充!!上午考的英語,下午專業。英語的我看見人大的bbs上有筆經,就不寫了,順便轉過來就好了。就先說說經濟金融專業的考試吧。第一部分是填空。比如商業銀行的業務(吸收存...
-
中移動實習筆試歸
100題,60min內完成基本上都是國小語文國小數學題。。。最汗的是居然出了什麼病句歧義的東西。。。似乎國小畢業以後就沒怎麼碰過這玩意了~大概用了50min完成了題目填好了答題卡,然後剩下10min檢查前面的東西,居然還改了4題orz後悔的是沒有提早交卷,後面等了將近20m...
-
筆試浪潮軟體研發
下午2點開始筆試的,先填寫了一份浪潮的職位申請表,很多與我簡歷中的內容都重複,所以填寫的有些不耐煩,後面幾項還有點意思。是否可以外駐:可以是否服從崗位分配:否期望月薪:3000在進考場之前,跟門外幾個一起來考試的談了一會兒,據說浪潮給應屆本科生的待遇是月薪1500,感...
-
中國工商銀行筆試部分考題
中國工商銀行筆試部分考題一、單項或多項選擇1、現金出納員從銀行提取現金之後,應做什麼記賬憑證A、現金收款憑證B、現金付款憑證C、銀行存款收款憑證D、銀行存款付款憑證2、我國確定人民幣儲蓄利率的機構是:當然是中國人民銀行,其他選項我忘記了3、IP電話是通過...