文档详情

CSE 1340 Program 1.doc

发布:2017-08-12约2.18千字共2页下载文档
文本预览下载声明
CSE 1340 Program 1 Overview Welcome to CSE 1340 Lab. In this first week of Lab, we will introduce you to several new pieces of software that you will be using for this class. Additionally, we will write a very simple Java program to get the programming gears turning. Objective Understand the programming guidelines for commenting and indentation Edit, compile and run a sample java program Submit your work using blackboard Programming Guidelines Read and print the programming guidelines - /cse/1340/pguide.doc Sample program Edit, Compile and Run the following sample program using Java’s command line interface. Upload your completed .java file and .class file to your program1 assignment folder in Blackboard: public class HelloWorldApp { /** * The HelloWorldApp class implements an application that * simply displays Hello World! to the standard output. */ public static void main(String[] args) { System.out.println(Hello World!) // Display the string } } Pre-Lab for Name _________________________ 5 points Print out the programming guidelines above. Print out the above assignment and answer the following questions BEFORE coming to lab. What is the purpose of the lines that begin with /* and end with */? ________________________. Based on your in-lab class exercise from last week, list the steps that you will follow to enter the above program, compile your program, and upload the appropriate files to Blackboard. You will use Java’s command line interface (NOT NetBeans). List the files that you must submit to Blackboard in order to receive an additional 25 points. TA Grade guildelines: Pre-lab: 5 points Program code: 25 points Grade of 0 if the source code file is missing in student’s Blackboard assignment folder. Grade of 0 if your class file is missing in the student’s Blackboard assignment folder and the source code does not compile. Deduct 5 points for missing class file if program compiles. Deduct 1-
显示全部
相似文档