ࡱ> b c.jbjb{x{x r&>>>>>ccjjjez>8ccj6^>>>>ejj>vZ\c cS )) 1.8 1 1.8 2 The real answer was undefined; I gave 2 points to everyone. Firefox and Internet Explorer are: Two different browsers used on the Internet Two word processors that can be used on the Internet Two programming languages Two different types of modem to connect to the internet Part II (three problems, 10 points each; total 30 points) 1) For each category on the left in the table below, provide four examples on the right. CategoryExamplesInput/Output device Many options: keyboard, monitor, speakers, microphones, stylet,Storage device Again, many option: hard drive, USB keys, CDs, DVDs, blu ray disks, portable hard drives,Alternatives for internet connection at home Modem, cable, powerline, ADSL, wireless,Internet applications Applications was vagueit could mean software or usage. I allowed for both.Compiled programming languages Fortran, C, C++, Pascal, Ada, Cobol, 2) The table below contains invalid or ambiguous Python expressions on the left. For each of these expressions, give the correct expression on the right. Incorrect CorrectSorting a list: A = [1,4,3,2,6] B=A.sort() print The sorted list is :,B The command sort sorts in place, and B will contain nothing. There are two options: 1) A.sort() print The sorted list is:,A 2) B=sorted(A) print The sorted list is,BGet the first element of a list: L=[1,4,3,2,6] A=L[1] Python starts counting from 0 the first element is therefore: A=L[0]Input a list of integers: String=raw_input(Enter your list of integers) Numbers=String.split(,) Raw_input gives a string; splitting this string will give a list of strings; we still need to convert this list to a list of integers: Numbers=map(int,Numbers)Test if a number is even: If N/2 == 0: print The number ,N, is even We do not want to check if the quotient of N divided by 2 is 0, rather if the remainder of that division is 0: if N%2 ==0: Print The number,N,is evenCompute the sum all elements in a list: L = [1,2,5,3,2] Sum=0 for value in L: Sum=value When I write Sum=value, I erase the old value and replace it with value; instead, I want to add value: for value in L: Sum=Sum+value 3) The Python module written below reads in an integer number N given by the user and checks if it is perfect (A number N is perfect if it is equal to the sum of its divisors, excluding itself; for example, N=6 is perfect: its divisors are 1,2 and 3 and 1+2+3=6). Unfortunately, as written, this program does not work. It contains 5 mistakes, either simple typos or conceptual. Please find all these mistakes:  The errors are: 1) raw_input gives a string that needs to be converted to an integer 2) we only check the factors from 1 to N (N not included); we cannot divide by 0-> range(1,N) 3) We need the remainder of the division of N by factor: N%factor 4) When we compare two numbers, we use == and not a single =: N%factor ==0: 5) At the end of an if line, we need a semi-column: if Sumdivisor == N: (note that there was a typo: If should be if. The correct program is: N=int(raw_input(Enter the integer number -> )) Sumdivisor = 0 for factor in range(1,N): if N%factor == 0 : Sumdivisor = Sumdivisor+factor if Sumdivisor == N: print The number ,N, is perfect Part III. (two problems, 15 points each; total 30 points) 1) Write a small Python module that: - Reads in a list of N integers given by the user - Removes the smallest number and compute the average of the remaining numbers - Prints the average For example, if the numbers are 4,3,5 and 1, we remove 1, and compute the average of the numbers 4,3 and 5, which is 4. One solution is: # Read the list of integers: # string=raw_input(Enter your list of integers : ) l=string.split(,) numbers=map(int,l) # # Sort the list of numbers: # numbers.sort() # # Remove the smallest one # del numbers[0] # # Compute average of the remaining numbers # (we need to be careful not to divide the sum of the numbers with the length if both numbers are # integers; the easiest is to convert the sum into a float): # N=len(numbers) Sum=0.0 # This makes the Sum a float! For values in numbers: Sum=Sum+values Average=Sum/N # # Print the average: # print The average is: ,Average 2) Write a Python module that: - Reads in an integer number N with N between 0 and 9999 - Compute M, the reverse of the number N - Prints the original number N and the reversed number M, both as integers For example, if N=1234, then M = 4321 This was easy! # # Read the number as a string # N=raw_input(Enter your number) # # Reverse the string: # M=N[::-1] # # Print the solutions: # print The original number is,N print The reversed number is,M Name:__________________________________ ID: ___________________________________ PAGE  PAGE 1 N=raw_input(Enter the integer number -> ) Sumdivisor = 0 for factor in range(0,N): if N/factor = 0 : Sumdivisor = Sumdivisor+factor If Sumdivisor == N print The number ,N, is perfect *89<C *0ABC8 : < G Y z  ) ; @   @    ? x y 渮渮渮渮渮棖渮h9 h9 6B*phh9 h9 B*phhhh9 56hhh9 6 hAh9 hAh9 5 h9 5hvh9 5hvh9 56h9 h9 5CJaJhvh9 5CJaJ;#*9:;<Cl(q    C & Fgd9  & Fgd9  & Fgd9 gd9 $a$gd9 ,-b.8 9 Y z @ Z @ V h^hgd9  & Fgd9  & Fgd9  & Fgd9 gd9      ? x y V W " & Fgd9 gd9  & Fgd9 h^hgd9  V W r "  !#15%*9~-0V`ej9!$dystu '^aerjhhh9 Uh9 h9 B*phhhh9 56hhh9 6h9 h9 h9 6B*phN"#)-15%*9=h^hgd9  & Fgd9  & Fgd9  & Fgd9 gd9 =~V[`ej9Qs!"dkry & Fgd9  & Fgd9 gd9  & Fgd9 rs 'C^aei & Fgd9  & Fgd9  & Fgd9 h^hgd9  & Fgd9 gd9  & Fgd9 imqr OPs&)cd$Ifgd9 lB & F"gd9 gd9  & F gd9  & Fgd9 8^8gd9  & Fgd9 MPs'c+@bQ[\deufg O !D!!!!"I"""$$$c&d&.'/'4'H'I'x'6(horh9 5h9 h9 5B*ph'jh9 U_HaJmHnHsHtHh9 h9 6B*phhhh9 56hhh9 5CJhkh9 5hhh9 6h9 h9 B*phh9 :+ttttttt$Ifgd9 lBxkd$$Ifl0H$ t064 l4a+,;<=>?@ttttttt$Ifgd9 lBxkdL$$Ifl0H$ t064 l4attttttt$Ifgd9 lBxkd$$Ifl0H$ t064 l4abttttttt$Ifgd9 lBxkd$$Ifl0H$ t064 l4abcttttttt$Ifgd9 lBxkd0$$Ifl0H$ t064 l4aPQ[l$$Ifa$gd9 lBgd9 xkd|$$Ifl0H$ t064 l4a [\deu^xkd$$Ifl0H$ t064 l4a$$Ifa$gd9 lB$Ifgd9 lB 5Dfgtxkd$$Ifl0H$ t064 l4a$Ifgd9 lB  2 L M N O txkd`$$Ifl0H$ t064 l4a$Ifgd9 lB !!A!B!C!D!!!!!tttttttttt$Ifgd9 lBxkd$$Ifl0H$ t064 l4a !!""$"4"F"G"H"I"""""tttttttttttt$Ifgd9 lBxkd$$Ifl0H$ t064 l4a """"""}$~$$$$$$$$$gd9 xkdD$$Ifl0H$ t064 l4a$$$$$$$?%%%&K&c&d&&&&&&&& '.'/'0'1'2'3'4'`gd9 gd9 4'5'6'7'8'9':';'<'='>'?'y'z''' (5(6(((((()&)9);)W)Y)gd9 6(((+++,,,--------------_.c.ӼӼӣhorh9 5h9 0JmHnHu h9 0Jjh9 0JU h9 6h?h9 6h9 hhh9 6h9 h9 B*phh9 h9 6B*phhorh9 6Y)h)j))))))$*b*d*s******** + +)+b++++++ ,,gd9 ,-,/,P,R,h,j,t,v,,,,,,,,,,,,,,, ----- &`#$gd9 gd9 ----------.'.(.;._.`.a.b.c.`gd9 gd9  &`#$gd9 ":p9 / =!"#$% T,Ulz9ck}[4l- xKn`/Hi"uA10)UU5m n(DI DUF! #^CYUVu`_ss^Ƚl?Ze ?L\ˁ%Gݗ-y ހW-- @w;rF1|3}>9Khs >E{=rͩ =`}gNGϑ%o-CM re,z~.̈?^ns[h:WK%~Ne-55/t>.ڗT8QIJo${W!ʇۛN_9 Rt~SrB+ϠV5tfĿ.^t^J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65J$$If!vh55#v:Vl t65@@@ 6S0NormalCJ_HaJmH sH tH DA@D Default Paragraph FontRi@R  Table Normal4 l4a (k@(No List4@4 6S0Header  !4 @4 6S0Footer  !.)@. k Page Numbern@#n +N Table Grid7:V0_Hc(c(p !z!z!z!z!z!z!z!z z 'P?!%c(:#*9:;<Cl(q    C89Yz@Z @V?xyVW"# ) - 1 5   % * 9    = ~  V [ ` e j 9Qs!"dkryrs 'C^aeimqr OPs&)cd+,;<=>?@bcPQ[\deu5Dfg2LMNO ABCD$4FGHI}~? K c d !.!/!0!1!2!3!4!5!6!7!8!9!:!;!!?!y!z!!! "5"6""""""#&#9#;#W#Y#h#j######$$b$d$s$$$$$$$$ % %)%b%%%%%% &&-&/&P&R&h&j&t&v&&&&&&&&&&&&&&& ''''''''''''''('(((;(_(`(a(d(0`0`0`0`0`0`0`0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hH. L^`LhH. ^`hH. ^`hH. PLP^P`LhH.^`o()h^`OJQJo(hHo$ $ ^$ `o() @ @ ^@ `hH. ^`hH. L^`LhH. ^`hH. ^`hH. PLP^P`LhH.^`o() ^`hH.$ $ ^$ `o()@ @ ^@ `OJPJQJRJo(- ^`hH. L^`LhH. ^`hH. ^`hH. PLP^P`LhH. ^`o(hH. ^`hH. pLp^p`LhH. @ @ ^@ `hH. ^`hH. L^`LhH. ^`hH. ^`hH. PLP^P`LhH.^`o() ^`hH. pLp^p`LhH. @ @ ^@ `hH. ^`hH. L^`LhH. ^`hH. ^`hH. PLP^P`LhH.8 ^`o(hH.8 ^`hH.8 pLp^p`LhH.8 @ @ ^@ `hH.8 ^`hH.8 L^`LhH.8 ^`hH.8 ^`hH.8 PLP^P`LhH.8 ^`o(hH.8 ^`hH.8 pLp^p`LhH.8 @ @ ^@ `hH.8 ^`hH.8 L^`LhH.8 ^`hH.8 ^`hH.8 PLP^P`LhH.8 ^`o(hH.8 ^`hH.8 pLp^p`LhH.8 @ @ ^@ `hH.8 ^`hH.8 L^`LhH.8 ^`hH.8 ^`hH.8 PLP^P`LhH.8^`RJo(hH.^`OJQJo(hHopp^p`OJQJo(hH@ @ ^@ `OJQJo(hH^`OJQJo(hHo^`OJQJo(hH^`OJQJo(hH^`OJQJo(hHoPP^P`OJQJo(hH8 ^`o(hH.8 ^`hH.8 pLp^p`LhH.8 @ @ ^@ `hH.8 ^`hH.8 L^`LhH.8 ^`hH.8 ^`hH.8 PLP^P`LhH.$wZww\>QzjD1(w0p&!J06D_;0ǽpHNn(Z0)+msN0JjK{pg* X ]DpGFT\eK3"/0ǑwM ~@z@{H3 =D[ r-\;~H}\`qQ{#|:$$$%ʠ        %ʠr         w      %ʠ        kJ          w        wLļN      S         wLļN              8+        %ʠ           kJ                w        wLļN     %ʠ                 %ʠ        +,@bcQ\defgODId(@""""H$xc(p @UnknownGTimes New Roman5Symbol3 Arial? Courier New;Wingdings hϫ D !4dX' v ` "(ECS 89L: Computer Science For Biologists Patrice Koehl Patrice Koehl$                           ! " #  Oh+'0v ,8 X d p |',ECS 89L: Computer Science For BiologistsPatrice KoehlNormalPatrice Koehl2Microsoft Word 11.5.6@^в@JbC@"H@"H  G,uPICTu"d ,, MSWD ,Times New Roman 2.(, ( -)  -)  - Q) -) Name:)"__________________________________-( -(, -)  -)  - Q) -)  -\) - Q)  -`) -\)  -)  -)  -)  - Q) -)  -\) - Q)  -`) -\)  -@ ) -`)  -) -@ )  -) -)  -G) -)  -f) -G)  - ) -f)  -) - )  -`) -)  -@) -`)  -=) -@)  -p) -=)  -) -p)  -) -)   - ) -)  -)  - )   - `3) -)  -@z)  - `3)   - ) -@z)  -)I-)D:- Q)5 -) #___________________________________-\( -( C,   N-( C1-)   :-(b -(< ECS 15: I-F)n-) tr-F)-odu-)^ct-F)-ion-)N t-F)"o-) C- )9o-)mp- )Pu-)!ters-)^ -(F-)#i-F)na-)>ls-)' -(+9M-)7arc-F)Qh-)  19,-)X -)2010-)t  2-(f, *: *9 -*:Notes:-) -(Lw1),Arial-)* -)!T- Q)h-)e-) -`) fi- Q)n-)a- Q)l-)  e- Q)#x-)a-`)m-)' -`) i-)s-\) -) o-)pe- Q)/n-) - Q) b-)ook-)J,- Q)  -) o-)pen- Q)G n-)&ot-)'es.-\)6 -(w2),Arial-)* -)!Y-)$o-)u- Q) h-)&a- Q)v-)e-) -) 2- Q) h-)&o-)urs-)=,-)  - Q) n-)o-\) -`) m-)'o-)re: I- Q)R -) w-`)$il- Q)l-\)  -) s-)t-)r-`)i-)c-)t-`)l- Q)y-\) -) e- Q)n-`)f-)o-)rce- Q)= -\) t- Q) h-`)i-)s.-)  -(w3)-)* -)!T- Q)h-)e-) -`) fi- Q)n-)a- Q)l-)  -`) i-)s-\) -) d-`)i- Q)v-`)i-)ded-\)H -`) i-)n-)to-)' -) 3-) par-)Mt-)s,- Q)  -) a- Q)n-)d -)%graded- Q) -) o- Q)v-)e-)r-) -) 9-)0- Q) -) p-)o-`)i- Q)n-)t-)s- Q) -) (ac-)=t-)ua-`)/lly-)5 10-)?0-) p-)&o-`)i- Q)n-)t-)s-),-)  10- Q)? -\) o-`)f- Q) -(w- Q)$h-`)i-)c- Q)h-) are-)J -) c-)o- Q)n-)s-`)i-)dered-\)o -) e- Q)x-)t-)ra- Q)' -) c-)red-`)@i-)t-\) -) p-)o-`)i- Q)n-)t-)s)-\)$ -(2w4)-)* -)!Y-)$o-)u- Q) -) ca- Q),n-) a- Q)#n-)swer-)^ -) d-`)i-)rec-)=t-`)ly- Q)' -) o-)n- Q) -) t- Q)h-)ese-)? -) s- Q)h-)ee-),t-)s- Q) -) (pre-`)Qf-)erre-)Nd-)),- Q) -\) o-)r-`) -) o-)n- Q) -`) l-)oo-)2se- Q)) -) paper-)o.-)  -\)  -(lw5)-)* -)!P-`)l-)ease-\)U -) wr-`)5i-)t-)e- Q) -`) y-)o-)ur- Q)* n-)&a-`)m-)'e-\) -) a-)t-) -) t- Q)h-)e to-)Ip r-`)6i-)g- Q)h-)t -\)o-`)f -)eac- Q)Bh-) pa-)<g-)e- Q) -`) y-)o-)u- Q) -) t-)urn- Q)B -`) i- Q)n!-\)* -(w6)-)* -)!P-`)l-)ease,-\)b -) c- Q)h-)eck-)E -`) y-)o-)ur- Q)* -) w-)$o-)r-)k- Q)!-) I-`)f-) p-)&o-)ss-`)&i- Q)b-`)l-)e-),-)  s- Q) h-)o-)w- Q)$ -`) y-)o-)ur- Q)* -) wo-)<rk- Q)* -) w- Q)$h-)e- Q)n-) -`) m-)'u-`)l-\)t-`) i-)p-`)l-)e-\) -) s-)t-)eps- Q)B -) are-)= -`) i- Q)nv-)2o-`)l- Q)v-)e-)d-).-\)  -(, *9 *: - Q*9P-)a- Q)r-)t-) -) I ()0 20 question-)s-),- Q)  -) each-)a 2-)% ) poi-)Cn-)ts)$; t-)/o-)ta- Q)*l-) 4-)&0-) poi-)Pn-)ts)$)-) -(,(-)t- Q)h-)ese-)? -) ques-)[t-`)i-)o- Q)n-)s-) -) are- Q)= -`) m-)'u-`)l-)t-`)i-)p-`)l-)e-\) -) c- Q)h-)o-`)i-)ces- Q)?;-) -`) i- Q)n-\) -) eac- Q)Bh-) case-)b,-)  -`) fi- Q)n-)d-\) -) t- Q)h-)e-) -`) m-)'o-)s-)t-) ) p- Q)l-)a-)usib- Q)Yl-)e) a- Q)#n-)swer)-\)o -(, -+K:1)-)* -)! An example o-\(8f-)  an-`)? -) in-)*p-)ut- Q)* -) device) is-\). -(q a.- Q)# -)(T- Q)h-)e-) -) pr-`)*i- Q)n-)te-)#r,-\) - Q( b-).-\)  -)% T- Q),h-)e-) -) CP-)=U-)#,-\)  -( c.- Q)# -)(T- Q)h-)e-) -) ke-`)/y- Q)b-)o-)ard)@,-\)  -( d-).-\)  -)%T- Q)h-)e-) -`) m-)'o- Q)n-`)i-)tor-)7.-\)  - Q(W,P-)rinter-)q -) and- Q)K -) monitor-) -) are output devices; th-(We-) C- Q).P-)U-)$ i-)s- Q) -) neither-) -) input- Q)g -) nor-)E -) output-\) -(, -+K92)-)* -)! ) A ), MAC address( can be -)f-)ound- Q)d -) on:-\)C -( a.- Q)# -)(T- Q)h-)e-) - Q) b-)ack-)E o- Q)&f -`)y-)o-)u-)r-) MacB-)oo-)2k- Q) -`) l-)ap-)/to-)'p,-\)& - Q(= b-).-\)  - Q)%A-)$ NIC-)c -) card,-\)c -(w c.- Q)# -)(T- Q)h-)e-) -) grap- Q)Yh-`)i-)cs-\)) -) card,-\)c -( d-).-\)  -)%T- Q)h-)e-) -) CPU- Q)a -`) f-)a- Q)n-\) -(, The MAC a-)d-)dress- Q)h -) is-)! -) the- Q)= -) hardcoded-) -) addre- Q)ts-)s-) -) o-)f-) a- Q)& -) Net-`)Ew-)!ork-\)B -) Inter-)af-)ace- Q)E -) Card-)f - Q) (-)NIC)-)d ( #, -+K:3)-)* -)!One main advant( ]age o-\)nf-)  a-`)& -) solid state drive( ] compa-)r-)ed- Q)/ -) to-)' -) a- Q) -) regular hard drive( ] is:-\)? -(  a.- Q)# -)(I-)t-) d-)&o-)es- Q)) n-)&ot-\)' -) requ-`)Yi-)re-\)' -) p-)o-)wer-\)K - Q(  b-).-\)  -)%I-)t-) - Q) h-)as-)) -) a- Q) -`) m-)'uch-\)G -`) l-)arge-)Vr-) capac-`)~i-)t-`)y- Q) -) (se- Q):v-)era-`)=l-) pe-)<t-)a- Q)b-`)y-)t-)es)-): -(  c.- Q)# -)(I-)t-) - Q) h-)as-)) - Q) n-)o -`)&m-)'o-)v-`)i- Q)n-)g-) -) par-)@t-)s- Q) -) s-)o -`)%i-)t-\) -`) i-)s-\) -`) l-)ess-\)< - Q) f-)rag-`)@il-)e-) -( C d-).-\)  -)%I-)t-) d-)&o-)es- Q)) n-)&ot-\)' -) requ-`)Yi-)re-\)' -) ca- Q),b-`)l-)es-\)) -) as-`)) i-\)t -)w-)$o-)rks- Q)= -) w-`)$i-)re-`)'l-)ess-`)<ly-)' ( |w -*:4)-)* -)! ) C- Q)!P-)Us-)7 -) in- Q)' -) computers-) -) a) re covered -`)w-)!ith-\)5 -) a-`) -) heat sink-) t-)o:-)* -(  a.- Q)# -)(D-`)$i-)ss-`)&i-)pa-)/t-)e- Q) -) t- Q)h-)e-) - Q) h-)ea-),t-) -) t- Q)h-)e-`)y-) re-`)4l-)ease-)U - Q( ) b-).-\)  -)%Make -)~t- Q)h-)e-`)m-)' -`) l-)oo-)2k- Q) -) pre-)@tt-`)y-\) -( b c.- Q)# -)(Pr-)-ot-)'ec-),t-) -) t- Q)h-)e-`)m-)' -`) f-)r-)o- Q)m -)3s- Q)h-)o-)cks- Q)B -) (-`)f-)or-\)) -) e- Q)x-)a-`)m-)'p-`)l-)e-\) -`) i- Q)f-\) -) t- Q)h-)e-) -) c-)o-`)m-)'p-)u-)t-)er- Q)' -`) f-)a-`)ll-)s)-\)$ -(  d-).-\)  -)%Is-)$o-`)l-)a-)t-)e- Q) -) t- Q)h-)e-`)m-)' -`) f-)r-\)o-`)m -)4t- Q)h-)e ot- Q)Ih-)er-)' -) de- Q)/v-`)i-)ces-\)? -) t-\)o- Q) -) a- Q)v-)o-`)i-)d-\) -`) i- Q)n-)t-)e-)r- Q)f-)ere- Q)=n-)ces-)?  ! ! ! !  ! ! !  ! ! !  ! ! !  ! ! !  ! ! !  ! ! !  ! ! !  ! ! ! ՜.+,0 `hpx  'DX' )ECS 89L: Computer Science For Biologists Title  !"#$%&'()*+,-./0123456789;<=>?@ACDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~Root Entry FjVData :1TableBWordDocumentrSummaryInformation( wDocumentSummaryInformation8CompObjXObjectPooljVjV FMicrosoft Word DocumentNB6WWord.Document.8