Write an abstract about an orange peel extraction through soxhlet method and the extraction of limonene from it in order to later conversion to carvoxime. Also, soap was made with the oil extracted from the orange peel. Write hypotetical results if you want and a proposal of improvement in the last sentence. Mention the importance of the proyect in the first sentence.
Thanks
In: Chemistry
You have been assigned to an ICT firm for your attachment studies and as a result, required to learn and aid in some basic IT-related activities.i. As part of your first task, your supervisor requests you to aid with the development of a bank ticketing system that ensures the first time and already admitted customers are served according to a predefined preference as shown below. Write an algorithm that would ensure customers can be awarded tickets and served based on the type of service requested. Ensure you clearly mention all abstract data structures that the algorithm would use.
Your answer
In: Computer Science
public class Book{
public String title;
public String author;
public int year;
public String publisher;
public double cost;
public Book(String title,String author,int
year,String publisher,double cost){
this.title=title;
this.author=author;
this.year=year;
this.publisher=publisher;
this.cost=cost;
}
public String getTitle(){
return title;
}
public String getAuthor(){
return author;
}
public int getYear(){
return year;
}
public String getPublisher(){
return publisher;
}
public double getCost(){
return cost;
}
public String toString(){
return "Book Details: "
+ title + ", " + author + ", " + year + ", " + publisher + ", " +
cost;
}
}
public interface MyQueue {
public abstract boolean enQueue(int v);
public abstract int deQueue();
public abstract boolean isFull();
public abstract boolean isEmpty();
public abstract int size();
public abstract int peek();
}
public interface MyStack {
public abstract boolean isEmpty();
public abstract boolean isFull();
public abstract boolean push(T v);
public abstract T pop();
public abstract T peek();
}
public class MyQueueImpl implements MyQueue {
private int capacity;
private int front;
private int rear;
private int[] arr;
public MyQueueImpl(int capacity){
this.capacity = capacity;
this.front = 0;
this.rear = -1;
this.arr = new
int[this.capacity];
}
@Override
public boolean enQueue(int v) {
if(this.rear ==
this.capacity - 1) {
//Perform shift
int tempSize = this.size();
for(int i=0; i < tempSize; i++) {
arr[i] = arr[front];
front++;
}
front = 0;
rear = tempSize - 1;
}
this.rear
++;
arr[rear] =
v;
return
true;
}
@Override
public int deQueue() {
return arr[front++];
}
public String toString() {
String content = "Queue :: ";
for(int i=front; i<= rear; i++)
{
content += "\n"
+ arr[i];
}
return content;
}
@Override
public boolean isFull() {
return (this.size() ==
this.capacity);
}
@Override
public int size() {
return rear - front + 1;
}
@Override
public boolean isEmpty() {
// TODO Auto-generated method
stub
return (this.size() == 0);
}
@Override
public int peek() {
// TODO Auto-generated method
stub
return this.arr[this.front];
}
}
import java.lang.reflect.Array;
public class MyStackImpl implements MyStack {
// TODO write your code here
@Override
public boolean isEmpty() {
// TODO Auto-generated method
stub
return false;
}
@Override
public boolean isFull() {
// TODO Auto-generated method
stub
return false;
}
@Override
public boolean push(T v) {
// TODO write your code here
return true;
}
@Override
public T pop() {
// TODO write your code here
return null;
}
public String toString() {
// TODO write your code here
return "";
}
@Override
public T peek() {
// TODO Auto-generated method
stub
return null;
}
}
make test classs
write your code here
Create a queue object.
insert 5 Books in the
Queue
Create a stack object.
Use the stack to reverse
order of the elements in the queue.
In: Computer Science
Mexico’s Move to UHC Read the abstract and introduction (1st section following abstract) to the paper found here: 7. Short answer: What is one challenge leaders in Mexico face when developing and healthcare system? a.
8. According to this article, approximately what percentage of the Mexican population is uninsured? a. 16% b. 41% c. 47% d. 50%
9. Short answer: What is the “unacceptable paradox” referred to in the abstract? a.
10. In what year what this article written? a. 2000 b. 2006 c. 2016 d. 2019
11. Short answer: Why is it important to consider the publication year of sources? a.
12. Short answer: Can “outdated” articles provide valuable information to public health leaders and researchers? a.
In: Nursing
|
Year |
Sales |
|
1 |
900 |
|
2 |
1100 |
|
3 |
1200 |
|
4 |
1450 |
|
5 |
In: Finance
5) Draw the trend analysis based on following sales data for four years and analyse the fifth-year projected sales. Mention the possible relationship between the sales and the year on the basis of linear regression. Also mention the R-square value and its interpretation.
|
Year |
Sales |
|
1 |
900 |
|
2 |
1100 |
|
3 |
1200 |
|
4 |
1450 |
|
5 |
In: Economics
Define the classes to complete dynamic array hierarchy with a concrete, abstract and interface class.
public class DArray {
private int array[];
public DArray() {
}
private void expandArray() {
}
private void shrinkArray() {
}
}
---------------------------------------------------------------
public abstract class ArrayBP {
protected int numElements;
protected int numAllocations;
public abstract void storeAt(int item, int index) {
}
public abstract getFrom(int index) {
}
public abstract int len() {
}
public abstract void remove();{
}
public abstract void removeAt(int index) {
}
}
------------------------------------------------------------------
public interface DABehavior {
public void append(int item) {
}
public int getFirstItem();
public int getLastItem();
}
In: Computer Science
Which of the following situations described is a good situation to use an abstract class, and where it would be better to use than either a concrete class or an interface?
|
When some methods in the class are abstract and some are concrete, and some variables in the class need to be private, while other variables need to be public |
||
|
When the inheriting class is closely related to the abstract class, such as with an "is-a" relationship |
||
|
When the objects instantiated from the abstract class hierarchy need to be grouped together |
||
|
When the class will have both concrete and abstract methods |
||
|
All of the above are reasons to use an abstract class over a concrete class or an interface |
In: Computer Science
1. Java Abstract Class (2 pts) () • A Java abstract class is a class that can't be instantiated. That means you cannot create new instances of an abstract class. It works as a base for subclasses. You should learn about Java Inheritance before attempting this challenge.
• Following is an example of abstract class:
abstract class Book{
String title;
abstract void setTitle(String s);
String getTitle(){
return title;
}
}
If you try to create an instance of this class like the following line you will get an error:
Book new_novel=new Book();
• You have to create another class that extends the abstract class. Then you can create an instance of the new class. Notice that setTitle method is abstract too and has no body. That means you must implement the body of that method in the child class. In the editor, we have provided the abstract Book class and a Main class. In the Main class, we created an instance of a class called MyBook. Your task is to write just the MyBook class. Your class mustn't be public
. • Sample Input A tale of two cities
• Sample Output The title is: A tale of two cities
+ import java.util.*; abstract class Book{
String title;
abstract void setTitle(String s);
String getTitle(){
return title;
}
}
//Write MyBook class here public class Main{
public static void main(String []args){
//Book new_novel=new Book(); This line prHMain.java:25: error: Book is abstract; cannot be instantiated Scanner sc=new Scanner(System.in);
String title=sc.nextLine();
MyBook new_novel=new MyBook();
new_novel.setTitle(title);
System.out.println("The title is: "+new_novel.getTitle());
sc.close();
}
}
In: Computer Science
In: Computer Science