Kent Institute Australia Pty. Ltd. Assessment Brief XXXXXXXXXXABN XXXXXXXXXXCRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019 XXXXXXXXXXTEQSA Provider Number: PRV12051 ASSESSMENT BRIEF...

1 answer below »
the part under Prakhyat only


Kent Institute Australia Pty. Ltd. Assessment Brief ABN 49 003 577 302 CRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019 TEQSA Provider Number: PRV12051 ASSESSMENT BRIEF COURSE: Bachelor of Information Technology Unit: Object Oriented Design and Programming Unit Code: OODP101 Type of Assessment: Assessment 3 – Solution to programming problem by group of 3-4 students Length/Duration: 20 Hours Unit Learning Outcomes addressed: Upon successful completion of this unit students should be able to: 1. Demonstrate basic knowledge of object-oriented programming concepts and programming problems 2. Analyse and dissect simple design and programming problem 3. Implement a well-designed modularized solution to small programming problems 4. Develop and/or implement testing schedules Submission Date: Week 8 Assessment Task: A group of 3-4 students will work together to provide a quality solution to programming problem using JAVA programming language, Total Mark: 20 marks Weighting: Converted to 20% of the unit total marks Students are advised that submission of an Assessment Task past the due date without a formally signed approved Assignment Extension Form (Kent Website MyKent Student Link> FORM – Assignment Extension Application Form – Student Login Required) or previously approved application for other extenuating circumstances impacting course of study, incurs a 5% penalty per calendar day, calculated by deduction from the total mark. For example. An Assessment Task marked out of 40 will incur a 2 mark penalty for each calendar day. More information, please refer to (Kent Website MyKent Student Link> POLICY – Assessment Policy & Procedures – Student Login Required) https://kentinstituteaustralia.sharepoint.com/sites/Policies%26Forms/SitePages/Home.aspx?RootFolder=%2Fsites%2FPolicies%26Forms%2FPolicies%20and%20Forms%2FStudent&FolderCTID=0x012000E6C01ECDB12ACE448B94EB84A9F93758&View=%7B148054E0%2D0936%2D4517%2D8B3E%2DD0CCDC7CD88F%7D https://kentinstituteaustralia.sharepoint.com/sites/Policies%26Forms/SitePages/Home.aspx?RootFolder=%2Fsites%2FPolicies%26Forms%2FPolicies%20and%20Forms%2FStudent&FolderCTID=0x012000E6C01ECDB12ACE448B94EB84A9F93758&View=%7B148054E0%2D0936%2D4517%2D8B3E%2DD0CCDC7CD88F%7D Kent Institute Australia Pty. Ltd. Assessment Brief ABN 49 003 577 302 CRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019 TEQSA Provider Number: PRV12051 ASSESSMENT DESCRIPTION: Your task is to design, develop and test a small application which will allow a mobile phone user to compare the cost of their phone usage on particular day under plans from three different phone providers and find the most expensive and cheapest from them. Task 1- Design This stage requires you to prepare documentation that describes the function of the program and how it is to be tested. There is no coding or code testing involved in this stage. Requirements: 1) Read through Task 2: Program Development to obtain details of the requirements of this program. 2) Write pseudocode that describes how the program will operate. a. All program requirements must be included, even if you do not end up including all these requirements in your program code. b. The pseudocode must be structured logically so that the program would function correctly. 3) Prepare and document test cases that can be used to check that the program works correctly once it has been coded. You do NOT need to actually run the test cases in this stage; this will occur in Task 3: Testing. a. Test cases should be documented using a template which is week 6 lecture and tutorial. You may include extra information if you wish. At this stage, the Actual Result column will be left blank. Two test cases per group member are required to gain full marks in this task. Kent Institute Australia Pty. Ltd. Assessment Brief ABN 49 003 577 302 CRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019 TEQSA Provider Number: PRV12051 Task 2: Program Development Using the Design Documentation to assist you, develop a Java program that allows the user to enter details of their phone usage and then compare the bill which would result from this usage under different billing plans. All requirements require that you follow coding conventions, such as proper layout of code, using naming conventions and writing meaningful comments throughout your program. Requirement 1: Display a welcome message when the program starts • The welcome message should have a row of “*” at the top and the bottom, just long enough to extend over the text. Hint: Use a loop for this. • The first line of the message should read “WELCOME TO PHONE BILL COMPARISON SYSTEM” • The second line of the message should be blank. • The third line should read “Developed by” followed by your names and a comma, then “student ID”, then your student ids of all group members. • The fourth line should display “OODP101 Object Oriented Design and Programming” • The fifth line should display the current date and time of system. You are expected to do a research to complete this task. • The sixth line should be blank, and the seventh line should be another row of “*” Kent Institute Australia Pty. Ltd. Assessment Brief ABN 49 003 577 302 CRICOS Code: 00161E RTO Code: 90458 Version 2: 11th October, 2019
Answered Same DayAug 31, 2021OODP101

