AUR30405 Certificate III in Automotive Mechanical Technology ICTPRG525 – Student Assessment 1 Version 1.0 – April 2019 Southern Cross Education Institute ICTPRG525 Build Java applets ICT50118 Diploma...

1 answer below »
file attached


AUR30405 Certificate III in Automotive Mechanical Technology ICTPRG525 – Student Assessment 1 Version 1.0 – April 2019 Southern Cross Education Institute ICTPRG525 Build Java applets ICT50118 Diploma of Information Technology Record of Assessment Outcome Student name: Student ID: Summary of evidence gathering techniques used for this assessment: O Written Assessment O Practical Assessment O Presentation The evidence presented is: O Valid O Sufficient O Authentic O Current Unit result: Competent O Not Competent O The student has been provided with feedback and informed of the assessment result and the reason for the decision. Assessor name: Date assessed: Assessor signature: RTO contact [email protected] Student declaration on assessment outcome I have been provided with feedback on the evidence I have provided. I have been informed of the assessment result and the reason for the decision. Student name: Date: Student signature: Student Assessment ICTPRG525 – Student Assessment 2 Version 1.0 – April 2019 Southern Cross Education Institute Reasonable Adjustment Was reasonable adjustment applied to any of the assessment tasks? (please tick) Yes O No O If yes, tick which assessment task(s) it was applied to. O Written Assessment O Practical Assessment O Presentation Provide a description of the adjustment applied and why it was applied. Name of assessor: Assessor signature: Name of student: Student signature: Student Declaration Plagiarism constitutes extremely serious academic misconduct and severe penalties are associated with it. By signing below, you are declaring that the attached work is entirely your own (or where submitted to meet the requirements of an approved group assessment, is the work of the group). I certify that  I have read and understood the Southern Cross Education Institute’s PP77 Assessment and submission policy and procedures.  This assessment is all my own work, and no part of this assessment has been copied from another person.  I have not allowed my work to be copied by another person.  I have a copy of this work and will be able to reproduce within 24 hours if requested. I give my consent for Southern Cross Education Institute to examine my work electronically by relevant plagiarism software programs. Student signature: .......................................................... Date: ......../........../................ ICTPRG525 – Student Assessment 3 Version 1.0 – April 2019 Southern Cross Education Institute Assessment Outcome Summary and Feedback Assessment Task 1 – Written Assessment Submission No. Result Date Assessed Assessor Name Assessor Signature O First submission O S O NS O Re-submission 1 O S O NS O Re-submission 2 O S O NS S = Satisfactory NS = Not Satisfactory Feedback to the Student: Assessment Task 2 – Practical Assessment Submission No. Result Date Assessed Assessor Name Assessor Signature O First submission O S O NS O Re-submission 1 O S O NS O Re-submission 2 O S O NS S = Satisfactory NS = Not Satisfactory Feedback to the Student: ICTPRG525 – Student Assessment 4 Version 1.0 – April 2019 Southern Cross Education Institute Assessment Task 3 – Presentation Submission No. Result Date Assessed Assessor Name Assessor Signature O First submission O S O NS O Re-submission 1 O S O NS O Re-submission 2 O S O NS S = Satisfactory NS = Not Satisfactory Feedback to the Student: Student Instructions Student Instructions This unit describes the skills and knowledge required to compile and run an applet that executes in Java-enabled browsers, and interacts with users. To achieve competency the following assessment tasks must be successfully completed in the time allocated with the essential resources. Your trainer/assessor will give you the due date to submit the assessments and provide you with feedback after assessing your work. Refer to the table below for the summary of assessment tasks for this unit: Assessment Task Number Assessment Type Notes 1 Written Assessment To be completed by the due date provided by the trainer/assessor 2 Practical Assessment To be completed by the due date provided by the trainer/assessor 3 Presentation Date of presentation to be arranged with trainer/assessor. Will be conducted during class time.  Students will be given the Student assessment at the beginning of the unit  Students may need to spend some hours outside the class hours without supervision to complete the assessments  All assessment tasks must be satisfactory to achieve competency in the unit  All the units of competency must be deemed competent to complete the qualification and obtain a certificate ICTPRG525 – Student Assessment 5 Version 1.0 – April 2019 Southern Cross Education Institute  The assessment requirement for this unit are presented clearly in the Unit of Competency located at https://training.gov.au/Training/Details/ICTPRG525  In the Student assessment, you must be able to: o Answer all questions o Complete all assessment tasks within the required timeframe o Complete all assessments tasks to a satisfactory standard  The following resources are required for this assessment:  appropriate documentation and resources normally used in the workplace  business documentation  appropriate learning and assessment support when required  computer with internet access  Access to word processing, spreadsheet and PowerPoint software https://training.gov.au/Training/Details/ICTPRG525 ICTPRG525 – Student Assessment 6 Version 1.0 – April 2019 Southern Cross Education Institute Reasonable adjustment For information on reasonable adjustment please refer to the Student handbook located at: http://www.scei.edu.au/documents/international/Student_handbook.pdf Record of assessment outcome After all of the assessment evidence has been gathered from the assessment tasks for this unit/cluster of units of competency the Record of Assessment stating your result will be completed. Information for the Student If you do not understand any part of the unit or the assessments you are required to undertake, please talk with your trainer/assessor. It is important that you understand all of the aspects of the learning and assessment process that you will be undertaking. This will make it easier for you to learn and be successful in your studies. http://www.scei.edu.au/documents/international/student_handbook.pdf ICTPRG525 – Student Assessment 7 Version 1.0 – April 2019 Southern Cross Education Institute Assessment Task 1 – Written Assessment Instructions for completion STUDENT  You are required to answer all questions in Assessment Task 1 – Written Assessment  Responses to the questions must be typed (not hand written)  Use of correct grammar and spelling is required to demonstrate foundational skills  Use of APA referencing must be used where original sources other than your own have been used – to avoid plagiarism  Write your name, Student ID, the assessment task and the name of the unit of competency on each piece of paper you attach to this assessment document  Submit to your trainer/assessor by the due date DUE DATE  The trainer/assessor will inform you of the due date The due date for this task is _____________________________ 1) Read the following java applet code and answer the following questions? a) Write down the steps to create java file called “Keyboard3 “ using JCreator as text editor b) Explain how the java.applet.Applet sub class (Keyboard3) works c) Explain Applet subclass (keyboard3) init() and paint () methods work d) Explain keyboard3.java class instance and local variables and its methods e) Explain keyboard3.java class event handling methods f) Write down the steps to run a java program called keyboard3.java with user defined variables g) Explain how do you call the image on to applet viewer importjava.applet.*; import java.awt.*; importjava.awt.event.*; public class Keyboard3 extends Applet implementsKeyListener, MouseListener { int width, height; int x, y; String s = ""; Image backbuffer; Graphics backg; public void init() { width = getSize().width; height = getSize().height; setBackground(Color.black ); x = width/2; y = height/2; backbuffer = createImage( width, height ); backg = backbuffer.getGraphics(); backg.setColor(Color.black ); backg.fillRect( 0, 0, width, height ); ICTPRG525 – Student Assessment 8 Version 1.0 – April 2019 Southern Cross Education Institute backg.setColor(Color.green ); addKeyListener( this ); addMouseListener( this );
Answered Same DayAug 21, 2021ICTPRG525Training.Gov.Au

