Name and describe the four steps involved in the scientific process.
In: Psychology
The following matrix is stored in an array with variable name matrixTest.
(? −?
? ?
? ? ) i. Write the code to initialize the array.
ii. Write the code to display the content of matrixTest.
*IN C++
In: Computer Science
Write a program in java that asks the name of the buyer and the number of shares bought. Your program must then calculate and display the following. sold stock/shares to the general public at the rate of $24.89 per share. Theres a 2 percent (2%) commission for the transaction.
Outputs need
Amount paid for buying the stock ($)
Amount paid for the commission ($)
Total amount ($)
In: Computer Science
Does a student or preceptor have a duty to obtain informed consent?
A few weeks before the plaintiff was to have a vaginal hysterectomy, she told her gynecologist that she preferred privacy during her surgery. To this end, she crossed out two portions of the physician's consent form before she signed it: she crossed out “I consent to the presence of healthcare learners” and “I consent to the photography o[r] videotaping of the surgical, diagnostic, and/or medical procedure to be performed providing my name and identity is not revealed.” On the morning that her surgery was to be performed, the plaintiff received assurance from the attending anesthesiologist that she would personally be handling her anesthesia. The anesthesiologist's consent form, which the plaintiff signed, read in part: “I understand that my anesthesia care will be given to me by the undersigned or a physician privileged to practice anesthesia.” After the plaintiff was anesthetized, a hospital employee, acting as a preceptor, entered the operating room with a student in an emergency medical technician (EMT) certification program. The anesthesiologist granted permission for the EMT student to intubate the plaintiff. During the unsuccessful intubation, the plaintiff's esophagus was torn.1
1. Who had the duty to obtain and conform to the informed consent given by the plaintiff?
2. Did the student have a duty to review the patient consent form before the attempted intubation?
3. Did the preceptor have a duty to review the signed consent form?
4. Was the attempted intubation considered battery?
1 Mullins v. Parkview Hospital, Inc., 830 N.E.2d 45 (Ind. Ct. App. 2005).
In: Nursing
Case Study in Balance Scorecard
Ajinomoto is a food processing company listed in Bursa
Malaysia. Ajinomoto (Malaysia) Berhad started its business
operations in 1961 as AJI-NO-MOTO® Monosodium Glutamate (MSG)
producer. It is one of the very first Japanese companies to be set
up in Malaysia. Ajinomoto (Malaysia) Berhad has since grown into a
dynamic food and seasoning manufacturer marketing diverse brand
name that is trusted by Malaysian for decades.
The company is committed to protect and improved the environment in
all areas of the company’s operations. We also dedicated to provide
a safe and healthy workplace environment to all employees and those
related to our operation activities.
Due to the company’s commitment on environment and financial
performance, the company decides to implement Balance Scorecard to
measure both financial and non financial measurement for the year
2021.
You are required to prepare a report to the Board of
Directors covering the following;
(b)You are required to link the company’s long term
budget to Balance Scorecard using the information as provided in
the latest financial statement in Bursa Malaysia.
The link must cover the following;
(i)Research into new products
(ii) Existing and future markets for current and new
products.
(iii) Production processes for new products.
(iv) Resources for production such as raw materials, labour,
automation machineries using artificial intelligence.
(v) Logistic resources required.
(vi) Any other existing changes can be made to improve the
company’s profit and services to the local community
In: Accounting
You are the nurse caring for Mr. Noah Poupe. He is day 3 post-op from abdominal surgery and has experienced N/V without relief, despite receiving anti-emetics. Since surgery he has no reports of flatus. His last BM was 4 days before surgery. This morning he had an NG tube in place for gastric decompression, and his NG tube is hooked up to low-intermittent suction. Mr. Poupe also has an NPO diet ordered.
Miss Pho is a 25-year-old female who was admitted to the hospital with a diagnosis of dehydration secondary to a Crohn’s flare-up. (Crohn’s Disease is a chronic inflammatory disease of the intestines). Her skin is pale, her mucous membranes are dry, and her skin turgor is poor. Miss Pho reports increasing bouts of diarrhea along abdominal pain and weakness.
Because Miss Pho is unable to tolerate PO fluids, IV fluids are ordered. The surgeon has come to discuss bowel diversion options with Miss Pho, as this is her seventh Crohn’s flare-up in the past year.
In: Nursing
In: Computer Science
<< UNIX >>>
BY this file contains
ELMER SOLVER (v 8.4) STARTED AT: 2020/03/18 13:04:22
ParCommInit: Initialize #PEs: 1
MAIN:
MAIN:
=============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science
Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email [email protected]
MAIN: Version: 8.4 (Rev: unknown, Compiled: 2020-02-28)
MAIN: Running one task without MPI parallelization.
MAIN: Running with just one thread per task.
MAIN: HYPRE library linked in.
MAIN: MUMPS library linked in.
MAIN:
=============================================================
MAIN:
MAIN:
MAIN: -------------------------------------
MAIN: Reading Model: case.sif
LoadInputFile: Scanning input file: case.sif
LoadInputFile: Loading input file: case.sif
WARNING:: LoadInputFile: There are no BCs in the system!
LoadInputFile: Number of Body Forces: 1
LoadInputFile: Number of Initial Conditions: 0
LoadInputFile: Number of Materials: 1
LoadInputFile: Number of Equations: 1
LoadInputFile: Number of Solvers: 1
LoadInputFile: Number of Bodies: 1
Loading user function library:
[HeatSolve]...[HeatSolver_Init0]
LoadMesh: Base mesh name: ./.
LoadMesh: Elapsed REAL time: 0.5294 (s)
Question: I want to create new file that just print between "==" by sing Unix/Linx
this code isn't complete because the output is not correct
#!/bin/bash
while ISF= read line
do
if [[ $line = *"="* ]]
then
echo $line >> Lines
fi
done < "unix"
I REALLY NEED HELP
THANKS,
In: Computer Science
Sorry there is no more information i could provide.Please give each step's code in two class.
This question is about the java program and it conclude six step.Please show every step's code in two class and answer the question :"How many tests should the testStudent method now contain" "Do not forget to modify your testStudent method to test the new code. "and please explain why?Thank you!
Step1:
Create a class Student that contains the following things:
a private integer ID number;
a constructor that takes as argument an ID number and uses this
ID number to initialize the object's ID number;
a public method getID that takes zero argument and returns the ID
number of the student;
a public static method testStudent that contains tests for your
class.
Here is the corresponding UML diagram (remember that + means public
and - means private):
+--------------------------+
| Student |
+--------------------------+
| - ID: int |
+--------------------------+
| + Student(int ID) |
| + getID(): int |
| + testStudent(): void |
+--------------------------+
The Student class does not have a setID method because the ID
number of a student never changes.
How many tests should the testStudent method contain?
Once you have written the Student class, you can test it by adding
the following code in a new class called Start in the same
project:
public class Start {
public static void main(String[] args) {
Student.testStudent();
}
}
This code calls the static testStudent method of the Student class,
which should then run all your tests.
What is the problem if you make the ID instance variable
public?
Step 2
Modify the constructor of the Student class so that negative ID
numbers are not allowed when creating a Student object. If the
constructor is given a negative ID number as argument then the
constructor should use 0 for the ID number.
Modify your testStudent method to test the new code. How many tests
should the testStudent method now contain?
Step 3
Add to your Student class a string representing the name of the
student. The constructor for the class should now take the name of
the student as an extra argument. Also add to your class two
methods getName and setName to get and change the name of a student
(a student is allowed to change name).
Here is the corresponding UML diagram:
+--------------------------------+
| Student |
+--------------------------------+
| - ID: int |
| - name: String |
+--------------------------------+
| + Student(int ID, String name) |
| + getID(): int |
| + getName(): String |
| + setName(String name): void |
| + testStudent(): void |
+--------------------------------+
Note: we have not talked much about the String type in class yet.
For now just use it like you use any other type (like int or
float).
Do not forget to modify your testStudent method to test the new
code. In Java you can use == to compare constant strings.
Step 4
Add to your Student class a character representing the grade of
the student. The default grade when a student is created is 'A'.
Also add to your class two methods getGrade and setGrade to get and
change the grade of a student.
Here is the corresponding UML diagram:
+--------------------------------+
| Student |
+--------------------------------+
| - ID: int |
| - name: String |
| - grade: char |
+--------------------------------+
| + Student(int ID, String name) |
| + getID(): int |
| + getName(): String |
| + setName(String name): void |
| + getGrade(): char |
| + setGrade(char grade): void |
| + testStudent(): void |
+--------------------------------+
Do not forget to modify your testStudent method to test the new
code. In Java you can use == to compare characters.
Step5
Add a new constructor to your Student class that takes three
arguments as input: an ID number, a name, and an initial grade.
Using this second constructor it becomes possible to create Student
objects with an initial grade which is different from 'A'.
Here is the corresponding UML diagram:
+--------------------------------------------+
| Student |
+--------------------------------------------+
| - ID: int |
| - name: String |
| - grade: char |
+--------------------------------------------+
| + Student(int ID, String name) |
| + Student(int ID, String name, char grade) |
| + getID(): int |
| + getName(): String |
| + setName(String name): void |
| + getGrade(): char |
| + setGrade(char grade): void |
| + testStudent(): void |
+--------------------------------------------+
Do not forget to modify your testStudent method to test the new
code.
Step 6
Add to your Student class a boolean indicating whether the
student is currently sleeping in the lab or not. When a student is
created, the student is awake. Also add to your class three
methods:
one method isSleeping that returns a boolean indicating whether
the student is currently sleeping or not.
one method goToSleep that makes the student fall asleep. When a
student falls asleep, the grade of the student decreases by one
letter grade ('A' becomes 'B', 'B' becomes 'C', 'C' becomes 'D',
'D' becomes 'F', 'F' stays an 'F', and any other grade becomes 'F'
too).
one method wakeUp that makes the student wake up. The grade of a
student does not go up when the student wakes up.
Here is the corresponding UML diagram:
+--------------------------------------------+
| Student |
+--------------------------------------------+
| - ID: int |
| - name: String |
| - grade: char |
| - sleeping: boolean |
+--------------------------------------------+
| + Student(int ID, String name) |
| + Student(int ID, String name, char grade) |
| + getID(): int |
| + getName(): String |
| + setName(String name): void |
| + getGrade(): char |
| + setGrade(char grade): void |
| + isSleeping(): boolean |
| + goToSleep(): void |
| + wakeUp(): void |
| + testStudent(): void |
+--------------------------------------------+
Do not forget to modify your testStudent method to test the new
code.
In: Computer Science
schema:
Student( studID, name, major ) // dimension table,
studID is key
Instructor( instID, dept ); // dimension table, instID
is key
Class( classID, univ, region, country ); // dimension
table, classID is key
Took( studID, instID, classID, score ); // fact table,
foreign key references to dimension tables
Write a SQL query to find all students who took a class from an instructor not in the student's major department and got a score over 80.
Return the student name, instructor name, and score. ,
Please describe in sentences what you need to do to find this information
In: Computer Science