Course Hero Logo

COMP228Lab2F.docx - Java Programming COMP-228 Centennial...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 3 out of 11 pages.

Java ProgrammingCOMP-228Centennial CollegeCOMP 228: Java ProgrammingLAB #2 – Java MethodsStudent:HuyenAnhPhan_301216123_____________________________________________Due Date:Week 5Purpose:The purpose of this Lab assignment is to:Practice the use Java classes, Java methods, and other concepts taught.References:Learning materials for week3 and 4, textbook, and other references (if any)This material provides the necessary information you need to complete the exercises.Be sure to read the following general instructions carefully:This lab should be completed individually by all the students.YOU NEED TO SUBMIT THE FOLLOWING 2 DOCUMENTS IN THE DROPBOXTITLED LAB2:1.THE FIRST ONE IS A WORD DOCUMENT. USE THIS DOCUMENT AND ADDSCREEN SHOTS OF THE RUNNING STATE OF EACH EXERCISE (If there aremore than 1 exercise). DO NOT DELETE THE QUESTIONS. THE SCREENSHOTS SHOULD FOLLOW EACH QUESTION AND COVER ALL THEASPECTS/FUNCTIONALITIES OF EACH EXERCISE. AFTER THE SCREENSHOTS PLEASE COPY THE CODE FROM THE CODE WINDOW AND PASTETHE COMPLETE CODE. DO NOT GIVE ME SCREEN SHOTS OF THE CODE.DO NOT ZIP THIS FILE AND KEEP IT SEPARATE FROM YOUR ZIPPEDPROGAM FILE.2.SUBMIT ALSO ONE ZIPPED PROJECT FILE THAT CONTAINS ALL THEEXERISES SEPARATELY INTO THE SAME DROP BOX.You must name your Eclipse/IntelliJ project according to the following rule:YourFullName_COMP228LabnumberExample:JohSmith_COMP228Lab2Each exercise should be placed in a separate package (if there are more than 1 exercise)namedexercise1,exercise2, etc.Submit your assignment in azip filethat is named according to the following rule:YourLastName_COMP228Labnumber.zipExample:JohSmith_COMP228Lab2.zipApply the naming conventions for variables, methods, classes, and packages:-variable namesstart with alowercasecharacterLab#2Page1of11
Java ProgrammingCOMP-228-classesstart with anuppercasecharacter-packagesuse onlylowercasecharacters-methodsstart with alowercasecharacterExercise 1:Write a Java application that simulates a test. The test containsat least fivequestions about firstthree lectures of this course. Each question should be a multiple-choice question with 4 options.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 11 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Fall
Professor
Sujeet Lohan
Tags
Object Oriented Programming, Subroutine, Object lifetime

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture