In: Accounting
Write code for a short method that does the following:
In: Computer Science
Once COVID-19 infected the host cell (human), its components (COVID-19 proteins) can be made.
Name and explain the process involved
1. Name:
2. Process:
In: Biology
C++
Write the C++ code for a void function that prompts the user to enter a name, and then stores the user's response in the string variable whose address is passed to the function. Name the function getName.
In: Computer Science
1. Name the cis-acting and trans-acting element that determine how a ribosome binds to just the right spot on an mRNA when it initiates translation. Explain how they interact with each other to achieve the ribosome and the mRNA
2.Explain why mRNA capping and polyadenylation are dependent upon protein interactions with the CTD of RNA polymerase II
3.Name 3 types of proteins that are needed for in vivo transcription, but not in vitro transcription by eukaryotes
4.Name the important thing that TFIIH does to dsDNA and tell me what it does to the CTD of RNA polymerase II
5.Name the elongation factor that drives eukaryotic ribosomal translocation and briefly explain how it works
In: Biology
In C#
Start to develop a registration program for Continental University. At this stage of development, the program only needs to keep track of some basic information about a student, including first name, last name, and number of credits taking. You will gradually enhance the program in subsequent assignments. You need to implement a class named Student that represents a student, and a testing program. The testing program should prompt the user to enter the data about a student and then display a summary.
Sample Dialog
Welcome to the Continental University Registration System!
Enter data about a student
First Name: Tom
Last Name: Evans
Credits Taking: 12
Evans, Tom Credits Taking: 12
In: Computer Science
Java Code.
Using Decorator pattern make class BurgerToppings:
-Each topping is an extra $1 and the name provided in the constructor
-getTotalPrice: returns total price of burger + toppings
-getDetails: returns the burger name + name of topping with the word (extra)
Code:
public interface Burger{
double C();
String getDetails();
}
public class BigMac implements Burger{
private String order;
private double price ;
public BigMac() {
this.order= "Big Mac";
this.price = 4.00;
}
@Override
public double getPrice() {
return price;
}
@Override
public String getorder() {
return name;
}
}
Output expected:
Ordering BigMac + extra pickles+ extra cheese
Total price = 6.0
In: Computer Science
Java Code.
Using Decorator pattern make class BurgerToppings:
-Each topping is an extra $1 and the name provided in the constructor
-getTotalPrice: returns total price of burger + toppings
-getDetails: returns the burger name + name of topping with the word (extra)
Code:
public interface Burger{
double C();
String getDetails();
}
public class BigMac implements Burger{
private String order;
private double price ;
public BigMac() {
this.order= "Big Mac";
this.price = 4.00;
}
@Override
public double getPrice() {
return price;
}
@Override
public String getorder() {
return name;
}
}
Output expected:
Ordering BigMac + extra pickles+ extra cheese
Total price = 6.0
In: Computer Science
Which of the following statements is false?
| a. |
UML represents instance variables as an attribute name, followed by a colon and the type |
|
| b. |
Private attributes are preceded by the keyword private in the UML |
|
| c. |
In the UML, each class is modeled in a class diagram as a rectangle with three compartments. The top one contains the class’s name centered horizontally in boldface. The middle one contains the class’s attributes, which correspond to instance variables in Java. The bottom one contains the class’s operations, which correspond to methods and constructors in Java |
|
| d. |
The UML models operations by listing the operation name followed by a set of parentheses. A plus sign (+) in front of the operation name indicates that the operation is a public |
In: Computer Science
C++ code
Output Formatting.
Design and implement a complete C++ program that reads a customer record from the user such as the record has 4 fields (pieces of information) as shown below:
Account Number (integer)
Customer full name (string)
Customer email (string)
Account Balance (double)
The program is expected to print the record in the format shown below:
Account Number : 0000000
Name : full name
Email : customer email
Balance : 000000.00$
For example, if the user enters the following record
1201077
Jonathan I. Maletic
10,000.17
The program outputs:
Account Number : 1201077
Name : Jonathan I. Maletic
Email : [email protected]
Balance : 10,000.17$
In: Computer Science