CS115 Lecture Notes - Lecture 2: Substring, Empty String, Semicolon

64 views43 pages
elliehaj0807 and 36989 others unlocked
CS115 Full Course Notes
13
CS115 Full Course Notes
Verified Note
13 documents

Document Summary

Readings: htdp, sections 1-3, survival guide on assignment style and submission. We are covering the same material as the text, but using different examples. Lectures do not cover all the details, so keeping up with the readings is important. Every program is an act of communication: between you and the computer, between you and yourself in the future, between you and others. Comment: information important to humans but ignored by the computer. Code: anything that is not a comment; machine-readable. ;; constants for calendars (de ne year-days 365) ; not a leap year. Use one semicolon to indicate that the rest of the line is a comment. Use two semicolons to start a line that is a comment. Partial list of goals for programs: compatible, composable, correct, durable, ef cient, extensible, exible, maintainable, portable, readable, reliable, reusable, scalable, usable, and useful.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents