CS 160, Spring 2015
Programming Assignment P1
Let's Get Started!

Programming due Tuesday, Jan. 27 at 6:00pm; late deadline Jan. 27 at 11:59pm.

This assignment has four objectives:
  1. to write a Java program with console output,
  2. to learn how to submit your Java program using Checkin tab on the course web site,
  3. to understand how preliminary testing works, and
  4. to see if you can follow directions!
Write a Java program in a file called P1.java with class name P1, an example of the code structure is shown below. All of the Java code you write should be contained in the main method. For this assignment, you must follow the directions below exactly:

Program Structure

// P1 Assignment
// Author: Chris Wilcox
// Date:   1/1/2015
// Class:  CS160
// Email:  wilcox@cs.colostate.edu

public class P1 {

    public static void main(String[] args) {
        // Print statements go here


Sample output

Your program should print seven lines, and should match the output shown below, except as described here. You must print exactly the strings shown on the first and second lines. Spelling errors, incorrect capitalization, extra or missing white space and any other difference will cause a failure. The third line will have your name instead of mine. The fourth line will not be checked, but must be present. The fifth and sixth lines must have exactly the strings shown. The seventh line must follow the specification given above. See the grading criteria below for additional information.
Computer Science is great!
Java Programming can be fun.
Wilcox, Chris
Computer Science
CS160 Foundations in Programming
I am in this class because I really like to program.


Your program must meet the following specifications:

Grading Criteria

Submit your program to the Checkin tab on the course website, as you were shown in the recitation, and read the syllabus for the late policy (if necessary).

© 2015 CS160 Colorado State University. All Rights Reserved.