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

Program 1write a program that reads and processes data

Program 1 Write a program that reads and processes data about quarterly rainfall for one year. Your program should ask the user to enter rain fall amounts for each of the four quarters in the year. You must use a looping ...

Suppose a basic block is formed from the c assignment

Suppose a basic block is formed from the C assignment statements x = a + b + c + d + e + f; y = a + c + e; a) Give the three-address statements (only one addition per statement) for this block. b) Use the associative and ...

Assignmentin this assignment you will implement a

Assignment In this assignment, you will implement a simplified gradebook. Your application should: Ask for a student's name. Ask for how many letter grades will be inputted. After all of the valid letter grades are enter ...

Project on grammarsnbspcourseist 230cmpsc

PROJECT ON GRAMMARS   Course: IST 230/CMPSC 360   Deadline: see the calendar in Canvas for the deadline   Objective: To acquire a comprehensive understanding of the application of grammars and formal language theory to c ...

Assignmentwrite a program that calculates the intersection

Assignment Write a program that calculates the intersection of two sets of numbers. The sets can be represented using arrays. The general idea is that A!=0 if i is in the set and A==0 if it is not. Array element A can th ...

Assignment on stackswrite a program that evaluates

Assignment on Stacks Write a program that evaluates arithmetic expressions in infix notation that are not necessarily fully parenthesized. An arithmetic operation +, -, * or / has its usual precedence and associativity. ...

Write a program where you create a class called bankaccount

Write a program where you create a class called BankAccount. The BankAccount class should contain a String to store the customer name and a double to store the account balance. The BankAccount class should have two const ...

Assignmentstep 1create a class named account with data

Assignment Step 1: Create a class named Account with data fields for an account number, payment amount and balance as well as the appropriate set and get methods. Include a constructor method that contains no arguments. ...

Write a program that will predict the size of a population

Write a program that will predict the size of a population of organisms. The program should ask for the starting number of organisms, their average daily population increase ( as a percentage), and the number of days the ...

Fundamentals functions amp arraysplease refer to

Fundamentals, Functions & Arrays Please refer to announcements for details about this exam. Make sure you fill the information below to avoid not being graded properly; Here is the grading matrix where the TA will leave ...

  • 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