1 / 9

Introduction to Computer Programming: Debugging and Development Strategies

In Lecture 8 of CS 126, Zeke Maier covers critical aspects of computer programming, including queries and essential administrivia. The session highlights AD Exercises 4.2 and 4.3, focusing on techniques for effective development and debugging. Students learn to write methods, compile code, and fix both syntax and semantic errors. The importance of identifying error types, especially compiler errors, is emphasized, along with useful debugging strategies. Additional resources like lab demos and quiz solutions are also discussed to support ongoing learning.

Télécharger la présentation

Introduction to Computer Programming: Debugging and Development Strategies

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. Introduction to Computer Programming CS 126 Lecture 8 Zeke Maier

  2. Plan for Today • Questions • Administrivia • AD Exercises 4.2 & 4.3 • Developing • Debugging • Compound Data • Assignment

  3. Questions

  4. Administrivia • http://students.cec.wustl.edu/~ejm3/ • Help Session 2-4 in Sever 201 • No office hours • Quiz 1 Solutions • Lab 1 Demo Results • Remote Desktop • TA Schedule?

  5. AD Exercises 4.2 & 4.3 • http://students.cec.wustl.edu/~ejm3/CS126/web/code.html#conditionals

  6. Developing • Development Plan • Write a method • Write more • Compile • Fix syntax errors • Fix semantic errors • Development Plan • Start with a work program • Write a small logical block • Compile & test • Fix errors

  7. Debugging • Determine which type the error is • Compiler Errors • Always debug the first error first! • Error messages can be hard to understand, but normally there is useful information lurking inside

  8. Compound Data

  9. Assignments • Lab 2 due Wednesday • Readings • Monday • KG Notes

More Related