亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ssd6-choice.txt

?? ssd6 exam 選擇題的答案
?? TXT
?? 第 1 頁 / 共 5 頁
字號:

--------------------------------------------------------------------------------

 Go to top of assessment.  

 Total score: 85.71 

 ? Copyright 2005 iCarnegie, Inc. All rights reserved.  

View Assessment Result


   

 Family Name:  Li  
 Given Name:  Qin  
 Login:  nwpu053816  
 E-mail: lqw3816@163.com  
 Status:  Enrolled  

 Assessment Name: Multiple-Choice Quiz 2  
 Instance:  3   

 Section: NWPU-SSD6-6  
 During:  Fall/Autumn 2007  
 Section Status:  Active  

 For course:  System-Level Programming  
  (SSD6)  

 Corresponding to:  SSD6  
 At:  Software College of Northwestern Polytechnical University  
 

--------------------------------------------------------------------------------
 

 Your performance was as follows: 

 You took 13 minutes on this assessment from Thu Nov 29 09:22:28 UTC+0800 2007 to Thu Nov 29 09:35:11 UTC+0800 2007. 

 Total score: 100.00 
 
 

 

 1. 
 Which of the following statements about alignment within C struct's is true? 
Alignment may cause the allocation of unused space. 
Alignment is required by all modern processors. 
Alignment can help processors access data more efficiently. 
 
 

  (a) I only
 (b) I and III only
 (c) II and III only
 (d) I, II, and III  

 Correct answer is  (b)  

 Your score on this question is: 14.29  

 Feedback: 
   See section 2.4.3 of the course notes.  
 



--------------------------------------------------------------------------------

 2. 
 Assume that array a is at location 1000 (decimal). Execution of the following program results in what being printed? 
int a[12];
main() {
    int i;
    for (i = 0; i < 12; i++) a[i] = i;
    printf("%d\n", *(a + 5));
}

 
 

  (a) 1005
 (b) 5
 (c) 1020
 (d) 20  

 Correct answer is  (b)  

 Your score on this question is: 14.29  

 Feedback: 
   See section 2.4.1 of the course notes.  
 

--------------------------------------------------------------------------------

 3. 
 Given the following declarations, h[] takes 7 bytes and t[] takes 6 bytes. What is the minimum amount of memory (in bytes) required to store the concatenation of h and t? 
char h[] = "hello ";
char t[] = "there";

 
 

  (a) 12
 (b) 14
 (c) 11
 (d) 13  

 Correct answer is  (a)  

 Your score on this question is: 14.29  

 Feedback: 
   See section 2.4.1 of the course notes.  
 

--------------------------------------------------------------------------------

 4. 
 In a computer with 4-byte words, which of the following C expressions tests whether ptr contains the address of a word? 
(ptr & 3) == 0 
(ptr | 3) == 0 
(ptr % 4) == 0 
 
 

  (a) III only
 (b) I only
 (c) I and III only
 (d) II only  

 Correct answer is  (c)  

 Your score on this question is: 14.29  

 Feedback: 
   See section 2.2.1 of the course notes.  
 

--------------------------------------------------------------------------------

 5. 
 In C, using default floating point settings, what happens when a floating-point computation results in an overflow?  
 

  (a) A special value "infinity" is computed, testable with _finite().
 (b) An exception is raised unless disabled by calling _controlfp().
 (c) An erroneous value is computed and execution continues.
 (d) Program execution is halted.  

 Correct answer is  (a)  

 Your score on this question is: 14.29  

 Feedback: 
   See section 2.3.3 of the course notes.  
 

--------------------------------------------------------------------------------

 6. 
 What is the value of the following C expression? 
0x1234 << 3  
 

  (a) 0x1234000
 (b) 0x9340
 (c) 0x91A0
 (d) 0x48CE  

 Correct answer is  (c)  

 Your score on this question is: 14.29  

 Feedback: 
   See section 2.1.3 of the course notes.  
 

--------------------------------------------------------------------------------

 7. 
 What is the value of the following C expression? 
0x1234 ^ 0x5432  
 

  (a) 0x5434
 (b) 0x1030
 (c) 0x4606
 (d) 0x5636  

 Correct answer is  (c)  

 Your score on this question is: 14.29  

 Feedback: 
   See section 2.1.3 of the course notes.  
 

--------------------------------------------------------------------------------

 Go to top of assessment.  

 Total score: 100.00 

 ? Copyright 2005 iCarnegie, Inc. All rights reserved.  