Answer To: AUR30405 Certificate III in Automotive Mechanical Technology ICTPRG525 – Student Assessment 1...

Shweta answered on Aug 23 2021
137 Votes
Order 63801/Assessment Task 1.docx
Assessment Task 1
1.
a) Steps to create Keyboard3 java file using JCreator are:
i) Open JCreator from Start Menu
ii) Select File -> New -> Project
iii) Click Next button to select a Basic Java Application
iv) Click Next button and type name of file as “Keyboard3”
v) Click Finish button
vi) In project creation window click on Finish button
vii) Will see window with class Keyboard3 with main function.
Another way is to create directly a java file inst
ead of project in such a way
· Open Jcreator form Start Menu
· Select File-> New-> File
· In window open, select java class
· Click Next and Finish
b) A class java.applet.Applet which is inherited by general java class, here in our case Keyboard3 is designed in such way that it is embedded in the webpage to generate the dynamic content. It runs inside the browser and works at client side. An applet differs from a Java application in that it has no main method, instead, it starts form method called init.
c) Applet subclass init() method is an entry point for applet class. It is used to initialized the Applet. It is invoked only once on other hand paint() is method of component class (java.awt), it is used to paint the Applet. It provides Graphics class which is used for drawing different object like line, oval, arc, rectangle etc.
d) Instance variables are variable which are defined within the class but outside the class methods. Instance variables hold the value for more than one method, constructor or block, Here in Keyboard.java class instance variables are: width, height, x, y, s, backbuffer, backg.
Local variables are variables which are defined within a method, constructor or block. It is created when enter a particular method. Here is class Keyboard3 there is only one local variable within a method “keyTyped” of char datatype “c”.
There are different methods in class Keyboard3:
1) Init() is used to initialize the Applet, within this there are different methods
· getSize().width method is inherited from the superclass JApplet. It is used to get width of an applet
· getSize().height is a method to get height of an applet.
· serBackground() is a method to set the background color of Applet. It is defined in init() method to change color as soon as the applet is initialized.
· createImage() is a method to create an image of particular width and height which is passed as parameter.
· Image.getGraphics() is a method to create a graphics context for drawing to an off-screen image.
· backg.SetColor() sets color of graphics image.
· Graphics.fillRect() is a method to fill the specific rectangle and is filled with a current color.
· Graphics.setColor() is again called to change the color of rectangle to green.
· addKeyListener(this) is a key listener interface which is used to notify whenever the state of key is changed.
· addMouseListener(this) is a mouse listener interface which is used with any GUI component to handle state change of mouse.
2) keyPressed(KeyEvent e), keyRealeased(KeyEvent e), keyTyped(KeyEvent e) are methods found in key listener interface.
3) KeyTyped is used to handle event when something is typed using keys. Here within this method some methods are used such as
· getKeyChar() to get characters and put them in string.
· drawstring(s,x,y) is method to text output in a swing window. Here, s is a string that can be displayed on the screen. x and y are the variables that hold the x and y position on the graphical window.
· repaint() is used whenever update method is called along with call to the paint method, repaint() method clears the current window calls the update method and afterwards call paint().
4) mouseEntered(MouseEvent e), mouseExited(MouseEvent e), mousePressed(MouseEvent e), mouseRealeased(MouseEvent e), mouseEntered(MouseEvent e) and mouseClicked(MouseEvent e) are methods of the mouse listener interface.
5) mouseClicked(MouseEvent e) is used to handle event when mouse is clicked. Within this used getX() and getY() method to get value of x and y and then used repaint().
6) Update() is used to update the current graphics, followed by usage of paint() method. Here used:
· Graphics.drawImage() is a method to draw specific image at specific location. Here, it is drawing rectangle image.
· Graphics.setColor()sets the color of image.
· Graphics.drawLine(x1,y1, x2, y2) is used to draw a line from coordinates (x1,y1) to coordinates (x2,y2)
7) Paint() at the end paint method is called to paint and in this update is called.
e) Event handling methods used in class Keyboard3 are:
1) 1) MouseEvent: use the listener interface MouseListener. It is initialized using addMouseListener(this) method. mouseEntered(MouseEvent e), mouseExited(MouseEvent e), mousePressed(MouseEvent e), mouseRealeased(MouseEvent e), mouseEntered(MouseEvent e) and mouseClicked(MouseEvent e) are methods of the mouse listener interface.
2) 2) KeyEvent: use the listener interface KeyListener. It is initialized using addKeyListener(this) method. keyPressed(KeyEvent e), keyRealeased(KeyEvent e), keyTyped(KeyEvent e) are methods found in key listener interface.
f) Steps to run java program:
1) Jcreator: From the menu select Run -> Run File and...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here