Questions
Question 1 Refer to the operations below: Add (10 + 5) Add (4+8) Add (7*2) Add...

Question 1
Refer to the operations below:
Add (10 + 5)
Add (4+8)
Add (7*2)
Add (90 – 3)
Print list
Print peek
Remove an item from the list
Print list
1.1 Implement the operations above into a Queue structure called q1.
1.2 Implement the operations above into a Stack structure called s1.

Name your program Question1_1 for the queue structure and Question1_2 for the stack structure

JAVA Language to be used.

Please give step by step explanation on how to save and run the programs

In: Computer Science

A group of researchers hypothesize that broken bones will take longer to heal among smokers versus...

A group of researchers hypothesize that broken bones will take longer to heal among smokers versus nonsmokers. They test this question with a sample of 20 smokers, where the average time to heal was 32 days (SS = 1161), and a sample of 45 nonsmokers, where the average time to heal was 21 days (SS = 1179). Use the critical-value approach for the appropriate statistical test (where α = .05) to determine if there is a significant difference in bone healing time between smokers and nonsmokers. 1. Identify the alternative hypothesis 2. List your degrees of freedom 3. List your estimated standard error 4. List your t test statistic (where: smokers – nonsmokers) 5. List your critical t value(s) 6. Is the difference in healing time between smokers and nonsmokers statistically significant? (Yes/No) 7. Calculate Cohen’s d for the difference in healing time

In: Statistics and Probability

compute the position of the last 5.0 in the list, counting as an offset from the...

compute the position of the last 5.0 in the list, counting as an offset from the end. if 5.0 is the LAST element, the position is 0. if 5.0 does not appear, return a negative number. you can write this using a loop or recursion, in any style, but you should only have one loop or recursive helper

Use a backward recursion.If the number does not appear, return the distance to the END of the list as a NEGATIVE number.

public class MyLinked {
   static class Node {
       public Node (double item, Node next) { this.item = item; this.next = next; }
       public double item;
       public Node next;
   }
   int N;

public int positionOfLastFiveFromEnd () {

You can NOT modify the list or parameters, add fields to the node or list class, or add any methods/use any functions to the node class. Please use a helper and backward recursion.

In: Computer Science

The FBI wants to determine the effectiveness of their 10 most wanted list. To do so,...

The FBI wants to determine the effectiveness of their 10 most wanted list. To do so, they need to find out the fraction of people who appear on the list that are actually caught.

Step 1 of 2: Suppose the sample of 283 suspected criminals is drawn. Of these people, 90 were captured. Using the data, estimate the proportion of people who were caught after being on the 10 most wanted list. Enter your answer as a fraction or a decimal number rounded to three decimal places.

Step 2 of 2: Suppose a sample of 283 suspected criminals is drawn. Of these people 90 were captured. Using the data construct the 85% confidence interval for the population proportion of people who are captuerd after appearing on the 10 most wanted list. round your answers to three decimal places

Low endpoint:   

Upper endpoint:

In: Statistics and Probability

1) Security & E-Business List 5 different types of security issues that may confront a Small...

1) Security & E-Business

List 5 different types of security issues that may confront a Small Business Enterprises (not all are internet based). Discuss some proactive security solutions.

Include an actual example.

Explain the recent legislation change in regards to hacking of SBE’s that meet specific conditions.

2) Budgeting for Labour Commitments

List and discuss some of the employee and payroll issues that may challenge a SBE. Select an actual example for one of these issues and discuss it in reference to the current payroll legislation.
List some of the main sources that a SBE can refer to for assistance. Explain how these sources can assist a SBE.

3) Record Keeping & Compliance

Small business enterprises must comply with the Australian Taxation Legislation. List some of these requirements inclusive of their due dates.
Discuss how compliance with the current legislation may benefit a Small Business Enterprises.

In: Accounting

Try to debug it! ######################################## ##def rev_list_buggy(L): ## """ ## input: L, a list ## Modifies...

