• 沒有找到結果。

postfuc traversal. "A+B*C+D-E*FV, prefu:

N/A
N/A
Protected

Academic year: 2021

Share "postfuc traversal. "A+B*C+D-E*FV, prefu:"

Copied!
1
0
0

加載中.... (立即查看全文)

全文

(1)

1. How many memory cells can be in a computer's main memory if each cell's address can be represented by two hexadecimal digits? What if four hexadecimal digits are used? (10%)

2. What is the binary representation of 4 5/8? (10%)

3. What does the bit patterns represent the value -5 in two's complement notation? (10%)

4. The following is a message that was originally encoded so that each pattern had odd parity.

Circle the patterns in which an error has definitely occurred. (10%) 10110101 11110000 10010010 00000000 11111111

5. What value is represented by the bit pattern 01011100 when interpreted using floating-point format in which the most significant bit is the sign bit, the next three bits represent the exponent field in excess notation, and the last four bits represent the mantissa? (1 0%)

6 . Give a code to implement insert operation for a binary search tree. (1 5%)

7. Given an infa "A+B*C+D-E*FV, please find the related binary tree, and its prefu: and postfuc b y using traversal. (1 5%)

8. Find a minimum cost spanning tree for the undirected connected graph with the cost beside each link shown below and the source node is marked by 'S'. Please mark the sequence to each link when it is added.

a. Use Kruskal's algorithm (1 0%) b. Use Prim's algorithm (1 0%)

參考文獻

相關文件

Practice: What is the largest unsigned integer that may be stored in 20 bits. Practice: What is the largest unsigned integer that may be stored in

Too good security is trumping deployment Practical security isn’ t glamorous... USENIX Security

In the size estimate problem studied in [FLVW], the essential tool is a three-region inequality which is obtained by applying the Carleman estimate for the second order

A floating point number in double precision IEEE standard format uses two words (64 bits) to store the number as shown in the following figure.. 1 sign

A floating point number in double precision IEEE standard format uses two words (64 bits) to store the number as shown in the following figure.. 1 sign

Courtesy: Ned Wright’s Cosmology Page Burles, Nolette & Turner, 1999?. Total Mass Density

The existence of cosmic-ray particles having such a great energy is of importance to astrophys- ics because such particles (believed to be atomic nuclei) have very great

• When a number can not be represented exactly with the fixed finite number of digits in a computer, a near-by floating-point number is chosen for approximate