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

Cbcp2202 - Computer Programming II (Question)

The document provides instructions for students on submitting and having their assignment assessed. It states that the assignment contains one question in both Malay and English. Students must answer in one of the languages and submit the assignment in Microsoft Word format by the deadline of November 15th, 2015. Late submissions will not be accepted. The assignment will be assessed based on rubrics and accounts for 30% of the total course marks. Plagiarism is strictly prohibited and will result in marks being deducted depending on the percentage of similarity detected. The assignment question requires students to write a C program that calls a function to display a table converting miles to kilometers within a given range and increment.

Uploaded by

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

Cbcp2202 - Computer Programming II (Question)

The document provides instructions for students on submitting and having their assignment assessed. It states that the assignment contains one question in both Malay and English. Students must answer in one of the languages and submit the assignment in Microsoft Word format by the deadline of November 15th, 2015. Late submissions will not be accepted. The assignment will be assessed based on rubrics and accounts for 30% of the total course marks. Plagiarism is strictly prohibited and will result in marks being deducted depending on the percentage of similarity detected. The assignment question requires students to write a C program that calls a function to display a table converting miles to kilometers within a given range and increment.

Uploaded by

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

PENYERAHAN DAN PENILAIAN TUGASAN

ASSIGNMENT SUBMISSION AND ASSESSMENT


