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

Asignmentbe sure to follow the coding standard guidelines

Assignment Be sure to follow the Coding Standard Guidelines. You must properly indent and comment your code. Indent code and insert comments to document your program. Program must be implemented and run as instructed. So ...

Assignment- object oriented programmingthis program will

Assignment- Object Oriented Programming This program will use 2 different data structures to perform the same tasks; a vector and a dynamically sized array Write a complete C++ program that will: Declare a vector of inte ...

The concepts discussed in this section can also be applied

The concepts discussed in this section can also be applied to eliminate partially dead code. A definition of a variable is partial ly dead if the variable is live on some paths and not others. We can optimize the program ...

Assignmenta talent competition has 5 judges each of whom

Assignment A talent competition has 5 judges, each of whom awards a score Resolved Question: A talent competition has 5 judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8 ...

Pennies for pay you are hired for a job and your employer

Pennies for Pay You are hired for a job and your employer agrees to pay you each day. Your pay rate will be one penny the first day and two pennies the second day, four pennies the third day and continuing to double each ...

Programming taskswhile working on the tasks below you are

Programming tasks While working on the tasks below, you are free to request assistance on D2L at: Communications / Discussions / Assignments (or other appropriate sub-topic) These tasks entail modifying your prior code f ...

Develop a program that displays information about a family

Develop a program that displays information about a family member or friend. This program should print out information about what you like best about him or her. You might even describe your pet, if you have one. Present ...

Assignmenta student had to make a decision on how to be

Assignment A student had to make a decision on how to be paid. The student could accept a straight $10/hour or take 10 cents for the first hour, but have the hourly wage double each hour. That is, the student would make ...

Assignment research projectwrite an overview of any two of

Assignment: Research Project Write an overview of *any two* of the below topics. Each overview should be between one half and one full page long. You should use a minimum of two sources for each overview; make sure to re ...

1 devise a register-allocation strategy on the assumption

1. Devise a register-allocation strategy on the assumption that we automatically store all registers on the stack before each procedure call and restore them after the return. 2. Construct the register-interference graph ...

  • 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