1 5 IBM Intel 1. IBM 第 1/175 页
第 2/175 页
第 3/175 页
80 第 4/175 页
2. IBM 第 5/175 页
3. (1) 第 6/175 页
第 7/175 页
第 8/175 页
= = 第 9/175 页
= = = = = 第 10/175 页
= = = = = = = = 3. (2) 第 11/175 页
第 12/175 页
第 13/175 页
3. (3) 第 14/175 页
第 15/175 页
第 16/175 页
第 17/175 页
第 18/175 页
第 19/175 页
3. (4) 第 20/175 页
第 21/175 页
第 22/175 页
第 23/175 页
第 24/175 页
第 25/175 页
第 26/175 页
第 27/175 页
4. Intel (1) = = = = = = = = = 第 28/175 页
= = = = 第 29/175 页
== == 第 30/175 页
第 31/175 页
第 32/175 页
= + + = 第 33/175 页
= 第 34/175 页
= = = = = = = = 第 35/175 页
= = = 4. Intel (2) 1 Pipeline if(a>b) i=0; else i=1; 2 ring3 CPU mov eax, [0x12345678] 3 第 36/175 页
4 BIOS 5 PCI driver 1 C main() exit return 2 TOTAL 1 N N 1 #define TOTAL 15; int xxxx(int N) { int ring[total] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1} // 1 int nextstart = 0, counter=0; for (i =1; i<total; i++){ counter = 0; while(counter <N) { if ( ) 第 37/175 页
( ;) else ( ;) } ring[nextstart]=0 } return nextstart +1; } 3 Intel 4 1 x, y f(x,y) = intig(0,1)* dx*intig(0,x)*k*dy k k=? E(xy) =? intig(a,b) a b 2 A B A P(A U B)*p(AB) <= P(A)P(B) B P(A U B)*p(AB) >= P(A)P(B) C P(A U B)*p(AB) <= P(A) + P(B) 第 38/175 页
D P(A U B)*p(AB) >= P(A) + P(B) 5 200kHz 10dB 6 int main() { int a,b,c,abc = 0; a=b=c=40; if(c) { int abc; abc = a*b+c; } printf( %d,%d, abc, c); return 0; } 7 第 39/175 页
8 9 DFT 2^N fft N*M 10 fir iir 11 5. 第 40/175 页
6. PWC 7. DTT 第 41/175 页
第 42/175 页
8. 5 1 1 A ccs B cas C ip D atm 2 isdnpri A B C D 第 43/175 页
3 A ospf B bgp C is-is D rip 4ssp scp ss7 A incs B is41b C is41c D inap 5 dtmf A B C D 6 A cpu B C D 7 A pcm B pam C (delta)m D atm 8 A rj11 B rj45 C rs232 D bnc 9 A B C D 10 ss7 A stb B slb C sub D spb 第 44/175 页
10 1 IP 2 3 4 ss7 5 ss7 6 7 8 9 10 9. PC IC 第 45/175 页
第 46/175 页
第 47/175 页
= 第 48/175 页
10. 第 49/175 页
第 50/175 页
第 51/175 页
第 52/175 页
11. 12. IC 第 53/175 页
第 54/175 页
第 55/175 页
第 56/175 页
= 第 57/175 页
3. 13. 第 58/175 页
14. 第 59/175 页
15. 16. 第 60/175 页
17. 18. P&G 第 61/175 页
第 62/175 页
第 63/175 页
第 64/175 页
第 65/175 页
第 66/175 页
19. Delphi 第 67/175 页
第 68/175 页
第 69/175 页
第 70/175 页
main() 第 71/175 页
第 72/175 页
20. 第 73/175 页
第 74/175 页
21. Hongkong Bank 第 75/175 页
22. A.T. Keaney 1. Describe your greatest achievement in the past 4-5 years? 23. Shell company 第 76/175 页
24. CICC 第 77/175 页
25. KPMG 第 78/175 页
6. Eyes are able to cope with a greater input of information than ears. 第 79/175 页
第 80/175 页
第 81/175 页
26. 27. 第 82/175 页
28. 第 83/175 页
29. 第 84/175 页
30. Briny 第 85/175 页
31. 第 86/175 页
Ansewr: please correct them to make sure we can get the printed-out result as below: 第 87/175 页
32. L\'ORÉAL 第 88/175 页
33. 第 89/175 页
34. IT 35. IT 第 90/175 页
第 91/175 页
36. EDA Avant! EE 第 92/175 页
37. 38. IT 第 93/175 页
39. A Test for The C Programming Language I. History 1. C was originally designed for and implemented on the (what) operating system on the DEC PDP-11, by (who). 2. The most recently approved ANSI/ISO C standard was issued in (when), and single line comments notation // is or isn t a feature of C89. II. Syntax and Semantics 1. In a runtime C program, auto variables are stored in, static variables are stored in, and function parameters are stored in. a. stack b. heap c. neither stack nor heap 2. The statement extern int x; is a, and the keyword extern is used during. a. variable declaration b. variable definition 第 94/175 页
c. compilation time d. runtime 3. There is a complicated declaration: void ( * signal (int, void (*)(int)) ) (int); If a statement typedef void (*p) (int); is given, please rewrite this complicated declaration. 4. The following code is a segment of C program.... void func(int *p) {...}... main() { int num=0;... func(&num);... }... 第 95/175 页
Here, the function argument &num is passed. a. by value b. by reference III. Practice Create a tree, which has h (h>0) layers, and its each node has w (w>0) sub-nodes. Please complete the following incomplete solution. #include <stdlib.h> #include <string.h> struct tree{ char info; p_sub; //link to sub-nodes }; // allocate memory and initiate void dnode ( struct tree* tmp ) { = malloc( sizeof (struct tree) ); = 0x41; 第 96/175 页
= NULL; } struct tree *dtree (struct tree* subtree, int height, int width) { int i; if (!subtree ) //if necessary, allocte memory for subtree denode(subtree); if ( height == 1 ) return subtree; else if ( height == 2 ) { struct tree *leaf = NULL; for ( i=0; i<width; i++ ) { denode ( ); ; 第 97/175 页
leaf = NULL; } return subtree; } else { for ( i=0; i<width; i++ ) { } return subtree; } } main() { 第 98/175 页
... struct tree *root = NULL; root = dtree (root, h, w) ; // h and w are integers get from input... } 40. C++ 第 99/175 页
第 100/175 页
41. Sony 第 101/175 页
第 102/175 页
第 103/175 页
第 104/175 页
第 105/175 页
第 106/175 页
42. VERITAS 第 107/175 页
第 108/175 页
1. (1) = 第 109/175 页
第 110/175 页
第 111/175 页
1. (2) 第 112/175 页
+ + ++ + + + + ++ > + >+ < = 第 113/175 页
++ ++ < = + + + + + + + ++ + = + + + + + + < > + +>+ + = + +>+ + > < 第 114/175 页
+ +<+ + = < > + + +>+ + + + + +<+ + + + + ++ + + ++ + + > 第 115/175 页
= +++ + = +++ + = < > + + + + + + + + ++ ++ = < 第 116/175 页
> + + + + ++ = + + + + ++ = + + + + + + + + = 第 117/175 页
= = = = = = = = = = 2. 第 118/175 页
= + 第 119/175 页
+ + = = += + + += = += + + + += = = 第 120/175 页
第 121/175 页
3. 第 122/175 页
第 123/175 页
第 124/175 页
<= > = = + = + = = + = = = 第 125/175 页
= = += += += +=+ = = = = = == = = += += += += + = = = = = = = += += += += +=+ = = = = = = = += += += += += + = = = = = 第 126/175 页
= = = = = = = = = + = + = 第 127/175 页
+ = + = = + = + = 4. 第 128/175 页
=+ = = 第 129/175 页
= 第 130/175 页
第 131/175 页
+ + + 第 132/175 页
+ + ++ 第 133/175 页
= = + ==+ ==+ + + + = + + + = + + + + = 第 134/175 页
5. ++ 第 135/175 页
第 136/175 页
第 137/175 页
6. 第 138/175 页
第 139/175 页
第 140/175 页
= = 第 141/175 页
1. 第 142/175 页
2. 第 143/175 页
第 144/175 页
3. (1) 第 145/175 页
第 146/175 页
3. (2) 第 147/175 页
第 148/175 页
3. (3) 第 149/175 页
+ + + 第 150/175 页
+ + = = + + 3. (4) 第 151/175 页
第 152/175 页
3. (5) 第 153/175 页
第 154/175 页
3. (6) 第 155/175 页
3. (7) 第 156/175 页
3. (8) 第 157/175 页
第 158/175 页
3. (9) 第 159/175 页
3. (10) 第 160/175 页
3. (11) 第 161/175 页
第 162/175 页
3. (12) 第 163/175 页
第 164/175 页
3. (13) 第 165/175 页
第 166/175 页
第 167/175 页
3. (14) 第 168/175 页
第 169/175 页
3. (15) 第 170/175 页
第 171/175 页
第 172/175 页
3. (16) 第 173/175 页
第 174/175 页
第 175/175 页