Questions
Draw the red-black BST that results when you insert letters A through K int order into...

Draw the red-black BST that results when you insert letters A through K int order into an initially empty tree, then describe what happens in general when trees are built by insertion of keys in ascending order. What about descending order?

In: Computer Science

The following CPM network has estimates of the normal time in weeks listed for the activities:...

The following CPM network has estimates of the normal time in weeks listed for the activities:

Activity

Immediate Pred

Weeks

A

-

7

B

A

2

C

A

4

D

B, C

5

E

B, C

2

F

D, E

4

G

F

5

Activity

Normal

Time

Crash

Time

Normal

Cost

Crash

Cost

A

7

6

$7,000

$8,000

B

2

1

5,000

7,000

C

4

3

9,000

10,200

D

5

4

3,000

4,500

E

2

1

2,000

3,000

F

4

2

4,000

7,000

G

5

4

5,000

8,000

  1. Please identify the critical path.
  2. What is the length of time to complete the project?
  3. Which activities have slack, and how much?
  4. Based on the table of normal and crash times and costs, which activities would you shorten to cut two weeks off the expected completion time? Does this change the critical path—if so, what is(are) the new path(s).

USE AN EXCEL FILE

In: Operations Management

Imagine that whenever your boss asks for feedback, she/he defensively argues with anyone who offers criticism,...

Imagine that whenever your boss asks for feedback, she/he defensively argues with anyone who offers criticism, so people have stopped offering feedback. You decide to talk to your boss about this and hope to keep the conversation relaxed and professional. Explain how you would approach the conversation and list some points you would want to make when you discuss this issue.

In: Operations Management

what are the activities we can use with preschoolers to teach them math espcially in the...

what are the activities we can use with preschoolers to teach them math espcially in the kitchen?

In: Nursing

1. Write the set { x | x ∈ R, x2 = 4 or x 2...

1. Write the set { x | x ∈ R, x2 = 4 or x
2 = 9} in list form.
2. {x: x is a real number between 1 and 2} is an
a) finite set
b) empty set
c) infinite set
3. Write set {1, 5, 15, 25,…} in set-builder form.
4. What is the cardinality of each of these sets?
a) {{a}}
b) {a, {a}}
c) {a, {a}, {a, {a}}}
d) {∅}
e) {∅, {∅}, {∅, {∅}}}
5. Suppose that A is the set of sophomores at your school and B is the set of students in
discrete mathematics at your school. Express the following set in terms of A and B:
"the set of students at your school who either are not sophomores or are not taking discrete
mathematics"
a. A
c ∩ Bc
b. A
c U B
c
c. B-A
d. A-B
6. Let A be the set of students who live within one mile of school and let B be the set of
students who walk to classes. Describe the set B-A.
a. The set of students who walk to classes but live more than 1 mile away from school.
b. The set of students who walk to classes but live within 1 mile away from school.
c. The set of students who walk to classes.
7. What is the power set of the set {1, a, b}?
8. Let S = {∅, ?,{?}}Determine whether each of these is an element of S, a subset of S, neither,
or both.
a) {?}
b) {{?}}
c) ∅
d) { {∅ }, ?}}
8. Determine whether each of these statements is true or false.
a) 0 ∈ ∅
b) ∅ ∈ {0}
c) {0} ⊂ ∅
d) ∅ ⊂ {0}
e) {0} ∈ {0}
f) {0} ⊂ {0}
g) {∅} ⊆ {∅}
9. Let A = {a, b, c}, B = {x, y}, and C = {0, 1}.
Find A × B × C.
10. Find A2
if A = {0, a, 3}.

In: Computer Science

A construction project is broken down into the following 10 activities: Activity Immediate Pred Weeks A...

A construction project is broken down into the following 10 activities:

Activity

Immediate Pred

Weeks

A

-

6

B

A

3

C

A

4

D

A

2

E

B, C

4

F

C

3

G

D

7

H

E

3

I

F, G

5

J

H, I

7

  1. Please draw the network.
  2. What is the critical path?
  3. How many weeks will it take to complete the project?
  4. How much slack does each of the activities have?

QUESTION A: PLEASE DRAW THE SKETCH

QUESTIONS B,C,D: USE AN EXCEL FILE

In: Operations Management

You are experiencing issues when trying to transfer files between two computers using FTP. What could...

You are experiencing issues when trying to transfer files between two computers using FTP. What could be the potential cause(s) of the issue? Select all that apply.

Server is not able to resolve the client IP address

Inbound port UDP 21 is blocked in the server

