Questions
USE PYTHON-LIST Q1 - You need to keep track of book titles. Write code using function(s)...

USE PYTHON-LIST 

Q1 - You need to keep track of book titles. Write code using function(s)
that will allow the user to do the following.


1. Add book titles to the list.
2. Delete book titles anywhere in the list by value.
3. Delete a book by position.
    Note: if you wish to display
    the booklist as a vertical number booklist , that is ok
    (that is also a hint)
4. Insert book titles anywhere in the list.
5. Clear the list (remove all items from the list)
6. Print the list horizontally using sys.stdout.write()
7. Sort the list
8. The user can add, remove, insert, clear, delete, print books as
   much as they wish.

Note:   The person will add or remove books, one book at at a time
        When a book is add, deleted, inserted or sorted the list should
        automatically be printed 
(HINT: a function will make this easy)

###

PYTHON LIST

In: Computer Science

**JAVA** Create a Linked List and conduct the following operations. Portion of the program is given....

**JAVA**

Create a Linked List and conduct the following operations. Portion of the program is given.

The operations are:

  1. Add an “H” to the list
  2. Add an “I” to the list
  3. Add “100” to the list
  4. Print the content of the list and its size
  5. Add a “H” to the first place of the list
  6. Add a “R” to the last place of the list
  7. Get the element of position 3 and print it
  8. Get the last element and print it
  9. Add an “U” to the list
  10. Add a “?” to the list
  11. Remove the element of position 5
  12. Get and print the element of position 5
  13. Remove the element of first place and print the element
  14. Print the content of the list and its size

Partial program is:

import java.util.*;

public class LinkedListDemo{

public static void main(String[] args){

LinkedList <String> link = new LinkedList<String>();

    link.add(" "); //add something here

    link.add(" "); //add something here

    System.out.println("The contents of array is" + link);

    System.out.println("The size of an linkedlist is" + link.size());

//add your code

//end your code

}

}

In: Computer Science

Question 1 If "P v Q" is false, then what can you say about the truth...

Question 1
If "P v Q" is false, then what can you say about the truth value of P?

A.P is true
B.P is false.
C.P can be true or false.

Question 2
If ( P v Q ) is true, then what can you say about the truth value of P
A.P is true.
B.P can be true or false.

Question 3
If ( P · Q ) is false, then what can you say about the truth value of P?
A. P is false.
B. P can be true or false.

Question 4
If “~ X” is true, then what is X?
X is true
B. X is false
C. X could be true or false

Question 5
If “X v Y” is false, then can one of the disjuncts be true?
A. yes
B. No

Question 6
If “X ⊃ Y” is false, then which of the following is correct?
1.Y is true
2.Y is false
3.Y could be true or false

Question 7
If “X ≡ Y” is false, then which of the following is correct?
1.Y is true
2.Y is false
3.Y could be true or false

Question 8
If “X v Y” is true, and X is true, does this mean that Y is false?
1.yes
2.no

Question 9
If “X • Y” is true, then which of the following is correct?
A. Y is true
B . Y is false
C. Y could be true or false

Question 10
If “X • Y” is false, then which of the following is correct?
A. X is true
B. X is false
C. X could be true or false.

In: Advanced Math

All the questions refer to an experimental drug (RDRPkill), designed to treat COVID-19. The drug is...

All the questions refer to an experimental drug (RDRPkill), designed to treat COVID-19. The drug is a specific inhibitor of the coronavirus specific RNA-directed RNA-polymerase.

Although it does not dissolve in pure water, RDRPkill is soluble in 10% (w/v) ethanol or pure dimethyl sulfoxide (DMSO). It is supplied in vials that generally contain 5 mg of powder. Liquid is transferred in and out of these vials by puncturing the rubber seal at the top with a syringe.

6.   Because everyone in the world is using lung cell culture medium, there is a shortage. But, no problem, you can make a homemade version using basic components. The final concentration of the components in culture medium are 130 mM sodium chloride, 2.5 mM potassium chloride, 25 mM sodium bicarbonate, and 100 μg/mL BSA. You need to prepare a 10 x concentrate of culture medium. You have the following stock solutions: 5 M sodium chloride, 0.5 M potassium chloride, 2.5 M sodium bicarbonate, and 30% (w/v) BSA. How would you make up 200 mL of this 10 x concentrate?

