Questions
Write the EBNF for mini Java language based of the following information: Data Types Integer Int...

Write the EBNF for mini Java language based of the following information:

Data Types

  • Integer
    • Int
    • Long
  • Double
  • Boolean
  • Char
  • References

Complex Data Structures

  • Arrays
    • int v[30];
  • Classes
    • member variables
      • class Name {
      • int a;
      • char b;
      • char name[25];
      • }

Methods

  • Return data type
    • Primitive data type
    • Void
  • Method Name
  • Parameter list
    • Could be empty
  • Statement Block
    • {
    • Variable declarations
    • Executable Statements
    • }

Program

  • Variable Declarations
  • Class Definitions
  • Methods
  • Only one method named "main" but must have one method named main

Statements

  • Expression Statements
    • Assignment operation allowed in expressions
    • Add, Sub, Mult, Divd, 6 comparisons, Logical operations (and, or, not), Assignment
  • If statements
    • else is allowed but optional
  • While statements
  • Print
    • eol value to go to new line
    • allow multiple print items
  • Return statement - returns the value of an expression

Statement Blocks

  • Enclosed in braces
  • Separate statements using semicolons

In: Computer Science

Yolanda is the executive in charge of the Santa Fe office of Best & Co, an...

Yolanda is the executive in charge of the Santa Fe office of Best & Co, an international public accounting firm. She is responsible for the practice in all areas of audit, tax, and consulting, but she does not serve as a field audit partner or a reviewer. Javier is the partner in charge of the Besame Inc. audit (an SEC filing). Is Best & Co independent if (a) Yolanda owns common stock of Besame or (b) her brother owns 10 shares of the common stock of Besame?

In: Accounting

Go to the Web and find out two ways employers can use data mining to retain...

Go to the Web and find out two ways employers can use data mining to retain employees. You cannot use an article that has already been selected by one of your classmates: doing so will result in a grade of zero (0) for this assignment. Once you find your own article, submit the following:

1. Name of the article

2. Author(s)

3. Date of publication

4. Source

5. Copy of the web link to the article (this is so I can verify it).

6. A summary of between 60-150 words that describes how employers can retain talent using data mining.

Once you have completed your assignment, check back in a day or so to read the contributions of others in your class. After you have read their work, choose one of your classmates' Discussions and answer the following questions as a reply to it: In what ways is their example similar to yours? In what ways is it different?

In: Economics

A researcher with the Department of Education followed a cohort of students who graduated from high...

A researcher with the Department of Education followed a cohort of students who graduated from high school in a certain​ year, monitoring the progress the students made toward completing a​ bachelor's degree. One aspect of his research was to determine whether students who first attended community college took longer to attain a​ bachelor's degree than those who immediately attended and remained at a​ 4-year institution. The data in the table attached below summarize the results of his study. Complete parts​ a) through​ e) below.

Community College Transfer

No Transfer

n

263263

11811181

Sample mean time to​ graduate, in years

5.315.31

4.414.41

Sample standard deviation time to graduate, in years

1.153 1.004

a) What is the response variable in this​ study? What is the explanatory​ variable?

A. The response variable is the number of students. The explanatory variable is the time to graduate.

B. The response variable is the use of community college or not. The explanatory variable is the time to graduate.

C. The response variable is the time to graduate. The explanatory variable is the use of community college or not.

D. The response variable is the time to graduate. The explanatory variable is the number of students.

b) Explain why this study can be analyzed using inference of two sample means. Determine what qualifications are met to perform the hypothesis test about the difference between two means. Select all that apply.

A. The samples can be reasonably assumed to be random.

B. The sample sizes are not more than​ 5% of the population.

C. The samples are independent.

D. The sample sizes are large​ (both greater than or equal to​ 30).

E. The population is given to be normally distributed.

c) Does the evidence suggest that community college transfer students take longer to attain a​ bachelor's degree?

Use an α=0.01 level of significance. Perform a hypothesis test. Determine the null and alternative hypotheses.

A. Upper H 0H0​: mu Subscript community college Baseline equals mu Subscript no transferμcommunity college=μno transfer​,

Upper H 1H1​: mu Subscript community college Baseline greater than mu Subscript no transferμcommunity college>μno transfer

