[go: up one dir, main page]

0% found this document useful (0 votes)
99 views6 pages

Assignment Question

The purpose of the assignment is for students to develop Java ME applications using Netbeans. Question 1 (35 marks) requires students to create a Bouncing Ball game that uses a GameCanvas class to simulate a ball bouncing around the screen when it hits the edges. Question 2 (25 marks) requires students to create a Mask Request Statistics application that allows users to add and view bar graph data of mask requests from different Malaysian states. The assignment will be evaluated based on criteria such as program completion, use of classes and loops, coding standards, runtime behavior, and documentation.

Uploaded by

Idris Zamberi
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)
99 views6 pages

Assignment Question

The purpose of the assignment is for students to develop Java ME applications using Netbeans. Question 1 (35 marks) requires students to create a Bouncing Ball game that uses a GameCanvas class to simulate a ball bouncing around the screen when it hits the edges. Question 2 (25 marks) requires students to create a Mask Request Statistics application that allows users to add and view bar graph data of mask requests from different Malaysian states. The assignment will be evaluated based on criteria such as program completion, use of classes and loops, coding standards, runtime behavior, and documentation.

Uploaded by

Idris Zamberi
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/ 6

ASSIGNMENT QUESTION

PURPOSE
The purpose of this assignment is to provide the students with Java programming skill for
MIDlet application in Java ME environment. Next, the students will be able to simulate
the developed application in J2ME Loader Emulator using Netbeans.The students also
should be able to perform animation for the object and generate bar graph in Java ME
environment.

REQUIREMENTS/ ASSIGNMENT QUESTION


Students are required to use Netbeans to answer these questions. A softcopy of answers
for each question should have the captured interfaceand 1 main code (*.java). You may
use Microsoft Word to put the source codes of the xml, java files and screen capture of
the User Interface.
QUESTION 1
Develop a game application namely as Bouncing Ball where the ball will bounce whenever
it hits the left, right, bottom and top of the windows screen as shown in a figure below.
Student may use GameCanvas class and use loop to update the ball position and check if
the ball hit the screen.

[35 marks/markah]
QUESTION 2
As a mobile programmer, you are required to develop an application to monitor the
statistics of face mask request from several states in Malaysia. User is able to add and
view data in a bar graph. The screen layouts of application named Mask Request Statistics
Apps are shown below:

[25 marks/markah]

[Total/Jumlah: 60 marks/markah]

MUKA SURAT TAMAT / END OF PAGE


ATTACHMENT
ASSIGNMENT RUBRICS
CBOD4203MOBILE PROGRAMMING II /MAY 2020
Excellent/ Good/ Fair/ Poor/ Unsatisfactory/
*QN/ Criteria/ Weight/ Cemerlang Baik Sederhana Lemah Tidak memuaskan Max
CLO
*NS Kriteria Pemberat Marks
4 3 2 1 0
Program completion of the appropriate The task was Most of the task was Moderate Implemented only a No implementation
interface for bouncing ball apps, implemented implemented implementation of small chunk of this of the tasks
1 2 declaration of parameters and use of 2.5 successfully correctly the task correctly task 10
GameCanvas class to construct the game
apps.
Program completion of using loop of The task was Most of the task was Moderate Implemented only a No implementation
bouncing ball and display results output implemented implemented implementation of small chunk of this of the tasks
1 2 4.0 16
for the program. successfully correctly the task correctly task

Coding Standards Codes written were Codes were Codes were Codes were not well Wrong coding
very well structured organised properly organised in organised
1 2 0.5 2
and creatively moderate manner
organised
Runtime • The program was • The program was • The program was • The program was The program could
executed with all executed mostly executed but not executed due not be executed at
the correct output with the correct mostly with to errors all
• AND the program output incorrect output • OR the program
was executed by • OR the program was executed
fulfilling all the was executed with the correct
1 2 0.5 2
requirements as with the correct output but the
stated in the output but the written coding
question written coding did did not fulfil all
not fulfil few of the question’s
the question’s requirements
requirements
Efficiency Solution is efficient, Solution is efficient A logical solution A difficult and Wrong solution
understandable and and easy to follow that is easy to follow inefficient solution
1 2 0.5 2
easy to maintain but it is not the most
efficient
Requirement of Documentation (Source Excellent Good documentation Brief documentation Incomplete No documentation
1 2 0.75 3
Code files & Document file. Document file documentation and together with source with source code file documentation & & source code file
has copy of codes, screenshots of the complete with source code file without source code
program output and program comments) code file file
Program completion of the appropriate The task was Most of the task was Moderate Implemented only a No implementation
2 3 interface with text field and button to 2.0 implemented implemented implementation of small chunk of this of the tasks 8
generate the input entered by the user. successfully correctly the task correctly task
Program completion of develop Canvas, The task was Most of the task was Moderate Implemented only a No implementation
loop to generate bar graph and display implemented implemented implementation of small chunk of this of the tasks
2 3 2.0 8
results output for the program. successfully correctly the task correctly task

Coding Standards Codes written were Codes were Codes were Codes were not well Wrong coding
very well structured organised properly organised in organised
2 3 0.5 2
and creatively moderate manner
organised
Runtime • The program was • The program was • The program was • The program was The program could
executed with all executed mostly executed but not executed due not be executed at
the correct output with the correct mostly with to errors all
• AND the program output incorrect output • OR the program
was executed by • OR the program was executed
fulfilling all the was executed with the correct
2 3 0.5 2
requirements as with the correct output but the
stated in the output but the written coding
question written coding did did not fulfil all
not fulfil few of the question’s
the question’s requirements
requirements
Efficiency Solution is efficient, Solution is efficient A logical solution A difficult and Wrong solution
understandable and and easy to follow that is easy to follow inefficient solution
2 3 0.5 2
easy to maintain but it is not the most
efficient
Requirement of Documentation (Source Excellent Good documentation Brief documentation Incomplete No documentation
Code files & Document file. Document file documentation and together with source with source code file documentation & & source code file
2 3 0.75 3
has copy of codes, screenshots of the complete with source code file without source code
program output and program comments) code file file
Total 15 60
*QN = Question Number / *NS = Nombor Soalan

You might also like