_________________________________________________________________________
CBCP2202
COMPUTER PROGRAMMING II
SEPTEMBER 2015
_________________________________________________________________________
ARAHAN KEPADA PELAJAR / INSTRUCTIONS TO STUDENTS
1. Tugasan ini mengandungi SATU (1) soalan sahaja yang disediakan dalam
Bahasa Melayu dan Bahasa Inggeris / This assignment contains only ONE (1)
question that is set in both Malay and English.
2. Jawab dalam Bahasa Melayu atau Bahasa Inggeris. / Answer in Malay or
English.
3. Anda dikehendaki menyerahkan tugasan dalam format MsWord melainkan
dinyatakan sebaliknya. Anda tidak dibenarkan untuk menukar teks/frasa
tugasan tersebut kepada format grafik seperti .jpeg / .gif / print screen / dan
lain-lain format berkaitan. /Learners are to submit assignment only in
MsWord format unless specified otherwise. Please refrain from converting
text/phrases into picture format such as .gif / .jpeg / print screen / etc.
4. Muat turunkan templat tugasan versi bahasa yang berkenaan daripada
myVLE untuk penyediaan dan penyerahan tugasan anda. Tugasan anda
hendaklah ditaip dengan menggunakan saiz fon 12 Times New Roman dan
langkau baris 1.5. / Download the language version of the assignment
template concerned from the myVLE for preparation and submission of
your assignment. Your assignment should be typed using 12 point Times
New Roman font and 1.5 line spacing.
5. Anda dikehendaki menghantar tugasan SECARA ONLINE melalui myVLE. Sila
rujuk kepada portal untuk arahan mengenai prosedur menghantar tugasan
anda secara online. Anda dinasihatkan menyimpan senaskah tugasan yang
diserahkan untuk rujukan sendiri. / You must submit your assignment
ONLINE via the myVLE. Refer to the portal for instructions on the procedures
to submit your assignment online. You are advised to keep a copy of your
submitted assignment for personal reference.
6. Anda hanya boleh menghantar tugasan SEKALI sahaja dalam BEBERAPA
FAIL seperti mana keperluan soalan (1 fail utama dan fail-fail
sokongan/lampiran. / You can submit your assignment ONCE only in
a MULTIPLE FILE as per requirement of the assignment (1 main file and
attachment/supporting files).
7. Tugasan anda hendaklah diserahkan antara 2hb Nov. hingga 15hb Nov.
2015 Serahan selepas 15hb Nov. 2015 TIDAK akan diterima. / Your

assignment must be submitted between 2nd Nov. until 15th Nov. 2015.
Submission after 15th Nov. 2015 will NOT be accepted.

8.

Anda perlu membentangkan hasil kerja tugasan anda kepada tutor F2F.
Kedua-dua pelajar F2F dan OL perlu menghadiri sesi pembentangan
ini. Sila rujuk Pentadbir di Pusat Pembelajaran anda untuk mengetahui tarikh
bagi sesi pembentangan ini. / You are required to present your assignment
task to your F2F tutor. Both F2F and OL students should attend this
presentation. Please refer to your Learning Center Administrator to confirm
on the date for the presentation.

9. Tugasan hendaklah disiapkan secara individu. Anda dilarang meniru tugasan


orang
lain. Anda juga dilarang sama sekali memplagiat kerja orang lain
sebagai kerja sendiri. /
Your assignment should be prepared individually. You should not copy another
persons assignment. You should also not plagiarise another persons work as
your own.
10.Sila ambil maklum tentang PENALTI yang akan dikenakan ke atas
penghantaran lewat tugasan seperti yang tertera di pekeliling pejabat
Pendaftar 6/2012 (Rujuk Registrars Announcement di myVLE) / Please take
note that PENALTY will be imposed on late submission of assignment as
specified in the Registrars Office circular 6/2012 (Refer to Registrars
Announcement in myVLE)
11.Anda perlu memastikan RESIT yang dikeluarkan bagi penghantaran tugasan
disimpan sebagai bukti penghantaran. Kegagalan mengemukakan resit dalam
sebarang isu yang timbul berkaitan penghantaran tugasan akan
mengakibatkan tugasan dianggap TIDAK dihantar / Please ensure that you
keep the RECEIPT issued upon submisson of your assignment as proof of
submission. Your assignment is considered as NOT submitted if you fail to
produce the submission receipt in any dispute arises concerning assignment
submission.
PENILAIAN / EVALUATION
Tugasan ini menyumbang sehingga 30% daripada jumlah markah kursus
berkenaan dan akan dinilai berdasarkan kepada Rubrik yang dilampirkan. / This
assignment accounts for 30% of the total marks for the course and shall be
assessed based on the Rubrics attached .
Anda akan diberikan maklum balas tentang tugasan ini sebelum Peperiksaan
Akhir Semester bermula. / You would be given feedback on the assignment
before the Final Semester Examination commences.
PLAGIARISME: POTONGAN MARKAH / PLAGIARISM: MARKS DEDUCTION
Amaran: Tugasan yang diserahkan, secara automatik, akan disemak untuk
menentukan kadar pertindihan. Jika plagiarisme dikesan, markah akan dipotong
seperti berikut:
/ Warning: The submitted assignment will automatically

undergo a similarity check. If plagiarism is detected, marks would be deducted


as follows:
No.

% Similarity (from)

% Similarity (To)

% of Mark
Deduction

30

30.01

50

50.01

70

10

70.01

100

100

ASSIGNMENT QUESTION / SOALAN TUGASAN


PURPOSE
To evaluate learners ability to apply the programming principles and
techniques by writing a complete C program codes.
REQUIREMENT / ASSIGNMENT QUESTION
Write a C program by calling a function to display a table that converts
miles to kilometers. The arguments to the function should be the
starting and stopping values of miles and the increment. The output
should be a table of miles and their equivalent kilometer values. Use
the relationship that 1 mile equals 1.61 kilometers. The table should be
printed in two columns. For example, if the starting value is 1 mile, the
ending value 20 miles, the increment is 1, the display can be imagined
like this:

Miles

Kilometers

Miles

Kilometers

1.61

11

17.70

3.22

12

19.31

10

16.09

20

32.18

[Hint: Find split = (start + stop) / 2. Let a loop execute from miles =
start to split, calculate and print across one line the values of miles and
kilometers for both miles and (miles start + split + 1)]
The assessment will be done based on the following criteria:
i.

A proper writing of C codes and its structure

ii. The ability of program to be compiled and executed


iii. Implementation of correct programming techniques
iv. Complete documentation and correct submission
Note: You must write C programming codes for this assignment.
(30)

TUJUAN
Untuk menilai keupayaan pelajar dalam mengaplikasikan prinsip dan teknik
pengaturcaraan dengan menulis kod program C yang lengkap.

KEPERLUAN / SOALAN TUGASAN


Tulis aturcara C dengan memanggil fungsi bagi memaparkan satu jadual yang
menukarkan kiraan batu kepada kilometer. Argumen kepada fungsi seharusnya
nilai permulaan dan akhiran bagi nilai batu dan penokokannya. Output
seharusnya dalam bentuk jadual nilai batu dan kilometernya yang setara.
Gunakan hubungan 1 batu bersamaan 1.61 kilometer. Jadual seharusnya dicetak
dalam dua lajur. Sebagai contoh, jika nilai permulaan adalah 1 batu, nilai
akhirannya 20 batu, penokokannya adaah 1, paparan boleh dibayangkan seperti
berikut:

Batu

Kilometer

Batu

Kilometer

1.61

11

17.70

3.22

12

19.31

10

16.09

20

32.18

[Panduan: Dapatkan pisahanLajur = (nilaiMula + nilaiAkhir) / 2. Biarkan gelung


terlaksana daripada batu = nilaiMula hingga pisahanLajur, kira dan cetak dalam
satu baris nilai-nilai batu dan kilometer bagi kedua-dua batu dan (batu
nilaiMula + pisahanLajur + 1)]
Penilaian akan dilakukan berdasarkan kepada kriteria berikut:

i.Penulisan kod C dan strukturnya yang betul


ii.

Kebolehan aturcara dikompil dan dilaksanakan

iii. Pelaksanaan teknik-teknik pengaturcaraan yang betul


iv. Dokumentasi lengkap dan penghantaran yang betul
Nota: Anda mesti menulis kod pengaturcaraan C bagi tugasan ini.

MUKA SURAT TAMAT / END OF PAGE

ATTACHMENT

ASSIGNMENT RUBRICS
CBCP2202 COMPUTER PROGRAMMING II / SEPT 2015

Criteria
A proper writing of C codes and
its structure:
Block of codes were written
properly
Clear division of variable
declaration, prompts of
input, determination or
process and output
Implementation of white
spaces

Weighta
ge

Kebolehan aturcara dikompil dan


dilaksanakan. Seharusnya tiada
sebarang ralat samada ralat sintaks,
ralat larian atau ralat logikal.

Low

Fair

Above average

Excellent

Poorly met the


requirements
of the criteria.

Basic/
minimally met
the
requirements
of the criteria.

Did not meet


criteria at all
OR wrong
answer was
given.

Mostly met
the
requirements
of the criteria
but it can be
improved
further.

2.0

Max
Mar
ks

Met the
requirements
of the criteria.

1.0

Penulisan kod C dan strukturnya


yang betul:
Blok kod ditulis dengan betul
Pembahagian yang jelas bagi
pengisytiharan pembolehubah,
pintaan input, penentuan atau
proses dan output
Pelaksanaan ruang putih
The ability of program to be
compiled and executed. There
should not be any errors either
for syntax errors, runtime errors
or even logical errors.

Poor

4
Tidak memenuhi
kriteria langsung
ATAU jawapan
yang salah telah
diberikan.

Memenuhi
keperluan
kriteria secara
lemah.

Memenuhi
keperluan
kriteria secara
asas/ minimal.

Memenuhi
kebanyakan
daripada
keperluan
kriteria tetapi
ianya boleh
dimantapkan
lagi.

Memenuhi
keperluan
kriteria.

Did not meet


criteria at all
OR wrong
answer was
given.

Poorly met the


requirements
of the criteria.

Basic/
minimally met
the
requirements
of the criteria.

Met the
requirements
of the criteria.

Tidak memenuhi
kriteria langsung
ATAU jawapan
yang salah telah
diberikan.

Memenuhi
keperluan
kriteria secara
lemah.

Memenuhi
keperluan
kriteria secara
asas/ minimal.

Mostly met
the
requirements
of the criteria
but it can be
improved
further.
Memenuhi
kebanyakan
daripada
keperluan
kriteria tetapi
ianya boleh
dimantapkan

Memenuhi
keperluan
kriteria.

lagi.

Implementation of correct
programming techniques:
Declaration of all variables
required
Prompt for input
Determination process based
on the input. Correct
technique must be chosen
and shown in this part
Displaying all output as
required
Pelaksanaan teknik-teknik
pengaturcaraan yang betul:
Pengisytiharan semua
pembolehubah yang dikehendaki
Pintaan untuk input
Proses penentuan berdasarkan
kepada input. Teknik yang betul
mesti dipilih dan dipamerkan
dalam bahagian ini
Pemaparan semua output yang
dikehendaki
Complete documentation and
correct submission:
Cover page of assignment
Copy of codes
Several screenshots with various
input and output
Submission of C source file in
extension .c
Dokumentasi lengkap dan
penghantaran yang betul:
Muka hadapan tugasan
Salinan kod

3.0

1.5

Did not meet


criteria at all
OR wrong
answer was
given.

Poorly met the


requirements
of the criteria.

Basic/
minimally met
the
requirements
of the criteria.

Mostly met
the
requirements
of the criteria
but it can be
improved
further.

Met the
requirements
of the criteria.

Tidak memenuhi
kriteria langsung
ATAU jawapan
yang salah telah
diberikan.

Memenuhi
keperluan
kriteria secara
lemah.

Memenuhi
keperluan
kriteria secara
asas/ minimal.

Memenuhi
kebanyakan
daripada
keperluan
kriteria tetapi
ianya boleh
dimantapkan
lagi.

Memenuhi
keperluan
kriteria.

Did not meet


criteria at all
OR wrong
answer was
given.

Poorly met the


requirements
of the criteria.

Basic/
minimally met
the
requirements
of the criteria.

Mostly met
the
requirements
of the criteria
but it can be
improved
further.

Met the
requirements
of the criteria.

Tidak
memenuhi
kriteria
langsung ATAU

Memenuhi
keperluan
kriteria secara
lemah.

Memenuhi
keperluan
kriteria secara
asas/ minimal.

Memenuhi
kebanyakan
daripada
keperluan

Memenuhi
keperluan
kriteria.

12

Beberapa cekupan skrin dengan


pelbagai input dan output
Penghantaran fail sumber C
dalam extensi .c
Total

jawapan yang
salah telah
diberikan.
7.5

kriteria tetapi
ianya boleh
dimantapkan
lagi.
30

You might also like