Questions
A previous semester's set of data from the initial questionnaire results in the following frequency table...

A previous semester's set of data from the initial questionnaire results in the following frequency table (some minor adjustments were made).

Eye color +8 hours of sleep <8 hours of sleep
Brown 6 7
Blue 4 1
Other 1 3

(a) If the possibilities for eye color are brown (Br), blue (Bl), and other (O), and the possibilities for sleep are at least 8 hours (Y) and less than 8 hours (N), one possible outcome for eye color and sleep after choosing a student is "BrY" (brown eyes and slept at least 8 hours). List one other possible outcome:  

(b) What is the probability of the event "has blue eyes" occurring if a student is chosen at random? State your answer as a fraction (e.g. "3/7")   

(c) What is the probability of someone having brown eyes OR getting +8 hours of sleep? State your answer as a fraction (e.g. "3/7")

(d) In how many ways can you get exactly two people who have <8 hours of sleep?   

(e) Suppose two different students are chosen at random. What is the probability that both students have brown eyes? State your answer to two decimal places.

(f) Suppose one student is chosen at random. What is the probability that the student has an "other" eye color given that they got less than 8 hours of sleep? Give your answer as a fraction (e.g. "3/7").

(g) In how many different ways can you choose 3 different people at random out of the entire group of students? State your answer to two decimal places.    

In: Statistics and Probability

Write a program, which reads a list of student records from a file in batch mode....

Write a program, which reads a list of student records from a file in batch mode. Each student record comprises a roll number and student name, and the student records are separated by commas. An example data in the file is given below.

· SP18-BCS-050 (Ali Hussan Butt), SP19-BCS-154 (Huma Khalid), FA19-BSE-111 (Muhammad Asim Ali), SP20-BSE-090 (Muhammad Wajid), SP17-BCS-014 (Adil Jameel)

The program should store students roll numbers and names separately in 2 parallel arrays named names and rolls, i.e. in the above case, 1st element of names contains “Ali Hussan Butt” and 1st element of rolls contain “SP18-BCS-321”; similarly, 2nd element of names contains “Huma Khalid” and 2nd element of rolls contain “SP19-BCS-154” and so on. Hint: You may use delimiters string “() ,”. Ignore empty strings returned as tokens (i.e. strings with length 0), if any.

In the end, first, display roll numbers and names for only the following students:

· Who are enrolled in BCS program.

· Whose roll number is between 100 and 200. (Hint: you can extract last 3 characters of roll number, convert it into integer and then check range 100-200)

For example, in the above case, only following students should be displayed.

1. Ali Hussan Butt, roll number: SP18-BCS-050

2. Adil Jameel, roll number: SP17-BCS-014

NOTE:USE ONLY C LAUNGAGE AND DONT USE FILE HANDLING.

In: Computer Science

A plug-in transformer supplies 9.00 V to a video game system. How many turns are in its secondary coil if its input voltage is 120 V and the primary coil has 381 turns?

(A) A plug-in transformer supplies 9.00 V to a video game system. How many turns are in its secondary coil if its input voltage is 120 V and the primary coil has 381 turns? What is its input current when its output is 1.33 A?

(B)What is the characteristic time constant of a 24.2 mH inductor that has a resistance of 4.08 Ω? If it is connected to a 12.0 V battery, what is the current after 12.5 ms?

(C)Two protons are released from rest, one from location 1 and another from location 2. When these two protons reach location 3, the first proton has a speed that is 4 times the speed of the second proton. If the electric potentials at locations 1 and 2 are 231 V and 115 V, respectively, what is the electric potential at location 3?

(D)Two microwave frequencies are authorized for use in microwave ovens: 910 and 2590 MHz. Calculate the wavelength of each.

In: Physics

Laptop computers are charged using laptop chargers (adapters) which are connected to 240 V supply and...

Laptop computers are charged using laptop chargers (adapters) which are connected to 240 V supply and uses 1.5 A to provide 19 V to a computer. Describe in detail, how does adapter convert at 240 V supply to 19 V as output? Does this laptop adapter belong to step up or step down? Justify. What will be the output current if its efficiency is 96% ? The adapter uses low voltages like 240 V, 50 Hz whereas transmission lines operate at very high voltages. How it can be achieved? Inside the computer, A 50 Ω resistor and 100 μF capacitor are connected in series to a 50 Hz source. What will be the maximum voltage in the circuit if r.m.s current in the circuit is 0.3 A? Can you show that the sum of rms voltage across resistor and that across capacitor is more than rms voltage across entire circuit? Compare the phase angle for the above circuit with that for a circuit containing only capacitor.

In: Physics

Choose ONE or more of the following cases and discuss, in detail, the manner in which...

Choose ONE or more of the following cases and discuss, in detail, the manner in which the case has shaped the Australian taxation system and the importance of the case in the context of Australian business and commerce:

