~i5JJt: 182,190

!ilirUX:JJJ:lc~ 104 ~1f:J.lUJ{±lHm~~~~m

~PJT~J3.53U : ~~If~*ffi_ T~J:l , ~ijfjd!Mwf§Ifj~Jf5t?JTEf3t\fi ~~rt § : lllltff~lf[~

~~:rt aM : o211 • rrJ:x : 3

m1J!,~2J!

*

~~~5±JE

: 7-fs:~mFFPJ~ffl§t-~

o

§~1ni3=;y;;ffi(-FH1=i3=

, 1n/.'fs=~~HCt11=i3=~ • /f-T§t:Jt

o

1.(10%) A group of 10 people sits in a round table. How many different seating arrangements are there? We assume that a seating arrangement is determined by who sits next to whom and not by where they sit. We also agree not to distinguish between clockwise and counterclockwise; all that matters is who your two neighbors are, not who is on your left and who is on your right. · · 2. (15%) What are the following recursive definitions describing for: (a) the empty string A is in set X. If string x is in set X, so are 1x0 and Ox1. If string x and stringy are in X, so is xy. (b) f(A)= A. If s has one or more symbols, write s=ra where a is a symbol and r is a string (possibly empty). Then f(s)=f(ra)=af(r).

..;

(c) A is a palindrome. Any symbol a is a palindrome. If x andy are palindromes, then yxy is a palindrome. 3. (10%) Suppose each object in a set X of n objects is assigned a color from a set C of r colors. Then there is a subset U with at least m objects of the same color. Please show the number m. 4. (10%) Give a big-0 estimate of log 2 n 7 n+l. 5. (10%} If A is late then B is late. If both A and B are late, then the class is boring. Suppose that the class is not boring. What can you conclude about A? 6. (15%) The 1Pv4 address is a 32-bit number which divided into two parts: the network ID specifies the local network and the host ID specifies the particular computer. In order to accommodate the various sizes of the local networks connected through the Internet, the network IDs are further divided into several classes. In every class, a host ID may not consist of all O's and or all 1's. In class A, the left-most 8 bits give the full network ID where the left-most bit is set to 0. However, neither 00000000 nor 01111111 is allowed as a network ID for a class A IP address. In class C, the left-most 24 bits give the full network ID where the left-most three bits are set to 110. The remaining bits are used for individual host IDs. (a) Write the following IP address in dotted decimal form. 11001010 00111000 0110101111101110 (b) How many Class A networks can there be? (c) How many host IDs can there be for a Class A network.

~~5dt: 182,190

iiWir.JJX;m:k~ 104 ¥1¥-rtrm±mm~~~m

~PJT~J3.53U : ~~If~~~ T~J3. , ~Mf§JWw{§If~IiffJ'EpJTEJ3~fl ~Mf4§ : -~~~ m2J{,~2J!

7. (10%) What does the following pseudo-code generate. Input: A connected network N (n>2) Output: T T<-- el, where el is the shortest edge of N while T does not contain all of N's vertices e <--the shortest edge between a vertex in T and a vertex not in T Add edge e and the new vertex toT end

8. (20%) (a) What is the output d ofthe following algorithm? Input: integers m, n Output: d d+-m;e+-n while e:fO do r+- d mode d+-e e+-r end (b) Is the time complexity O(n)? Explain it. (c) Is the time complexity O(n)? Explain it. (d) Is the time complexity O(log 2 n)? Explain it.

~~E3~: 0211 · ruFx: 3

i5JJt: 182190 !ilirUX:JJJ:lc~ 104 ~1f:J.lUJ{±lHm~~~~m -

local networks connected through the Internet, the network IDs are further divided into several classes. In every class, a host ID may not consist of all O's and or ...

50KB Sizes 2 Downloads 38 Views

Recommend Documents

4\ 104/ wajs
energy stored in the spring causes the housing to rotate the magnet in an ..... Alternative forms exist for communicating With a Wireless communication device ...

104.pdf
Iván Fernández b. ,. Nuria A. Menéndez-Arias b. , Raquel Godinho c. , Isabel Álvarez b,n. a ACGA, C/Párroco José Fernández Teral n° 5 A, 33403 Avilés, Spain ...

104.pdf
provider of educational services, meeting the needs of the whole student by helping each. acquire necessary skills for life. By working in collaboration with our ...

Legge 104.pdf
Per usufruire dei benefici della L.104, va accertato che la persona handicappata da assistere sia. giuridicamente qualificabile tale in base a quanto previsto dall'art. 3 che così la definisce: "E persona handicappata chi presenta una minorazione fi

104 - Kais Baatour.pdf
The corporate governance code aims to. ensure the protection of shareholders' rights as well as the rights of stakeholders. Page 3 of 24. 104 - Kais Baatour.pdf.

104 Non Discrimination.pdf
Page 3 of 10. Page 3 of 10. 104 Non Discrimination.pdf. 104 Non Discrimination.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying 104 Non Discrimination.pdf. Page 1 of 10.

102 //"“'104 [F108
102. //"“'104. [F108. Network. CPU. I/O Devices. Interface. Circuit. A. H1 06. V. V. A. 110" ~. /——1 12. Database. ,. ,. /i1 14. Data Filterlng Module. ' GUI Moduie. '16 ..... For example, an embodiment of the invention may be implemented using

Circular 104 SEP PUE.pdf
Circular 104 SEP PUE.pdf. Circular 104 SEP PUE.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying Circular 104 SEP PUE.pdf. Page 1 of 4.

Air Force Instruction 14-104 - WordPress.com
Apr 23, 2012 - apply to criminal investigative activities. For purposes of ... Civil law enforcement agencies, such as the US Customs and Border. Patrol ... the course of routine, non-force protection related, intelligence activities and authorized.

x9c102-103-104-503.pdf
(k ). TEMP RANGE. (°C) PACKAGE. PACKAGE. DWG. #. X9C102P X9C102P 1 0 to +70 8 Ld PDIP MDP0031. X9C102PZ (Notes 1, 2) X9C102P Z 0 to +70 8 Ld PDIP (Pb-free) MDP0031. X9C102PI X9C102P I -40 to +85 8 Ld PDIP MDP0031. X9C102PIZ (Notes 1, 2) X9C102P ZI

DEPARTMENT ORDER NO. 104 .pdf
mothers for daughters is that which forevermoreshall bethe United States needs to limit theamount ofimmigrants it lets in every day, week,. month,and year. In trap wetrust.HighHeelsand LowLifes 2001.Whitecollar s01e07.65730397309. Symantecendpoint pr

man-104\human-resource-management-textbook-online.pdf ...
PDF. Exactly how a concept can be obtained? By looking at the superstars? By visiting ... Obviously, this is why, we mean you to click the web link web page to see, then you. can ... PDF Ebook : Human Resource Management Nel 8th Edi. 25.

104 vol 6.pdf
Whoops! There was a problem loading more pages. Retrying... 104 vol 6.pdf. 104 vol 6.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying 104 vol ...

man-104\pentair-011018-prices.pdf
Connect more apps... Try one of the apps below to open or edit this item. man-104\pentair-011018-prices.pdf. man-104\pentair-011018-prices.pdf. Open. Extract.

Paginas 097-104.pdf
Con anterioridad se de Doña Mencía abre camino realizando las prime- habían ... processed data from a compartmentalized manner, properly interrelated, it is ...

DEPARTMENT ORDER NO. 104 .pdf
DEPARTMENT ORDER NO. 104 .pdf. DEPARTMENT ORDER NO. 104 .pdf. Open. Extract. Open with. Sign In. Main menu. Displaying DEPARTMENT ORDER ...

104. Tulcea - Manastirea Cocos.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. 104. Tulcea ...

104 Number Theory Problems.pdf
on Algebraic Number Theory and Elliptic Curves. He teaches at Phillips Exeter. Academy. Zuming also ... Page 3 of 213. 104 Number Theory Problems.pdf.