Questions
We roll two fair dice (a black die and a white die). Let x = the...

We roll two fair dice (a black die and a white die). Let
x = the number on the black die − the number on the white die,record x as the outcome of this random experiment.

(a) What is the probability space?

In: Math

Provide the optimal Solution to the problems below using java code and include Time Complexity Analysis!...

Provide the optimal Solution to the problems below using java code and include Time Complexity Analysis!

  1. Peaks and Valleys

In an Array of integers, a “peak” is an element which is greater than or equal to the adjacent integers and a “valley” is an element which is less than or equal to the adjacent integers. For example, the array {5, 8, 6, 2, 3, 4, 6}, {8, 6} are peaks and {5, 2} are valleys. Give an array of integers, sort the array into an alternating sequence of peaks and valleys.

EXAMPLE

INPUT:

                                {5, 3, 1, 2, 3}

                OUTPUT:

{5, 1, 3, 2, 3}

  1. Build Order

You are given a list of projects and a list of dependencies (Which is a list of pairs of projects, where the second project is dependent on the first project). All of a project’s dependencies must be built before the project is. Find a build order that will allow the projects to be built. If there is no valid build order, return an error.

EXAMPLE

                INPUT:

                                Projects: a, b, c, d, e, f

                                Dependencies: (a, d), (f ,b), (b, d), (f, a), (d, c)

                OUTPUT:

f, e, a, b, d, c

(I need java code with explanation of algorithms and time complexity)

In: Computer Science

Assume that you are given a task to design a system for a vehicular network (or...

Assume that you are given a task to design a system for a vehicular network (or any cloud computing system). Briefly discuss security requirements for such a system. Outline a security architecture that could achieve the specified security goals in the scenario. You must include in your discussion of the security limitations of your approach. Note that this is intended to be an open-ended problem and your alternative security architecture may or may not exist as a specific product or system, so you are expected to think creatively about this solution. It is likely that you will need to undertake some research to assist in answering this part of the problem.

Component marks

Discussion of security problems

• Who could be the potential adversaries?

• What could be the security requirements for the above system?

15%

Description of security architecture

• A system framework for the vehicular network or cloud computing system. Describe how the proposed system works.

• How to achieve the security requirements? Apply techniques you learned in this unit.

• Should be described with enough details to be understood and subject to a basic analysis.

35%

Analysis of limitations

• Unless your architecture is perfect, explain what its weaknesses are.

10%
Clarity and quality of writing, including organisation and evidence of research where necessary. 5%

In: Computer Science

Discuss briefly the following topic: ( Mathematical modeling of hydraulic systems ) (Hint: you can use...

Discuss briefly the following topic:

( Mathematical modeling of hydraulic systems )


(Hint: you can use the text book and/or any other references; use illustrations as much as you can. Please expect a call for discussion). If noticed, all similar (copied) reports will be punished!

Please Using ( Microsoft Word ) Software

In: Mechanical Engineering

Solve the LP relaxation of the following binary linear program and report the optimal solution as...

Solve the LP relaxation of the following binary linear program and report the optimal solution as well as the optimal objective function value for the LP relaxation.

Maximize 10X1 + 18X2 + 17X3 + 5X4 + 3X5 + 11X6

Subject to: 7X1 + 8X2 + 11X3 + 6X4 + 4X5 + 6X6 <= 15

X1 , X2 , X3 ,X4 ,X5 ,X6 are all binary values

In: Operations Management

There are 4 tables as shown below: Claims, defendants, Events and statuscodes. Claims: claim_id patient_name =====================...

There are 4 tables as shown below: Claims, defendants, Events and statuscodes.
Claims:
claim_id patient_name
=====================
10 'Smith'
20 'Jones'
30 'Brown'
Defendants
claim_id defendant_name
=======================
10 'Johnson'
10 'Meyer'
10 'Dow'
20 'Baker'
20 'Meyer'
30 'Johnson'
Events:
claim_id defendant_name claim_status change_date
==================================================
10 'Johnson' 'AP' '1994-01-01'
10 'Johnson' 'OR' '1994-02-01'
10 'Johnson' 'SF' '1994-03-01'
10 'Johnson' 'CL' '1994-04-01'
10 'Meyer' 'AP' '1994-01-01'
10 'Meyer' 'OR' '1994-02-01'10
10 'Meyer' 'SF' '1994-03-01'
10 'Dow' 'AP' '1994-01-01'
10 'Dow' 'OR' '1994-02-01'
20 'Meyer' 'AP' '1994-01-01'
20 'Meyer' 'OR' '1994-02-01'
20 'Baker' 'AP' '1994-01-01'
30 'Johnson' 'AP' '1994-01-01'
StatusCodes
claim_status claim_status_desc claim_seq
========================================
'AP' 'Awaiting review panel' 1
'OR' 'Panel opinion rendered' 2
'SF' 'Suit filed' 3
'CL' 'Closed' 4
The claim status of a defendant (with regard to a given claim) is his or her latest claim status, which is the claim status with the highest claim sequence number.
The claim status of a claim is the claim status of the defendant having the lowest claim status of all the defendants involved in the claim. This makes the claim status a minimum of the maximums. For this sample data, the answer would be:
claim_id patient_name claim_status
==================================
10 'Smith' 'OR'
20 'Jones' 'AP'
30 'Brown' 'AP'
The problem is to write a sql query to find the claim status of each claim and display it.

In: Computer Science

Based on what we have all been experiencing due to the COVID-19 Global Pandemic, describe two...

Based on what we have all been experiencing due to the COVID-19 Global Pandemic, describe two things that we have learned about our global business environment and /or make two predictions about what you think will happen in our global business environment as a result of the pandemic.

In: Operations Management

3) Consider the following IA32 assembly language code fragment. Assume that a, b and c are...

3) Consider the following IA32 assembly language code fragment. Assume that a, b and c are integer variables declared in the data segment.

                        movl    a, %eax
                        movl    b, %ebx
                        cmpl    %ebx, %eax
                        jge     L1
                        movl    %eax, %ecx
                        jmp     L2 
                L1:     movl    %ebx, %ecx
                L2:     movl    %ecx, c 

