網站首頁 實用文 書信 面試 實習 實習報告 職場 職責 勵志 名言 熱點
當前位置:人人簡歷網 > 面試 > 面試筆試

德爾福筆試(軟件類)

欄目: 面試筆試 / 發佈於: / 人氣:2.13W

德爾福軟件方向的筆試

德爾福筆試(軟件類)

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

熱門搜索
適合教師演講稿 會計調查報告 做個文明優秀學生講話稿 提供服務的合同精選 2023公司財務人員年終工作總結 名著《史記》讀書心得感想 國培後 幼兒園小班音樂活動教案集錦 關於教師年度個人總結 微課國小數學四年級教案模板共數學微型課教 光伏電站年度個人總結範文 中國青年五四獎章2023學習感悟啟示 畢業的自我鑑定怎麼寫 節能減排工作總結 進職稱個人總結範文優秀 安全教育日國旗下講話稿2023年 兼職教師聘用協議書 我的狗作文400字 有關植樹節活動方案 國中新學期開學講話稿 鎮工會年度工作計劃 遼寧張氏帥府導遊詞 雲尚丹峽 關於國小語文教案 應屆畢業生求職計劃書大學生就業計劃書求職 2023康復工作計劃 國小生《朝花夕拾》讀後感寫關於朝花夕拾的 六年級寫謝謝你老師優秀作文 文員工作的自我鑑定推薦 補充合同的模板 我們的節日元宵節活動方案元宵節活動策劃案 憲法宣傳週教育活動心得體會範文 關於國小教師年度考核個人簡短總結 TECHNICAL 學校一年工作總結 2024年成長工作總結優質 信息技術教學教育工作總結國小信息技術教育 紙葬 大劇 我的心裏作文 錦集前 大幅 2023講黨史演講稿推薦 謝堅 村2024上半年工作總結及下半年工作計劃推薦 讀書演講稿的範文模板 學生在校保證書 幼兒園大班教師工作計劃模板