Questions
I have designed a two part discussion question this module. Please make sure to comment sufficiently...

I have designed a two part discussion question this module. Please make sure to comment sufficiently on both questions. Make sure that your initial response to the question contains at least 2 cited academic sources to support the ideas that you raise.

(1) In considering various forms of psychopathology researchers have often focused on the role of social and psychological variables. In recent years, however, many studies have been conducted which have investigated the role of biological factors as they relate to different forms of child/adolescent psychopathology (e.g., mental retardation, ADHD, autism, anorexia nervosa, etc.). Discuss the evidence that biological factors contribute to childhood psychopathology, focusing primarily on ADHD. In your answer you should cite evidence related to the role of such factors in a range of disorders with "biological' being considered in the broad sense of the word (e.g., genetic, structural, biochemical, etc.). Critically evaluate the research findings you cite.

(2) Many social scientists have commented on the adult hypocrisy that can accompany childhood socialization. For example, “Do as I say, not as I do” has been around for a long time. One of the topics in this chapter is substance abuse problems among children and adolescents. Some years ago, one of the Drug Council public service messages on television depicted a father who had caught his son in the act of using marijuana. The father, in an agitated and incredulous tone of voice, announces: “Where did you get this?!......where did you find out about this stuff?!” The imp replies in an anguished tone: “I learned it from YOU!!......that’s where I got it......from YOU!!” I would like for you to share how they feel about this kind of hypocrisy and how you think childhood and adolescent socialization contributes to conduct problems

Please make sure that your initial response to the question is evidence based and provides facts and statistics from your textbook or current research studies.

In: Psychology

I am struggling with this assignment. I can't get the program to run when I enter...

I am struggling with this assignment. I can't get the program to run when I enter a number with the $ symbol followed by a number below 10. any help would be greatly appreciated.

Create a program named Auction that allows a user to enter an amount bid on an online auction item. Include three overloaded methods that accept an int, double, or string bid. Each method should display the bid and indicate whether it is over the minimum acceptable bid of $10. If the bid is a string, accept it only if one of the following is true: it is numeric and preceded with a dollar sign, or it is numeric and followed by the word dollars. Otherwise, display a message that indicates the format was incorrect.

class Auction
    {
        public static void Main(string[] args)
        {
            string bidamount;
            Console.Write("Enter bid: ");
            bidamount = Console.ReadLine();
            double num;
            int n;

            if (double.TryParse(bidamount, out num))
            {
                double bid = Convert.ToDouble(bidamount);

                if (valid(bid))
                {
                    Console.WriteLine("Bid is $" + bid + ".");
                    Console.WriteLine("Bid is at/over $10.");
                    Console.WriteLine("Bid accepted.");
                }
                else
                    Console.WriteLine("Invalid. Bid not acceptable.");
            }
            else if (int.TryParse(bidamount, out n))
            {
                int bid = Convert.ToInt32(bidamount);
                if (valid(bid))
                {
                    Console.WriteLine("Bid is $" + bid + ".");
                    Console.WriteLine("Bid is at/over $10.");
                    Console.WriteLine("Bid accepted.");
                }
                else
                    Console.WriteLine("Bid not acceptable.");
            }
            else
            {
                string bid = (bidamount);
                if (valid(bidamount))
                {
                    Console.WriteLine("Bid is $" + bid + ".");
                    Console.WriteLine("Bid is at/over $10.");
                    Console.WriteLine("Bid accepted.");
                }
                else
                    Console.WriteLine("Bid not acceptable.");
            }
            Console.ReadKey();
        }
        public static bool valid(int bid)
        {
            if (bid < 10)
                return false;
            else
                return true;
        }
        public static bool valid(double bid)
        {
            if (bid < 10)
                return false;
            else
                return true;
        }
        public static bool valid(string bid)
        {
            if (bid[0] == '$' && Convert.ToInt32(bid.Substring(1)) >= 10)
                return true;
            else if ((Convert.ToInt32(bid.Substring(0, 2)) >= 10) && (bid.Substring(2).Equals("dollars")))
            {
                return true;
            }
            else
                return false;
        }
    }

In: Computer Science

Question 2 4-14 Which of the following terms best describes the following diagram? Question 2 options:...

Question 2

4-14 Which of the following terms best describes the following diagram?

Question 2 options:

DMZ

Intranet

Public LAN

Extranet

Question 3

4-13 Which of the following is the BEST definition of dual-homed?

Question 3 options:

Can filter on two OSI layers

Contains two NICs

Performs filtering and logging

Performs packet and content filtering

Question 4

