Questions
Air pollution is a climate that "harms" our health and think of how you might explain...

  1. Air pollution is a climate that "harms" our health and think of how you might explain the problem to someone who says "climate has no effect on health". Write a brief paragraph: state the "harm" and what's causing it. Give an example of the negative health impacts (what happens if someone is affected by this?). List 3 things someone could do to protect themselves from this. Cite your sources!
  2. Let's learn about medical marijuana. Find a reputable website with information about medical marijuana. Answer the following: List 5 conditions/health symptoms that medical marijuana *might* help. List 5 potential benefits of medicinal marijuana. List 3 potential negative side effects of use. Briefly answer the question: Is medical marijuana legal in the state of Ohio? How does someone get it? Cite your sources

In: Biology

QUESTION 1 Define the term coenzyme. 2 pts. Name and describe the role of the B...

QUESTION 1

Define the term coenzyme. 2 pts.

Name and describe the role of the B vitamins that function as part of the structure of coenzymes. 4 pts.

QUESTION 2

Why does following a vegan diet result in risk for B-12 deficiency? 2 pts.

What is Vitamin B-12 deficiency, list 3 ways to supplement for this deficiency and list when each method is appropriate. 3 pts.

QUESTION 3

How do the vitamins function in the metabolic process? (list the vitamins) 5 pts.

QUESTION 4

Define the term ‘function foods’ 2 pts. List 2 sources and the benefit 2 pts.

QUESTION 5

Calcium and Iron are most likely to fall short in the diet. What is the result of this inadequate intake? 2 pts.

What dietary changes can promote improved intake and reduce risk of deficiency? 4 pts.

In: Nursing

you are required to use only the functional features of Scheme; functions with an exclamation point...

you are required to use only the functional features of Scheme; functions with an exclamation point in their names (e.g., set!) and input/output mechanisms other than load and the regular read-eval-print loop are not allowed. (You may find imperative features useful for debugging. That’s ok, but get them out of your code before you hand anything in.)

Write a function explode that, given a list of tuples, (n x), creates a new list by inserting x into the list n times in place of (n x) (in other words, the inserted items should come in the same order as the original tuples when you create the new list). You can assume that n will always be at least 0.

> (explode ‘((2 "Hello")))

("Hello" "Hello")

> (explode ‘((2 "Hello") (3 "world")))

("Hello" "Hello" "world" "world" "world")

using the programming language scheme

In: Computer Science

Data Structure 17. Given: (e + f) / a – b * c Write out the...

Data Structure

17.

Given: (e + f) / a – b * c

Write out the postfix form

19. Make a prototype, including task, input and output, of compareLists that would take two lists of reference (ArrayList) and return a count of matching items (note, do NOT code the function)

20.Using the Stack operations, write a pseudocode routine, dupPos, that takes aStack for integers, checks to see if the top is positive. If positive, duplicate the top of the stack (i.e. pop a copy of that value onto the stack). If it is negative, pop it off.

21.Use the ListInterface operations only to create a makeEven routine in C++ that will take a list of integers (array or linked, your choice) as a reference. Use the list operations on the passed list to make all items that are odd into even values.

22.What is the main difference between an ADT List and the ADT Stack?

In: Computer Science

1- Given following data structure of Single linked list :           class ListNode                     &n

1- Given following data structure of Single linked list :

          class ListNode                        

           { int item ;                             

             ListNode next ;                        

             ….

           }

Choose the correct answer :                                                           

  1. Suppose reference refers to a node in a List (using the ListNode ) . What statement changes reference so that it refers to the next node?

                       1-      reference++ ;

2-    reference = next ;

3-    reference+= next ;

  1. reference = reference.next ;
  1. Suppose p refers to a node in a List (using the ListNode ) . What boolean expression will be true when p refers to the last node of the List?

1-   (p == null)

2- (p.next == null)

  1. (p.item == null)

4- (p.item == 0)

      5- None of the above.

  1. Which boolean expression indicates whether the items in two nodes (n and m) are the same. Assume that neither n nor m is null.

1-   n == m

2-   n.item == m.item

  1. n.next == m.next

4- None of the above

In: Computer Science

Static methods can be called directly from the name of the class that contains the method....