a.     Federal Commissioner of Taxation v Stone 2005 ATC 4234.

b.     Federal Commissioner of Taxation v Whitfords Beach Pty Ltd (1982) 150 CLR 355.

c.     Harding v Commissioner of Taxation [2007] FCAFC 29.

d.     Federal Commissioner of Taxation v Myer Emporium Ltd (1987) 163 CLR 199.

e.     Bywater Investments Limited & Ors v. Commissioner of Taxation [2016] HCA 45.

Explain your answer with reference to the facts and issues arising in the case you select, and provide an appraisal of the Court’s decision. Ensure you refer to relevant legislation, ATO Guidance and professional legal, tax or accounting commentary relevant to your case in support of your answer.

In: Accounting

Matt Peters wishes to evaluate the risk and return behaviors associated with various combinations of assets...

Matt Peters wishes to evaluate the risk and return behaviors associated with various combinations of assets V and W under three assumed degrees of correlation: Perfectly positive, uncorrelated, and perfectly negative. The expected returns and standard deviations calculated for each of the assets are shown in the following table:

Asset V: Expected Return: 8% Risk: 5%

Asset W: Expected Return: 13% Risk: 10%

a. If the returns of assets V and W are perfectly positively correlated(coefficient =+1), describe the range of (1) expected return and (2) risk associated with all possible portfolio combinations

b. If the returns of assets V and W are uncorrelated (coefficient =0), describe the range of (1) expected return and (2) risk associated with all possible portfolio combinations

c. If the returns of assets V and W are perfectly negatively correlated(coefficient =-1), describe the range of (1) expected return and (2) risk associated with all possible portfolio combinations

In: Finance

In Drosophila, the mutant genes ct (cut wings), y (yellow body), and v (vermillion eye color)...

In Drosophila, the mutant genes ct (cut wings), y (yellow body), and v (vermillion eye color) are all X-linked. Females heterozygous for all three genes were mated with homozygous recessive males. The male progeny from the cross are given below. As is conventional with Drosophila, the wild-type allele of each gene is designated by a + sign.

ct         y          v                      4

ct         y          +                      93

ct         +          v                      54

ct         +          +                      349

+          y          v                      331

+          y          +                      66

+          +          v                      97

+          +          +                      6

Determine the allele arrangement in the heterozygous parents.

Determine the gene order of these three linked genes.

Construct a linkage map showing the map distances between the three genes.

Calculate interference.

a. Determine the allele arrangement in the heterozygous parents. b. Determine the gene order of these three linked genes. c. Construct a linkage map showing the map distances between the three genes. d. Calculate interference.

In: Biology

A random variable (RV), x is distributed with a pdf as follows: fX(x) = [C ×...

A random variable (RV), x is distributed with a pdf as follows:

fX(x) = [C × x × (1 – x)]       0 ≤ x ≤ a            (C and a are constants)

         = 0                                otherwise

Hence, determine the following: (i) C; (ii) cumulative probability of x in the range, [(u × a) ≤ x ≤ (v × a)]; where u and v are fractions; (iii) E[x]; (iv) second moment of x ; and, (v) standard deviation of x. Assume: a = 1, u = 0.5 and v = 0.75

Hence, choose the correct set of answers in the multiple-choices listed:

Multiple-choices on the answer-set

Choices

(i) C

(ii) cdf

[ua ≤ x ≤ va]

(iii) E[x]

(iv) m2

(v) sigma(x)

1

1.5

0.4458

0.75

0.35

0.250

2

1.6

1.3435

0.60

0.55

0.254

3

1.0

0.3438

0.50

0.30

0.224

4

1.0

0.3466

0.51

0.32

0.124

5

0.8

0.1458

0.45

0.22

0.324

In: Computer Science

A university administrator expects that 25% of students in a core course will receive an A....

A university administrator expects that 25% of students in a core course will receive an A. He looks at the grades assigned to 60 students. a. What are the expected value and the standard error for the proportion of students that receive an A? b. Use an appropriate normal transformation to calculate the probability that the percentage of students that receive an A is 20% or less. c. Use an appropriate normal transformation to calculate the probability that the proportion of students who receive an A is between 0.20 and 0.35. d. Use an appropriate normal transformation to calculate the probability that the proportion of students who receive an A is not between 0.20 and 0.30

In: Statistics and Probability

The hypothesis is that students who are familiar with the Theory of Algorithms learn the programming...

The hypothesis is that students who are familiar with the Theory of Algorithms learn the programming language C++ faster than students who are not familiar with this theory. We have gathered data from 30 students who are familiar with the Theory of Algorithms (Group 1) and 30 students who are not familiar with the Theory of Algorithms (Group 2). Experiments showed students from Group 1 took a mean of 32.5 hours to complete the training course of C++, while students Group 2 the mean was 42.1 hours. The p-value was 0.14.

In: Computer Science