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

Lab Task Adam

fc

Uploaded by

adamoncanada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Lab Task Adam

fc

Uploaded by

adamoncanada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

POLITEKDIK

KEMENTERIAN PENDIDIKAN TINGGI MALAYSIA


JABATANPENDIDIKAN POLITEKNIK DAN KOLEJ KOMUNITI UNGKUOMAR

JABATAN TEKNOLOGI MAKLUMAT DAN KOMUNIKASI


POLITEKNIK UNGKUOMAR
SESI 1 2024/2025
KOD KURSUS : DEP 30243
NAMA KURSUS : OBJECT ORIENTED PROGRAMMING
PENILAIAN : LABORATORY TASK 1

SESISEMASA SESI 1 2024/2025


SEKSYEN KURSUS

NAMA PENSYARAH KURSUS:

ARAHAN PENILAIAN:

1. Jawab semua soalan dalam masa yang ditetapkan (2 jam).


2. Jawapan adalah secara individu.

NO. PENDAFTARAN NAMA CLO MARKAH

01DDT23F1150 Adam Zikry bin Rasli 1

Jumlah

Disediakan oleh: Disemak dan Disahkan oleh:

Xúr Syuhbda BintiMohamad


Ketua Program DDT
Irek Sistem Ranghaian
KAMA HAZIRA BIATIABedL KADIR Jabatan Teknologi Maktumat &teuitcsi
Perak.
PEGAWAI PENDIDIKAN PENGAJIAN TINGGI DH4' Politeknik UngkuOmor, lpon,
JABATAN TEKNOLOGI MAKLUMAT &KOMUNIK
POLITEKNIK UNGKU OMAK
DFP 30243: OBJECT ORIENTED PROGRAMMING
LABORATORY TASK 1

CLO 1: Construct Object Oriented Programming concept and exception handling in Java
programming ( P4, PLO 3 )
TOPIC 1 : Introduction to Object-Oriented Programming (OOP)

INSTRUCTIONS:

1. Answer all the questions below:

a. Describe Object Oriented Programming concepts. Visualize the explanation in a


creative way.

b. Explain how to execute a java code using manual without editor.

i. Source code – Byte code – Output

c. Write a java code as output in Figure 1 with proper indentation, naming


convention and variable name.

Note:
• The submission is up to your lecturer. You can submit softcopy or hardcopy
• If softcopy, Make sure the submission has cover (Fill in all the informations), answers and
rubric. (in .pdf file)
• If hardcopy, Make sure the submission has cover (Fill in all the informations), answers and
rubric.
a)

b) First, open a text editor such as notepad and create a file. Write your java program in the file and save it's
name as the same as the class name. Also make sure to save it as .java file extension

Next, open the command prompt and use the cd command to the directory where you save the .java file. Next,
use the javac command followed by the file name with the java extension to compile the java source code to
bytecode

Lastly, run the program using the java command followed by the file's name and the command prompt will show
the output of the program

c)
public class Labtask
{
public static void main(String[]args)
{
System.out.println("-------- Hello World --------");
System.out.println("*****************************");
System.out.println("Java is ....");
System.out.println("the best programming language");
System.out.println("I Love Java So Much!!!");
System.out.println("*****************************");
}

}
academic anyCourse
marks.Statements Policy Answers
Output/ Convention fields
NamingAppropriate
Variable
name, of:
Indentation, Answers
Execution
Code /Criteria PLO3: RUBRIC
Polilteknlk
unusual CLO
ASsessment
1:
offenses Construct
display
cases LABORATORY
Ungku
items
under of Information
Omar late Object
submitted
the
submission/
values TASK
Akta output/answers thanoutput/
expectedcontains
answer
more The been
hasusing
criteriareadable
that and Coding
creativity
organized,
specific
format well isCodes/Answer
additional
successfully
with
executed Oriented
aademic
174 more
Excellent
and
1
an-arahanabsencoe ihan Communication
4
taught Programming
conceptand
kntegrity. five
for is
workíng
assessment
Therefore,
eperiksaan
days
expected
output/answer. contains
answer
exactly
theas The taughtreadable
been thathasusing Coding
organized
criteria l isCodes/answer
executed is
and welsuccessfully
Technology
output/ Good
activities after
all 3
students& he
Kaedah
ondue (1CT)
exception
a
date
Penilaianmust Nyydhadd
casaiby Mahamad
Enti contains only The taughtreadable
been hasusing
criteria
that erroranwith
executed
Coding is Codes/answer
areawarded
output/answers
output/answers.
expected halftheof is skill
understad Moderate
Rangkaian
TrekSist
casebasis rogram
KetuaDDT
2
handling
in
(Diploma), performing
the zeno
while in
meaning
Edisi marks Java
adhering
outputThere
/answers taught
no
is has thatorder
criteria
been and Coding
using difficult error
read to is Codes/answer
executed
than 1 is
more
diagnostic
6, programming
Jun and Course are Poor
1
2019). out
consequences to
lecturer(s) the of and
Any Head
documenting
plagiarism 45 Weightage
Standard
45
P4, (
Total 10
or
Program. of may 100
cheating, use PLO
Score
wlll thelr 3)
be
Score
* 4/ Score
* /4 processes
plagiarism,
avwarded dlscrebon Score/
10* 4
45 45 30243
00P
DFP

100
zero and in in
hanaling Score ICT
ouve
related

You might also like