• No results found

CBOP3203 oum.docx

N/A
N/A
Protected

Academic year: 2021

Share "CBOP3203 oum.docx"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

PENYERAHAN DAN PENILAIAN TUGASAN

PENYERAHAN DAN PENILAIAN TUGASAN

 ASSIGNMENT SU

 ASSIGNMENT SUBMISSION AND ASSE

BMISSION AND ASSESSMENT 

SSMENT 

 _______

 _______________

________________

________________

________________

________________

________________

________________

________________

__________

__

CBOP3203

CBOP3203

Object Oriented Pror!""in

Object Oriented Pror!""in

#AY 20$% SE#ESTER

#AY 20$% SE#ESTER

 &&&&&&&

 &&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

&&&&&&&&&&&&&&&&

&&&&&&&&&&

&&

ARAHAN 'EPADA PELA(AR

ARAHAN 'EPADA PELA(AR

 /

 /

INSTRUCTIONS TO STUDENTS

INSTRUCTIONS TO STUDENTS

1.

1. T

Tug

ugas

asan i

an ini m

ni men

eng

gan

andu

dung

ngii DUA )2*

DUA )2*  soalan sahaja yang disediakan dalam Bahasa Melayu dan

  soalan sahaja yang disediakan dalam Bahasa Melayu dan

Bahasa Inggeris

Bahasa Inggeris / This assignment contains only

 / This assignment contains only TWO (2)

TWO (2) queson that is set in both Malay and 

 queson that is set in both Malay and 

English.

English.

2.

2. Ja

Jawa

wab dala

b dalam Baha

m Bahasa

sa Me

Mela

layu

yu !t!+

!t!+ Bahasa Inggeris

 Bahasa Inggeris. / Answer in Malay

. / Answer in Malay or 

or 

 English.

 English.

3.

(2)

