1 / 6

CS 240 – Computer Programming I Lab

CS 240 – Computer Programming I Lab. Kalpa Gunaratna – kalpa@knoesis.org http://knoesis.wright.edu/researchers/kalpa/. Contact. Contact by e-mail kalpa@knoesis.org Office hours 376 Joshi Mondays & Wednesday 3:00 pm – 4:00 pm. Intention. Understanding good coding practices helps.

aspen
Télécharger la présentation

CS 240 – Computer Programming I Lab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 240 – Computer Programming ILab KalpaGunaratna – kalpa@knoesis.org http://knoesis.wright.edu/researchers/kalpa/

  2. Contact • Contact by e-mail • kalpa@knoesis.org • Office hours • 376 Joshi • Mondays & Wednesday 3:00 pm – 4:00 pm

  3. Intention • Understanding good coding practices helps. • Comments • Indentation • Meaningful variables • Code organization • Debug programs for understanding (basic operations will be demonstrated). • Use pseudo code or flowcharts to outline an algorithm and understand.

  4. In lab • Draw flow chart or write a pseudo code for the part A. • Load the program into net beans and if there are errors, correct them.

  5. Post lab • Rewrite the program with correct styles. • Organize code into blocks. • Declare variables • Logic or calculations • Meaningful comments and variable names • Mention and make corrections if needed.

  6. Announcements • Project 1 • Submit compressed net beans project folder. • Use javadoc comments at proper places and include your name, WID, lab section, TA’s name, Instructor’s name. • Organize code into main blocks. • Declare variables • program

More Related