CSU Banner

CS 150, Spring 2018

Programming Assignment - P1

Let's Get Started!

Due - January 30th, 2018 at 6:00pm

Late - January 31st, 2018 at 8:00am


Objectives of this Assignment

  1. Write a Java program with console output, and
  2. learn how to submit your Java program using Checkin tab on the course web site, also
  3. to understand how preliminary testing works and see if you can follow directions!

Instructions

Create a Java program called P1 with a class named P1, which after created should contain a file named P1.java in the src folder. All of the Java code you write should be contained in the main method and an example of the code structure is shown below. For this assignment, you must follow the directions below exactly:

Program Structure

// P1 Assignment
// Author: Russ Wakefield
// Date:   01/20/2018
// Class:  CS150
// Email:  Russ.Wakefield@colostate.edu

public class P1 {

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

    } // end main
} // end class P1

Sample output

Your program should print seven lines, and should match the output format 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 your program to be incorrect. 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.
Welcome to CS150!
Java Programming can be fun.
Wakefield, Russ
Computer Science
CS150 - Interactive Programming in Java
1/30/2018
I am in this class because I want to learn computer programming.

Specifications

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).
Submit P1.java to Checkin.


© 2018 CS150 Colorado State University. All Rights Reserved.
CS Banner
CS Building