Try to debug it!
########################################
##def rev_list_buggy(L):
## """
## input: L, a list
## Modifies L such that its elements are in reverse order
## returns: nothing
## """
## for i in range(len(L)):
## j = len(L) - i
## L[i] = temp
## L[i] = L[j]
## L[j] = L[i]
#
## FIXES: --------------------------
## temp unknown
## list index out of range -> sub 1 to j
## get same list back -> iterate only over half
## --------------------------

def rev_list_buggy(L):
"""
## input: L, a list
## Modifies L such that its elements are in reverse order
## returns: nothing
## """
for i in range(len(L)):
j = len(L) - i
L[i] = temp
L[i] = L[j]
L[j] = L[i]
pdb.set_trace()
L = [1,2,3,4]
rev_list(L)
print(L)

(a) Debug the program by using the Python programming language.

In: Computer Science

1.         Describe who is covered/protected by the Homeowners Policy. 2.         Describe the four coverages found in...

1.         Describe who is covered/protected by the Homeowners Policy.

2.         Describe the four coverages found in Section One (Property Coverage) of the Homeowners Policy. Give an example of a loss covered by each section.

3.     Describe the two coverages found in Section Two (Personal Liability) of the Homeowner’s Policy. Give an example of a loss covered by each section.

4.         What is the difference between a “named perils” policy and an “open perils” policy?

5.         List and briefly explain the exclusions under the Homeowner’s Liability coverage?

6.         List and briefly explain the exclusions under the Homeowner’s Five – Comprehensive form property coverage?

7.         List the insured named perils as found in the Homeowner’s Three – Special form property coverage

8.         List and briefly describe three commonly used policy endorsements to the Homeowner’s Insurance policy

In: Finance

IN C++. Objective: Create a Singly linked list of numbers based upon user input. Program logic:...

IN C++.

Objective: Create a Singly linked list of numbers based upon user input. Program logic: Ask for a number, add that number to the front of the list, print the list. Repeat until they enter -1 for the number. . Sample Input: 10, 15, 5, 2, 4, -1 Output: 4, 2, 5, 15, 10.

Next sort all the numbers using selection sort and display them. Next give the user option to search for a specific number in the list. If the user desired number exist output "the number you entered exists" else output "this number does not exist".

Next ask user if they want to delete a specific number. Delete and display an appropriate message. If the user specified number does not exist display an appropriate message.

Don't use class. Structs and nodes only

In: Computer Science

Given the html below, create css to produce the following illustrated color page output: Red for...

  1. Given the html below, create css to produce the following illustrated color page output:

Red for outer paragraph and outer list

Green and italic for first inner div paragraph, green for second div paragraph, blue for inner list

HTML File

<html>

<head>

      <link rel="stylesheet" type="text/css" href="mystyle98_d.css">

</head>

<body>

             <p>

    I'm a paragraph, what color am I ?

     </p>

   <ul>

     <li id = "fix"> I'm a list item;what color am I? </li>

       </ul>

<div class = "central1">

<p class ="above">

  I'm a paragraph; what color am I?

  </p>

     <p>

    I'm another paragraph, what color am I ?

     </p>

   <ol>

     <li id = "fix1"> I'm another list item;what color am I? </li>

       </ol>

          </div>

</body>

</html>

In: Computer Science

IN C++. Objective: Create a Singly linked list of numbers based upon user input. Program logic:...

IN C++. Objective: Create a Singly linked list of numbers based upon user input. Program logic: Ask for a number, add that number to the front of the list, print the list. Repeat until they enter -1 for the number. . Sample Input: 10, 15, 5, 2, 4, -1 Output: 4, 2, 5, 15, 10. Next sort all the numbers using selection sort and display them. Next give the user option to search for a specific number in the list. If the user desired number exist output "the number you entered exists" else output "this number does not exist". Next ask user if they want to delete a specific number. Delete and display an appropriate message. If the user specified number does not exist display an appropriate message. Don't use class. Structs and nodes only

In: Computer Science