7. It turns out that RDRP-kill may need to be stabilised in the incubations by a reducing agent. A commonly used reducing agent is β-mercaptoethanol (mol.wt. = 78.3). It is a liquid at room temperature with a density of 1.12 g/mL. You decided that you will make up a 50 mL stock of 0.7% (v/v) β-mercaptoethanol. How would you do this and what is the molar concentration of the stock that you’ve made up?

In: Biology

To be able to predict and calculate properties of real gases. Kinetic molecular theory makes certain...

To be able to predict and calculate properties of real gases.

Kinetic molecular theory makes certain assumptions about gases that are, in fact, not true for real gases. Therefore, the measured properties of a gas are often slightly different from the values predicted by the ideal gas law. The van der Waals equation is a more exact way of calculating properties of real gases. The formula includes two constants, a and b, that are unique for each gas.

The van der Waals equation is (P+an2V2)(Vnb)=nRT, where P is the pressure, n the number of moles of gas, V the volume, T the temperature, and R the gas constant.

All real gases possess intermolecular forces that can slightly decrease the observed pressure. In the van der Waals equation, the variable P is adjusted to P+an2V2, where a is the attractive force between molecules.

The volume of a gas is defined as the space in which the gas molecules can move. When using the ideal gas law we make the assumption that this space is equal to the volume of the container. However, the gas molecules themselves take up some space in the container. So in the van der Waals equation, the variable V is adjusted to be the volume of the container minus the space taken up by the molecules, Vnb, where b is the volume of a mole of molecules.

Part C

12.0 moles of gas are in a 4.00 L tank at 24.2 ∘C . Calculate the difference in pressure between methane and an ideal gas under these conditions. The van der Waals constants for methane are a=2.300L2⋅atm/mol2 and b=0.0430 L/mol.

In: Chemistry

We are going to look at how the radial velocity method can be used to determine...

We are going to look at how the radial velocity method can be used to determine the mass of a planet. The observations that get made look at two things: the wobble of the star (it is measured as a change in the speed the star appears to be traveling towards or away from us) and the amount of time it takes for the pattern to repeat itself. Let's consider the planet beta Gemini b. The change in the speed of the star due to the planet's tug is approximately v star = 40 m/sec. Knowing that the mass of the star is M star = 2 M ? and that the period of the orbit is approximately P = 2 years, we can estimate the orbital separation a . Recall that Kepler's Third Law is M star M ? ( P year ) 2 = ( a AU ) 3 where M is the mass of the star, P is the period of the orbit, and a is the separation. Notice the scaling. If M , P , and a are expressed in the right units then the calculation becomes much easier. What is the orbital separation between the star and the planet in astronomical units? Given your answer above, let's estimate the speed of the planet in kilometers per second. This can be determined using the equation v planet = 2 ? a P ? 6 a P for a circular orbit (and this planet is nearly on a circular orbit). What is the velocity of the planet in km/sec? Now we can calculate the planet's mass by using the equation M star v star = m planet v planet What is the mass of the planet in Jupiter masses? A convenient conversion factor is that 1 M ? = 10 3 M Jupiter

In: Physics

2 (a) ΔrG° for the following reaction at 398 K is 2.6 kJ mol−1: H2(g) +...

2

(a) ΔrG° for the following reaction at 398 K is 2.6 kJ mol−1:

H2(g) + I2(g) → 2 HI(g)

If a gas mixture containing: 2.00 bar of H2, 2.00 bar of iodine vapour, and 0.500 bar of hydrogen iodide, is sealed in a container at 398 K, is the reaction at equilibrium? [4]

(b) Sketch a graph to show how the conductivity of a solution varies with concentration depending on whether the solute is a strong or weak electrolyte. Include the equation which allows the limiting molar conductivity to be obtained from the graph.

Explain why the graphs are different. [4]

The following questions are concerned with electrochemical cells.

(c) If I2 and Br2 are added to a solution containing I– and Br– , what reaction will occur if the concentration of each species is 1M? Explain your answer. The standard reduction potentials of iodine and bromine are given below:

I2 + 2 e– → 2 I– E° = +0.54 V

Br2 + 2 e– → 2 Br– E° = +1.09 V [4]

(d)

Cu(s) | Cu2+(aq, 0.1 mol dm–3 ) || Ag+ (aq, 1.0 mol dm–3 ) | Ag(s)

Ag+ (aq) + e– → Ag(s) E° = +0.80 V

Cu2+(aq) + 2 e– → Cu(s) E° = +0.34 V

(i) Calculate E°cell under standard conditions. [2]

(ii) Calculate Ecell for the concentrations given in the cell diagram above. [4]

