0% found this document useful (0 votes)
97 views

Lab - Exp - 1 (Compiling and Running Java Program)

This document provides instructions for a laboratory exercise on compiling and running a simple Java program. The exercise aims to help students understand object-oriented programming fundamentals and create a program to output their name and resume using System.out.println(). Students are asked to write a Java class with a main method that prints their name and resume. The document also provides background on Java syntax, compilation, and execution and asks students questions about System.out.println() and advantages of the Java platform.

Uploaded by

Richard Anolin
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views

Lab - Exp - 1 (Compiling and Running Java Program)

This document provides instructions for a laboratory exercise on compiling and running a simple Java program. The exercise aims to help students understand object-oriented programming fundamentals and create a program to output their name and resume using System.out.println(). Students are asked to write a Java class with a main method that prints their name and resume. The document also provides background on Java syntax, compilation, and execution and asks students questions about System.out.println() and advantages of the Java platform.

Uploaded by

Richard Anolin
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

COLLEGE OF COMPUTER STUDEIS

INFORMATION TECHNOLOGY DEPARTMENT

CCS0023L
(Object Oriented Programming)

EXERCISE

1
Compiling and Running Java Program

Student Name / Group


Name: Richard R. Anolin II
Name Role
Members (if Group):

Section:
TX21
Doc Janice Abellana
Professor:
I. PROGRAM OUTCOME/S (PO) ADRESSED BY THE LABORATORY EXERCISE
b. Analyze a complex problem and identify and define the computing requirements
appropriate to its solution.

II. COURSE LEARNING OUTCOME/S (CLO) ADDDRESSED BY LABORATORY


EXERCISE
1. Understand the fundamental principle of object oriented programming.

III. INTENDED LEARNING OUTOME/S (ILO) ADDRESSES BY THE LABORATORY


EXERCISE
Create a simple program Resume using System.out.println()

IV. BACKGROUND INFORMATION

A Java source file can include package, import and class declarations in the same order
• The main() method is the start of execution of a Java application
• Each Java statement is terminated by a semicolon “;”
• System.out.println() outputs a string on the screen.

V. EXPERIMENTAL PROCEDURE:

1. Like any other programming language, you use the java programming language to create
applications.

Using Notepad or Notepad++ as text editor and the command line as output window,
create a class named: [YourName]. The program should output on the screen: Welcome to
Java Programming [YourName]!!!
2. Write a resume using System.out.println( ).

VI. QUESTION AND ANSWER:

1. What is your understanding about System.out.println()?

System.out.println() is a code in java where you will be able to print what’s inside of the
parenthesis. If you will be printing words, or what we call string, we must enclose it with
quotation marks for it to be read by the program.

2. How does the Java Technology platform improve on other language platforms?

Java is a universal language when it comes to programming. It is universal because according


to a blog in invensis.net, java programs are compiled independently of the platform in
bytecode language which allows the same program to run on any machine that has a JVM
installed.
Note: The following rubrics/metrics will be used to grade students’ output in the lab
Exercise 1.

Program (100 pts.) (Excellent) (Good) (Fair) (Poor)


Program Program executes Program executes Program executes Program does not
execution (20pts) correctly with no with less than 3 with more than 3 execute (10-11pts)
syntax or runtime errors (15-17pts) errors (12-14pts)
errors (18-20pts)
Correct output Program displays Output has minor Output has Output is incorrect
(20pts) correct output errors (15-17pts) multiple errors (10-11pts)
with no errors (12-14pts)
(18-20pts)
Design of output Program displays Program displays Program does not Output is poorly
(10pts) more than minimally display the designed (5pts)
expected (10pts) expected output required output (6-
(8-9pts) 7pts)
Design of logic Program is Program has slight Program has Program is
(20pts) logically well logic errors that do significant logic incorrect (10-
designed (18- no significantly errors (3-5pts) 11pts)
20pts) affect the results
(15-17pts)
Standards Program code is Few inappropriate Several Program is poorly
(20pts) stylistically well design choices inappropriate written (10-11pts)
designed (18- (i.e. poor variable design choices
20pts) names, improper (i.e. poor variable
indentation) (15- names, improper
17pts) indentation) (12-
14pts)
Delivery The program was The program was The program was The program was
(10pts) delivered on time. delivered a day delivered two days delivered more
(10pts) after the deadline. after the deadline. than two days after
(8-9pts) (6-7pts) the deadline. (5pts)

Topic Fundamentals of Java Language


Lab Activity No 1
Lab Activity Computing using Different Java
Operators
CLO 1
Program execution (20)
Correct output (20)
Design of output (10)
Design of logic (20)
Standards (20)
Delivery (10)
TOTAL

You might also like