View Assessment Result


   

 Family Name:  Li  
 Given Name:  Qin  
 Login:  nwpu053816  
 E-mail: lqw3816@163.com  
 Status:  Enrolled  

 Assessment Name: Multiple-Choice Quiz 3  
 Instance:  1   

 Section: NWPU-SSD6-6  
 During:  Fall/Autumn 2007  
 Section Status:  Active  

 For course:  System-Level Programming  
  (SSD6)  

 Corresponding to:  SSD6  
 At:  Software College of Northwestern Polytechnical University  
 

--------------------------------------------------------------------------------
 

 Your performance was as follows: 

 You took 23 minutes on this assessment from Thu Nov 29 09:39:08 UTC+0800 2007 to Thu Nov 29 10:01:26 UTC+0800 2007. 

 Total score: 83.33 
 
 

 

 1. 
 Which of the following are true about statically allocated data in C programs? 
Its location is chosen by the compiler. 
Its location may change during execution if more memory is required. 
Its location is not known directly but can be found in a static symbol table. 
 
 

  (a) II and III only.
 (b) I only.
 (c) III only.
 (d) I and II only.  

 Correct answer is  (b)  

 Your score on this question is: 16.67  

 Feedback: 
   See section 3.1.1 of the course notes.  
 



--------------------------------------------------------------------------------

 2. 
 The key feature of implicit memory management is that memory is freed automatically. Which of the following features of C make(s) it difficult to add support for implicit memory management in C? 
Pointers are not always initialized. 
Type casting makes it impossible to know when a value could be a pointer. 
C programs can allocate memory at runtime. 
 
 

  (a) I and II only
 (b) III only
 (c) II only
 (d) I only  

 Correct answer is  (a)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 3.1.2 of the course notes.  
 

--------------------------------------------------------------------------------

 3. 
 Why is it wrong to return the address of a local variable?  
 

  (a) The variable address is invalid after the return.
 (b) It allows illegal access to the variable from arbitrary functions.
 (c) The local variable may be in a machine register.
 (d) It is faster to return the value of the variable.  

 Correct answer is  (a)  

 Your score on this question is: 16.67  

 Feedback: 
   See section 3.3.3 of the course notes.  
 

--------------------------------------------------------------------------------

 4. 
 A memory leak is caused by a  
 

  (a) failure to free allocated memory
 (b) bug in which too much memory is allocated, causing internal fragmentation
 (c) function that allocates a large amount of memory from the heap
 (d) bug in the memory allocator that fails to free memory  

 Correct answer is  (a)  

 Your score on this question is: 16.67  

 Feedback: 
   See section 3.3.5 of the course notes.  
 

--------------------------------------------------------------------------------

 5. 
 A garbage collector  
 

  (a) frees memory blocks that cannot be reached by dereferencing pointers.
 (b) frees all memory blocks that will not be accessed in the future.
 (c) removes old versions of local variables from the stack .
 (d) frees memory blocks marked as "deleteable".  

 Correct answer is  (a)  

 Your score on this question is: 16.67  

 Feedback: 
   See section 3.3.7 of the course notes.  
 

--------------------------------------------------------------------------------

 6. 
 In this sequence of C statements 
long a[10];
ptr = a + 5;
*ptr++ = x;

the last line could be rewritten as  
 

  (a) ptr = ptr + 1; *ptr = x;
 (b) a[6] = x;
 (c) a[5] = x; ptr = ptr + 1;
 (d) ptr = x; *ptr++;  

 Correct answer is  (c)  

 Your score on this question is: 16.67  

 Feedback: 
   See section 3.3.1 of the course notes.  
 

--------------------------------------------------------------------------------

 Go to top of assessment.  

 Total score: 83.33 

 ? Copyright 2005 iCarnegie, Inc. All rights reserved.  

View Assessment Result


   

 Family Name:  Li  
 Given Name:  Qin  
 Login:  nwpu053816  
 E-mail: lqw3816@163.com  
 Status:  Enrolled  

 Assessment Name: Multiple-Choice Quiz 3  
 Instance:  2   

 Section: NWPU-SSD6-6  
 During:  Fall/Autumn 2007  
 Section Status:  Active  

 For course:  System-Level Programming  
  (SSD6)  

 Corresponding to:  SSD6  
 At:  Software College of Northwestern Polytechnical University  
 

--------------------------------------------------------------------------------
 

 Your performance was as follows: 

 You took 14 minutes on this assessment from Thu Nov 29 10:04:39 UTC+0800 2007 to Thu Nov 29 10:17:45 UTC+0800 2007. 

 Total score: 50.00 
 
 

 

 1. 
 Suppose a compiler uses static storage to store all variables, function parameters, saved registers, and return addresses. Which of the following language features can this compiler support? 
Local variables. 
Function calls. 
Recursion. 
 
 

  (a) I, II, and III
 (b) I and II only
 (c) II only
 (d) I only  

 Correct answer is  (b)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 3.1.2 of the course notes.  
 



