Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Network & Security Expert

Context of the Assignment:

The main goal of this assignment is to understand how to design and implement an object- oriented system by applying sound object-oriented design disciplines. The students will design, implement, test and document a Swing application that provides an interface to a database developed using any chosen database software. They will also do same to develop a client/server application using socket programming.

Assignment Purpose:

1. Understanding the scenarios and creating a Swing application and a client/server application using JAVA.

2. Use advanced features and techniques of object oriented programming appropriately, including Swing, Database connectivity and socket programming.

Scenario 1

You have been tasked in developing an interactive system to help small children to carry out simple calculations on circles such as area of the circle and perimeter of the circle given the radius. The system should have a good user interface for entering the radius with the options of selecting any of the three operations: area to calculate the area, perimeter to calculate the perimeter or clear to remove of contents from the text fields. The chosen operation will be carried out and the result will be displayed in a text field on the same interface. At the same time, a message will also be displayed on the interface informing the user which operation was selected. The design of interface is given below.

Use the following diagram to understand the Interface.

Task 2: Design the application described above using Java Swing

Scenario 2 You have asked develop an interactive system for a small money changer to provide on-line currency conversions from Omani Riyals to several other currencies to its customers. The system will provide a client service for entering an amount in OMR and the required currency name and forward the inputs to the server. The server will check the entered currency name and search for its exchange rate from a database storing the currency name and exchange rate. The exchange rate found will be used to do the conversion and then sent back to the client both the exchange rate and the conversion result or appropriate error message will be sent back if not found.

Develop a client/server application to implement this system with the following tasks:

Task 3: Create a database in SQL server or in Access or in any other RDBMS: Create a small database and create a table having two fields: Currency Name and Exchange Rate. Insert some data (at least five records).

Task# 4 Client side program:

The client program will accept from a user an amount in OMR and a currency name and send the request for the conversion to the server.

Task# 5 Server side program: Develop a server side program which will do the following:

(i) Make connection to the database
(ii) Retrieve the data from the table to match the currency name
(iii) If match is found, then send the exchange rate and conversion result to the client
(iv) If match is not found, then send an appropriate error message
(v) Close the connection with the database and client

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M91579953
  • Price:- $140

Priced at Now at $140, Verified Solution

Have any Question?


Related Questions in Computer Network & Security

Question a small company is assigned the class c network

Question : A small company is assigned the class C network 205.67.35.0. You need to divide this network to provide subnets for three departments using fixed-length subnetting. The departments are approximately the same s ...

If a router is attached to a network with a base ip address

If a router is attached to a network with a base IP address of 198.10.0.0/20 and receives a packet addressed to 198.10.10.144, answer the following questions: a. What is the network mask used by the router? (in dotted de ...

Consider the following series of paymentsyear 0 20year 1

Consider the following series of payments: Year 0: 20 Year 1: 30 Year 2: 40 Year 3: 10 Year 4: 5 Using an interest rate of 10%: a. What is the present value of this series of payments? b. What is the future value of this ...

What is the difference between a positive economic

What is the difference between a positive economic statement and a normative one.

Advanced network design assessment - human factors in

Advanced Network Design Assessment - Human factors in network analysis and design Purpose of the assessment - This assignment is designed to assess students' knowledge and skills related to the following learning outcome ...

Content analysis assignmentoverviewthis assignment has

Content Analysis Assignment Overview This assignment has three major aims: - To help students gain good understanding of all ITECH1102 theoretical and practical material. - To encourage students to use content analysis s ...

Autonomous consumptionnbsp 660marginal propensity to

Autonomous consumption  = 660 Marginal propensity to consume  = 0.8 Autonomous taxation  = 200 Income tax rate =  0.2 Planned investment  = 500 Government spending  = 500 Autonomous net exports  = 300 NX  = 0.04 Calculat ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain understanding of data m ...

Suppose that third national bank has reserves of 20000 and

Suppose that Third National Bank has reserves of $20,000 and check able deposits of $200,000. The reserve ratio is 10 percent. The bank sells $20,000 in securities to the Federal Reserve Bank in its district, receiving a ...

Assignment- javafx and model-view separationyou are to

Assignment- JavaFX and Model-View separation You are to implement a JavaFX project that separates its model (application data and logic) from its view and controller (the JavaFX controls and event handlers that create th ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As