CMSC 150 - Introduction to Computer Science

Fall Term 2020

Lecture Notes
  1. Installing NetBeans
  2. Introduction to Java Programming
  3. The if-else statement
  4. More about data types
  5. Working with methods
  6. Introduction to loops
  7. Working with text files
  8. Writing methods
  9. Basics of arrays
  10. Array examples
  11. Merge sort
  12. Avoiding common errors
  13. Multi-dimensional arrays
  14. Introduction to objects
  15. Guessing game example
  16. Introduction to ArrayLists
  17. Produce tracker example
  18. More about sorting
  19. More about objects
  20. Calculator example
  21. Set and Map classes
  22. Getting ready for lab 8
  23. Lab 8 solution
  24. Getting ready for lab 9
  25. Quiz grades example
  26. Market example
  27. Unique numbers example
Programming Assignments
  1. Programming Exercise 2.17: Due 5 PM Tuesday, Sept. 22
  2. Programming Exercise 5.25: Due 5 PM Tuesday, Sept. 29
  3. Programming Exercise 5.25 with a method: Due 5 PM Tuesday, Oct. 6
  4. Programming Exercise 7.23: Due 5 PM Tuesday, Oct. 13
  5. Programming Exercise 9.13: Due 5 PM Tuesday, Oct. 27
Labs
  1. Lab One
  2. Lab Two
  3. Lab Three
  4. Lab Four
  5. Lab Five
  6. Lab Six
  7. Lab Seven
  8. Lab Eight
  9. Lab Nine
  10. Lab Ten
Exams

Here is the study guide for the midterm exam.

Here is the midterm exam. Work on the exam is due by 9 AM on Thursday, October 14.

Here is information about the final.

Here is the final exam. Work on the exam is due by 9 AM on Monday, November 23.

Resources

Syllabus

The syllabus for this course is here.

Java Class Library

Documentation on classes in the Java class library is available through this link. The easiest way to navigate through this documentation is by packages. Most of the Some of the more useful packages include java.lang (String, Math, Integer, and Double classes) and java.util (StringTokenizer, Random).