The remote host does not allow connections on high ports 49152 - 65535

Inbound port TCP 21 is blocked in the server

Client is not able to resolve the remote IP address

Which of the following best describes the function of the TTL/hop limit for IP packages?

Prevents a computer from keeping the same IP forever, which could potentially cause IP address conflicts in the network (perhaps due to incorrect DHCP configuration)

Tells the client for how long it should cache the local ephemeral port used in a TCP connection to allow fast reconnections

Indicates to the server for how long it should keep a TCP connection with a specific client to mitigate denial-of-service (DoS) attack

Prevents IP packets from getting stuck in infinite routing loops (perhaps due to incorrect routing tables)

In: Computer Science

Research Basics: Lesson 1 ENGLISH 1021-41 ESSAY FUNDAMENTAL INSTRUCTIONS: Read and watch each web page/video/resource. Type...

Research Basics: Lesson 1 ENGLISH 1021-41 ESSAY FUNDAMENTAL

INSTRUCTIONS:

  • Read and watch each web page/video/resource.
  • Type a summary of the top takeaways/things you learned from each section/link whether they have a video or not. Each paragraph should have complete sentences and there needs to be at least 4 sentences. Think of it as at least one sentence about each of the four top things you learned from each resource you review.
  • So, again, you will type up paragraph for each section/link. Label your paragraphs by each section you are writing about. So, give a heading or label that says: What is Research? Information Cycle, and Planning: Keywords and Search Strings, then add you paragraphs about what you learned in each area. Put these paragraphs all together in ONE WORD DOCUMENT.
  • Label it Research Basics: Lesson 1 and submit it all together to the Research Basics: Lesson 1 assignment folder by April 20 at 11:59 pm.

This week you will be looking at these sections/links:

What is Research?

Information Lifecycle

Planning: Keywords and Search Strings - Learn how to identify keywords from a research topic and format them into search strings.

NOTE: This link may have words on the web page AND a video. Make sure to view and summarize/give top 4 take always from all included content (what you see/read)

In: Operations Management

Use VB.net to create a loop that posts the first 100 prime numbers. Then, write code...

Use VB.net to create a loop that posts the first 100 prime numbers. Then, write code to confirm the numbers are prime.

In: Computer Science

Background: The GC owners have questions and need clarification about several contract concepts and issues related...

Background: The GC owners have questions and need clarification about several contract concepts and issues related to their new business. Specifically, they have questions about:

  • the Statute of Frauds “writing requirement” and
  • electronic contracts

Generally, contracts for the sale of goods must be in writing, and the writing must be signed by the parties to the agreement, and the parties must be sufficiently identified. GC will be selling goods via the internet, and the owners are wondering whether these electronic contracts are valid and enforceable.

Background Facts You Need To Know:  Company X, a company in Illinois, contracted via the internet with Windows Bright, a small window washing business in Missouri to purchase four cases of Shiny Lite window cleaning solution at $200 per case. Company X paid via the internet with a company credit card. The contract stated that the four cases of Shiny Lite would be shipped to Company X’s place of business in Illinois via UPS. Once UPS delivered the Shiny Lite, the contract required Windows Bright to clean Company X's windows.

Winne and Ralph have asked you to prepare examples and explanations of the statute of frauds and electronic contracts.

To respond to the GC's questions and concerns, you must prepare a fact scenario and be prepared to discuss the scenarios in a meeting with TLG and the GC owners.

A. Discuss whether the contract between X and Windows Bright is subject to the Uniform Commercial Code Statute of Frauds.

B. Analyze and explain whether the internet electronic contract between X and Windows Bright satisfies the “writing” requirements for the Statute of Frauds? If so, how and why?

In: Operations Management

Pre-Assignment hom Before you start, create a new Eclipse project and create one package in that...

Pre-Assignment

hom

Before you start, create a new Eclipse project and create one package in that project. The package should be called “HW3”

Problem 1

Create a class called “Person”. This class should have, at minimum, the following members and methods. I advise you to add others as you see fit.

// Members

firstName (string)

lastName (string)

age (int)

pAddress (Address)  // This is composition! I suggest using the Address class we defined earlier!

pDOB (Date)  // This is composition!  I suggest using the Date class we defined earlier!

// Constructors

Person()  // Default with age = 0, names null, and DOB and Address default for those classes

Person(firstName, lastName, age)  // Address and DOB will be default for those classes

Person( Person x)  // Copy constructor that does a DEEP COPY of the person object.

// Setters

setFirstName(String firstName)