4-10 Which of the following is the name for a lower-end (small business grade) firewall appliance that is capable of packet filtering, content filtering, intrusion detection, proxy, and application layer filtering?

Question 4 options:

UTM

All-in-one

SMB device

NGFW

Question 5

4-11 Which of the following is most often used for protecting a single computer?

Question 5 options:

hardware firewall

virtual firewall

software firewall

firewall appliance

Question 6

4-7 Which of the following were generation one firewalls capable of?

Question 6 options:

Filtering by IP header

Filtering by session layer header

Filtering by data content

Filtering by protocol being used

Question 7

4-6 the earliest firewalls were only capable of which of the following kinds of filtering?

Question 7 options:

Application layer

Stateless

Stateful

Circuit layer

Question 8

4-1 Which of the following were firewalls originally conceived to perform?

Question 8 options:

Block incoming unsolicited traffic

Block outgoing traffic

Both of the above

Neither of the above

Question 9

4-8 Which of the following is the word describing a firewall that is aware of a packet's place in an established and ongoing conversations

Question 9 options:

Content filter

Proxy

Stateless

Stateful

Question 10

4-20 Which of the following refers to a software firewall places on a dedicated server to create an internal hardware firewall?

Question 10 options:

Firewall system

Constructed firewall

Spare part firewall (SPF)

Virtual firewall

In: Computer Science

The project description: As a programmer, you have been asked to write a Java application, using...