Write the C code which is equivalent to the above assembly language code. You don't need to include the variable declarations, a function or anything like that, just show the 1 to 4 lines of code in C that express what the above assembly code is doing:

In: Computer Science

The CEO of Fullbrix Dana Alcar (a 20-year veteran of Supply chain business frameworks) has given...

The CEO of Fullbrix Dana Alcar (a 20-year veteran of Supply chain business frameworks) has given all powers to the running of the company to five Senior Vice-Presidents. Fullbrix is a Satellite spare parts provider that has four key clients. The company employs 200 employees and has a management team of 27. With five Senior Vice-Presidents running the company and running it well, the Board of Directors have begun an investigation on what the CEO is doing with her time. Initial investigations found that the CEO was building a broader base to support an alternative structure than the four key clients the company serves. The alternative would be 14 other companies that provide the same revenue as the present 4 companies. The 10-member Board of Directors are 50/50 split on their decision. One group wants to fire the present CEO and replace her with one of the Senior Vice Presidents and the other wants to keep things as they are.

20. Using terms discussed in class, can Dana Alcar’s leadership qualities help her to succeed in the long run?

21. Using terms discussed in class, how do you think it would be possible to convince the 5 Board Members to stop their petition to remove the CEO?

22. What can Dana Alcar do to create a convincing case to the Board of Directors to keep her on?

In: Operations Management

ANSWER FOR THE FOLLOWING BRAND APPLE AND ITS PRODUCTS SPECIFIALLY THE :LATEST IPHONE This product specifically......

ANSWER FOR THE FOLLOWING BRAND APPLE AND ITS PRODUCTS SPECIFIALLY THE :LATEST IPHONE

  1. This product specifically... Who is the target market?
    1. Demographic:
    2. Geographic:
    3. psychographic
  2. Subculture References:
    1. Ethnic / African American / Hispanics / Asian American / Native American / Asian Indian / Arab Americans
      1. Religious subcultures
  3. Values of this target market?

In: Operations Management

An independent testing team is beneficial for test quality and comprehensiveness. Why?

An independent testing team is beneficial for test quality and comprehensiveness. Why?

In: Computer Science

What is Aristotle’s “universal-particular argument” for the immateriality of the intellect? Recall matter as a principle...

What is Aristotle’s “universal-particular argument” for the immateriality of the intellect? Recall matter as a principle of individuation. For Aristotle, is the brain an organ for intellect? Why does he say that all thought is ‘with images’ or imagination?

In: Chemistry

Is the proliferation of such agreements (free trade areas, customs unions,etc.) good for world trade in...

Is the proliferation of such agreements (free trade areas, customs unions,etc.) good for world trade in general?

In: Economics

. Describe social loafing. What can be done in an educational and a workplace setting to...

. Describe social loafing. What can be done in an educational and a workplace setting to minimize social loafing?

In: Operations Management

Juan, a17-year-old Hispanic youth, was referred to the school psychologist at the end of the first...

Juan, a17-year-old Hispanic youth, was referred to the school psychologist at the end of the first school term because of apparent academic and emotional concerns. His grades were slipping, and it looked like he might not get any credits his first term. The counselor has also explained that Juan was the driver in a fatal car wreck at the end of the previous academic year, in which his bestfriend was killed. Although Juan was hospitalized, the counselo rsaid that he insisted on going to the funeral, even though he could barely move, having suffered several broken ribs. When the psychologist met with Juan, he was initially reluctant to discuss the accident but as rapport was established, he admitted to feeling helpless, feeling fatigued because of lack of sleep, and having problems concentrating on his schoolwork. He wanted to quit school, because he did not want to be in the same class with students who blamed him for his friend’s death, and furthermore he did not see why he should plan for a future. He admitted to having vivid dreams of his friend, seeing him as if he were alive. Often he would wakeup, startled.He had no recollection of how the accident happened, as he could not remember the details, even though a witness had said that another car was involved. Although he has a girlfriend, Juan rarely feels like doing anything, and in the past few month she has preferred to be alone. Although he was very close to his deceased friend’s family(theywereinseparable), he has not seen them since the funeral. In this case, Juan is faced with the aftermath of a traumatic experience in which he was seriously injured and his friend was killed. He feels helpless because of the accidental nature of the wreck. Undoubtedly, Juan has significant survivor guilt. Faced with traumatic events of this nature, individuals react with fear, horror, or helplessness. In younger children, these feelings are often expressed in disorganized anda gitated behaviors.

IN 250 words:

Identify at least three stressor-related features that Juan’s case presents.

Explain the significance of the symptoms affecting Juan.

In: Psychology