Ask Question, Ask an Expert


Ask Programming Language Expert

problem1. The following data are required to be stored by a family physician.

Family#, FamilyAddress, Patient#, PatientName, ServiceCode, ServiceFee, ServiceDate

A family can have numerous patients. A patient belongs to a single family. Each service has a code and a fee. A patient can acquire only one service on a given date.

Illustrate the database design in third normal form for the above data.

problem2. Consider a systems development project with the subsequent data

Activity              Duration (weeks)     Precedence Relationship

1. Software design          2                        -
2. Module 1 Coding        14                       1
3. Module 2 Coding        18                       1
4. Module 3 Coding        15                       1
5. Unit Test 1                2                         2
6. Unit Test 2                3                         3
7. Unit Test 3                1                         4
8. Integration Test         3                     5, 6, 7
9. Systems Test            1                          8
10. Acceptance Test1     2                          9
11. Acceptance Test2     1                          9
12. System Release        1                       10, 11

a) Draw project network.

b) Identify critical activities.

c) What is the least number of weeks needed to complete the project?

d) Among the activities which have a non-zero slack, which is the activity with the least slack?

e). Activities 2, 3, and 4 will have to be done in parallel at least for some duration if the project has to be completed in the least possible time.

A. True
B. False

. Most computer systems authenticate users through asking them for the user name and password. But, the user names and passwords often can be guessed by the hackers. Recommend an automated, preventive control mechanism to deal with the authentication problem.

problem4. Consider a system which has the subsequent UML models:

Use Case for find outTotalProjectCost

Trigger: End of each month

Normal Flow of Events

For each project in the project data file, DO
Set TotalProjectCost = 0
For each employee who worked in project, DO
        TotalProjectCost = TotalProjectCost + HourlyRate*HoursWorked
Print Project#, TotalProjectCost

Data Dictionary

Project data = Project# + Name + BeginDate + EndDate + {Emp# + HoulrlyRate + HoursWorked}

In the above design the total cost of a project is broken down in employee costs. For best cost control, the management wants the total cost to be broken down in activity costs also. For illustration, if the project needs two activities, programming and design, then the costs for the design activity and the programming activity are also needed. Show the revised Use case description and data dictionary to create the new cost report. Make any additional assumptions required.

problem5. Develop (i) a context diagram, and (ii) a use case diagram to model the subsequent functionalities of an online brokerage house.

eBroker is a discount online broker. An account holder of this brokerage firm can verify the balance in his account; get stock quote, buy stocks or mutual funds, sell stocks or mutual funds, or research about a stock or a mutual fund. The account holder must log in the site using his username and password before he can do any of the above functions. For purchasing or selling stocks, the user gives the number of stocks to purchase or sell and the price. For mutual funds, the user provides only the total amount. Subsequent to a purchase or a sell transaction is done; the system sends a confirmation to account holder’s email address. At the end of every month, the system sends an account statement to every account holder by e-mail. The system sends a hard copy account statement to the account holder’s home address also, if the account holder had requested so.

problem6. Draw the sequence diagram for the subsequent situation of eBroker.

Sell Stock

1. The user enters the password and username
2. The system verifies that the user is an authentic user using information from user database.
3. The user enters the stock symbol.
4. The system displays current price information for the stock.
5. The user enters sale transaction data like number of stocks to sell and price
6. The system verifies whether the user has sufficient number of stocks in his account to sell.
7. The system creates a new sale transaction.
8. The system informs stock exchange regarding the sale transaction.
9. The stock exchange informs the system (eBroker) when the sale is performed.
10. The system updates user’s account.
11. The system terminates sale transaction created in step 7.

Suppose the following classes: stock, sale transaction, account.

Programming Language, Programming

  • Category:- Programming Language
  • Reference No.:- M91508

Have any Question? 

Related Questions in Programming Language

Question 1 batteriesi want to use a galvanic cell to power

Question 1: Batteries I want to use a galvanic cell to power a 60-watt light bulb. Complete the following steps to determine how long the galvanic cell will power the light bulb before running out. a.) The galvanic cell ...

In this lab you will write a program that simulates the

In this lab you will write a program that simulates the dialing of a phone number. The phone number may have either digits, letters, or both. (See sample output below) Here are the letters associated with each digit. 0 5 ...

Assignmentinstructions the following programming problem

Assignment Instructions: The following programming problem can be solved by a program that uses three basic tasks-Input Data, Process Data, and Output Results. To process the data, it uses loops, arrays, decisions, accum ...

The exercise for this week is to write a class that

The exercise for this week is to write a class that simulates managing a simple bank account. The account is created with an initial balance. It is possible to deposit and withdraw funds, to add interest, and to find out ...

Write a lex program that converts a le to pig latin

Write a Lex program that converts a le to Pig Latin." Specially, assume the le is a sequence of words (groups of letters) separated by whitespace. Every time you encounter a word: 1. If the First letter is a consonant, m ...

Along with your name include your student id and discussion

? Along with your name, include your student ID# and discussion section at the top of your Assignment. ? There are eight problems; we will go over them in dicussion section after the due date. ? The textbook in this cont ...

Assignmentpart 1 instance data and methods belong to

Assignment Part 1 Instance data and methods belong to objects (which are class members) and static data and methods belong to a class as a whole. Consider the real-life class named StatelnTheUnitedStates. Name some real- ...

Generate code for the following three-address statements

Generate code for the following three-address statements assuming stack allocation where register SP points to the top of the stack. a) x = 1 b) x = a c) x = a + 1 d) x = a + b e)The two statements x = b * c y = a + x

Write a program that will help an elementary school student

Write a program that will help an elementary school student learn multiplication. Use rand to produce two positive one-digit integers. It should then type a question such as: How much is 6 times 7? The student then types ...

Module implementation and support1 how methods of top-down

MODULE: IMPLEMENTATION AND SUPPORT 1) How methods of top-down and bottom-up development can be applied to object-oriented software. 2) Ccommon characteristics of the prototyping, spiral, UP, and XP development approaches ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen