Questions
1. If the demand for a good becomes less elastic without any change in the equilibrium...

1. If the demand for a good becomes less elastic without any change in the equilibrium price or quantity sold, consumer surplus in that market most likely

rises.

falls.

doesn't change, since price and quantity don't change.

changes, but in a direction that cannot be determined.

none of the above.

2. Most of the marginal damage from US car travel in metropolitan areas is from

wear and tear of roads and bridges.

pollution.

congestion and reduced safety.

another source.

These marginal damages are all about equal, so none of them is the source of ``most" of the marginal damage.

3. Most of the marginal damage from US semi truck travel (total travel) is from

wear and tear of roads and bridges.

pollution.

congestion and reduced safety.

another source.

These marginal damages are all about equal, so none of them is the source of ``most" of the marginal damage.

In: Economics

• Define each type of variable: dichotomous, ordinal, categorical, continuous • Define the following study designs:...

• Define each type of variable: dichotomous, ordinal, categorical, continuous • Define the following study designs: Randomized controlled trial, prospective cohort study, case-control study, crossover study. • Define in dependent versus independent samples.

In: Math

In SUMMER 2018 session, Sonia Buchanan, took four final exams. The exam mean and standarddeviation for...

In SUMMER 2018 session, Sonia Buchanan, took four final exams. The exam mean and standarddeviation for each course (class) along with Sonia’s score on each exam are listed in table below.Assume that the grades on each exam are NORMALLY DISTRIBUTED.

Exam

Mean for cohort (class)

Standard

deviation for cohort (class)

Daniel’s score

Introduction to Sociology

Life and Teachings of Christ

Principles of Psychology

Freshman Composition II

75

85.6

83

70.4

4.2

6.7

4.9

6.4

79

91

88

76

  1. Discuss the importance of the normal distribution curve in the Behavioural Sciences

  2. With respect to the normal curve what is a percentile rank? Give an example using a diagram

  3. Calculate Sonia's percentile rank for the Life and Teachings of Christ

  4. On which exam did Sonia do best relative to the other students in the class

In: Statistics and Probability

Required Tasks: In Eclipse, create a Java Project as CS-176L-Assign5. Create 3 Java Classes each in...

Required Tasks:

  1. In Eclipse, create a Java Project as CS-176L-Assign5.
  2. Create 3 Java Classes each in its own file Student.java, StudentList.java, and Assign5Test.java.
  3. Copy your code from Assignment 4 into the Student.java and StudentList.java Classes. Assign5Test.java should contain the main method.
  4. Modify StudentList.java to use an ArrayList instead of an array. You can find the basics of ArrayList here: https://www.w3schools.com/java/java_arraylist.asp
  5. In StudentList.java, create two new public methods:
    1. The addStudent method should have one parameter of type Student and should add the given Student to the StudentList.
    2. The removeStudent method should have one parameter of type String. The String is the email of the student to be removed from the StudentList.
  6. In Assign5Test.java do the following:
    1. Create a new StudentList containing 3 students.
    2. Print the info of all the Students in the StudentList using the getAllStudentInfo method.
    3. Remove one Student from the StudentList using the removeStudent method.
    4. Add two new Students to the StudentList using the addStudent method.
    5. Print the info of all the Students in the StudentList using the getAllStudentInfo method. Notice that one Student was removed and two were added.
  7. Code must compile and run without warnings or errors.
  8. Final output should look something like the following:

Name: [Abdulmuhsin J.Al-Kandari], Email: [[email protected]], Major: [SE], GraduationYear: [2017]

Name: [Justin R. Schlemm], Email: [[email protected]], Major: [SE], GraduationYear: [2016]

Name: [Mary F. Menges], Email: [[email protected]], Major: [SE], GraduationYear: [2017]

Name: [Abdulmuhsin J.Al-Kandari], Email: [[email protected]], Major: [SE], GraduationYear: [2017]

Name: [Justin R. Schlemm], Email: [[email protected]], Major: [SE], GraduationYear: [2016]

Name: [Nicholas-Jason R. Roache], Email: [[email protected]], Major: [CS], GraduationYear: [2017]

Name: [Taylor J. Klodowski], Email: [[email protected]], Major: [SE], GraduationYear: [2016]

In: Computer Science

6) A solution of sodium chloride (molecular weight 58.5) is electrolyzed and it is found that...