--------------------------------------------------------------------------------

 2. 
 Which of the following are true about statically allocated data in C programs? 
Its location is chosen by the compiler. 
Its location may change during execution if more memory is required. 
Its location is not known directly but can be found in a static symbol table. 
 
 

  (a) III only.
 (b) I only.
 (c) I and II only.
 (d) II and III only.  

 Correct answer is  (b)  

 Your score on this question is: 16.67  

 Feedback: 
   See section 3.1.1 of the course notes.  
 

--------------------------------------------------------------------------------

 3. 
 Why is it wrong to return the address of a local variable?  
 

  (a) The local variable may be in a machine register.
 (b) It is faster to return the value of the variable.
 (c) The variable address is invalid after the return.
 (d) It allows illegal access to the variable from arbitrary functions.  

 Correct answer is  (c)  

 Your score on this question is: 16.67  

 Feedback: 
   See section 3.3.3 of the course notes.  
 

--------------------------------------------------------------------------------

 4. 
 In C, to allocate an array of 100 longs on the heap you should write  
 

  (a) long *a = (long *) malloc(100);
 (b) long a[] = (long *) malloc(100);
 (c) long a[100] = (long *) malloc(sizeof(a));
 (d) long *a = (long *) malloc(100 * sizeof(long));  

 Correct answer is  (d)  

 Your score on this question is: 16.67  

 Feedback: 
   See section 3.3.3 of the course notes.  
 

--------------------------------------------------------------------------------

 5. 
 In C, when a struct is freed,  
 

  (a) only those pointers within the struct that point into the heap are freed automatically.
 (b) any pointers within the struct are also freed automatically.
 (c) a destructor function is called automatically to clean up.
 (d) no pointers within the struct are freed automatically.  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 3.3.5 of the course notes.  
 

--------------------------------------------------------------------------------

 6. 
 In C, which of the following is the best way to detect when a pointer is freed twice?  
 

  (a) Modify free() to set the freed data to zero.
 (b) Set pointers to NULL after freeing them.
 (c) Keep a log of addresses that have been freed and scan the log before calling free().
 (d) Flag all blocks as free or not, and check the flag when calling free().  

 Correct answer is  (d)  

 Your score on this question is: 0.00  

 Feedback: 
   See section 3.3.6 of the course notes.  
 

--------------------------------------------------------------------------------

 Go to top of assessment.  

 Total score: 50.00 

 ? Copyright 2005 iCarnegie, Inc. All rights reserved.  

