所屬科目:研究所、轉學考(插大)、學士後-計算機概論
(a) Store +101 in an 8-bit memory location using two’s complement representation.
(b) Show the hexadecimal equivalent of the above 8-bit string.
(c) Continued (a), what is the two’s complement of the above 8-bit string? (d) Can +128 be stored in an 8-bit memory location using two’s complement representation? Why?
2. Assume A = 0111, B = 0101, represented using two’s complement notation, please elaborate the calculation of A-B using the XOR and AND operations. (5%)
(a) With the resolution of 300 ppi, what is the printed size of the image (in inch)?
(b) Continued, with the representation of full-color (24 bits/pixel), what is the file size of the image (in MB) (1KB = 100Bytes, 1MB = 1000 KB)?
(a) What is “black-box testing”?
(b) What is “white-box testing”?
(c) Which of the above is more appropriate for the unit test? Why?
(a) What is the multi-user, multitasking operating system?
(b) Please provide an example of the multi-user, multitasking operating system in the real world.
(a) What is demand paging technique?
(b) Why is the above technique important for the multiprogramming operating systems?
(c) When will the “page fault” occur?
7. What is the advantage of “Encapsulation” in object-oriented programming? (5%)
8. Assume that a link list is as follows. Please write down the pseudo code about the operation of inserting a new data F in between C and D. (10%)
(a) Denial-of-service (DOS) Attack
(b) Domain Name System (DNS)
(c) Simple Mail Transfer Protocol (SMTP)
(d) Post Office Protocol (POP)