Questions
In python language do thee following: Some password scheme is designed such that the password must...

In python language do thee following:

Some password scheme is designed such that the password must start with a special symbol in “$” “@” or “!” followed by four letters that could be in a..z followed by a similar special symbol followed by three letters in A..Z followed by a single digit. Write a program that takes from the user a string, and verifies whether the string abides by this password scheme. Do this once using regular expressions. Another time without using regular expressions.

In: Computer Science

A firm uses skilled labor, unskilled labor, and capital, and is initially in equilibrium. Suppose that...

A firm uses skilled labor, unskilled labor, and capital, and is initially in equilibrium. Suppose that the wage paid to unskilled labor falls, and that unskilled labor is a substitute in production with both skilled labor and capital. Depict in separate graphs of (a) capital and unskilled labor and (b) capital and skilled labor how the original equilibrium choices change in response to the decline in wages paid to unskilled workers. What are the expected impacts on the wage and employment level for each group of worker, and why? How does this factor into the growth of inequality in recent decades in the United States?

In: Economics

The Gourmand Cooking School runs short cooking courses at its small campus. Management has identified two...

The Gourmand Cooking School runs short cooking courses at its small campus. Management has identified two cost drivers it uses in its budgeting and performance reports—the number of courses and the total number of students. For example, the school might run two courses in a month and have a total of 65 students enrolled in those two courses. Data concerning the company’s cost formulas appear below:

Fixed Cost per Month Cost per Course Cost per
Student
Instructor wages $ 2,910
Classroom supplies $ 270
Utilities $ 1,240 $ 70
Campus rent $ 4,900
Insurance $ 2,200
Administrative expenses $ 3,500 $ 45 $ 6

For example, administrative expenses should be $3,500 per month plus $45 per course plus $6 per student. The company’s sales should average $850 per student.

The company planned to run four courses with a total of 65 students; however, it actually ran four courses with a total of only 61 students. The actual operating results for September appear below:

Actual
Revenue $ 52,350
Instructor wages $ 10,920
Classroom supplies $ 17,400
Utilities $ 1,930
Campus rent $ 4,900
Insurance $ 2,340
Administrative expenses $ 3,496

Required:

Prepare a flexible budget performance report that shows both revenue and spending variances and activity variances for September (Indicate the effect of each variance by selecting "F" for favorable, "U" for unfavorable, and "None" for no effect (i.e., zero variance). Input all amounts as positive values.)

In: Accounting

Friedman distinguishes between the two concepts that (a) businesses really do act in ways to maximize...

  1. Friedman distinguishes between the two concepts that (a) businesses really do act in ways to maximize profit and (b) businesses have a moral responsibility (or, as he puts it, a social responsibility) to act to maximize profit. How does he defend the latter position? (See both the Friedman and Sandbu readings)
  2. From the Sandbu article, Sandbu quotes Adam Smith as saying that we get our dinner from the self-interest of the butcher, baker and brewer. What does he mean by this? How does this observation lead to Adam Smith's concept of the "invisible hand?"

NB: Can I get an email to send both article?

In: Operations Management

Two stationary positive point charges, charge 1 of magnitude 3.85 nC and charge 2 of magnitude...

Two stationary positive point charges, charge 1 of magnitude 3.85 nC and charge 2 of magnitude 2.00 nC , are separated by a distance of 43.0 cm . An electron is released from rest at the point midway between the two charges, and it moves along the line connecting the two charges.

What is the speed Vfinal of the electron when it is 10.0 cm from charge 1?

Express your answer in meters per second.

Please show your work!

In: Physics

1) Describe the performance impact of using the LIKE operation with a wild card character at...

1) Describe the performance impact of using the LIKE operation with a wild card character at the beginning of the value.

2) Under what circumstances is a non-matching index scan performed?

3) A query is written to access a single table. Furthermore, that query will return only a single row because an equality predicate is coded on the primary key for the table. A unique index exists to support the primary key. What type of access is likely to be the most efficient for that query?

4) How can stored procedures be used to optimize performance in a client/server application?

5) Under what circumstances will a table scan outperform indexed access?

In: Computer Science

Programming Language: C++ Create a base class called Shape which has 2 attributes: X and Y...

Programming Language: C++

Create a base class called Shape which has 2 attributes: X and Y (positions on a Cartesian coordinate system). Since a shape is amorphous, set the class up so that an object of type Shape can not be instantiated.

Create three derived classes of your choice whose base class is Shape. These derived classes should have accessors/mutators for their class specific attributes, as well as methods to compute the area and the perimeter of the shape.

In main(), create a stack of pointers to Shape and push one object of each derived class onto the stack. Then, pop each shape pointer off of the stack and output that shape's area and perimeter, demonstrating polymorphism.

