Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

If there is a group of n people in a room, what is the probability that two or more of them having same
birthday? It is possible to determine answer to this question by simulation. (Hint: You can generate
random dates, n times and determine the fraction of people who born in a given day). Write a function
that determines the answer to this question by simulation. The program you write can take n as the
input and prints out the probability that two or more of n people will have the same birthday for
n=2,3,4…. 40
If there is a group of n people in a room,
what is the probability that two or more of them having same
birthday? It is possible to determine answer to this question by simulation.
(Hint:
You can generate
random dates
,
n times and determine the
fraction of people who born in a given day).
Write a f
unction
that determines the answer to this question by simulation. The
program
you wr
ite can take n as the
input
and prints out
the probability that two or more of n people will have the same birthday for
n=2,3,4.... 40
http://pastebin.com/ZLBn9HVw

Problem 2 Part 1
Develop the program, which accepts the gross pay and produces the amount of tax owed. For a gross pay of 100000 or less, the tax is 0%; for over 100000 and 300000 or less, the tax rate is 15%; and for any pay over 300000, the tax rate is 28%. Calculate tax pay and return the result to main method. Print the result in main method.
how to call getters and setters method if they are set using swing and if the user's entry will store on an array type and the user is allowed to enter data
Write a program to print the pay slip for each employee. Your program must use the properties of object-oriented programming which are polymorphism and inheritance in constructing the classes for the employees. Your program must have a menu that gives the user an option whether to process the pay slip for part time or full time employee. For a part time employee, the input will be hours worked, hourly rate and sales achieved, and for full time employee, it will be overtime rate, overtime hours worked and sales achieved. Assume the basic pay for full time is $2000.

Below is the commission rate for the sales achieved.

$250 - $600 = 2%
$601 - $900 = 4%
Over $900 = 6%
A byte consists of how many bits?
7
8
7 or 8
None of the above

2 Which of the following defines a set of activities that begin at a specific date and end at another specific date in a software development lifecycle?
Program
Procedure
Process
Project

3 In a DBMS, predefined formats for entering data into one or more tables in a database is called which of the following?
Template
Form
View
Query

4 If 1000 bytes make 1KB, How many bytes are in 1 GB?
10E06
10E07
10E08
10E09

5 Which of the following is a major data collection method used in organizations?
Direct observation
Interviews
Questionnaires
All of the above

6 A comprehensive list of the data in the records of one or more data tables in a database?
Query
Report
Procedure
Query table

7 Which of the following is used to describe the information one is looking for in a data store?
Search term
Search language
Index
Key

8 When someone is looking for the name of a particular person, "Madu Okey", in a telephone directory, which data retrieval type is in use?
Subject retrieval
Topical search
Known-item
Key search

9 Which of the following refers to the process of decomposing data into separate data sets?
Data aggreggation
Data disaggregation
Data analysis
Data summarization

10 The process of reducing voluminous data into less voluminous data is called which of the following?
Data aggreggation
Data disaggregation
Data analysis
Data summarization

11 The process of investigating and identifying important attributes of a particular data set is called which of the following?
Data aggreggation
Data disaggregation
Data analysis
Data summarization

12 The process of planning or designing an information system is often referred to as which of the following?
SDLC
SLDC
SCLD
SLDC

13 The binary 101101 is equivalent to which of the following base 10 numbers?
43
46
45
55

14 77.44E04 is equivalent to which of the following?
774400
7744000
77440
77440000

15 Which of the following is a pre-defined way of displaying some or all the records and fields in a data table?
View
Model
Schema
Table

16 Which of the following is a statement that instructs a DBMS to find and display data from a database all data that meet some criteria?
Instruction
Query
Procedure
Function

17 The final stage of the software development lifecycle is which of the following?
Implementation of the new system
Operating the new system
Monitoring the new system
Analsis of the old system

18 When someone is searching for all economics books in the library catalogue but without having any specific book in mind, which data retrieval type is in use?
Subject search
Known-item
Key search
Query search

19 Which stage of the software development lifecycle is aimed at determining the kind of information that will be required by system users?
Feasibility study
user requirements analysis
design of new system
analysis of the old system

20 The first stage of the software development lifecycle is which of the following?
Feasibility study
user requirements analysis
design of new system
analysis of the old system
Shopping Spree is a leading departmental store in Shanghai. The store has a number of regular
customers who purchase bulk items. The store also conducts regular feedback sessions to
analyze customer satisfaction levels. Chen, the Customer Analyst of Shopping Spree, has to make
the ER diagram to represent the preceding situation, and then to map the ER diagram to the
corresponding tables. Help Chen to do the same.
Question-1:
The Birthday Problem: The birthday problem is stated as follows:
If there is a group of n people in a room, what is the probability that two or more of them having same birthday? It is possible to determine answer to this question by simulation. (Hint: You can generate random dates, n times and determine the fraction of people who born in a given day). Write a function that determines the answer to this question by simulation. The program you write can take n as the input and prints out the probability that two or more of n people will have the same birthday for n=2,3,4…. 40
Question-2:
Write a single program that calculates the arithmetic mean (average), rms average, geometric mean and harmonic mean for a set of n positive numbers. Your program should take two values xlow and xhigh and generate 10000 random numbers in the range [xlow…xhigh], and should print out arithmetic mean (average), rms average, geometric mean and harmonic mean.
The definitions of means are given as follows.
Question-
how to enter two or more names using two dimensional array?
LATEST TUTORIALS
APPROVED BY CLIENTS