6) A solution of sodium chloride (molecular weight 58.5) is electrolyzed and it is found that a
current of 1 A liberates 1.3 x 10-3 kg of chlorine (atomic weight 35.5) in one hour. Sodium
chloride crystals of density 2.17 x 103 kg/m3 are analyzed by x rays and the unit cell parameter is
found to be 5.6 x 10-10 m. From these data calculate the charge on a monovalent ion.


7) In a Milikan oil-drop experiment, a certain droplet was found to fall freely in air at a steady rate
of 1.15 x 10-4 m/sec. between horizontal plates 3 mm apart. When an electrical potential
difference of 400 V was applied between the plates, the droplet rose steadily at 1.2 x 10-5 m/sec;
while at 300 V, the droplet fell steadily at 1.8 x 10-5 m/sec. Find the magnitude of the charge on
the drop, given that the viscosity of the air is 1.8 x 10-5 mks units, and the density of the oil used
was 900 kg/m3.


8) In an experiment to determine e/m for electrons by J. J. Thomson’s method, the particles were
deflected by a uniform electrostatic field of 50000 V/m applied between plates 0.05 m long. The
deflection produced on a screen placed 0.3 m away from the center of the plates was 0.05 m.
This deflection was exactly canceled by applying a magnetic field of 0.001 Tesla coextensive with
the electric field. Find the speed of the electrons, their specific charge, and the accelerating
voltage.

In: Physics

Explain each of the following (in your own words): a. The 3 fundamental rules of subprograms...

Explain each of the following (in your own words):

a. The 3 fundamental rules of subprograms

b. Subprogram

c. Subprogram call

d. Subprogram Header

e. Parameter profile/Protocol

f. Formal Parameter–v-Actual Parameter

g. Procedure –v-Function

h. Design issues for subprograms

i. Stack dynamic –v-static variables

j. Parameter passing

i. In-mode

ii. Out-mode

iii. In-Out mode

1.Pass by result

2.Pass by reference

3.Pass by name

k. Design issues for parameter passing

l. Overloaded subprogram

m. Generic subprogram

n. Design issues for functions

In: Computer Science

Checking Input File for correct line format. So for my C++ assignment, my professor says we...

Checking Input File for correct line format.

So for my C++ assignment, my professor says we need to validate the Input File, if there are white lines and spaces, in which it will ignore them, separated by a comma, and that all data items are there. This will be used in a program where i will store these into an Array, and display them in First name, Last name, and Number of Votes vertical columned categories.

This is a sample of the txt file. My question is, What do i use to be able to take only the names and number and place them into an array. Please explain what each line is doing, even it is not completely obvious. I am a complete beginner.

F=Michael,L=John,V=3342

F=Danny,L=Red,V=2003

F=Hillary,L=Clinton, V=1588

F=Albert,L=Lee,V=5332

F=Steven,L=JohnV=4429

Correct line for the reference: F=John,L=Smith,V=3342

The line errors that your program needs to detect, are as follows:

incorrect token / separator, example in line 5: F=Steven,L=JohnV=4429

(comma missing) – lines with this error need to be ignored

space in token, example in line 3: F=Hillary,X=Clinton, V=1622

lines with this error need to be read, error fixed, data included in your dataset

empty line, example in line 6 – empty lines need to be ignored

This is the sample of the getline code we are suppose to use.

void readFile(Candidate candidates[]) {

string line;

ifstream infile;

infile.open("elections.txt");

while (!infile.eof()) {

getline(infile,line);

// your code here

}

infile.close();

}

In: Computer Science

PSY 235 Child Development: Pre-Lab Work Sheet                  Name______________________________            

PSY 235 Child Development: Pre-Lab Work Sheet                 

Name______________________________                                Class and Section _PSY 235 -___________

                                                                                                      Instructor’s Name ____________________

(TO BE COMPLETED IN CLASS)

Prior to coming to the lab: Define each of the following and give an example. You may use your book, but be sure to use your own words and use complete sentences. Be sure to bring this worksheet with you to the lab.

  1. Theory of Mind:
  1. Describe how you would know a child had developed a theory of mind.

  1. Piaget’s Sensorimotor stage of development: (approximate ages: ___)

  1. Piaget’s Preoperational stage of development: (approximate ages: ___)

  1. Piaget’s Concrete Operational stage of development:  (approximate ages: ___)

  1. Piaget’s Formal Operational stage of development: (approximate ages: ___)

  1. Conservation

