资源描述
CMP 73 Assgnmet2; LbwQuz; 25 poinsInstructn: Slve tfollowig pblem. Us bView as oneed it.1. Ipornt data: (1)a. Nameb. numbec. Favrit Citmasmovie2. Wtis heiramsd forinLaView? (5)3. Ho s e digra fernt th t rt panel? (5)4. If yu wt to dsplay averge on thernt paelo h progam wat kind of a tm oud o se (ontrol, inicaor, Boola top button, etc) ? (5)5. Refer o thepiuebelo t anwer he questins. (20)a. Wt i the vu o , qb. Wht i he lue ofr, q2c. Wha is thvaue of r3, q3d. Whatis e vaue of r4, q46. Drwbhan th digra or a progam hatdipa acount fr 0 to 10.Therogrm take 5 nstorun Us a fo-loop (25)7. r b handthe agram for aproga tatdisplays a coutf 0t10, by 10s T prora taes 5 sconor Us a whieoop andash rester。(25)8. rwbhnd the darm for arogram thadispays a cont thancreen4 tes erseondnl theuser pushsa stop tton. urn n a bleanight wen te ount een The cout startsat andgoe ti he ser pushe he stop uton(40)9. Rfe to the picre ew to nswer te quesin? (40)a. Lael the artf thidrm, mke sure to point ou struues nd ctrol tyeb. If mas =5, a , l= 3, tme= 3,whatare e leso:i. ditii. frciii. rc. Redr his grausing items fom the nmric alete。LabViw ram (50 onts)10. Wre a pgramthat accpts scor d clasifis it a a grado universiy sale. f h usrntes a 90 o abov ih shuld urn ontat indiatsthat the grde san A, an so orh (uig theniversity scale). Let th ue ente scosuni stobtoispushed。 Whnyo have i workin, call m I llchek t 11. 文中如有不足,请您指教!12.13.2 / 2
展开阅读全文