setLastName(String lastName)

SetName(String firstName, String lastName)

setAge(int newAge)

setAddress(String houseNum, String street, String city, String state, String zip)

setDOB (int day, int month, in year)

// Getters

toString()   // Print out the name, age, dob, and address (use toString from DOB and Address)

getAge()  // return the age

getFirstName()   // return the first name

getLastName()  // return the last name

getDOB()   // Return a COPY OF the date object HINT: Use the date copy constructor!

getAddress() // Return a COPY OF the address object HINT: Use the Address copy constructor!

Problem 2

Test your Person class by creating a new class (in the same “HW3” package and then use the methods to make sure they work properly. I provide no guidance on this since all you need to do is test the methods to make sure they work. Call each and make sure they don’t report errors or fail to execute correctly. Fix any bugs you find. Ask for help if you need it!!!

Problem 3

Create a new class file and call it “Student”. This class will EXTEND on the Person class by adding new data members and methods. Note that students are, in fact, people. This extension makes sense!

// Data members

stuID (String)

major (string)  

level (int)    // 0 = first-year,  1 = sophomore,  2 = junior,   3 = senior,  4 = post-grad

// Constructors

Student(String id, String lastName, String firstName, String major, int level)

Student( Student x)  // Copy constructor that makes a DEEP COPY of Student x object

// Setters

Provide one setter for major, one setter for stuID, and one setter for level. Note that the “level” method should check the input to make sure it makes sense. If something besides a 0, 1, 2, 3, or 4 is provided, the setter should write a warning to screen and refuse to make the change.

// Getters

Provide one getter for major, one getter for stuID, and one getter for level.

// Provide an overrided toString method and use super to also use the inherited toString

toString (String)

// This method should write to screen something like this:

// “Jones, Mary, 21, 544 S Winston St., Kemble, KY 00000, Computer Science, 3”

// Note that you want to use the inherited toString() method here by saying super.toString()

// somewhere in your returned expression.

Problem 4

Create a new class in “HW3” package and call it “testStudent”. Use this class to create multiple student objects and person objects. Test all the methods for accuracy. Make sure you have correct behavior for all of your methods/constructors. Watch out for the copy constructors!!!!

In: Computer Science

1. What dimension (s) are the same between the top and right-side view? -Width -Height -Depth...

1. What dimension (s) are the same between the top and right-side view?

-Width
-Height
-Depth
-Width and depth
-Height and depth

2.What of the following statements is true about the cutting-plane line?

-The cutting-plane line indicate the location of cut
-The cutting-plane line is a thick dashed line
The cutting-plane line need not always to be straight
-Arrows at the ends of the cutting-plane line indicate the sight direction
-All of the above

3. Which of the following is not a type of a section view?

-Removed section
-Auxiliary section
-Offset section
-Aligned section
-None of the

4. In a drawing that shows the top, front, and right-side view, which views show width?

-Front and top views
-Front and right-side views
-Top and right side views
-Right-side view only
-None of the above
5. Which of the following statements is not true about a section view?

-A sectioned area is always completely bounded by a visible outline, never by a hidden line
-Cut surfaces are cross-hatched with thin parallel section lines
-Visible line can never cross a sectioned area in a view of a single part
-In a full section, the back half (behind the cutting plane) is imagined removed
-None of the above

6. What dimension (s) are the same between the front and right side view?

-Width
-Height
-Depth
-Width and height
-Depth and height
7. Which of the following is true about a section view?

-A section view shows edges and contours which are now visible behind the cutting-plane
-A section view can replace any standard orthographic view
-A section view is placed opposite to the direction of sight
-Hidden lines are often omitted from section views
-All of the above
  
8. What dimension (s) are the same between the top and the front view?

-Width
-Height
-Depth
-Width and height
-Width and depth
  
9. Which of the following is a type of a section view?
Group of answer choices
-Full section
-Half section
-Broken section
-Revolved sections
-All of the above

10. Which of the following statements is true about an aligned section?

-The cutting-plane is bent to pass through features of interest
-The cutting-plane line is often revolved through the angled features
-The angle of revolution is always less than 90 degrees
-The section view is not a normal projection
-All of the above
  
11. Which of the following statements is not true about section-lines?

-They are not too close together
-They should not be parallel to outline
-They should not ne parallel to outline
-They are shown behind dimension and extension lines
-None of the above
12. Which of the following statements is not true about a section view?

-In a full section, the cutting-plane line is often omitted
-In a full section, the front half (between the observer and the cutting plane) is imagined removed
-Section line (cross hatching) symbols cannot be used to indicate specific materials
-Section lines in all hatched areas for a single object must be parallel
-None of the above
  
13. Which of the following statements is true about section-lines?

-They are uniformly spaced
-They are uniformly thin, not varying in thickness
-They are distinctly thinner than visible lines
-The do not run beyond or stop short of visible outlines
-All of the above

In: Mechanical Engineering

6. A 200-kg roller coaster reaches the top of the steepest hill with a speed of...

6. A 200-kg roller coaster reaches the top of the steepest hill with a speed of 5.80 km/h. It then descends the hill, which is at an angle of 35° and is 41.0 m long. What will its kinetic energy be when it reaches the bottom? Assume µk = 0.18.

In: Physics

In the United States, the degree of labor market protection has decreased significantly since 1970’s. Explain...

  1. In the United States, the degree of labor market protection has decreased significantly since 1970’s. Explain the effects of this trend on economic growth in the medium-run and long-run perspective. What are the implications for income inequality in the United States?

In: Economics

The MarsX Space Vehicles Company has been very successful. Due to an increase in demand for...

The MarsX Space Vehicles Company has been very successful. Due to an increase in demand for its STS’s, the company had to hire thousands of scientists, engineers and staff from all over the world. As we all know, not all countries use the same system of measurements. The U.S., Liberia and Burma use the English system; while the rest of the world uses the metric system. In addition scientists use specific scales for some of their applications. To avoid confusion among team members from different countries, the company has commissioned the development and deployment of conversion applications. Your job is to write a program that interchangeably converts between different temperature scales (Celsius, Fahrenheit and Kelvin).

Your job depends on the success of this application. Therefore, make sure you write clean code and test it thoroughly.

Your program must do the following:

  1. Display the menu below and get user input. Re-display the menu until the user enters 4.
  1. Convert from Celsius
  2. Convert from Fahrenheit
  3. Convert from Kelvin
  4. Quit Program

  1. If the user enters 1, prompt the user to enter 3 numbers that represent temperatures expressed in degree Celsius. The program must then convert the temperatures to degree Fahrenheit and Kelvin and output them in a table as follows:

Celsius

Fahrenheit

Kelvin

-10.00

14.00

263.15

0.00

32.00

273.15

100.00

212.00

373.15

  1. If the user enters 2, prompt the user to enter 3 numbers that represent temperatures expressed in degree Fahrenheit. The program should then convert the temperatures to degree Celsius and Kelvin and output them in a table as follows:

Fahrenheit

Celsius

Kelvin

-10.00

-23.33

249.82

0.00

-17.78

255.37

100.00

37.78

310.93

  1. If the user enters 3, prompt the user to enter 3 numbers that represent temperatures expressed in degree Kelvin (no negative numbers allowed, validate). The program should then convert the temperatures to degree Fahrenheit and Celsius and output them in a table as follows:

Kelvin

Fahrenheit

Celsius

0.00

-459.67

-273.15

100.00

-279.67

-173.15

1000.00

1340.33

726.85

  1. If the user enters 4, quit the program.

Needed conversion formulas:

From

To

       Formula

Celsius

Fahrenheit

F = C * (9.0/5.0) + 32

Celsius

Kelvin

K = C + 273.15

Fahrenheit

Celsius

C = (F – 32) * (5.0/9.0)

Fahrenheit

Kelvin

K = (F + 459.67) * (5.0 /9.0)

Kelvin

Fahrenheit

F = K * (9.0/5.0) – 459.67

Kelvin

Celsius

C = K – 273.15

Your program must comply with the following constraints:

  1. Must declare at least the following 4 function prototypes:

int getMenuSelection();                  /*Displays menu and gets user selection*/

void convertFromCelsius();             /*From Celsius to the other scales*/

void convertFromFahrenheit();        /*From Fahrenheit to the other scales*/

void convertFromKelvin();              /*From Kelvin to the other scales*/

  1. The main function must look exactly as shown below:

int main()

{

int menuSelection = 0;

do

       {

system(“cls”);

menuSelection = getMenuSelection();

             switch (menuSelection)

{

       case 1: convertFromCelsius();

             break;

       case 2: convertFromFahrenheit();

             break;

       case 3: convertFromKelvin ();

             break;

       case 4: break; /*Do nothing. Exit Condition*/

       default: printf(“Please enter a number between 1 and 4 \n”);

system(“pause”);

}

       } while (menuSelection != 4);

system(“pause”);

return 0;

}

In: Computer Science