阿摩線上測驗
登入
首頁
>
研究所、轉學考(插大)、學士後-計算機概論
>
95年 - 95 國立高雄大學_轉學招生考試試題_資訊工程學系二年級:計算機概論#148896
> 申論題
5. The execution of program codes
(a) (5%) What is an instruction cycle?
相關申論題
(b) (5%) Describe how a machine instruction is executed in a Von Neumann computer (hints: use CPU, MAR, MDR, PC, memory)
#617616
6. Suppose that in a C program, pieces of statements are given as follows. int x=5; int *xPtr; ... x=x+5; xPtr=&x; ... After compiling the program, the variable x is allocated at 001234 and the variable xPtr is at 002468, as illustrated below. | Main Memory | | | --- | --- | | Address | Content | | 000005 | 35 | | ... | | | 000010 | 27 | | ... | | | 001234 | | | ... | | | 002468 | | | ... | | After executing the program, what are the outputs of (a) (2%) &x
#617617
(b) (2%) &xPtr
#617618
(c) (2%) *xPtr
#617619
(d) (2%) &*xPtr
#617620
(e) (2%) *x
#617621
7. (10%) What is call-by-value? What is call-by-reference? What are the differences between them?
#617622
8. (10%) What is the content of the variable "number" after executing the following C program? #include int cubeByReference( int *nPtr ); int main() { int result, number = 5; printf( "The original value of number is %d", number ); result=cubeByReference( &number ); printf( "\nThe new value of number is %d\n", number ); return 0; } int cubeByReference( int *nPtr ) { return nPtr nPtr *nPtr; }
#617623
9. (10%) The IP protocol identifies and classifies the machines connected to the Internet. Please state how "class C" IP's are defined?
#617624
10. (10%) What is netmask? How does netmask operate in an IP-based network?
#617625
相關試卷
115年 - [無官方正解]115 國立高雄大學_轉學招生考試試題(轉二年級)_資訊工程學系:計算機概論#148890
115年 · #148890
115年 - [非官方正解]115 國立臺北大學_日間學士班轉學生招生考試試題_資訊工程學系日間學士班2年級:計算機概論#147389
115年 · #147389
115年 - [非官方正解]115 國立臺北大學_碩士班一般入學考試試題_資訊管理研究所:計算機概論#147163
115年 · #147163
115年 - 115 國立嘉義大學_碩士班招生考試試題_資訊管理學系:計算機概論#143936
115年 · #143936
115年 - 115 國立嘉義大學_轉學生招生考試試題_資訊管理學系:計算機概論#143910
115年 · #143910
115年 - [無官方正解]115 國立嘉義大學_轉學生招生考試試題_資訊工程學系:計算機概論#143857
115年 · #143857
115年 - 115 中央警察大學_碩士班入學考試試題_資訊管理研究所:計算機概論#139860
115年 · #139860
114年 - [無官方正解]114 國立臺北大學_碩士班一般入學考試試題_資訊管理研究所:計算機概論#147201
114年 · #147201
114年 - 114 中央警察大學_碩士班入學考試試題_資訊管理研究所:計算機概論#146889
114年 · #146889
114年 - 114 國立嘉義大學_碩士班招生考試試題_資訊管理學系:計算機概論#144127
114年 · #144127