Questions
Prof. X has two brilliant students Y and Z in his class. He introduces the concept...

Prof. X has two brilliant students Y and Z in his class. He introduces the
concept of vector spaces, bases and dimension in his 5th session. As an exercise,
he gives a vector space V of dimension n and asks Y and Z to find a basis. Y
produces a set S with n elements. But Z being lazy, takes the set S, removes
a vector and adds a new vector to it creating a new set T. Prof. X looks at set
T and confirms to class that it is a basis. He then asks the class if the set S
produced by Y could be a basis without telling them what it is. While student
U says yes, student W says need not and Prof. X says that both U and W
could be correct. Justify the statement of Prof. X with suitable examples of V
over F, n, S and T.

In: Advanced Math

Genetics students were studying protein synthesis in the protozoan Tetrahymena. The students isolated a portion of...

Genetics students were studying protein synthesis in the protozoan Tetrahymena. The students isolated a portion of the nucleic acid sequence, which codes for the C terminus of a Tetrahymena protein, which is:

AUU AUG UAU AAG UAG GUC GCA UAA ACA CAA UUA UGA GAC UUA

   I        M      Y       K        Q     V      A      Q       T       Q        L    stop

However, the students were unable to translate purified Tetrahymena mRNA in an in vitro system as the translation products were mostly small polypeptides. The brilliant students decided to carry out several control experiments. First, they translated pure mRNA from tobacco mosaic virus (TMV) which encoded a 116 kd (kilodalton) protein. TMV mRNA translated in vitro giving a major band at 116 kd which is the expected product with a minor band about 50 kd larger. When Tetrahymena RNA is added, there is a significant increase in the higher molecular weight product. When the genetics students added Tetrahymena cytoplasm (minus the ribosomes), the TMV mRNA translated into the higher molecular weight product and the previously inactive Tetrahymena mRNA was also translated into high molecular weight proteins which was confirmed by leaving out the TMV mRNA.                                    

1. What is unusual about the sequence data for the Tetrahymena protein? (6 points)

2. What were the two Tetrahymena cytoplasmic components required for the efficient in vitro translation of Tetrahymena RNA? (4 points)

In: Biology

Chapter 9 project 1 & 2(these are combined into one project) : Add methods to the...

Chapter 9 project 1 & 2(these are combined into one project) : Add methods to the Student class that compare two Student objects. One method should test for equality. The other methods should support the other possible comparisons. In each case, the method returns the result of the comparison of the two students' names. Place several Student objects into a list and shuffle it. Then run the sort method with this list and display all of the students' information.

I keep getting error code:

Traceback (most recent call last):
File "C:/Users/talka/Desktop/ITF100/HeatherMorgan.Project9.py", line 98, in
main()
File "C:/Users/talka/Desktop/ITF100/HeatherMorgan.Project9.py", line 78, in main
student1 = Student("Heather", 1)
TypeError: Student() takes no arguments

Here is what i have:

import random

class Student(object):
"""Represents a student."""

def __init__(self, name, number):
"""Constructor creates a Student with the given
name and number of scores and sets all scores
to 0."""
self.name = name
self.scores = []
for count in range(number):
self.scores.append(0)


def getName(self):
"""Returns the student's name."""
return self.name


def setScore(self, i, score):
"""Resets the ith score, counting from 1."""
self.scores[i - 1] = score

def getScore(self, i):
"""Returns the ith score, counting from 1."""
return self.scores[i - 1]

def getAverage(self):
"""Returns the average score."""
return sum(self.scores)/ len(self.scores)

def getHighScore(self):
"""Returns the highest score."""
return max(self.scores)


def __str__(self):
"""Returns the string representation of the student."""
return "Name: " + self.name + "\nScores: " + \
" ".join(map(str, self.scores))

def __eq__(self, other):
"""Tests self and other for equality."""
if self is other:
return True
elif type(self) != type(other):
return False
else:
return self.numer == other.numer and \
self.denom == other.denom

def __lt__(self,other):
"""Returns self < other, with respect to names."""
return self.name < other.name

def __ge__(self, other):
"""Returns self >= other, with respect to names."""
return self.names >= other.name


def shuffle(self):
"""Shuffles the list."""
random.shuffle(self.name)

  
def main():
"""Tests sorting."""
lyst = []
#creates student
student1 = Student("Heather", 1)
student2 = Student("Olivia", 2)
lyst.append(student1)
lyst.append(student2)

for i in range (1,6):
student.setScore(i,100)
  

random.shuffle(lyst)
print("Unsorted list of students")

for studentName in lyst:
print(studentName)
lyst.sort()
print("\nSorted list of students")
for studentName in lyst:
print(studentName)

if __name__=="__main__":
main()

]

In: Computer Science

Write a program in java that detects if there is a cycle in an undirected graph...

Write a program in java that detects if there is a cycle in an undirected graph using DFS

Two lines of input:

1. Two integers V for the number of vertices and E for the number of edges respectively.

2. List of integers that shows how the graph is connected.

Ex input:

4 4

01020323

Output:

Graph contains cycle

Ex input:

5 4

01020314

Output:

Graph doesn't contains cycle

In: Computer Science

1. Match the description with the type of study – descriptive, ecological, cross-sectional, cohort, case-control, experimental...

1. Match the description with the type of study – descriptive, ecological, cross-sectional, cohort, case-control, experimental

