Lab1_algorithms - SAN JOS STATE UNIVERSITY Department of...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
S AN J OSÉ S TATE U NIVERSITY Department of Mechanical and Aerospace Engineering ME 30 Computer Applications Lab Project 1 : Developing an Algorithm and Getting Started with Ch Introduction Two crucial steps in developing a computer based solution to any problem are, defining the problem and designing the solution algorithm. We will focus on two approaches to facilitate designing a solution algorithm in this laboratory session: pseudocode and flowcharting. You will also be introduced to a nifty C interpreter called Ch and an integrated development environment called ChIDE (both of which were developed by Prof. Harry Cheng from UC Davis). Ch provides a ‘kinder and gentler’ start to learning how to program in C rather than starting with a typical C compiler. Objectives Following completion of today’s lab, you should be able to: Explain what an algorithm is in the context of computer programming Define what is meant by the term ‘pseudocode’ Describe the elements of and explain what a flowchart is Develop an algorithm with pseudocode Develop an algorithm with a flowchart Use Ch as a calculator or command shell Use ChIDE to write and run C programs Procedure Download a copy of the Lab Report Template (lab_rpt_tpt.doc) and the Report Completion Checklist (CompletionChecklist.docx) from Desire2learn or the ME 30 website . Use the report template to record your answers to the lab exercises and write a summary of the complete lab project. For each problem, write a brief but complete description of the problem, and then put your solution in the table cell below the description. Below the solution, show how you verified that the solution functions properly and meets the design requirements. Copy and paste additional table cells as needed to fill out your report. Use the Completion Checklist to help you you keep track of what needs to be completed before you submit the report. You do not need to submit the Checklist with your report. Make sure that you fill out the cover page completely , before turning in your report (use the checklist to help you remember what needs to be done). Points will be deducted if the cover sheet is not completely filled out. Enter your last name, first initial, and project number in the labeled boxes in the header (top of the page at the right) by double-clicking on it. Under the section of the cover sheet labeled ‘Summary’, summarize the problem(s) you solved in the lab project. This summary must touch on the strategy you used as well as the methods you employed, and any observations or conclusions about what you learned from the laboratory. I recommend that you structure your summary into a minimum of three paragraphs. In the first paragraph discuss what you did. In the second paragraph discuss
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/26/2012 for the course ME ME 114 taught by Professor Okamoto during the Spring '12 term at San Jose State.

Page1 / 4

Lab1_algorithms - SAN JOS STATE UNIVERSITY Department of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online