In: Computer Science

1. Mike and Suzanne have a daughter (Michelle) and a son (Jack). Michelle is 25 years...

1. Mike and Suzanne have a daughter (Michelle) and a son (Jack). Michelle is 25 years old, working in a law firm. Jack is only 18 years old. Next year, Jack will start at the University of Adelaide as a student. As a family tradition, they have been doing lottery syndicate for years. They collect money and pay together, using their birthday numbers to play in the lottery. One day, Jack bought one lottery ticket, and later on, surprisingly found out he won 1 million Dollar. Now Jack wants to take all money for himself and leave his parents’ house to start a new life. Do you think Jack can do so? Would Mike, Suzanne and Michelle have any claim in this lotter? (10 points)

In: Economics

Clarify the differences between the types of location sensors built-in to the mobile device. And how...

Clarify the differences between the types of location sensors built-in to the mobile device. And how the Location information is accessed within an app?

In: Computer Science

An engineer designed a valve that will regulate water pressure on an automobile engine. The engineer...

An engineer designed a valve that will regulate water pressure on an automobile engine. The engineer designed the valve such that it would produce a mean pressure of 4.0 pounds/square inch. It is believed that the valve performs above the specifications. The valve was tested on 15 engines and the mean pressure was 4.3 pounds/square inch with a standard deviation of 0.7. A level of significance of 0.05 will be used. Assume the population distribution is approximately normal. Determine the decision rule for rejecting the null hypothesis. Round your answer to three decimal places.

In: Math

Items are sometimes fastened to plastic parts by screw driven into smooth holes molded in the...

Items are sometimes fastened to plastic parts by screw driven into smooth holes molded in the parts. Over time, however, the screws loosen. To what common laboratory test of viscoelasticity does this correspond? (Provide explanation)

In: Chemistry

If 5.01 g of Ag2O is sealed in a 75.0-mL tube filled with 760 torr of...

If 5.01 g of Ag2O is sealed in a 75.0-mL tube filled with 760 torr of N2 gas at 24 ∘C, and the tube is heated to 380 ∘C, the Ag2O decomposes to form oxygen and silver.

What is the total pressure inside the tube assuming the volume of the tube remains constant?

Express your answer to three significant figures and include the appropriate units.

In: Chemistry

Q/ Write and explain 2 techniques that used for gene expression analysis on protein level??

Q/ Write and explain 2 techniques that used for gene expression analysis on protein level??

In: Biology

A. Iva Ertarm is admitted complaining of a numb right arm. When tested, she is unable...

A. Iva Ertarm is admitted complaining of a numb right arm. When tested, she is unable to feel when her hand and arm are touched lightly, but can still feel a hard pressure. It is determined she must have a lesion or damage within her spinal cord. Which specific pathway is affected (4 pts)? How do you know it is that specific pathway (Apts)? Which side of the spinal cord is the lesion and which funiculus must! the lesion be located (4 pts)? How do you know the specific funiculus and the side (where does it decussate) (4pts)? What is the signal direction within this pathway and what is the final destination of this information (2 pts)? 2 pts for essay formatting, grammar, spelling. Be specific in your answers.

In: Anatomy and Physiology

Use SPSS for this Application Exercise: A psychologist hypothesizes that depression increases with aging. It is...

Use SPSS for this Application Exercise:
A psychologist hypothesizes that depression increases with aging. It is known that the general population scores a 40 on a standardized depression test where a higher score indicates more depression. The psychologist obtains a sample of individuals that are all over 68 years old. What can the psychologist conclude with α = 0.01? The data are below.


id
depression
score
2
6
8
12
3
4
11
19
5
6
76.1
44.9
55.5
42.2
30.1
67.6
65.4
36.5
54.3
47.2


a) What is the appropriate test statistic?
---Select--- na z-test One-Sample t-test Independent-Samples t-test Related-Samples t-test

b)
Population:
---Select--- standardized depression test elderly aging general population depression
Sample:
---Select--- standardized depression test elderly aging general population depression

c) Compute the appropriate test statistic(s) to make a decision about H0.
(Hint: Make sure to write down the null and alternative hypotheses to help solve the problem.)
p-value =  ; Decision:  ---Select--- Reject H0 Fail to reject H0

d) Using the SPSS results, compute the corresponding effect size(s) and indicate magnitude(s).
If not appropriate, input and/or select "na" below.
d =  ;   ---Select--- na trivial effect small effect medium effect large effect
r2 =  ;   ---Select--- na trivial effect small effect medium effect large effect

e) Make an interpretation based on the results.

The elderly are significantly more depressed than the population.

The elderly are significantly less depressed than the population.    

The elderly did not significantly differ on depression than the population.

In: Math