1.what is the Excess_128 representation of 5?
(a)00000101(b)10000100(c)10000101(d)10000001
2.Change the decimal number-124 to an 8-bittwo's complement integer
3.An alogorithm of complexity O(n log n)is not as efficient as one of order
(a)O(logˇ2n)(b)O(n^2 )(c)O(2^n )(d)O(n√n)(e)n^(log_(2^n ) )
4.Can you draw a binary tree from the following prefix and infix traversal
order?If yes,draw the tree.If not,state your reason
Prefix:D B A C I E H
Infix:A B H C D E I
5.We have an integer array foo[3][7]in a C program. Assume that each integer
is Stored in two bytes.The array is stored in row-major order .If foo[0][0] is
stored at 0x200,where is foo[2][3]?
6.What are the three main features of Object-Oriented
Programming Language?
麻煩各位大大了~
小弟遇到瓶頸ˊˋ
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.126.140.201