ࡱ> ehdy Z+bjbj 4L{{b""""8Z\,"B(=B?B?B?B?B?B?B$vD(GcBcBxB=B=B=DE@@Z#r>&)BB0B#?"H{$HLE@HE@L6U,NcBcBBH : Homework Guidelines Since this is the first homework assignment, the following will give you guidelines for how to format what you turn in. Format for Your Work Use the  HYPERLINK "http://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/HW_template.doc" Homework Template file available on the website. Fill out the cover sheet completely. There is a big blank space in which I want you to write a reflective summary of the assignment. Structure your summary into a minimum of three paragraphs. In the first paragraph discuss what you did. In the second paragraph discuss how you did it. In the third paragraph describe what you learned from the assignment. The summary is an important part of the homework assignment, so remember to include it and do a good job on it. Customize the header of the Homework Template by putting your first initial, last name, and homework number in the appropriate table cells. You can open the header by double-clicking on it, and then clicking in each table cell. Customize the footer of the Homework Template to put your own name, a unique file name that includes your name and lab section number (see instructions below for how to structure the file name), and the date of the current version. You can open the footer by double-clicking on it. If your name is, John Smith, and you are in lab section 3, then use the following naming convention for the file name: smith_jo_sec_3_hw1.doc Fill out one answer table per problem in the Homework Template. You can copy and paste the table as needed to cover all the questions. The box labeled No. is for the number of the problem as listed on the homework instructions (like this sheet below). The box under the heading Problem Description is for you to type a brief re-statement of what the problem is. This does not have to be a verbatim quotation of the full problem statement, but it should be complete enough that a peer of yours could understand what the problem was all about. The box under the heading Solution is for you to type your answer to the problem. Expand the size of the table as needed by dragging one of the border lines with the mouse cursor. Duplicate the full table for additional problems as needed Submission Turn in a hard copy of your homework at the beginning of lecture, when it is due, which is usually one week after it has been assigned. Also, upload a soft copy of your homework to the corresponding Dropbox in the Desire2Learn course management system. Note the deadline for submission of the soft copy. Upload your copy well before the deadline. Both hardcopy and softcopy must be submitted for you to earn credit for the assignment Other Notes Re-read the section on Academic Integrity in the HYPERLINK "http://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/ME30syllabus.doc"ME 30 Syllabus, so that you avoid violating the policy. Plagiarism and cheating will not be tolerated. HW #1: ME 30 Website, Desire2Learn, Ch Installation, and Algorithms Due: 9/3/12 Hardcopy at the beginning of lecture, softcopy to D2L Take the ME 30 Entrance Survey.  HYPERLINK "http://asset.tltc.shu.edu/servlets/asset.AssetSurvey?surveyid=5416" http://asset.tltc.shu.edu/servlets/asset.AssetSurvey?surveyid=5416 You have to log in with a username and password to take the survey. Your username will be: me30, an underscore, your last name, underscore, and the first two letters of your first name, all in lower case. So for example, if your name is John Smith, your username would be: me30_smith_jo Your password is: ME30rocks Make sure the box for 'Login as:' shows Local User (not Seton Hall). Use the drop down box to change it if needed. The survey password is: ME30_survey (2 pts.) Log into HYPERLINK "https://sjsu.desire2learn.com/"  Desire2Learn, and modify your email forwarding preference to forward emails to an external email system that you regularly check. Send yourself an email from within Desire2Learn, and then when you receive the email, copy and paste the email header information on your answer sheet to prove that your emails will be forwarded. If you have any problems logging in see,  HYPERLINK "http://www.sjsu.edu/ecampus/students/" http://www.sjsu.edu/ecampus/students/. Also, make sure that your contact information in my91 is up to date (especially your email address). (2 pts.) Enroll in Piazza (HYPERLINK "https://piazza.com/class" \l "fall2012/me30"https://piazza.com/class#fall2012/me30) Include evidence in your homework submission that you successfully enrolled in Piazza. (2 pts.) Post a question in Piazza. Answer someone elses question. Questions 5 and 6 deal with information that can be found from links on the ME 30 website:  HYPERLINK "http://www.engr.sjsu.edu/bjfurman/courses/ME30/" http://www.engr.sjsu.edu/bjfurman/courses/ME30/ (2 pts.) What URL on the ME 30 website, would lead you to a reference for how to use Ch? (2 pts.) a). What URL on the ME 30 website, would lead you to a reference on the C language? b). Using that reference, what does the function fprintf() do? (5 pts.) Consider the following scenario. Three ME 30 students, Dave, Carlos, and Vicki, work together on a homework assignment that involves writing a program. Vicki and Carlos create a flowchart for the program, and they give it to Dave, because he had some prior experience writing C code in high school, and Dave writes the program. Dave emails the program to Carlos, and Carlos puts the flowchart and the code in the homework template, and emails the completed homework assignment to Dave and Vicki. They each put their name on the assignment and turn it in. In light of the Academic Integrity Policy presented in the ME 30 syllabus, please comment on the approach taken by Dave, Carlos, and Vicki for this assignment. Are they in compliance? Did they commit plagiarism? What will you do in ME 30 if faced with a similar circumstance? Questions 8 - 10 deal with information presented in the handouts: Notes on Algorithms, Notes on Variable Names, Notes on Data Types, which are available at:  HYPERLINK "http://www.engr.sjsu.edu/bjfurman/courses/ME30/handouts.htm" http://www.engr.sjsu.edu/bjfurman/courses/ME30/handouts.htm (2 pts.) a). What is the flowchart symbol for an Input/Output operation? b). What is the flowchart symbol for a Decision operation? (2 pts.) Could you give a variable the name, double, in a C program? Explain your answer. (2 pts.) What range of values can a variable of the data type, unsigned int, take on assuming the MSVC++ compiler were being used? Question 11 comes from one of the assigned readings for this week: HYPERLINK "http://www.framingham.edu/~dkeil/keil-johnson.pdf"http://www.framingham.edu/~dkeil/keil-johnson.pdf (2 pts.) What is the first step in software development? Exercises 12 and 13 refer to concepts presented in Notes on Algorithms, Pseudocode, and Flowcharts, which is available at  HYPERLINK "http://www.engr.sjsu.edu/bjfurman/courses/ME30/handouts.htm" http://www.engr.sjsu.edu/bjfurman/courses/ME30/handouts.htm (5 pts.) Use the pseudocode language constructs listed in the handout,  HYPERLINK "http://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/Notes_on_Algorithms.pdf" Notes on Algorithms, Pseudocode, and Flowcharts to write out an algorithm in pseudocode to find and print out the area of a rectangle, where the lengths of the sides are obtained from a user. If you work with MS Word, I recommend that you use the Multilevel List style, which will automatically indent and number lines for you. In MS Word 2007 or higher, there is an icon for this on the Ribbon Bar under the Home Tab. (5 pts.) Create a flowchart for the algorithm from Problem 12 following the guidelines for constructing flowcharts shown in the handout,  HYPERLINK "http://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/Notes_on_Algorithms.pdf" Notes on Algorithms, Pseudocode, and Flowcharts. I recommend using the drawing tools in Word or Power Point (or other program such as Visio). Both of these include flowchart drawing elements. (See Insert | Shapes) (5 pts.) Obtain Ch 7.0 Student Edition from: HYPERLINK "http://www.softintegration.com/download/register/"http://www.softintegration.com/download/register/ Show that you were able to successfully install Ch by including a screenshot of one of the example programs, plotxy.ch. You can find this program once you are in ChIDE by looking in the directory: C:\Program Files\Ch\demos\bin Assuming that the .ch file extension is not associated with anything else, you should be able to run the demo by double-clicking on the file name. Alternatively, within ChIDE you can use File | Open, and select the example. Then press F2 or Tools | Run Try modifying some of the numbers in the file to see how they change the plot.     San Jos State University Department of Mechanical and Aerospace Engineering ME 30 Computer Applications Page  PAGE 3 of  NUMPAGES 3 BJ Furman | ME 30 Computer Applications | HW1_website_D2L_Ch_algos_non-D2L.doc | 04AUG2012    0 1 2 U V W   ? B o      2 = p ?  | } ⺶⛓hhC:6hqhh6hhdD`hk6 hkhkhdD`hhkhahC:hP]h0Jjh7UhP]jhP]UhhC:hJ>* hP]>*hJhh522  } ldp_ h^h`gd:( & Fgd}xgd} & Fgda xx^gdq & Fgdk & FgdJxgdC:gdJxgd} #* kz8:>Ay cdop徶ìÜ徶jhP]Uh#hP]>*h#h}>*hh>*hhP]6>*hC:h}>* h}>*hP]hh:(hh6>*hh7[hah}hC:hq hqCJhKjJhqCJ2_`egvUWXɿ}uiaVaiIiahmxhX0JCJaJhXhXCJaJhXCJaJjhXCJUaJh'CJaJhmCJaJh&CJaJ hW5 h#5h:(h:(5h:(h:(>*OJQJh_LCJOJQJh]6CJOJQJhCJOJQJh>*CJOJQJh>*CJOJQJh}hP]h}0JjhP]Ujh:(UKoZ# hx^hgd_ & F hx^hgd_ $xa$gd[C x^gd[C & F hhx^hgdlL hx^hgd' & F hx^hgd62_$ hx^h`a$gd:(-7:U cno "+C !Tϰ}ooggh{ CJaJhcLhlL6>*CJaJh&hlL0JCJaJ#j0h&hlLCJUaJjhlLCJUaJhlLCJaJh62_h&CJaJh62_h'>*CJh62_hn5CJh62_h'5CJh62_hn6CJh62_hnCJh62_h'CJh'h'CJaJ!TUV{|89:`actIYZ[̼{u{u{ju_uYuYOjh62_CJU h[CCJh62_h62_CJaJh62_hnCJaJ h62_CJ h CJ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:CJhN+jhN+Uh;hh/uCJaJhWCJaJhOCJaJh|]h|]CJaJh|]CJaJh Mh MCJaJhBQCJaJh MCJaJhI3wCJaJ"********** +%+=+E+I+L+Q+U+V+X+Y+Z+uieaVh;hh/uCJaJhN+h-zhnCJOJQJ^JhCJOJQJ^Jh>qCJOJQJ^Jh55h55CJOJQJ^Jh6wCJOJQJ^Jh55CJOJQJ^Jh.KXCJOJQJ^Jh-zCJOJQJ^Jh-z0JCJOJQJ^J#jh-z0JCJOJQJU^J%h40JCJOJQJ^JmHnHu*W+X+Y+Z+ !@ D%$dNgd6w2&P:p/ =!"#$`%h DyK yK http://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/HW_template.docyX;H,]ą'cDyK yK http://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/ME30syllabus.docyX;H,]ą'cDyK yK Vhttps://sjsu.desire2learn.com/yX;H,]ą'cDyK yK dhttp://www.sjsu.edu/ecampus/students/yX;H,]ą'cDyK  yK Jhttps://piazza.com/classyX;H,]ą'cfall2012/me30DyK yK |http://www.framingham.edu/~dkeil/keil-johnson.pdfyX;H,]ą'c'DyK yK http://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/Notes_on_Algorithms.pdfyX;H,]ą'c'DyK yK http://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/Notes_on_Algorithms.pdfyX;H,]ą'cDyK yK |http://www.softintegration.com/download/register/yX;H,]ą'c^ 666666666vvvvvvvvv666666>666666666666666666666666666666666666666666666666hH6666666666666666666666666666666666666666666666666666666666666666662 0@P`p2( 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p8XV~_HmH nH sH tH <`< NormalCJ_HmH sH tH DA`D Default Paragraph FontViV  Table Normal :V 44 la (k (No List 8 @8 Footer  !CJ4@4 Header  !0U`0 Hyperlink>*B*FV`!F FollowedHyperlink >*B* ph.)@1. Page NumberA 5ilPK![Content_Types].xmlN0EH-J@%ǎǢ|ș$زULTB l,3;rØJB+$G]7O٭V$ !)O^rC$y@/yH*񄴽)޵߻UDb`}"qۋJחX^)I`nEp)liV[]1M<OP6r=zgbIguSebORD۫qu gZo~ٺlAplxpT0+[}`jzAV2Fi@qv֬5\|ʜ̭NleXdsjcs7f W+Ն7`g ȘJj|h(KD- dXiJ؇(x$( :;˹! I_TS 1?E??ZBΪmU/?~xY'y5g&΋/ɋ>GMGeD3Vq%'#q$8K)fw9:ĵ x}rxwr:\TZaG*y8IjbRc|XŻǿI u3KGnD1NIBs RuK>V.EL+M2#'fi ~V vl{u8zH *:(W☕ ~JTe\O*tHGHY}KNP*ݾ˦TѼ9/#A7qZ$*c?qUnwN%Oi4 =3N)cbJ uV4(Tn 7_?m-ٛ{UBwznʜ"Z xJZp; {/<P;,)''KQk5qpN8KGbe Sd̛\17 pa>SR! 3K4'+rzQ TTIIvt]Kc⫲K#v5+|D~O@%\w_nN[L9KqgVhn R!y+Un;*&/HrT >>\ t=.Tġ S; Z~!P9giCڧ!# B,;X=ۻ,I2UWV9$lk=Aj;{AP79|s*Y;̠[MCۿhf]o{oY=1kyVV5E8Vk+֜\80X4D)!!?*|fv u"xA@T_q64)kڬuV7 t '%;i9s9x,ڎ-45xd8?ǘd/Y|t &LILJ`& -Gt/PK! ѐ'theme/theme/_rels/themeManager.xml.relsM 0wooӺ&݈Э5 6?$Q ,.aic21h:qm@RN;d`o7gK(M&$R(.1r'JЊT8V"AȻHu}|$b{P8g/]QAsم(#L[PK-![Content_Types].xmlPK-!֧6 0_rels/.relsPK-!kytheme/theme/themeManager.xmlPK-!0C)theme/theme/theme1.xmlPK-! ѐ' theme/theme/_rels/themeManager.xml.relsPK] Z#%L vv} T[!%1(*Z+ !#$'*Z+"%   W  U{9`Z+DD)YY. Z#XXXXXXXXXXXXX{!8@0(  B S  ?2B2B2B2B2Bn"n"w"}"[#v"|"""[#C*urn:schemas-microsoft-com:office:smarttagsmetricconverter=*urn:schemas-microsoft-com:office:smarttags PlaceType9*urn:schemas-microsoft-com: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hH8^`OJQJ^Jo(hHo8^`OJQJo(hHh hh^h`o(hH.h88^8`OJQJ^Jo(hHoh^`OJQJo(hHh  ^ `OJQJo(hHh  ^ `OJQJ^Jo(hHohxx^x`OJQJo(hHhHH^H`OJQJo(hHh^`OJQJ^Jo(hHoh^`OJQJo(hHh ^`o(hH.h ^`hH.h pLp^p`LhH.h @ @ ^@ `hH.h ^`hH.h L^`LhH.h ^`hH.h ^`hH.h PLP^P`LhH.h^`OJQJo(hHh ^`o(hH.hpp^p`OJQJo(hHh@ @ ^@ `OJQJo(hHh^`OJQJ^Jo(hHoh^`OJQJo(hHh^`OJQJo(hHh^`OJQJ^Jo(hHohPP^P`OJQJo(hHhh^h`.h ^`o(hH.h ^`hH.h pLp^p`LhH.h @ @ ^@ `hH.h ^`hH.h L^`LhH.h ^`hH.h ^`hH.h PLP^P`LhH.^`.!-KIr.~ho\s{D^mKe<i_F~:x C^Cw0 9*@n:ęv        p        R|                ęv         ęv       p        srN+#b6wxbkX`{ N0"Q^$y$'5Z.,/du455]66x;[CYCX DE8E*GlLMBQ2VaWzX.KXx)Y7[T[|]P]62_dD`qb;hEo>q'u/uI3wY{w ]|z|7psCPNW@htJ'C:q-z@pC*^a M/j}4-&:(n La}f^km;R+hcL_LMGP5u|_47Wf=-O-b"d"@  Z#(@UnknownG*Ax Times New Roman5Symbol3. *Cx ArialCNComic Sans MS;Wingdings?= *Cx Courier NewA$BCambria Math"qh%##b+!A>!A>q24Q"Q" 3qHX?72!xx 5HW #1 ME 30 Website, Desire2Learn, Ch, and AlgorithmsME 30 Computer ApplicationsBurford J. FurmanBuffL           Oh+'0$ 4@ ` l x 8HW #1 ME 30 Website, Desire2Learn, Ch, and AlgorithmsBurford J. FurmanME 30 Computer Applications Normal.dotmBuff7Microsoft Office Word@R=@ʒk@Vxr@LTr!A՜.+,D՜.+,h$ hp   Microsoft>Q" 6HW #1 ME 30 Website, Desire2Learn, Ch, and Algorithms Title 8@ _PID_HLINKSANN$2http://www.softintegration.com/download/register/PD!Ohttp://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/Notes_on_Algorithms.pdfPDOhttp://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/Notes_on_Algorithms.pdf9u<http://www.engr.sjsu.edu/bjfurman/courses/ME30/handouts.htm@2http://www.framingham.edu/~dkeil/keil-johnson.pdf9u<http://www.engr.sjsu.edu/bjfurman/courses/ME30/handouts.htm}20http://www.engr.sjsu.edu/bjfurman/courses/ME30/Mhttps://piazza.com/classfall2012/me30O &http://www.sjsu.edu/ecampus/students/j  https://sjsu.desire2learn.com/q#Chttp://asset.tltc.shu.edu/servlets/asset.AssetSurvey?surveyid=5416ynHhttp://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/ME30syllabus.doc{[Ghttp://www.engr.sjsu.edu/bjfurman/courses/ME30/ME30pdf/HW_template.doc  !"#$%&()*+,-.0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSUVWXYZ[]^_`abcfgjRoot Entry F 'riData '1Table/hHWordDocument 4LSummaryInformation(TDocumentSummaryInformation8\MsoDataStore 1r@Z#rWM0J0UUGKCS1O==2 1r@Z#rItem  PropertiesUCompObj r   F Microsoft Word 97-2003 Document MSWordDocWord.Document.89q