CPSC 1301 - Computer Science I - Midterm Study Guide
Study Material
Chapters 1-6 of Introduction to Computing and Programming by Guzdial & Ericson
Material from Java programming assignments and labs
Test Format (February 27, 2008 in CCT408)
11 Short Answer Questions (40 points) - evaluate, compute, write Java statements, what is the output?
Turtle Graphics Questions (20 pts)
1 Programming Problems (40 pts)
Specifically Study
- Introduction to Computer Science and Media Computation
- What is Computer Science About?
- What Computers Understand
- Media Computation
- binary, decimal, hexadecimal
- ASCII, Unicode
- algorithms, programs, Moore's Law
- CPU, ALU, RAM, ROM, register, cache
- Introduction to Java
- Java Basics
- Math Operators
- Printing Results
- Data Types
- Castomg
- Relational Operators
- Strings
- Variables
- Introduction to Programming
- Files and file names
- Class and Object Methods
- Math Class and methods
- String Class and methods
- Working with Turtles
- Creating Methods
- Working with Media
- Modifying Pictuers Using Loops
- Maniulating Pictures
- For-Each Loop
- While Loop
- For Loop
- 1-D Arrays
- Changing Color Values
- Modifying Pixles in a Matrix
- Copying Pixels
- Nested Loops
- Copying and Transforming Pictures
- 2-D Arrays
- Conditonally Modifying Pixles
- Conditional Pixel Changes
- Comparing Colors
- Conditionals with Two Options (if-else)
- Multiple Conditions (logical operators)
- Nested Conditionals