The enthalpy of an isolated system tends to increase to a maximum value.
Create a class called MovieReducerExtremes that implements MediaReducer. Implement a reducer that takes a movie list and an option ("newest" or "oldest"), then return the newest or oldest movie as appropriate.Submit both the MovieReducerExtremes and the Movie class from the first question.
/////Required Output:///////
Newest\n 2014 AKA Jessica Jones Action \n Oldest\n 1936 Cabaret Music \n
Given Files:
Movie.java
public class Movie extends Media {
public Movie(String name, int year, String genre) {
super(name, year, genre);
}
public String getEra() {
if (getYear() >= 2000) {
return "New Millennium Era";
} else if (getYear() >= 1977) {
return "Modern Era";
} else if (getYear() >= 1955) {
return "Change Era";
} else if (getYear() >= 1941) {
return "Golden Era";
}
return "Pre-Golden Era";
}
public boolean wasReleasedAfter(Media other) {
return getYear() > other.getYear();
}
public boolean wasReleasedBeforeOrInSameYear(Media other) {
return getYear() <= other.getYear();
}
}
Demo3.java
import java.io.FileNotFoundException;
import java.util.ArrayList;
public class Demo3
{
public static void main(String[] args) throws FileNotFoundException {
ArrayList movies = MovieLoader.loadAllMovies();
MediaReducer op = new MovieReducerExtremes();
System.out.println("Newest");
System.out.println(op.reduce(movies, "Newest"));
System.out.println("Oldest");
System.out.println(op.reduce(movies, "Oldest"));
}
}
Media.java
public abstract class Media {
private String name;
private int year;
private String genre;
public Media(String n, int y, String g) {
name = n;
year = y;
genre = g;
}
public String getName() {
return name;
}
public int getYear() {
return year;
}
public String getGenre() {
return genre;
}
public String toString() {
return String.format("%5d %-55s %-15s", year, name, genre);
}
//if the media was released on or after the year 2000, return New Millennium Era
//if the media was released on or after the year 1977, return Modern Era
//if the media was released on or after the year 1955, return Change Era
//if the media was released on or after the year 1941, return Golden Era
//in any other situation, return Pre-Golden Era
public abstract String getEra();
//return true if this media has a greater release year than the other's
public abstract boolean wasReleasedAfter(Media other);
//return true if this media was a lesser or equal release yearn than the other's
public abstract boolean wasReleasedBeforeOrInSameYear(Media other);
}
MovieLoader.java
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
public class MovieLoader {
public static ArrayList loadAllMovies() throws FileNotFoundException {
File f = new File("movie_list.txt");
Scanner inputFile = new Scanner(f);
ArrayList result = new ArrayList<>();
while (inputFile.hasNextLine()) {
String name = inputFile.nextLine();
int year = inputFile.nextInt();
//skip new line
inputFile.nextLine();
String genre = inputFile.nextLine();
Media m = new Movie(name, year, genre);
result.add(m);
}
return result;
}
}
MediaReducer
import java.util.ArrayList;
public interface MediaReducer {
public String reduce(ArrayList list, String key);
}
A couple from the movie_list.txt
!Next? 1994 Documentary #1 Single 2006 Reality-TV #ByMySide 2012 Drama #Follow 2011 Mystery #nitTWITS 2011 Comedy $#*! My Dad Says 2010 Comedy $1,000,000 Chance of a Lifetime 1986 Game-Show $100 Makeover 2010 Reality-TV $100 Taxi Ride 2001 Documentary $100,000 Name That Tune 1984 Game-Show $100,000 Name That Tune 1984 Music $2 Bill 2002 Documentary $2 Bill 2002 Music $2 Bill 2002 Music $2 Bill 2002 Music $2 Bill 2002 Music $25 Million Dollar Hoax 2004 Reality-TV $40 a Day 2002 Documentary $5 Cover 2009 Drama $5 Cover: Seattle 2009 Drama $50,000 Letterbox 1980 Game-Show $9.99 2003 Adventure $weepstake$ 1979 Drama ' Horse Trials ' 2011 Sport '80s Videos: A to Z 2009 Music 'Allo 'Allo! 1982 Comedy 'Allo 'Allo! 1982 War 'Conversations with My Wife' 2010 Comedy 'Da Kink in My Hair 2007 Comedy 'Da Kink in My Hair 2007 Drama 'More strasti' 2000 Romance 'Ons Sterrenkookboek' 2007 Documentary 'Orrible 2001 Comedy 'Orrible 2001 Crime 'Orrible 2001 Drama 'S ann an Ile 2009 Documentary 'Sang linggo nAPO sila 1995 Game-Show 'Sang linggo nAPO sila 1995 Musical 'T Wilhelmina 1975 Comedy 'Til Death Do Us Part 2006 Crime 'Til Death Do Us Part 2006 Drama 'Til Death Do Us Part 2006 Fantasy 'Til Death Do Us Part 2006 Romance 'Til Death Do Us Part 2006 Thriller 'Til Death 2006 Comedy 'Untold 2004 Documentary 'Wag kukurap 2004 Horror 'Way Out 1961 Drama 'Way Out 1961 Horror 'Way Out 1961 Sci-Fi 'n Shrink 2009 Comedy 't Is maar TV 1999 Comedy 't Is maar TV 1999 Game-Show 't Is maar een spel 2002 Comedy 't Is maar een spel 2002 Game-Show 't Schaep Met De 5 Pooten 1969 Comedy 't Schaep Met De 5 Pooten 2006 Comedy 't Schaep Met De 5 Pooten 2006 Drama 't Zal je gebeuren... 1998 Drama 't Zonnetje in huis 1993 Comedy (S)truth 1999 Drama + Clair 2001 Documentary + Emprendedores mi+d 2010 Documentary + Investigadores 2008 Documentary + de cin�ma 2001 Documentary + de cin�ma 2001 News ... ins Gr�ne! Das Stadt-Land-Lust-Magazin 2010 Documentary ... und basta! 2006 Comedy ... und basta! 2006 Music ... und die Tuba bl�st der Huber 1981 Comedy
In: Computer Science
Match the following drugs with a description that fits it below. Write the name of the drug in the space provided.
Bactrim (trimethoprim/sulfamethoxazole)
Lovenox (enoxaparin sodium)
Benadryl (diphenhydramine)
Motrin (ibuprofen)
BuSpar (buspirone)
Nolvadex (tamoxifen)
Fosamax (alendronate sodium)
Prevacid (lansoprazole)
Lasix (furosemide)
Vasotec (enalapril)
1. This is a nonsteroidal antiestrogen medication indicated for the treatment of breast cancer in postmenopausal women. It is used when tumor cells are estrogen-receptor positive. It can be used to prevent breast cancer in women at high risk. ______________________________________________
2. This is a potent diuretic to treat edema associated with congestive heart failure. __________________________________________________________________________________
3. This is a nonsteroidal anti-inflammatory drug (NSAID) used to relieve the pain and inflammation of arthritis. It is also indicated for use to treat fever, dysmenorrhea, and mild to moderate pain. __________________________________________________________________________________
4. This is a nonprescription antihistamine often used for severe allergic reactions (bee stings or poison ivy) and nasal allergy symptoms. It may also be used as an antipruritic (cream or lotion), sleep aid, or cough suppressant. _________________________________________________________________
5. This antibiotic medication is prescribed to treat urinary tract infections, acute otitis media, and respiratory infections. _______________________________________________________________
6. This medication is indicated for the treatment and prevention of osteoporosis in postmenopausal women. It increases bone mass to help reduce the incidence of fractures, such as in the wrist and spine. _________________________________________________________________________________
7. This tranquilizer is prescribed for a patient with diagnosed general anxiety disorder. _________________________________________________________________________________
8. This medication is commonly prescribed to treat duodenal and gastric ulcers. _________________________________________________________________________________
9. This angiotensin-converting enzyme (ACE) inhibitor is indicated for the treatment of hypertension, heart failure, and in patients after MI, when the function of the left ventricle of the heart has been affected. __________________________________________________________________________
10. This is a low-molecular-weight heparin, indicated for the prevention of deep vein thrombosis, which may lead to pulmonary embolism in patients undergoing surgery (e.g., hip or knee replacement). It is usually administered by injection. ______________________________________________________
In: Biology
The enthalpy of an isolated system tends to increase to a maximum value.
The free energy change (ΔG) in the system at constant temperature and pressure is given by ΔG = ΔH + TΔS
One of the factors making the hydrolysis of ATP (to ADP and inorganic phosphate) a high-energy reaction because the released phosphates will be hydrated.
The entropy of an ordered state is lower than that of a disordered state in the same system.
Thermodynamically favorable chemical reactions must proceed at a high rate.
Chemical potential represents the contribution (per mole) of a particular compound to the total free energy of the system.
Distinct metabolic reaction pathways are adopted for the opposing biosynthesis and degradative pathways because this design makes obvious sense in the context of thermodynamics.
The oxidation of organic substrates in cells results in the release of bioenergy in small increments to minimize the loss of energy as heat.
Phosphorylation of an enzyme can influence its catalytic activity by allosteric interaction.
Experimental investigation on biochemical reactions using a cultured cell system reflects a full extent of what happens in the whole organism.
In: Biology
please answer all of them
The map of the lac operon and repressor gene is presented
here:
I POZYA
P is the promoter; O is the operator; Z encodes ß-galactosidase;
Y encodes lactose permease; A encodes a transacetylase.
The genotypes of merodiploids are shown below. For each one, choose the correct phenotype from the table below. (The same phenotype can be chosen for more than one genotype)
PHENOTYPE
ß-Galactosidase
No lactose with lactose
A) - +
B) - -
C) + +
D) + -
I--P+O+Z+/I+P--O+Z--
Select one:
a. A
b. B
c. C
d. D
Two students begin a lab project with a 10 kb linear piece of DNA. They digest it singly with EcoRI and Pst I, and then with the two enzymes together. The results are listed below:
PstI digestion yields two fragments, 7.5 and 3.5 kb.
EcoRI digestion yields two fragments, 8 and 2 kb
The Pst I, Eco RI double digestion yields three fragments 2, 4.5 and 3.5 kb.
Choose the best map of restriction sites for this piece of DNA
Select one:
a. A
b. B
c. C
d. D
e. E
The restriction enzyme BglII recognizes the 6 base sequence AGATCT, with the cleavage site between the A and the G, to give A GATCT. The 4 base cutter Sau3A recognizes the sequence GATC and cuts before the first G. This means
Select one:
a. there is a Sau3A site for every 2 BglII sites
b. every BglII site is also a Sau3A site
c. Sau3A fragments can never be cloned into BglII sites
d. Sau3A fragments will be bigger than BglII fragments on average
e. every Sau3A site is also a BglII site
In: Biology
. Written presentations should be a minimum of 2-3 paragraphs per each diagnosed condition (3 conditions minimum).
Symptom Presentation:
Adrenalin: Increased epinephrine (catecholamine production) from the adrenal medulla
Heart Rate: Increased resting heart rate with intermittent bursts of arrhythmia
Blood Pressure: Systemic hypertension reported over the past 8 months
Hypertensive Retinopathy: arteriolar constriction, vascular wall changes, cotton-wool spots, yellow hard exudates, and optic disk edema
Previously, you researched and considered three conditions through the process of differential diagnosis that would present with varying abnormalities in homeostasis, metabolism, triglycerides and DNA in week 1. Abnormalities in oxidation, plasma and tissue enzyme activity, inflammation and alopecia respectively in week 2. Increased cortisol and demonstrated bone loss in week 3. Fibromyalgia and muscle atrophy in week 4. Increased glutamate and memory loss in week 5 and neurogenic inflammation in week 6. Given the new symptom presentation above, consider and answer the following questions within written presentation:
written presentation, create a 2-3 paragraphs per each of the questions listed below.
Is the high resting heart rate, intermittent arrhythmia and high blood pressure associated with the increased catecholamine production of the adrenal medulla? Rationalize and explain your answer.
Would hypertensive retinopathy be associated with an acute or chronic disease state? Explain your answer.
What is your final diagnosis? Has your diagnosis changed from previous weeks? Rationalize and explain how and why you have arrived at your final diagnosis?
Within your video or written presentation, please be certain to validate your opinions and ideas while disclosing the sources utilized within your video presentation or written presentation (APA format).
In: Nursing
1. Regulation of protein activity by phosphorylation requires ________ activity.
2. Which of the following are substrates used by RNA polymerase in the process of transcription?
3. The ribosome
4. Characteristics of a buffer are:
5. Logical use(s) of a cystolic protein would be:
6. Which of the following factors increase the rate of simple (passive) diffusion of a solute __________ across a phospholipid bilayer?
7. The major classes of CAMs include:
8. Movement of phospholipids from one leaflet to the other
a. occurs routinely.
b. requires cholesterol.
c. requires flippases.
d. is impossible.
9. Which of the following plays a role in the degradation of proteins?
a. chaperonin
b. ubiquitin
c. proteasome
d. b and c
e. all of the above
10. Reversible chemical interactions are mediated by
In: Biology
describing the techniques introduced in the Immunology lab and how it relates to COVID 19 testing and research.
all the laboratory techniques and compare and contrast on what can be learned from each of the assays and discuss why multiple assays may be advisable. Refer to literature to support your conclusions and cite at least 3 peer reviewed sources.
Methods Review
Clear and concise description of assays performed in Immunology lab as it relates to COVID 19 testing and research
Review is not intended to be a step by step protocol in how to perform the assay but a top level description of how the assay is performed and what can be learned from each of the techniques
Completeness
Discussion of all Immunology assays as related to COVID 19
Top level description of how the assay is performed and most importantly, detail what can be lfrom each of the techniques performed in Immunology as it relates to COVID 19.
Analysis
Analysis of techniques for differences and commonalities
Compare and contrast between each of the techniques performed in Immunology lab and describe what can be learned from each of the assays.
Address limitations of each of the techniques performed in Immunology lab
Discuss any optimum combination of techniques performed in Immunology 453 lab for Covid testing and research and why multiple assays may be advisable. Explain why necessary
Serial Dilution as it relates to any of the assays performed (ie standard curve construction)
Lymphocyte discussion (ie as it relates to COVID 19 infection)
Bradford (ie as it relates to Western Analysis)
Microarray
Elisa
Western Blotting
Affinity Column
QPCR
Enzyme Activity Assay- Lysozyme is just an example of this (may apply best with future research exploration)
Conclusion and Synthesis
Information synthesized and brought to a logical conclusion
Brings all of the other sections together.
Offers new ideas to explore or directions for future research.
In: Biology
4. After performing a Gram stain on a Gram negative bacteria, the specimen shows purple bacteria. Which of the following best explains why this occurred? A. Crystal violet was not used B. Decolorizer was not used C. The specimen was not heat-fixed D. Safranin was not used
5. Which of the following pieces of evidence could support the endosymbiotic theory if found in some eukaryotes? A. Presence of 80S ribosomes B. The presence of formylated methionine C. Genes that allow for multiple origins of replication D. Gene for expressing reverse transcriptase
6. A animal cell placed into a isotonic environment will: A. Not change noticeably B. Lyse C. Shrivel D. Will “puff up” and swell but not lyse
7. Which of the following correctly demonstrates the streaking method to obtain single colonies? Answer: 5. A researcher wishes to decrease the reactivity of an enzyme. Which of the following can she do? A. Increase temperature B. Add an allosteric activator C. Add an allosteric inhibitor D. Add a competitive activator
8. What kind of oxygen requirement does the culture in the figure MOST likely have? A. Microaerophile B. Facultative anaerobe C. Obligate aerobe D. Obligate anaerobe 7.
10. Which of the following could NOT explain why a streaked plate did not yield single colonies? A. The inoculation loop was flamed before streaking B. The plate was contaminated C. After the first quadrant was inoculated, all following quadrants were streaked from the first quadrant D. The inoculation loop was not flamed after the initial inoculation
11. You have recently identified a new toxin. It is produced by a gram-negative bacterium. It is has a lipid portion, and heat stable. Based on these characteristics, how would you classify this toxin? A. superantigen B. endotoxin C. exotoxin D. A-B toxin
In: Biology
32- Motor neurons that carry information away from the brain or spinal cord are known as afferent neurons.
Select one:
True
False
33- At home, safe food-handling practices can be sorted into four basic categories: (1) cleanliness, (2) separation, (3) cooking, and (4) chilling.
Select one:
True
False
34- The maximum amount of air that can be moved into and out of the lungs during forceful breathing is called ________.
Select one:
a. vital capacity
b. tidal volume
c. residual volume
d. total lung capacity
35- If a person were unable to produce much of this substance, the gastric juices might destroy the stomach lining.
Select one:
a. chyme
b. HCl
c. mucus
d. pepsin
36- The pitch of the voice depends on the tension of the vocal cords.
Select one:
True
False
37- Which one of these agencies oversees the safety of poultry products in the United States?
Select one:
a. FSIS
b. ATF
c. WHO
d. FDA
38- The synaptic cleft is the narrow space between two neurons.
Select one:
True
False
39- Inflammation of the mucous membranes of the sinuses is called ________.
Select one:
a. asthma
b. sinusitis
c. laryngitis
d. respiratory distress syndrome
40- Carlotta developed indigestion and pain under her navel over the weekend. As the workweek progressed, the pain worsened and moved to a point in the lower right abdomen, and she started to vomit and experience nausea and fever. You suspect that she is suffering from ________.
Select one:
a. heartburn
b. colorectal cancer
c. appendicitis
d. peptic ulcer
41- This enzyme will break down starch into smaller subunits.
Select one:
a. pepsin
b. renin
c. lipase
d. amylase
In: Biology
You isolate nuclei from three different eukaryotic species. You treat the samples in exactly the same way (adding same amount of enzyme, buffer and time) to partially digest the chromatin with micrococcal nuclease, extract the DNA, and run it on a gel. You see the pattern below:
| Lane |
Approximate size of bands (in base pairs) |
| 1 |
200, 400, 600, 800 |
| 2 |
180, 360, 540, 720 |
| 3 |
190, 380, 570, 760 |
a-2pts) Knowing that the core-DNA in all cell types is the same what is your explanation for the difference in size in the patterns you observe (shown below):
b- 2pts) If you digested each of the three samples more thoroughly, what would the pattern look like? [Be specific and indicate what the size of the bands would be]
c-3pt) An explorer discovers a strange new
species of plant and sends some of the plant tissue to a geneticist
to study. The geneticist performs the kinds of experiments as
described above in (b) except that: After digestion with nuclease
120-bp fragment of DNA are seen.
Analysis of the histone core reveals histones in the following
proportions:
H2A 33.3%
H2B 33.3%
H3 0% [no histone H3 found]
H4 33.3%
On the basis of these observations, what conclusions could the geneticist make about the probable structure of the nucleosome in the chromatin of this plant? Be specific in describing the nature of the nucleosome: which histones form the core (1pt), how many of each are in there (1pt) and how much core-DNA is around it (1pt).
d-2pt) The geneticist also found H1 and a new histone H7 when histones were extracted from all of the chromatin (not just the nucleosome). What do you think the role of the new histone H7 would be in this new plant species?
In: Biology