CE00371-1 INTRODUCTION TO SOFTWARE DEVELOPMENT


Lab/Tutorial 8

Assessment weight : 8%

Due : Week 10

Programming exercises.

  1. Create an applet which lays out a simple mobile phone. Your mobile phone will have the following components:

    Use any mobile phone for a sample layout. The layout manager is your choice as is the use of labels, colors, and button name.

  2. Only addition operation is implemented in the Rational class. The basic operations have the following definitions:

    Add three methods to perform the Subtration, Multiplication, and Division operaions. Create an applet to test your program.

    Your applet should look and function like this :

  3. Upon completion, submit hard copy of the following:

    Notice: You should follow the Code Conventions for the Java Programming Language in writting your program. Internal program documentation is required and should include the program/module header, usage of descriptive variable names and comments, and proper indentation.