B. Upper H 0H0​: mu Subscript community college Baseline greater than mu Subscript no transferμcommunity college>μno transfer​,

Upper H 1H1​: mu Subscript community college Baseline less than mu Subscript no transferμcommunity college<μno transfer

C.Upper H 0H0​: mu Subscript community college Baseline less than mu Subscript no transferμcommunity college<μno transfer​,

   Upper H 1H1​: mu Subscript community college Baseline greater than mu Subscript no transferμcommunity college>μno transfer

D.Upper H 0H0​: mu Subscript community college Baseline equals mu Subscript no transferμcommunity college=μno transfer​,

   Upper H 1H1​: mu Subscript community college Baseline less than mu Subscript no transferμcommunity college<μno transfer

Determine the test statistic.

t=_______ ​(Round to two decimal places as​ needed.)

Determine the​ P-value.

​P-value=_______ ​(Round to three decimal places as​ needed.)

Should the hypothesis be​ rejected?

▼(Do not reject, Reject) the null hypothesis. The evidence ▼(does, does not) suggest that community college transfer students take longer to attain a​ bachelor's degree at the

α=0.01 level of significance.

d) Construct a 99​% confidence interval for mu Subscript community college Baseline minus mu Subscript no transferμcommunity college−μno transfer

to approximate the mean additional time it takes to complete a​ bachelor's degree if you begin in community college.

The confidence interval is the range from _______ to ________.​(Round to three decimal places as​ needed.)

e) Do the results of parts​ c) and​ d) imply that community college causes you to take extra time to earn a​ bachelor's degree?

No

Yes

In: Statistics and Probability

A researcher with the Department of Education followed a cohort of students who graduated from high...

A researcher with the Department of Education followed a cohort of students who graduated from high school in a certain​ year, monitoring the progress the students made toward completing a​ bachelor's degree. One aspect of his research was to determine whether students who first attended community college took longer to attain a​ bachelor's degree than those who immediately attended and remained at a​ 4-year institution. The data in the table attached below summarize the results of his study. Complete parts​ a) through​ e) below.

Community College Transfer

No Transfer

n

252

1131

Sample mean time to​ graduate, in years

5.45

4.53

Sample standard deviation time to​ graduate, in years

1.134

1.022

Determine the Test Statistic

T= ___ (round to two decimal places as needed)

Determine the P-Value

P-value= ___ (round to three decimal places as needed)

D) Construct a 95% confidence Interval for community college - no transfer to approximate the mean additional time it takes to complete a bachelor's degree if you begin in community college.

The confidence intervals in the range from ___ to ___

E) Do the results of parts c) and d) imply that community college causes you to take extra time to earn a bachelor's degree?

Yes or No

In: Statistics and Probability

Consider the data in the following table, obtained from a cohort study conducted by Iso and...

  1. Consider the data in the following table, obtained from a cohort study conducted by Iso and colleagues [Isa H, Date C, Yamamoto A, et al. Smoking cessation and mortality from cardiovascular disease among Japanese men and women. The JACC study. Am J Epidmeiol. 2005;161(2):170-179.].

Total Cardiovascular Disease According to Smoking Status

Disease

Current Smoker

Cases

Person-years

Yes

882

220,965

No

673

189,254

Calculate the rate ratio and corresponding 95% confidence interval for these data. Express your answer to the nearest hundredth. Interpret your results.

In: Statistics and Probability

A researcher with the Department of Education followed a cohort of students who graduated from high...

A researcher with the Department of Education followed a cohort of students who graduated from high school in a certain​ year, monitoring the progress the students made toward completing a​ bachelor's degree. One aspect of his research was to determine whether students who first attended community college took longer to attain a​ bachelor's degree than those who immediately attended and remained at a​ 4-year institution. The data in the table attached below summarize the results of his study. Complete parts​ a) through​ e) below.

Community College Transfer:

n:268

Sample mean time to​ graduate, in years 5.49

Sample standard deviation time to​ graduate, in years 1.144

No Transfer

n 1175

Sample mean time to​ graduate, in years 4.51

Sample standard deviation time to​ graduate, in years 1.013

a) What is the response variable in this​ study? What is the explanatory​ variable?

