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

Assignment1 you are a manager who is employed by a game

Assignment 1. You are a manager who is employed by a game production company. Your team is responsible for coding one of the game modules. You have two newly hired programmers working for you who believe that the followi ...

1 write a pseudo code before starting your program do not

1. Write a pseudo code before starting your program ( do not use SWITCH, replace it with IF structures ) 1.1 Draw a flowchart for your program based on your pseudo code 2. Identify your constants 3. Your input will come ...

Assignmentjason has opened a coffee shop at the beach and

Assignment Jason has opened a coffee shop at the beach and sells coffee in three sizes: small (9oz) medium (12oz) and large (15oz). Small cost is $1.75 medium costs $1.90 and large costs $2.00. Write a menu driven progra ...

Retail transaction programming projectproject requirements1

Retail Transaction Programming Project Project Requirements: 1. Develop a program to emulate a purchase transaction at a retail store. This program will have two classes, a LineItem class and a Transaction class. The Lin ...

Assignmenta catering company provides prepared meals for

Assignment A catering company provides prepared meals for events such as business meetings. The company has a number of standard meals, which it identifies with a unique integer ID number. At this stage each meal also ha ...

Construct a loop which will allow for the daily fan count

Construct a loop which will allow for the daily fan count to be entered for each game. The games number (1-4) should be part of the prompt displayed to the user. Within this loop, you will need other loop(s) to validate ...

Figure is code to count the number of primes from 2 to n

Figure is code to count the number of primes from 2 to n, using the sieve method on a suitably large array a. That is, a[i] is TRUE at the end only if there is no prime p i or less that evenly divides i. We initialize al ...

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. call p call q return call r return return

Assignmentwrite a narrative describing the objective of the

Assignment Write a narrative describing the objective of the program, and what each routine will do, including the reason for and purpose of the array(s), in addition to the selection statement and use of iterations Expl ...

Suppose that we implement the functions of figure using a

Suppose that we implement the functions of Figure using a display. Show the display at the moment the first call to fib0(1) is about to return. Also, indicate the saved display entry in each of the activation records on ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

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