View Assessment Result: Multiple-Choice Quiz 1


 

 Your performance was as follows:  

 1. 
 Which of the following does a debugger do? 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲线精品一区二区三区八戒| 欧美成人性战久久| 国产精品国产三级国产aⅴ原创| 久久精品国产亚洲aⅴ| 欧美日韩国产bt| 一区二区三区中文字幕精品精品 | 国产伦精品一区二区三区在线观看 | 日韩精品专区在线| 秋霞成人午夜伦在线观看| 欧美日韩国产小视频在线观看| 伊人婷婷欧美激情| 一本一道久久a久久精品 | 麻豆成人在线观看| 精品国产百合女同互慰| 国产一区二区三区蝌蚪| 国产女主播视频一区二区| 成人福利视频网站| 亚洲天堂网中文字| 色中色一区二区| 亚洲一区在线看| 制服视频三区第一页精品| 全国精品久久少妇| 久久看人人爽人人| 97久久精品人人做人人爽50路| 亚洲乱码国产乱码精品精98午夜 | 精品91自产拍在线观看一区| 国产一区二区三区日韩| 欧美国产视频在线| 欧美丝袜第三区| 蜜桃一区二区三区四区| 久久久久久久综合日本| 91色婷婷久久久久合中文| 亚洲一区在线观看免费 | 一区二区三区免费看视频| 欧美日韩国产综合一区二区| 久久99精品久久久久久| 中文字幕av一区二区三区免费看| 色婷婷综合久久| 日本一不卡视频| 国产欧美视频在线观看| 91久久精品国产91性色tv| 美女视频黄免费的久久| 国产精品乱码一区二三区小蝌蚪| 欧美日韩一区二区三区免费看| 蜜乳av一区二区| 中文字幕一区二区不卡| 3atv在线一区二区三区| 风间由美性色一区二区三区| 亚洲成人综合视频| 久久精品一区蜜桃臀影院| 欧美三级韩国三级日本三斤| 国产一区二区三区综合| 亚洲制服丝袜一区| 亚洲国产精品成人综合| 欧美猛男gaygay网站| 国产精品77777竹菊影视小说| 一区二区不卡在线播放| 国产欧美日韩不卡| 91精品国产福利| 99国产精品视频免费观看| 蜜桃视频一区二区三区在线观看| 日韩一区欧美一区| 久久综合九色欧美综合狠狠| 欧美在线999| av高清不卡在线| 精品一区二区免费看| 亚洲国产成人av| 136国产福利精品导航| 亚洲精品一区二区三区香蕉| 欧美午夜一区二区| 色综合天天性综合| 国产91丝袜在线18| 久久成人18免费观看| 天天综合色天天综合| 亚洲精品中文字幕在线观看| 国产亚洲福利社区一区| 91精品蜜臀在线一区尤物| 一本大道久久a久久综合婷婷| 国产成人免费在线观看不卡| 久久机这里只有精品| 天堂久久久久va久久久久| 亚洲欧美电影一区二区| 日韩一区日韩二区| 国产精品美女久久久久av爽李琼| 欧美精品一区视频| 日韩一级完整毛片| 欧美人动与zoxxxx乱| 欧美色男人天堂| 91精品办公室少妇高潮对白| 91在线看国产| 色综合咪咪久久| 91麻豆免费视频| a亚洲天堂av| 91无套直看片红桃| 99re热这里只有精品免费视频| 国产成人免费xxxxxxxx| 国产成人福利片| 成人污视频在线观看| 成人一道本在线| 波多野结衣在线aⅴ中文字幕不卡| 成人激情小说网站| av在线一区二区| 91麻豆精东视频| 色国产精品一区在线观看| 在线一区二区三区四区五区| 在线观看成人免费视频| 欧美日韩一区在线观看| 欧美日韩1234| 欧美成人精品1314www| 精品av综合导航| 国产精品毛片久久久久久久| 亚洲美女精品一区| 亚洲一二三区在线观看| 日韩高清电影一区| 久久精品免费观看| 国产成人高清视频| 91久久免费观看| 欧美精品日韩一本| 精品少妇一区二区三区日产乱码 | 日韩欧美色电影| 国产亚洲婷婷免费| 成人欧美一区二区三区| 一区二区三区不卡视频在线观看| 亚洲国产综合91精品麻豆| 美女一区二区久久| 成人午夜电影久久影院| 欧美午夜精品久久久| 精品1区2区在线观看| 亚洲视频1区2区| 麻豆免费精品视频| 成人在线综合网站| 69久久夜色精品国产69蝌蚪网| 精品99久久久久久| 亚洲成av人片| 国产69精品久久久久777| 欧洲一区在线电影| 久久久国产一区二区三区四区小说| 中文字幕在线观看不卡| 日韩国产欧美在线观看| 成人午夜电影网站| 欧美一区二区成人6969| 亚洲美女区一区| 国产精品资源网站| 欧美精品日日鲁夜夜添| 国产精品久久久久9999吃药| 日韩精品电影一区亚洲| 99久久久国产精品免费蜜臀| 日韩三级在线免费观看| 国产精品白丝在线| 激情综合色播激情啊| 91黄视频在线| 国产精品网站在线播放| 蜜乳av一区二区三区| 在线免费观看日韩欧美| 欧美极品美女视频| 另类中文字幕网| 欧洲亚洲精品在线| 亚洲天堂a在线| 国产成人丝袜美腿| 精品欧美一区二区久久| 亚洲国产另类精品专区| 99国产一区二区三精品乱码| 国产日产欧产精品推荐色| 日韩高清电影一区| 欧美三级乱人伦电影| 亚洲欧美国产三级| av一区二区三区在线| 久久久久青草大香线综合精品| 免费成人你懂的| 欧美美女激情18p| 亚洲国产精品久久久久婷婷884| 99精品偷自拍| 亚洲欧美二区三区| 91一区在线观看| 国产精品久久久久永久免费观看| 精品一区二区免费| 久久久久久影视| 国产乱妇无码大片在线观看| 日韩欧美电影一区| 久久电影网站中文字幕| 欧美电视剧在线观看完整版| 奇米精品一区二区三区在线观看一| 欧美三级一区二区| 亚洲午夜久久久久中文字幕久| 91老司机福利 在线| 亚洲嫩草精品久久| 色香蕉成人二区免费| 亚洲欧美另类图片小说| 色综合中文字幕国产| 亚洲综合一区二区| 欧美日韩一区高清| 日韩不卡一二三区| 精品美女一区二区三区| 美女www一区二区| 久久日韩粉嫩一区二区三区| 国产福利一区二区三区视频在线 | 欧美刺激午夜性久久久久久久| 蜜桃精品视频在线| 久久蜜臀精品av| av电影在线观看一区|