A) Prevalence of carpel tunnel syndrome (CTS) was assessed in workers in textile factories and compared with a control population of airline pilots. The textile worker population had at least two-fold excess of CTS as compared to the control population = __________

B) A study compared 500 women having children with birth defects with a similar number of controls (women with healthy children). They found a statistically significant association between incomplete vaccine history and the occurrence of birth defects = __________

C) Fluorinated water was given to half of the students attending a school with a high prevalence of dental caries. A 1-year study then compared the incidence of dental caries in the students receiving fluorinated water to those not receiving the fluorinated water = __________

D) Analysis of stool samples taken in a hospital between 1985 and 1994 showed that 35% were positive for Ascaris(roundworm) infection, whereas analysis of samples taken between 2001 and 2010 indicated that only 1% were positive – the decrease was attributed to the discontinued use of wastewater for irrigating vegetables = __________

E) In a study to examine the health effects of routine exercise, individuals were recruited immediately after leaving a gym located in a shopping mall. Controls drawn from a population leaving the shopping mall who had not visited the gym. During the 1-year follow-up period, data were acquired on the health status of the two groups using questionnaire interviews= __________

F) The seasonal variation in the reported incidence of acute diarrhea in selected areas was examined in relation to rainfall and temperature records for the same areas. The investigators found that the incidence of diarrhea appeared to be inversely related to a sharp seasonal decrease in temperature. Rainfall did not appear to have a direct effect = __________

In: Statistics and Probability

Deterioration of buildings, bridges, and other structures through the rusting of iron costs millions of dollars...

Deterioration of buildings, bridges, and other structures through the rusting of iron costs millions of dollars every day. Although the actual process also requires water, a simplified equation (with rust shown as Fe2O3) is: 4 Fe(s) + 3 O2(g) → 2 Fe2O3(s) ΔHrxn = −1.65 × 103 kJ (a) What is the ΔHrxn when 0.250 kg of iron rusts? × 10 kJ (b) How much rust forms when 2.60 × 103 kJ of heat is released? × 10 g Fe2O3

In: Chemistry

The city of Gadsden, Alabama (where Noah’s parents live) is considering replacing one of the bridges...

  1. The city of Gadsden, Alabama (where Noah’s parents live) is considering replacing one of the bridges that cross the Coosa River that runs through town. The primary benefits of replacing the current bridge are reductions in commute time, traffic, and better foot traffic safety for people walking across the bridge. The expected cost of the bridge is $8 million. The expected benefits from primary sources over the coming years are $4 million immediately, and $1 million each year over the next 4 years. Discuss the cost-benefit analysis associated with this project. Is it possible to improve the cost-benefit analysis? Is anything missing from it?. Should the city go forward with the project? Why or why not?

In: Economics

Structural engineers use wireless sensor networks to monitor the condition of dams and bridges. An article...

Structural engineers use wireless sensor networks to monitor the condition of dams and bridges. An article describes an experiment in which accelerometers were placed on the Golden Gate Bridge for the purpose of estimating vibration modes. For 18 vertical modes, the system was underdamped (damping ratio < 1). Following are the damping ratios and frequencies for those modes.

Damping Ratio

Frequency (Hz)

Damping Ratio

Frequency (Hz)

0.3

2.72

0.5

1.98

0.3

2.84

0.6

0.77

0.3

3.77

0.6

1.26

0.4

2.07

0.6

1.66

0.4

2.2

0.7

0.89

0.4

2.34

0.7

1

0.4

2.61

0.7

0.66

0.5

1.8

0.8

1.13

0.5

1.93

0.8

0.37

If two modes differ in damping ratio by 0.2, by how much would you predict their frequencies to differ? Round the answer to three decimal places.

Predict the frequency for modes with damping ratio 0.75. Round the answer to three decimal places.

Compute the least-squares line for predicting frequency from damping ratio. Round the answers to three decimal places.

Predict the frequency for modes with damping ratio 0.75. Round the answer to three decimal places.

In: Statistics and Probability

Bridges and Lloyd, an accounting firm, provides consulting and tax planning services. For many years, the...

Bridges and Lloyd, an accounting firm, provides consulting and tax planning services. For many years, the firm's total administrative cost (currently $250,000) has been allocated to services on the basis of billable hours to clients. A recent analysis found that 65% of the firm's billable hours to clients resulted from tax planning services, while 35% resulted from consulting services.

The firm, contemplating a change to activity-based costing, has identified three components of administrative cost, as follows:

Staff Support $ 180,000
In-house computing charges 50,000
Miscellaneous office costs 20,000
Total $ 250,000


A recent analysis of staff support found a strong correlation between the number of staff personnel and the number of clients served (consulting, 20; tax planning, 60). In contrast, in-house computing and miscellaneous office cost varied directly with the number of computer hours logged and number of client transactions, respectively. Consulting consumed 30% of the firm's computer hours and had 20% of the total client transactions.

Assuming the use of activity-based costing, the proper percentage to use in allocating staff support costs to tax planning services is:

Multiple Choice

  • 20%.

  • 60%.

  • 65%.

  • 75%.

  • 80%.

In: Accounting

Initial post: How do you address busy schedules, and lack of sleep while encouraging students to...

Initial post: How do you address busy schedules, and lack of sleep while encouraging students to become more physically active? List 1 goal with 2 objectives that could be set for this population in order to improve their wellness. Support your information with at least 1 article, cited in APA at the bottom of your post

In: Nursing