PSY 235 Adult Development: Pre-Lab Work Sheet                

Name______________________________                                Class and Section _PSY 235 -___________

                                                                                                      Instructor’s Name ____________________

(TO BE COMPLETED IN CLASS)

Prior to coming to the lab: Define each of the following stages of Erikson’s theory of psychosocial development. You may use your book, but be sure to use your own words and use complete sentences. Be sure to bring this worksheet with you to the lab.

  1. Stage 6: Intimacy v. Isolation-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

  1. Stage 7: Generativity v. Stagnation-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

  1. Stage 8: Integrity v. Despair-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

PSY 235 Adult Development: Pre-Lab Work Sheet                

Name______________________________                                Class and Section _PSY 235 -___________

                                                                                                      Instructor’s Name ____________________

(TO BE COMPLETED IN CLASS)

Prior to coming to the lab: Define each of the following stages of Erikson’s theory of psychosocial development. You may use your book, but be sure to use your own words and use complete sentences. Be sure to bring this worksheet with you to the lab.

  1. Stage 6: Intimacy v. Isolation-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

  1. Stage 7: Generativity v. Stagnation-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

  1. Stage 8: Integrity v. Despair-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

PSY 235 Adult Development: Pre-Lab Work Sheet                

Name______________________________                                Class and Section _PSY 235 -___________

                                                                                                      Instructor’s Name ____________________

(TO BE COMPLETED IN CLASS)

Prior to coming to the lab: Define each of the following stages of Erikson’s theory of psychosocial development. You may use your book, but be sure to use your own words and use complete sentences. Be sure to bring this worksheet with you to the lab.

  1. Stage 6: Intimacy v. Isolation-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

  1. Stage 7: Generativity v. Stagnation-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

  1. Stage 8: Integrity v. Despair-Define- (approximate ages: _____)
  1. Describe common priorities, questions, and challenges of someone in this stage of development.

In: Psychology

1) a) What is the difference between accuracy and precision? b) What is the difference in...

1)

a) What is the difference between accuracy and precision?

b) What is the difference in resolution between the instruments: Dial Caliper and Micrometer caliper? In order words, what is the lowest division in mm that we can read in each one of these instruments?

c) How do you relate calibration and accuracy? Explain.

2) In the Experiment Newton’s Second Law, explain with your own words, a) the relation that you found between acceleration and mass. What did you keep constant in this part of the experiment? And, b) the relation that you found between acceleration and Force. What did you keep constant in this part of the experiment?

3) In the Experiment Friction, explain with your own words, a) the relation that you found between the maximum static friction force and Normal force, b) the relation that you found between the kinetic friction force and Normal force, and c) How did you get an estimation of the coefficients of static friction and kinetic friction?

4) In the Experiment Work and Power, explain with your own words, a) the concept used to determine the work done to walk or run the flight of stairs, and b) why the calculated Power is the minimum Power needed to walk or run the flight of stairs.

5) In the Experiment Boyle’s Law, explain with your own words, a) the relationship between the absolute pressure of the gas and the Volume of the gas that you found, and b) what is the name of the process of compression of the gas, used in this experiment?

In: Physics

Instructions: Draw an ER diagram for the following description. Identify the keys and give the cardinality...

Instructions: Draw an ER diagram for the following description. Identify the keys and give the cardinality of all relationships (e.g. 1:1, N:1, N: M). Make sure you note your assumptions.

Assume you are creating a database for a library system with the following properties:

  1. The library contains one or several copies of the same book.

  2. Every copy of a book has a copy number and is located at a specific location on a shelf.

  3. A copy is identified by the copy number and the ISBN number of the book.

  4. Every book has a unique ISBN, a publication year, a title, an author, and a number of

    pages.

  5. Books are published by publishers.

  6. A publisher has a name as well as a location.

  7. Within the library system, books are assigned to one or several genres.

  8. A category has a name and no further properties.

  9. Each reader needs to provide his/her family name, his/her first name, his/her city, and

    his/her date of birth to register at the library.

  10. Each reader gets a unique reader number. Readers borrow copies of books. Upon

    borrowing the return date is stored.

A good strategy is to start by identifying the entities and their associated attributes, then identity the relationships present in this description.

In: Computer Science