Static methods can be called directly from the name of the class that contains the method. Static methods are usually created to do utility operations. For example: public class Test{ public static int timesTwo(int value){ return value * value; } } public class TestDriver{ public static void main(String[] args){ int var = Test.timesTwo(5); System.out.println(var); } } Create a class called ManyLinkedLists. It will contain a static method called createLinkedList(). That method takes an argument that is a constant defined in the ManyLinkedLists class. The identifier of the constants should describe a type of linked list. When the createLinkedList method is called, it should return a linked list object of the type identified by the constant. For example: DoubleEndedList del = ManyLinkedLists.createLinkedList(ManyLinkedLists.DOUBLEENDEDLIST); Give the createLinkedList method the ability to return the linked lists described below: A double-ended linked list. A doubly linked list.

In: Computer Science

Create a C++ integer linked list program that performs the following methods below: Please create these...

Create a C++ integer linked list program that performs the following methods below:

Please create these three source files: intList.h, intList.cpp, & intListTest.cpp.

Implement recursive routines in the intList class to do the following:

  • Print the list in reverse order
  • Return the value in the middle node
  • Return the average of all the odd values
  • Remove every node containing an odd value

Modify main (in IntListTest.cpp) so it does the following:

  1. Insert the numbers 1, 3, 4, 6, 7, 10, 15, 20, 33.
  2. Find the sum of all values.
  3. Print the list in reverse order.
  4. Print the value of the middle node.
  5. Print the average of all the odd values.
  6. Remove every node containing an odd value.
  7. Print the list in reverse order.
  8. Print the value of the middle node.

Steps 3-8 must use recursion.

Please follow requirements.

In: Computer Science

You are intrigued by Fortune’s annual list of the 100 best companies to work for. Although...

You are intrigued by Fortune’s annual list of the 100 best companies to work for. Although it’s a long shot, you decide that you want to work for one of them. You read the good news that many of them are hiring, so you begin searching for a company that has possibilities for you. After narrowing the list, you hone in on one that seems like the best fit.

Your Task. Select a company from Fortune’s list of 100 best companies to work for. It may be a dream, but you are curious about working there. Note the reasons Fortune added this company to the list, and note the company’s ranking out of 100. Then review the company’s website and gather information about the company’s mission and goals, history, products, services, and current news releases. Find out where the home office is located, who leads the company, and how many employees work there. After researching the company, list your reasons for wanting to work there. In a memo report to your instructor, summarize your research findings. State the purpose, add appropriate section headings, and conclude with your thoughts on why you think this company is a good employment choice.

In: Economics

Arrays Question: You need to read in and process the wind speeds in East London over...

Arrays Question:
You need to read in and process the wind speeds in East London over the past few days. The maximum number of days are 8. Implement the methods listed below. Then use these methods effectively to read in the marks wind speeds and display the minimum and maximum speeds. You may not change any methods – including their parameters. static public int getValidNumber(int a, int b)
//Returns a number between a and b – including a and b
//You may assume that a <= b static public void ReadSpeedsIntoArray (int[] list, ref int NrEl)
// Reads wind speeds into an array. Request from the user how many
// wind speeds need to be read in. At least 4 speeds must be read
// in, but not more than 10. A speed cannot be negative or higher
// than 150. static public void getMinMax (int[] list, int NrEl, out int Min, out int Max )
// Returns the minimum and the maximum wind speed recorded in list static public void displayMinMax (int[] list, int NrEl)
// Displays the minimum and maximum wind speeds recorded in list

it's C# language

In: Computer Science

Write a Java program with comments that randomly generates an array of 500,000 integers between 0...

Write a Java program with comments that randomly generates an array of 500,000 integers between 0 and 499,999, and then prompts the user for a search key value. Estimate the execution time of invoking the linearSearch method in Listing A below. Sort the array and estimate the execution time of invoking the binarySearch method in Listing B below. You can use the following code template to obtain the execution time:

long startTime = System.currentTimeMillis();

perform the task;

long endTime = System.currentTimeMillis();

long executionTime = endTime - startTime;

A. Linear Search

public static int linearSearch(int[] list, int key) {

for (int i = 0; i < list.length; i++) {

if (key == list[i]) return i;

}

return -1;

}

B. Binary Search

public static int binarySearch(int[] list, int key) {

int low = 0;

int high = list.length - 1;

while (high >= low) {

int mid = (low + high) / 2;

if (key < list[mid])

high = mid - 1;

else if (key == list[mid])

return mid;

else

low = mid + 1;

}

return –low - 1; // Now high < low, key not found

}

In: Computer Science