The project description: As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospital with the following requirements: • The Hospital has several employees and each one of them has an ID (int), name (string), address (string), mobile phone number (string), email (string) and salary (double) with suitable data types. • The employees are divided into: o Administration staff: who have in addition to the previous information their position (string). o Doctor: who have also a rank (string) and specialty (string). The project requirements: • You will need to create all the needed Java classes with all the required information. • You have to apply all the OOP (Object Oriented Programming) concepts that we have covered in this module (i.e. inheritance, polymorphism, interface and collections) • Include a Microsoft Word document (name it as readme.doc) that includes several screenshots of your Netbeans IDE application GUI interface as well as the output screenshot results. Provide all assumptions that you have made during design and implementation. • Include the whole Netbeans Java project with all source codes. Write as much comments as possible to document your source codes. At the end, you will need to create a testing class (e.g. Hospital.java) with the static main() method with the following requirements: • It must have initial fixed collections of working staff (at least 3 administration staffs and 2 doctors) • The program will print a selection screen where the user can choose the operation he/she wants to perform. The selection screen will be repeated after each selection until the staff type the number 4 to completely exit from the program: 1. Add an administration staff (by providing all her/his information) to the list of all administration staff 2. Add a doctor (by providing all her/his information) to the list of all doctors 3. Print all working staff (remember to differentiate between administration staff and doctors in the output printout 4. Exit the program

In: Computer Science

4.4 Find an article about a company that had to deliver a communication of bad-news to...

4.4 Find an article about a company that had to deliver a communication of bad-news to its constituents or the general public. The bad-news message could be a result of one of the following situations: A product defect or failure A reduction in workforce An under-performing financial quarter A new but unpopular policy such as a pricing strategy Write a 600 to 800 word paper demonstrating clear, insightful critical thinking on the proper approach to delivering bad-news messages. Review the components of bad-news messages: ease in with a buffer, provide a rationale, deliver the bad news, explain impacts, focus on the future and show goodwill. (see LO 11.3 Components of Bad-News Messages). Which components are included in the bad-news message you are reviewing? Which are missing that should have been included? Explain. How well did the bad-news message meet the needs of the victims and other stakeholders? Do you believe the communication was completely fair? Explain. What are three aspects of the bad news message that could have been improved? Explain. Expert Answer Anonymous answered this Was this answer helpful? 0 0 193 answers The problem pertains to the change management at the organisation and giving bad news about the dissolution of the company and hence termination of employment of the employees with the company. Since this news has financial, emotional, psychological and social implications for the employees, it needs to be dealt with utmost sensitivity keeping in mind that employees have been major stakeholders in the growth of the bank and thus they need to be approach with a mature outlook towards their problems. Most business communication professionals do not feel that email is a good way of communicating when the sender has to convey a bad news and it is much better to have a face to face or telephonic conversation in such cases. But, sometimes it is not feasible to have meetings or conversations because of the large number of people involved, unavailability of all the parties, validity and proof of the conversation and geographical distance between the participants.

In: Operations Management

Write and run SQL statements to complete the following tasks Show the details of the vendors...

Write and run SQL statements to complete the following tasks

  1. Show the details of the vendors who are located in area code 615.
  2. Show the details of the products that do not have a value for the attribute v_code.
  3. Show the details of the invoices whose subtotal is greater than 25 but less than 75.
  4. Show the details of the invoice who has the minimum subtotal.
  5. Show the codes and names of the vendors who supplied products.
  6. Using EXCEPT show the codes of the vendors who did not supply any products.
  7. Using ‘NOT IN’ show the codes and names of the vendors who did not supply any products.
  8. List the codes of vendors and the number of products each vendor has supplied, i.e. vendor XXX has supplied xxx products, and vendor YYY has supplied yyy products etc.
  9. List the names and codes of vendors and the number of products each vendor has supplied, i.e. vendor XXX has supplied xxx products, and vendor YYY has supplied yyy products etc.
  10. Add a new attribute (field) status varchar(6) to the EMP table.
  11. Update status for employee '100' to 'Temporary'.
  12. Using inner join, list the details of the products whose line price is greater than 100.

You are required to answer

1.   The SQL statements for each query, which should be copied and pasted into word.

2. tell all the sql command for each question?

tables: -

VENDOR TABLE

V_CODE

V_NAME

V_CONTACT

V_ARAECODE

V_PHONE

V_STATE

V_ORDER

PRODUCT TABLE

P_CODE

P_DESCRIPT

P_INDATE

P_QOH

P_MIN

P_MIN

P_DISCOUNT

V_CODE

CUSTOMER TABLE:

CUS_CODE

CUS_LNAME

CUS_FNAME

CUS_INITIAL

CUS_AREACODE

CUS_PHONE

CUS_BALANCE

INVOICE TABLE:

INV_NUM

CUS_CODE

INV_DATE

INV_SUBTOTAL

INV_TAX

INV_TOTAL

LINE TABLE:

INV_NUMBER

LINE_NUMBER

P_CODE

LINE_UNITS

LINE_PRICE

LINE_TOTAL

EMPLOYEE TABLE:

EMP_NUM

EMP_TITLE

EMP_LNAME

EMP_FNAME

EMP_INITIAL

EMP_DOB

EMP_HIRE_DATE

EMP_AREACODE

EMP_PHONE

EMP_MGR

In: Computer Science

Create a program named MergeSort.java then copy the following code to your program: public static void...

  1. Create a program named MergeSort.java then copy the following code to your program:
    • public static void mergeSort(int[] arr){
         mergeSortRec(arr, 0, arr.length-1);
      }
      private static void mergeSortRec(int[] arr, int first, int last){
         if(first<last){
          int mid=(first+last)/2;
      mergeSortRec(arr, first, mid);
          mergeSortRec(arr, mid+1,last);
          merge(arr, first, mid, mid+1, last);
         }
      }
      private static void merge(int[] arr, int leftFirst,
         int leftLast, int rightFirst, int rightLast){
         int[] aux=new int[arr.length];
         //extra space, this is downside of this algorithm
         int index=leftFirst;
         int saveFirst=leftFirst;
         while(leftFirst<=leftLast && rightFirst <=rightLast){
      if(arr[leftFirst]<=arr[rightFirst]){
         aux[index++]=arr[leftFirst++];
          }else{
         aux[index++]=arr[rightFirst++];
          }
         }
         while(leftFirst<=leftLast){
          aux[index++]=arr[leftFirst++];
         }
         while(rightFirst<=rightLast)
          aux[index++]=arr[rightFirst++];
         for(index=saveFirst; index<=rightLast; index++)
          arr[index]=aux[index];
      }
  2. Write a main method that accepts three numbers N, A, B (assume A<B) from the command argument list, then use the number N to create an N-element int array.
  3. Assign random numbers between [A, B] to each of the N elements of the array.
  4. Call mergeSort method to sort the array.
  5. Write instructions to record the time spent on sorting.
  6. (Optional) you may write code to verify the array was sorted successfully.
  7. Once completed, test your program with different numbers N, A, B and screenshot your result. Your result should include the number of elements and sorting time.
  8. Please include the following in the Word document you created for the assignment for the final submission:  
    • Copy/paste your completed code in MergeSort.java
    • Insert at least one screenshot of the running output in #7 above
    • Answer this question: What is the average Big O for this sort?

In: Computer Science

You work for a hospital in the registration and admissions department, and most of your tasks...

You work for a hospital in the registration and admissions department, and most of your tasks are performed manually. For example, when an individual checks in, you must obtain personal information, details on an individual’s medical background, and hospitalization insurance. You are a strong advocate for information technology and have proposed to IT management that information systems would be beneficial. The hospital has decided to develop and implement an information system that helps to streamline your processes. Since you have extended personal experience with the processes, and you have considerable knowledge of information systems and technology employed by your counterparts at other hospitals, you have been asked to function as the project business analyst. You will work very closely with the IT department’s system analyst. The system analyst has questions regarding the following:

  • What specifically do you do to complete your tasks?
  • What are your thoughts about how technology might improve your processes?
  • What are the challenges and obstacles that would be overcome with the use of an information system?
  • What are your thoughts about the type of information system that might be employed at your hospital?
  • Based on your understanding, what components would be required to implement the information system? For example, would you need any special hardware or software?

In a 3–5-page Word document, be sure to include the following.

  • Summarized list of tasks, or processes, to register and to check in a patient.
  • Benefits of using an information system in support of your day-to-day tasks.
  • Specifics regarding how the information system would help to overcome the present challenges and obstacles.
  • The specific type of information system you recommend (support your recommendation).
  • An outline of all components you see as necessary to implement your recommended information system.
  • Explain how the new information system would help your organization to reduce the overall cost of health care and to improve the profitability of your hospital.

In: Computer Science

As a programmer, you have been asked to write a Java application, using OOP concepts, for...

As a programmer, you have been asked to write a Java application, using OOP concepts, for a Hospital with the following requirements:
• The Hospital has several employees and each one of them has an ID (int), name (string), address (string), mobile phone number (string), email (string) and salary (double) with suitable data types. • The employees are divided into:
o Administration staff: who have in addition to the previous information their position (string). o Doctor: who have also a rank (string) and specialty (string).
The project requirements: • You will need to create all the needed Java classes with all the required information. • You have to apply all the OOP (Object Oriented Programming) concepts that we have covered in this
module (i.e. inheritance, polymorphism, interface and collections)
• Include a Microsoft Word document (name it as readme.doc) that includes several screenshots of
your Netbeans IDE application GUI interface as well as the output screenshot results. Provide all
assumptions that you have made during design and implementation.
• Include the whole Netbeans Java project with all source codes. Write as much comments as possible

At the end, you will need to create a testing class (e.g. Hospital.java) with the static main() method with the following requirements:
• It must have an initial fixed collection of working staff (at least 3 administration staffs and 2
doctors)
• The program will print a selection screen where the user can choose the operation
he/she wants to perform. The selection screen will be repeated after each selection until the staff
type the number 4 to completely exit from the program:
1. Add an administration staff (by providing all her/his information) to the list of all
administration staff
2. Add a doctor (by providing all her/his information) to the list of all doctors
3. Print all working staff (remember to differentiate between administration staff and doctors
in the output printout
4. Exit the program

In: Computer Science

You are studying a population of wild turtles on a remote Pacific island. You have been...

You are studying a population of wild turtles on a remote Pacific island. You have been following the allelic frequencies at a single two-allele locus 'S', which controls embryonic survival through simple Mendelian inheritance with dominance. The population has been in Hardy-Weinberg equilibrium at this locus for many generations.

At Hardy-Weinberg equilibrium, the frequency of the recessive allele Sd is 0.88

The genotypic frequencies at Hardy-Weinberg equilibrium are as follows:

f(SDSD) = 0.0144

f(SDSd) = 0.2112

f(SdSd) = 0.7744

An increase in ocean temperature between 2018 and 2019 is thought to have driven the population away from Hardy-Weinberg equilibrium at the S locus.

The numbers of sampled offspring by genotype after the 2019 hatch are as follows:

SDSD : 200

SDSd : 200

SdSd : 40

Calculate the relative fitness (W) values for each genotype (you will need all these values in a subsequent step).

a) The relative fitness value for the SdSd genotype is [A] (enter your answer as a decimal in the form '0.x'; do not spell out the number as a word; there are no units to include)

b) The type or form of natural selection that has occurred is [B] (use the specific phrase that describes this form of selection completely!).

Now, calculate all genotypic frequencies in the 2019 offspring (first generation after selection):

c) post-selection f(SDSD) = [C] (perform this and the following two calculations (d and e) to four significant figures after the decimal point; enter your answers in the exact form '0.wxyz'; make sure to round off correctly; there are no units)

d) post-selection f(SDSd) = [D]

e) post-selection f(SdSd) = [E]

f) The frequency of the Sd recessive allele in the 2019 offspring (first generation after selection) is [F] (perform the calculation with four significant figures, then round off to 2 significant figures in the final answer; enter your answer in the exact form '0.xy')

In: Biology