A.The response variable is the use of community college or not. The explanatory variable is the time to graduate.

B.The response variable is the time to graduate. The explanatory variable is the use of community college or not.

C.The response variable is the time to graduate. The explanatory variable is the number of students.

D.The response variable is the number of students. The explanatory variable is the time to graduate.

​b) Explain why this study can be analyzed using inference of two sample means. Determine what qualifications are met to perform the hypothesis test about the difference between two means. Select all that apply.

A.The sample sizes are large​ (both greater than or equal to​ 30).

B.The population is given to be normally distributed.

C. The samples are independent.

D.The sample sizes are not more than​ 5% of the population.

E.The samples can be reasonably assumed to be random.

​c) Does the evidence suggest that community college transfer students take longer to attain a​ bachelor's degree? Use an

alpha equals 0.01α=0.01 level of significance. Perform a hypothesis test. Determine the null and alternative hypotheses.

A.Upper H 0H0​: mu Subscript community college Baseline equals mu Subscript no transferμcommunity college=μno transfer​,

Upper H 1H1​:mu Subscript community college Baseline greater than mu Subscript no transferμcommunity college>μno transfer

B.Upper H 0H0​: mu Subscript community college Baseline greater than mu Subscript no transferμcommunity college>μno transfer​,

Upper H 1H1​: mu Subscript community college Baseline less than mu Subscript no transferμcommunity college<μno transfer

C.Upper H 0H0​: mu Subscript community college Baseline equals mu Subscript no transferμcommunity college=μno transfer​,

Upper H 1H1​: mu Subscript community college Baseline less than mu Subscript no transferμcommunity college<μno transfer

D. Upper H 0H0​:mu Subscript community college Baseline less than mu Subscript no transferμcommunity college<μno transfer​,

Upper H 1H1​:mu Subscript community college Baseline greater than mu Subscript no transferμcommunity college>μno transfer

In: Statistics and Probability

The following results were obtained in an environmental cohort study which was investigating the risk of...

The following results were obtained in an environmental cohort study which was investigating the risk of brain cancer associated with exposure to high power transmission lines. Brain cancer was a binary variable meaning the person had it or did not.   

Radiation Dose (REM)

Total population

Cases of brain cancer

Cumulative Incidence

Relative Risk

0-0.99

25,000

2,700

1.0

1-4.99

10,000

1,300

≥5

2,000

1,500

Please fill in the table above. Please show all your work. Use the lowest radiation category (i.e. 0-0.99) as the referent group.

Please interpret the relative risk for the 1-4.99 and ≥5 REM groups compared to the referent group.

Based on the Bradford-Hill criteria discussed in the Causality lecture, what causal criteria is mainly demonstrated by this study? Provide your justification.

In: Nursing

Enzymes catalyze chemical reactions by Altering the equilibrium point of a reaction Making a non-spontaneous reaction...

Enzymes catalyze chemical reactions by

  1. Altering the equilibrium point of a reaction
  2. Making a non-spontaneous reaction spontaneous
  3. Stabilizing the transition state
  4. Being used up in the chemical reaction

Disulfide bridges are formed by

  1. Cysteine side chains hydrogen-bonded
  2. Methionine side chains covalently bonded
  3. Cysteine side chains covalently bonded
  4. Methionine side chains hydrogen-bonded

DNA is a polymer of ______ while proteins are polymers of _______

  1. Glucose, acetyl-CoA
  2. Nucleotide, amino acids
  3. Nucleotides, fatty acids
  4. Sugars, amino acids

In: Chemistry

PUT THE EVENTS OF MUSCLE CONTRACTION IN ORDER Question 28 options: 12345 Calcium ions attach to...

PUT THE EVENTS OF MUSCLE CONTRACTION IN ORDER

Question 28 options:
12345
Calcium ions attach to the troponin. This causes the tropomyosin to move away from the actin active sites.
12345
An ATP molecule provides the energy to return the myosin cross bridge back to its original (cocked) position
12345
Myosin heads bend and pull the actin over the myosin
12345
Myosin cross bridges attach to the active sites of the actin
12345
Nerve stimulation causes Calcium ions to be released from the Sarcoplasmic Reticulum

In: Anatomy and Physiology