CSU Banner

CS 163/164, Summer 2018

Programming Assignment - P1

Let's Get Started!

Due Wednesday, Jun. 13th at 6:00 pm; Late deadline Thursday, Jun. 14th at 8:00am


Objectives of this Assignment

  1. To write a Java program with console output,
  2. to learn how to submit your Java program to the Checkin tab,
  3. to understand how preliminary testing works, and
  4. to see if you can follow instructions.

Instructions

Write a Java program file called P1.java with a class name P1, an example of the code structured 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: Colonel Mustard
// Date:   5/23/1995
// Class:  CS163/CS154
// Email:  eid@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 what is requested. Spelling errors, incorrect capitalization, extra or missing white space and any other difference will reduce your grade. The second line will have your name instead of mine. The third line may differ, so it will not be checked, but it must be present! The fourth, 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.

Java programming is great!
Say, Benjamin
Computer Science
2468
01/22/2018
CS163/4: CS1 Java
I am in this class because I really like computer programming.

Specifications

Grading Criteria


Submit P1.java to Checkin, using the checkin tab.


CS Banner
CS Building