(iii) Calculate ΔG for the above cell. [2]

In: Chemistry

Q. A hypothetical velocity field is given in Cartesian Coordinates by: V? = 4z^2t i ?...

Q. A hypothetical velocity field is given in Cartesian Coordinates by: V? = 4z^2t i ? 4x k where i, j and k are the unit base vectors. t is the time variable and (x, y, z) are the Cartesian Coordinates in the ( i, j , k ) directions respectively. The fluid density is constant and given by p = 1000kg/m^3

5(a) Give the (x, y, z) components of V? which are written
(u, v, w)respectively. Check whether the flow satisfies the
appropriate continuity equation and conclude whether this
flow is physically possible. Note that the general continuity
equation is given on the formulae sheet at the end exam
paper.

5(b) Give the general expression of the acceleration field from
the above velocity field in the Eulerian frame of reference
and calculate the acceleration at (t, x, y, z) = (t, ?1,5,1) and
at (t, x, y, z) = (1, ?1,5,1) .

5(c) Calculate the component of the velocity in the direction of
the vector t = 2 i + a j, written Vt (where a is an unknown constant) . This can be obtained from:
Vt = V??t/|t |

where the dot indicates the dot product of vectors and the
bold font indicates that we are dealing with vectors.

5(d) Check whether the pressure field p = 2x + y satisfies the
appropriate form of the incompressible x momentum
equation which may be derived from the equation given on
the formulae sheet at end of the examination paper. You
can neglect gravity.

In: Mechanical Engineering

1. Order: tolbutamide 250 mg po twice a day Supplied: tolbutamide 0.5 g scored tablets Give:  Answer...

1. Order: tolbutamide 250 mg po twice a day

Supplied: tolbutamide 0.5 g scored tablets

Give:  Answer tablet(s)

2. Order: penicillin V potassium 0.5g po q6h

Supplied: penicillin V potassium 250 mg scored tablets

Give: Answer tablet(s)

3. Order: penicillin V potassium 375 mg po four times daily

Supplied: penicillin V potassium 250 mg per 5 mL

Give: Answer mL

Please round to nearest 10th if necessary

4. The physician orders furosemide 60 mg po daily.

The pharmacy supplies is as furosemide 40 mg/5 mL

Please round to the nearest 10th if necessary

5. The physician orders cloxacillin sodium 110 mg po every 6 hours . The pharmacy supplies cloxacillin sodium oral solution 125 mg/5 mL. The nurse should administer Answer mL per dose. (Please remember to round to the 10th place and NOT to a whole number. Liquids can be measured more precisely than tablets)

6. The physician orders carvedilol 3.125 mg po twice a day. The pharmacy supplies 6.25 mg carvedilol tablets. The nurse should administer Answer tablet(s) per dose.

6. The physician orders docusate sodium 100 mg per gastric tube twice a day. The pharmacy supplies docusate sodium liquid 150 mg/15 mL. The nurse should administer Answer mL per dose.

In: Nursing

Which of the following is presented in the activities section of the Statement of Cash Flows?...

Which of the following is presented in the activities section of the Statement of Cash Flows?

Purchase of a treasury bill three months before its maturity date.

Exchange differences from translating foreign currency denominated cash flows.

Acquisition of equipment through issuance of short-term notes payable.

Bank overdraft that can be offset.

In the Statement of Cash Flows of a non-financial institution, interest income received is presented under…

a)

Operating activities

d)

A or B

b)

Financing activities

e)

A or C

c)

Investing activities

Which of the following statements is correct?

I

Accounting provides qualitative information, financial information, and quantitative information.

II

Qualitative information is found in the notes to the financial statements only.

III

Accounting is considered an art because it is supported by an organized body of knowledge.

IV

Accounting is considered a science because it involves the exercise of skill and judgment.

V

Measurement is the process of assigning numbers to objects such as inventories or plant assets and to events

such as purchases or sales.

VI

All quantitative information is also financial in nature.

VII

The accounting process of assigning peso amounts or numbers to relevant objects and events is known as

identification.

a)

I and V

b)

I , II, VI and V

c)

I, II, III, IV and VII

d)

II, VI, and V

PAS 8 - Changes in accounting policies, estimates and errors

16

These arise from misapplication of accounting policies, mathematical mistakes, oversights or

misinterpretations of facts.

a)

Errors                                                                               c)    Change in accounting policy

b)

Change in accounting estimates                                     d) Impracticable application

In: Accounting