Describe how you would develop object-oriented
features of Java for the Quiz program developed in the Programming
Assignments. In particular, describe how the program could use each
of the following: class variables, instance variables, inheritance,
polymorphism, abstract classes, "this", "super", interfaces, and
event listeners.
Your Discussion should be at least 250 words in
length, but not more than 750 words. Once you’ve completed your
initial post, be sure to respond to the posts of at least 3 of your
classmates.
In: Computer Science
1. Implement the stack abstract data type. Write it as a separate class called Stack. For simplicity the data type to be stored in the stack is String but you can also use generic type.
2. Test your class implementation by calling push() and pop(). If the stack is empty (size equals zero) pop() should return null and print that “stack is empty”. If stack is full (size equals max) push() returns false and prints that “stack is full”.
This needs to be done in Java
In: Computer Science
Language
For this question compare and contrast the role of language as seen by the theorist’s: Jean Piaget and Lev Vygotsky. Be sure to: 1-explain how they both viewed language in similar ways, 2-how they differed in their views of language and lastly, being that one theorist felt stronger about the role of language leading to higher levels of abstract thinking, what would Piaget/Vygotsky say to one another if they were given the opportunity to critique each other on their differing views. Please do not forgot CITE
In: Psychology
Assume there are two plots of vineyard land, X and Y. If X costs
twice as much as Y and rents and discount rates are the same for
each plot, the price difference can only be causes by different
growth rates.
a) For both plots, provide an abstract equation for the growth rate
g. Assume that plot Y’s price is NPV.
b) Based on your answer to (a), and assuming that the price-to-rent ratio for plot Y equals 12 and i=0.06 , what are the respective growth rates?
In: Economics
Problem 3 Find the solutions to the general cubic a x^3 +b x^2+c x +d=0 and the solutions to the general quartic a x^4+b x^3+c x^2+d x+e=0. Remember to put a space between your letters. The solutions to the general quartic goes on for two pages it is a good idea to maximize your page to see it. It is a theorem in modern abstract algebra that there is no solution to the general quintic in terms of radicals.
In: Advanced Math
This study examined empirically the cash management practices and
its effect on the financial performance of
SMEs in Jordan. However cash shortage is a chronic challenge to
these firms, and cash management is very
crucial to the survival and growth of small and medium
enterprises.
To meet the objective of this study, the researcher sampled firms
operating in various sectors of economic
activity. A structured questionnaire was used to collect primary
data from the respondents which were analyzed
to generate frequencies and percentages.
The study revealed that only (32) percent from SMEs kept track of
Cash Receipts and payment. and the majority
(67%) of respondents have no knowledge about cash control
procedures. The study concluded that cash
management practices have influence on the financial performance of
SMEs. The researchers recommend to the
need to for SME managers to embrace efficient cash management
practices as a strategy to improve their
financial performance .
Keywords: Cash management, cash surplus, cash deficit, cash
control, small and Medium enterprises.
(you should be able to answer the questions by reading the abstract of the article only):
A. Explain the issues mentioned in the abstract which the author would like to explore on.
B. Assume that you are the cash manager of such
Enterprises, how would you support them with cash management
practices for better financial performance of SMEs.
In: Accounting
Abstract
Medical health insurance is one of the most discussed topics in the media, bet patients, and healthcare providers. In fact, medical health insurance coverage plays a significant role in the outcome of a patient healthcare because it determines the quality of care and the type of treatments that a patient may receive. Although medical health insurance is essential for patients and their care, it can become very costly. But the cost of medical care can be even more devastating to a family that cannot afford coverage. Medical bills can be a financial burden on these families. In addition, families that cannot afford to pay or have minimum coverage, there care is very different according to research. Significant research has proven the pros and cons of patients that have enough coverage or the right type of coverage versus those that do not. This paper will offer some insight into how the health insurance companies operates, the types of insurances that are available, and how insurance works. This paper will also discuss how patients are impacted with or without medical health insurance.
Question
You are conducting a research to find out the negative effects that heath insurance have in patients. You will be using a survey for your research
after reading the above abstract are you leading to a “qualitative” or “quantitative” research? Explain
400 words no plagiarism please
In: Statistics and Probability
Abstract ‘In the present study, we report an efficient invitro propagation system. Shoot apices of six weeks old in vitro grown G. scabra plants were used as explants for the in vitro propagation. Induction of multiple shoots (9.1/explant) was achieved on the culture of shoot apices on half strength Murashige and Skoog’s basal medium (MSBM) containing 2.0 mg/L−1 6-benzylaminopurine (BA), 3% sucrose and 0.9% Difco agar. In vitro shoots induced profuse rooting on half strength of MSBM supplemented with 0.1 mg/L−1 1-naphthaleneacetic acid (NAA), 3% sucrose and 0.3% gelrite. A two-stage ventilation closure procedure during the in vitro culture, and transparent sachet technique enhanced the survival rate of G. scabra plantlets to 96% in the greenhouse. Tissue culture plants flowered after 5 months of transfer to pots.A simple and an efficient in vitro propagation protocol of Gentiana scabra Bunge by optimizing the medium composition and ventilation closure treatments has been developed. The protocol can be very useful in germplasm conservation and commercial cultivation of G. scabra plants’’.
i. Based on your scientific understanding write the aim and objective for the given abstract and should be written with proper citations(APA format). (one paragraph/maximum 100 words)
In: Biology
In C++ Create an abstract class called Shape Shape should have the following pure virtual functions: getArea() setArea() printArea() Create classes to inherit from the base class Circle Square Rectangle Both implement the functions derived from the abstract base class AND must have private variables and functions unique to them like double Radius double length calculateArea() Use the spreadsheet info.txt read in information about the circle, rectangle, or square
text file:
circle 3.5
square 3
rectangle 38 36
circle 23
rectangle 2 13
square 12
square 24
square 1
square 8
square 27
rectangle 22 13
rectangle 22 18
rectangle 14 27
circle 11
circle 18
square 5
example output:
Name Area
***********************
circle 1 38.47 square 1 9.00 rectangle 1 1368.00 circle 2 1661.06 rectangle 2 26.00 square 2 144.00 square 3 576.00 square 4 1.00 square 5 64.00 square 6 729.00 rectangle 3 286.00 rectangle 4 396.00 rectangle 5 378.00 circle 3 379.94 circle 4 1017.36 square 7 25.00 *********************** Total Area 7098.82
In: Computer Science
EDIT*****
I figured it out. I will post the solution in a bit...
I could use some help with the following problem that implements the Abstract Factory Pattern:
Consider 2 SALES RECEIPT classes: RECEIPT1 and RECEIPT2.
RECEIPT1 has a method that displays the message “Receipt Body 1”.
RECEIPT2 has a method that displays the message “Receipt Body 2”. A SALES RECEIPT object has exactly 1 header and 1 footer.
There are 2 possible HEADER classes (HEADER1 and HEADER2) and 2 possible FOOTER classes (FOOTER1 and FOOTER2). HEADER1 class has a method that displays the message “Header 1”. HEADER2 class has a method that displays the message “Header 2”. FOOTER1 class has a method that displays the message “Footer 1”. FOOTER2 class has a method that displays the message “Footer 2”. HEADER1 should be used with RECEIPT1 and FOOTER1. HEADER2 should be used with RECEIPT2 and FOOTER2.
You must use the abstract factory pattern to create sales receipts.
1) Draw the UML class diagram.
2) Provide the implementation code of the UML class diagram given in question 1 in Java. The object created by the client code should display the following message: ”Header 1 Receipt Body 1 Footer 1”.
In: Computer Science