. Tugasan anda hendaklah diserahkan antara $0b (+.!i 1 23b (+.!i 20$% . *erahan e.e-! 23b

(+.!i 20$% TIDA' akan diterima. " *our assignment must  be submied between $%t& ' unl 

2*t& ' 2%$+, )ubmission a-er 2*t& ' 2%$+ will NOT  be accepted.

4. Tugasan hendaklah disia#kan se%ara indi(idu. Anda dilarang meniru tugasan orang

lain. Anda

 juga dilarang sama sekali mem#lagiat kerja orang lain sebagai kerja sendiri. / 

*our assignment should be prepared indi"idually. *ou should not copy another person2s

assignment. *ou should also not plagiarise another person2s wor as your own.

5. *ila ambil maklum tentang +-)A6TI yang akan dikenakan ke atas #enghantaran lewat tugasan

se#er! yang tertera di #ekeliling #ejabat +enda7ar "2812 ,ujuk &egistrar2s Announcement  di

my96-:

, +lease take note that !E%ALT* will be imposed on late submission of assignment as

specied in the &egistrar2s 34ce circular 5/,6+, 0&efer to &egistrar2s Announcement in my7LE1

18. Anda #erlu memas!kan ,-*IT yang dikeluarkan bagi #enghantaran tugasan disim#an sebagai

buk! #enghantaran. ;egagalan mengemukakan resit dalam sebarang isu yang !mbul berkaitan

#enghantaran tugasan akan mengakibatkan tugasan diangga# TI<A; dihantar , !lease ensure

that you eep the &E8E(!T issued upon submisson of your assignment as proof of submission.

*our assignment is considered as %3T submied if you fail to produce the submission receipt in

any dispute arises concerning assignment submission.

PENILAIAN , E.A!UATION 

Tugasan ini menyumbang sehingga

04

 dari#ada jumlah markah kursus berkenaan dan akan dinilai

(3)

ASSIGNMENT QUESTION

 / SOALAN TUGASAN 

Question 1

In #!.!8i!9 in.e reident !re +bjected to te :o..o;in inco"e t!< tr+ct+re7

C!re!b.e Inco"e )R#*

A"o+nt o: T!< )R#*

Be.o;

2900

04

2900

1

9000

$4

900$ 1 $09000

2 -.+ 34 o: te ne<t 9000

$0900$ 1 209000

$% -.+ 34 o: te ne<t $09000

20900$ 1 39000

=% -.+ %4 o: te ne<t $9000

3900$ 1 09000

$92 -.+ $24 o: te ne<t $9000

0900$ 1 %09000

3932 -.+ $>4 o: te ne<t 209000

%0900$ 1 $009 000

%9$2 -.+ 2=4 o: te ne<t 309000

E<ceedin $009000

$=932 -.+ 2?4 o: te ne<t !"o+nt

@rite ! (!! -ror!" t!t !5 te +er to enter te !"o+nt o: t!<!b.e inco"e9 ten di-.!8 te

te t!< !"o+nt t!t need to be -!id6

(4)

class TestArithmetic {

public static void main (String[] args){

Scanner console= new Scanner (System.in)

System 

.out.println(!"nter #irst number! )

int $% = console.ne$t&nt()

 

System 

.out.println(!"nter second number! )

int $' = console.ne$t&nt()

 

System 

.out.println(!"nter third number! )

int $ = console.ne$t&nt()

 

System.out.println(!$%=!$%)

 

System.out.println(!$'=!$')

 

System.out.println(!$=!$)

 Arithmetic ar = new Arithmetic()

int answer%=ar.sum($%*$')

int answer'=ar.sum($%*$'*$)

int answer=ar.substract($%*$')

double answer+=ar.divide($%*$')

int answer,=ar.modulas($'*$)

int answer-=ar.multiply($'* $)

int answer= ar.largest($%* $'* $)

boolean even/umber%= ar.is"ven/umber($')

boolean even/umber'= ar.is"ven/umber($)

(5)

 ATTACHMENT 

ASSIGNMENT RUBRICS CDOP3203 JAA PROGRAMMING / MA! 201"

QUESTION 1

Criteri! @eit!e

Lo; /!ir Aboe!er!e E<ce..ent

#!< #!r5 0 $ 2 3 = Pror!" Co"-.eon :or T!57 Get te in-+t Per:or" te c!.c+.!on Di-.!8 te o+t-+t ;esem#urnaan Atur%ara BAI Tugas>

 Menda#atk an in#ut  Melaksanak an #engiraan  Mema#arka n out#ut 260 No i"-.e"ent!on o: te t!5 Tiada #erlaksanaan arahan I"-.e"ented on.8 ! "!.. c+n5 o: ti t!5

Canya sebahagian ke%il arahan dilaksanakan

#oder!te i "-.e"ent!on o: te t!5 correct.8

+erlaksanaan arahan yang sederhana s e%ara betul

#ot o: te t!5 ;! i"-.e"ented correct.8

;ebanyakan arahan dilaksanakan dengan betul

Te t!5 ;! i"-.e"ented +cce:+..8 Arahan dilaksanakan dengan %emerlang  Codin St!nd!rd +iawaian ;od

06 @ron codin Code ;ere not ;e.. or!nied

Code ;ere or!nied in "oder!te "!nner

Code ;ere or!nied -ro-er.8

Code ;riFen ;ere er8 ;e.. tr+ct+red !nd cre!e.8 or!nied

(6)

+engekodan yang salah

;od !dak disusun dengan sem#urna

;od disusun dengan %ara sederhana

;od disusun dengan baik ;od ditulis dengan sangat berstruktur dan disusun dengan krea!f  R+n"e Masa 6arian $60 Te -ror!" co+.d not be e<ec+ted !t !.. Atur%ara !dak da#at dilaksanakan langsung

Te -ror!" ;! not e<ec+ted d+e to error OR te -ror!" ;! e<ec+ted ;it te correct o+t-+t b+t te ;riFen codin did not :+.. !.. te +eon re+ire"ent

 Atur%ara ini !dak

dilaksanakan disebabkan ralat

 ATAD atur%ara ini

dilaksanakan dengan out#ut yang betul teta#i kod ditulis !dak memenuhi ke#erluan soalan

Te -ror!" ;! e<ec+ted b+t "ot.8 ;it incorrect o+t-+t OR te -ror!" ;! e<ec+ted ;it te correct o+t-+t b+t te ;riFen codin did not :+.. :e; o: te +eon re+ire"ent

 Atur%ara ini dilaksanakan

teta#i kebanyakan out#ut adalah salah

 ATAD atur%ara ini

dilaksanakan dengan out#ut yang betul teta#i kodnya ditulis tan#a memenuhi bebera#a ke#erluan soalan

Te -ror!" ;! e<ec+ted "ot.8 ;it te correct o+t-+t

Atur%ara ini dilaksanakan dengan kebanyakan out#ut yang betul

Te -ror!" ;! e<ec+ted ;it !.. te correct o+t-+t AND te -ror!" ;! e<ec+ted b8 :+...in !.. te re+ire"ent ! t!ted in te +eon

 Atur%ara ini

dilaksanakan dengan semua out#ut yang betul

 <A) atur%ara ini

dilaksanakan dengan memenuhi semua ke#erluan yang dinyatakan dalam soalan

=

EJcienc8 -$siensi $60

@ron o.+on A diJc+.t !nd ineJcient o.+on

A .oic!. o.+on t!t i e!8 to :o..o; b+t it i not te "ot eJcient

So.+on i eJcient !nd e!8 to :o..o;

So.+on i eJcient9 +ndert!nd!b.e !nd e!8 to "!int!in

=

+enyelesaian yang salah

+enyelesaian yang sukar dan !dak berkesan

+enyelesaian logikal yang senang diiku! teta#i ianya bukanlah #enyelesaian #aling berkesan

+enyelesaian adalah berkesan dan senang diiku!

+enyelesaian adalah berkesan= boleh difahami dan senang diselenggara

Re+ire"ent o: Doc+"ent!on )So+rce Code .e K Doc+"ent .e6 Doc+"ent .e ! 06 No doc+"ent!on K o+rce code .e Inco"-.ete doc+"ent!on K ;ito+t o+rce code .e

Brie: doc+"ent!on ;it o+rce code .e

Good doc+"ent!on toeter ;it o+rce code .e

E<ce..ent doc+"ent!on !nd co"-.ete ;it o+rce code .e

(7)

co-8 o: code9 creenot o: te -ror!" o+t-+t !nd -ror!" co""ent* ;e#erluan <okumentasi fail sumber E fail dokumen. Fail dokumen

mengandungi salinan kod= imbasan skrin out#ut atur%ara dan komen atur%ara:

Tiada dokumentasi dan fail kod sumber

<okumentasi yang !dak lengka# dan tan#a fail kod sumber

<okumentasi yang ringkas bersama dengan fail kod sumber

<okumentasi yang memuaskan bersama dengan fail kod sumber

<okumentasi yang %emerlang dan lengka# dengan fail kod sumber

(8)

QUESTION 2

Criteri! @eit!e

Lo; /!ir Aboe!er!e E<ce..ent

#!< #!r5 0 $ 2 3 = Dee.o-"ent o: te c.! Arit"ec7 Im#lementa!on of sumG1=G2:= sumG1=G2=G3:= substra%tG1=G2:= di(ideG1=G2: methods +embangunan kelas Arithme!%> Im#lementasi metod sumG1=G2:= sumG1=G2=G3:= substra%tG1=G2:= di(ideG1=G2: $6 No i"-.e"ent!on o: te t!5 Tiada #erlaksanaan arahan I"-.e"ented on.8 ! "!.. c+n5 o: ti t!5

Canya sebahagian ke%il arahan dilaksanakan

#oder!te i "-.e"ent!on o: te t!5 correct.8

+erlaksanaan arahan yang sederhana s e%ara betul

#ot o: te t!5 ;! i"-.e"ented correct.8

;ebanyakan arahan dilaksanakan dengan betul

Te t!5 ;! i"-.e"ented +cce:+..8 Arahan dilaksanakan dengan %emerlang ? Dee.o-"ent o: te c.! Arit"ec7 Im#lementa!on of modulasG2=G3:= mul!#lyG2= G3:= largestG1= G2= G3: methods +embangunan kelas Arithme!%> Im#lementasi metod modulasG2=G3:= mul!#lyG2= G3:= largestG1= G2= G3: $6 No i"-.e"ent!on o: te t!5 Tiada #erlaksanaan arahan I"-.e"ented on.8 ! "!.. c+n5 o: ti t!5

Canya sebahagian ke%il arahan dilaksanakan

#oder!te i "-.e"ent!on o: te t!5 correct.8

+erlaksanaan arahan yang sederhana s e%ara betul

#ot o: te t!5 ;! i"-.e"ented correct.8

;ebanyakan arahan dilaksanakan dengan betul

Te t!5 ;! i"-.e"ented +cce:+..8

Arahan dilaksanakan dengan %emerlang

(9)

Dee.o-"ent o: te c.! Arit"ec7 I"-.e"ent!on o: iEenN+"ber)<2* "etod +embangunan kelas Arithme!%> Im#lementasi metod is-(en)umberG2: $60 No i"-.e"ent!on o: te t!5 Tiada #erlaksanaan arahan I"-.e"ented on.8 ! "!.. c+n5 o: ti t!5

Canya sebahagian ke%il arahan dilaksanakan

#oder!te i "-.e"ent!on o: te t!5 correct.8

+erlaksanaan arahan yang sederhana s e%ara betul

#ot o: te t!5 ;! i"-.e"ented correct.8

;ebanyakan arahan dilaksanakan dengan betul

Te t!5 ;! i"-.e"ented +cce:+..8 Arahan dilaksanakan dengan %emerlang = Codin St!nd!rd +iawaian ;od $60

@ron codin Code ;ere not ;e.. or!nied

Code ;ere or!nied in "oder!te "!nner

Code ;ere or!nied -ro-er.8

Code ;riFen ;ere er8 ;e.. tr+ct+red !nd cre!e.8 or!nied

=

+engekodan yang salah

;od !dak disusun dengan sem#urna

;od disusun dengan %ara sederhana

;od disusun dengan baik ;od ditulis dengan sangat berstruktur dan disusun dengan krea!f  R+n"e Masa 6arian $6 Te -ror!" co+.d not be e<ec+ted !t !.. Atur%ara !dak da#at dilaksanakan langsung

Te -ror!" ;! not e<ec+ted d+e to error OR te -ror!" ;! e<ec+ted ;it te correct o+t-+t b+t te ;riFen codin did not :+.. !.. te +eon re+ire"ent

 Atur%ara ini !dak

dilaksanakan disebabkan ralat

 ATAD atur%ara ini

dilaksanakan dengan

Te -ror!" ;! e<ec+ted b+t "ot.8 ;it incorrect o+t-+t OR te -ror!" ;! e<ec+ted ;it te correct o+t-+t b+t te ;riFen codin did not :+.. :e; o: te +eon re+ire"ent

 Atur%ara ini dilaksanakan

teta#i kebanyakan out#ut adalah salah

 ATAD atur%ara ini

Te -ror!" ;! e<ec+ted "ot.8 ;it te correct o+t-+t

Atur%ara ini dilaksanakan dengan kebanyakan out#ut yang betul

Te -ror!" ;! e<ec+ted ;it !.. te correct o+t-+t AND te -ror!" ;! e<ec+ted b8 :+...in !.. te re+ire"ent ! t!ted in te +eon

 Atur%ara ini

dilaksanakan dengan semua out#ut yang betul

 <A) atur%ara ini

(10)

out#ut yang betul teta#i kod ditulis !dak memenuhi ke#erluan soalan

dilaksanakan dengan out#ut yang betul teta#i kodnya ditulis tan#a memenuhi bebera#a ke#erluan soalan dilaksanakan dengan memenuhi semua ke#erluan yang dinyatakan dalam soalan EJcienc8 -$siensi 06

@ron o.+on A diJc+.t !nd ineJcient o.+on

A .oic!. o.+on t!t i e!8 to :o..o; b+t it i not te "ot eJcient

So.+on i eJcient !nd e!8 to :o..o;

So.+on i eJcient9 +ndert!nd!b.e !nd e!8 to "!int!in

2

+enyelesaian yang salah

+enyelesaian yang sukar dan !dak berkesan

+enyelesaian logikal yang senang diiku! teta#i ianya bukanlah #enyelesaian #aling berkesan

+enyelesaian adalah berkesan dan senang diiku!

+enyelesaian adalah berkesan= boleh difahami dan senang diselenggara

Re+ire"ent o: Doc+"ent!on )So+rce Code .e K Doc+"ent .e6 Doc+"ent .e ! co-8 o: code9 creenot o: te -ror!" o+t-+t !nd -ror!" co""ent* ;e#erluan <okumentasi fail sumber E fail dokumen. Fail dokumen

mengandungi salinan kod= imbasan skrin out#ut atur%ara dan komen atur%ara: 06 No doc+"ent!on K o+rce code .e Inco"-.ete doc+"ent!on K ;ito+t o+rce code .e

Brie: doc+"ent!on ;it o+rce code .e

Good doc+"ent!on toeter ;it o+rce code .e

E<ce..ent doc+"ent!on !nd co"-.ete ;it o+rce code .e

2

Tiada dokumentasi dan fail kod sumber

<okumentasi yang !dak lengka# dan tan#a fail kod sumber

<okumentasi yang ringkas bersama dengan fail kod sumber

<okumentasi yang memuaskan bersama dengan fail kod sumber

<okumentasi yang %emerlang dan lengka# dengan fail kod sumber

References

Related documents

For protogynous species, in which males tend to be larger than females on average, size-selective fishing mortality (gillnetting/hooks is used for fishing) may result in the loss

Now, Coca-Cola is taking advantage of the large revenue opportunities made possible by participating in a global market and now offers products in 200 countries around the

You can use the following worksheets with the Report Design Worksheet: Record Selection Specifications, Sort Specifications, Math Instructions, and Summary Hath

We provide evidences of the presence of this effect in the European Equity Mutual Funds market, we test whether this effect has disappeared after the Bouman and Jacobsen

Passive, microtremor recordings in severely damaged areas of the Kathmandu Valley, as well as at the main seismic recording station in Kathmandu (USGS station KATNP) are used

The applicant has an in-depth understanding of and/or extensive experience with the basic principles, tools and processes of public health practice, in terms of working with

Pearson correlations were used to assess the relationship between the BOLD response constrained to the independently defined fMRI ROI in the PCu/PCC for the contrast scenes &gt; faces

The training module will be collated using the modules developed by the Ministry of Health and Family Welfare, Government of India, The Indian Council of Medical Research, The