GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

The following data is obtained on the following 2 week old i…

The following data is obtained on the following 2 week old infant receiving PC ventilation:PC/SIMV         ABG:   pH    7.50FiO2 0.40                PaCO2  27PIP   20                     PaO2   65Rate  30                   HCO3   22PEEP  5Which of the following is the most appropriate recommendation?

Read Details

What measures can the therapist take to prevent heat loss an…

What measures can the therapist take to prevent heat loss and cold stress before performing resuscitation on a preterm neonate?     1. Dry the neonate and Cover infant in plastic wrapping     2. Dry the neonate, Prewarm the infant warmer, and Place neonate on exothermic mattress     3. Prewarm infant warmer, Place neonate on exothermic mattress     4. Dry the neonate, Prewarm the infant warmer, Cover neonate in plastic wrapping, and Place infant on exothermic mattress

Read Details

  Input The first and the only line of the input contains tw…

  Input The first and the only line of the input contains two distinct integers n and m (1 ≤ n, m ≤ 10000), separated by a space .   Output Print a single number — the minimum number of times one needs to push a button required to get the number m out of number n.   Sample Input 1 4 6 Sample Output 1 (your program output) 2 Explanation: you need to push the BLACK button (-1) once, and then push the RED button (*2) once. Hence the answer is 2.   Sample Input 2 41 22 Sample Output 2 (your program output) 3 Explanation: You need to press WHITE, BLUE, BLUE to get 41-20-21-22. Hence the answer is 3. test data: test_data.zip These are the data sets the judge will “type” in the console to test your submission: 1.in  1.out  2.in 2.out   3.in  3.out  4.in  4.out  5.in  5.out  6.in  6.out  7.in  7.out  8.in  8.out  9.in  9.out  10.in  10.out  Note that you can also test the program on the Judge (http://69.209.30.21/problems/7006), but do submit your solution to Canvas. The judge only does console IO for simplicity (it does not do file I/O). Do not use any package, and name your class Main and your file Main.java (this is a convention used across all universities and companies for online testing).   Grading metric: some effort: 5 points reasonable effort: 10 points significant effort: 15 points almost working: 20 points Beyond this, each case you solve you score 1 points. Max score: 30 points.   Hint 1: solve it as a BFS problem. For example, you can use: (a) an int array where the subscript is the immediate number and the content is the number of steps to reach that number or (b) a State class (like in the Snakes and Ladder Facebook problem). This is a sufficient State class for you to use: class State { int number; int step; State(int number, int step) { this.number = number; this.step = step; } }  or (c) Any approach you think will solve this problem, including but not limited to building all the edges and running our textbook’s BFS algorithm.  Hint 2: Have you set a lower bound and an upper bound on the intermediate numbers reached? You can set 5*n as the upper bound.

Read Details

Samuel wants to determine if there is a difference in the re…

Samuel wants to determine if there is a difference in the relationship between GDP and part-time employment for the countries of Greece, Cyprus, and Turkey.  The variable GRC equals 1 if the data is from Greece, but 0 if it is not. The variable CYP equals 1 if the data is from Cypress, but 0 if it is not. Treat this data as if it was randomly selected.  The R output is below. (Use 5% as the significance level.) > lm1 summary(lm1) Call: lm(formula = GDP_Three$GDP ~ GDP_Three$GRC + GDP_Three$CYP + GDP_Three$`Part time employment, total`) Residuals: Min 1Q Median 3Q Max -3.865e+11 -6.650e+10 -6.670e+09 6.296e+10 4.783e+11 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 4.113e+11 1.126e+11 3.653 0.000493 *** GDP_Three$GRC -6.666e+11 5.587e+10 -11.931 < 2e-16 *** GDP_Three$CYP -1.004e+12 8.983e+10 -11.180 < 2e-16 *** GDP_Three$`Part time employment, total` 2.020e+10 6.154e+09 3.282 0.001600 ** --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Residual standard error: 1.521e+11 on 71 degrees of freedom Multiple R-squared: 0.8246, Adjusted R-squared: 0.8172 F-statistic: 111.2 on 3 and 71 DF, p-value: < 2.2e-16   Conduct the overall (joint) F test for the significance of the model. Parameters: Hypothesis: Test Statistic: _____________         P-value: ______________ Conclusion:   Conduct the t-test for the GRC variable. Hypothesis: Test Statistic: _____________         P-value: ______________ Conclusion:

Read Details

Add the following keys to a bottom up 234 tree. What will th…

Add the following keys to a bottom up 234 tree. What will the preorder traversal look like? Add keys: 10, 40, 20, 80, 50, 70, 36, 62, 71, 37, 38 [234preorder]

Read Details

When one runs dfs traversal on an unweighted graph, one gets…

When one runs dfs traversal on an unweighted graph, one gets a Search Tree (as discussed in class). Given such a search tree  in Java: and dfs implementation like this: There are 6 vertices. If the graph edge data look like this: Using 0 as the starting vertex, what is the search order? List the order in which the vertices are searched: [searchorder] parent of 1 is [p1] parent of 2 is [p2] parent of 3 is [p3] parent of 4 is [p4] parent of 5 is [p5]

Read Details

The drug ecstasy is classified as what type of drug?

The drug ecstasy is classified as what type of drug?

Read Details

You respond to the scene of a motor vehicle crash to find a…

You respond to the scene of a motor vehicle crash to find a middle-aged man on a long spine board being cared for by first responding firefighters. He appears to be bleeding from his head and he is unconscious. You should check the car for:

Read Details

You are called to the scene of a 14-year-old female patient…

You are called to the scene of a 14-year-old female patient who is unresponsive. Her mother states she has been teased and bullied at school and she suspects that she tried to commit suicide by taking her pain pills. The patient is unresponsive to painful stimuli, with agonal respirations, and has vomited. She has a weak carotid pulse. Your first action is to:

Read Details

Which of the following is not an indicator that a patient’s…

Which of the following is not an indicator that a patient’s nervous system has been impaired?

Read Details

Posts pagination

Newer posts 1 2 3 4 5 6 … 71,118 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top