CSC 115 Lab#1 Exercise Solved

10.00 $ 5.00 $

Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . zip solution files instantly, after Payment


5/5 - (5 votes)

During Lab#1 week, you will be completing a programming exercise that you will hand in through conneX. For the sake of the automated marking system, please call this file “”. Note that the exercise will be assessed, but it will have no effect on your overall points for this course.

Requirements and steps

  • Create a simple java source code file, called java
    • Do not duplicate the demo code done in the lab.
  • Submit it through conneX.
    • All of the necessary steps will be done during your regularly scheduled lab this upcoming week.
    • The lab instructor and your fellow students will be helping everyone to accomplish this task.


The source code will be assessed by a program which will look for the following:

  • The single java file compiles as a Java file.
  • It must contain at least 2 constructors, 2 data fields, a toString method and a main
  • The keyword static is only used in relation to the main
  • The running code produces at least 3 lines of output.

The assessment script will give a Pass or Fail depending on the results. Note that a Pass is not an indication that everything is perfect, the intention is to reward effort, and give enough feedback so you can seek guidance if you see that you can benefit from it.


This exercise is meant to get you through the creation, compilation and testing of a basic class file in Java. We understand that you may not have had any experience with Java or Object-oriented programming, so this is basically a no-stress introduction to get you started. We also want you to experience the process for handing in assignments, which are handled in a similar fashion.