Answer To: Kent Institute Australia Pty. Ltd. Assessment Brief XXXXXXXXXXABN XXXXXXXXXXCRICOS Code: 00161E RTO...

Neha answered on Sep 01 2021
129 Votes
64325 - java provider/import-java-myheefbq (1).docx
Test Cases 1
        Input
        Process
        Output
        Choice 2
        Num of calls * 0.2
Call time * 0.03
Sms * 0.10
Data usage * 0.02
        Amount for number of calls, call duration, sms and data usage.
Total cost is printed.
Test Cases 2
        Input
        Process
        Output
        Choice 3
        Num of calls * 0.15
Call tim
e * 0.04
Sms * 0.12
Data usage * 0.04
        Amount for number of calls, call duration, sms and data usage.
Total cost is printed.
Pseudocode
If user selects 2 as the option
Number of calls=callNum
callNum*0.2
Total call time (secs) = callLength
callLength*0.03
Number of SMS=smsNum
smsNum*0.10
Data Usage (MB)=newDataNum
newDataNum*0.02
float total = (callNum*0.2)+(callLength*0.03)+(smsNum*0.10)+(newDataNum*0.02);
TotalCost =total
If user selects 3 as the option
Number of calls=callNum
callNum*0.15
Total call time (secs) = callLength
callLength*0.04
Number of SMS=smsNum
smsNum*0.12
Data Usage (MB)=newDataNum
newDataNum*0.04
float total = (callNum*0.15)+(callLength*0.04)+(smsNum*0.12)+(newDataNum*0.04);
TotalCost =total
Screenshots
import java.util.Date;
import java.util.Scanner;
public class Main{
    // methods
    public static void getHeading() {
        System.out.println("**********************************************************");
        System.out.println("WELCOME TO PHONE BILL COMPARISON SYSTEM");
        System.out.println("Developed by: Yash Patel K190699, Aachal Timilsina K200046, Jakub Varinsky K170890, Prakhyat Nepal K100193");
        System.out.println("OODP101 Object Oriented Design And Programming");
        Date current = new Date();
        System.out.println("+ current");
        System.out.println("**********************************************************");
    }
    public static int getMainMenu() {
    Scanner myObj = new Scanner(System.in);
    int optNum;
    System.out.println("MAIN MENU");
    System.out.println("Please Select From The Menu:");
    System.out.println("1. Enter the Usage Details");
    System.out.println("2. Display Cost Under Provider 1");
    System.out.println("3. Display Cost Under Provider 2");
    System.out.println("4. Display Cost Under Provider 3");
    System.out.println("5. Clear Usage Details");
    System.out.println("6. Exit System");
    System.out.println("Enter Your Selection:");
    optNum = myObj.nextInt();
    return optNum;
    }
    public static int getDataUsageMenu(){
    Scanner myObj = new Scanner(System.in);
    System.out.println("ENTER USAGE DETAILS MENU:");
    System.out.println("Please select an option from the menu:");
    System.out.println("1. Phone call");
    System.out.println("2. SMS");
    System.out.println("3. Data Usage");
    System.out.println("4. Return to Main Menu");
    
    System.out.println("Enter Your Selection:");
    int userdetails = myObj.nextInt();
    return userdetails;
    }
//Main Function
    public static void main(String[]args){
        Scanner myObj = new Scanner(System.in);
        int main_options,data_options,DataUsageNum = 0;
        
        int callLength = 0;
        int callNum = 0;
        int smsNum = 0;
        int newDataNum = 0;
        int newCallLength = 0;
        int dataMenu = 0;
        double total1 = 0;
        double total2 =0;
    getHeading();
    while (true)
    {
     main_options = getMainMenu();
     if (main_options == 1)
     {
     while(true)
     {
     data_options=getDataUsageMenu();
     if(data_options == 1)
     {
     System.out.println("Enter call length in seconds");
     callLength = myObj.nextInt();
     callLength += callLength;
     System.out.println("Total number of calls so far");
     ...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here