Write a program that plays the subtraction game (Nim).
Write a program that plays the subtraction game (Nim). We have written a simplied version before….as a reminder, The game is such that there are initially 21 stones. Each player takes turns removing 1-3 stones on their turn (their choice). Play alternates back and forth. The person who takes the last stone is the loser… Rather than having another player have a computer AI remove 1-3 stones randomly (to a degree, when 4 stones or less hard-coded choices). Create at least two functions, aiMove, and userMove…these functions should return the amount of stones to take from the pot.code:import randomdef main(): stones = 21; #TODO: # – Randomly determine starting player # – Alternate between AI and User, calling their methods # – When a player takes the last stone, end the game and state that they lost.def userTurn(sPile): A function that asks the user how many stones to take, and returns that amount. It also checks to make sure that the user enters a valid choice (1-3, or less if the pile of stones doesn’t have 3). :param sPile the number of stones in the pile :return the valid number of stones to take —0 is place holder #TODO: complete the method to ask the user for a number of stones to take (keep asking until valid). return(0)def aiTurn(sPile): A function that randomly generates a number of stones to take…1-3, or use if-statements when 4 or less stones remaining :param sPile the number of stones in the pile :return the valid number of stones to take —0 is place holder #TODO: complete the method to randomly generate the number of stones to take. return(0)main()
What is fraud? Who perpetrates it? What is its impact on business? Why does fraud still persist after the scandals of WorldCom and Enron in the early 2000s and the passage of Sarbanes-Oxley
1. What is fraud? Who perpetrates it? What is its impact on business? Why does fraud still persist after the scandals of WorldCom and Enron in the early 2000s and the passage of Sarbanes-Oxley?2. Class?.. Let me get us started:Skimming ? An “off-book” fraud scheme that is manifested by the theft of cash from a victim entity before it is entered into the accounting records. Various types of sales skimming schemes include:33Fraud is an intentional act by one or more individuals among management, those charged with governance, employees, or third partit’s, involving the use of deception to obtain an unjust or illegal advantage.Fraudulent financial data reporting process which can be done through manipulation of books, records and documents, omission of certain transactions, misapplication of accounting principles (of course when these are done intentionally).The two analytical tests for detection of fraud are as follows :-1. Sureprise checks2. Walk through test or Examination in depth1. Surprise checks:-The auditor visiting the premises of client without giving prior intimation. Surprise checks are a part of normal audit procedures. An element of surprise can significantly improve the audit effectiveness. Wherever, practical, an element of surprise should be incorporated in the audit procedures.The following are the important recommendations:-1. The element of surprise in an audit may be, both in regard to the time of audit. That is selection of date of surprise checks) and selection of areas of check.2. Areas of surprise check :- the areas over which surprise checks should be employed would depend upon the circumstances of each audit but should normally include:-A. Cash and investmentB. Stores and inventoriesC. Books of prime entry and statutory registersD. Internal controls and internal checks
Analyze the dominant minority relations for two disadvantaged groups during colonial times and during WWII. Discuss the relationship and how the disadvantaged group dealt with either racism, discrimination or prejudice. Define and analyze sociological concepts and theories that pertain to these issues
PowerPoint presentation- Analyze the dominant minority relations for two disadvantaged groups during colonial times and during WWII. Discuss the relationship and how the disadvantaged group dealt with either racism, discrimination or prejudice. Define and analyze sociological concepts and theories that pertain to these issues.put together a presentation Your Presentation must do the following:1) Describe and illustrate a historical example occurring in the U.S. between colonial times to WWII that demonstrates the development of dominant-minority relations for TWO different disadvantaged groups (groups may include those based on race, gender, ethnicity, class, country of origin, religion, or another status relevant to stratification). You must integrate the course materials.2) Analyze ways in which the two disadvantaged groups you chose to cope with discrimination and prejudice today. For example, have they created anti-defamation leagues, lobbied for changes in laws, created a social movement, or taken other measures toward non-discrimination and equality? Please be specific. (You will need to research this information outside of the course materials; include at least 2 peer-reviewed journal articles that are five years old or less).3) Define and analyze two concepts (for example racism, sexism, stratification, patriarchy, etc.) from our course materials, explaining how these concepts help us better understand the two groups you are discussing. You may find our Sociological Theories and Concepts Toolkit to be helpful (found in Announcements).4) Define and analyze two sociological theories (for example, feminist theory, critical race theory, conflict theory, symbolic interactionism, functionalist theory, etc.) from our course materials or outside scholarly sources, explaining how these theories help us better understand the two groups you are discussing. You may find our Sociological Theories and Concepts Toolkit to be helpful (found in Announcements).
Find the critical numbers of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.) f(x) = 4 + 1/3x ? 1/2x^2Find the critical numbers of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.) f(x) = x^3 + 3x^2 ? 189xFind the critical numbers of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.)f(x) = 8×3 ? 12×2 ? 144x Find the critical numbers of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.) f(x) = x^5 e^?7x x=?Find the absolute maximum and absolute minimum values of f on the given interval. f(x) = 16 + 2x ? x^2, [0, 5] absolute minimum value =? absolute maximum value =?Find the absolute maximum and absolute minimum values of f on the given interval. f(x) = x/x^2 ? x + 25 , [0, 15]absolute minimum value =? absolute maximum value =?7- f(x) = x^5 ? x^3 + 4, ?1 ? x ? 1 (a) Use a graph to find the absolute maximum and minimum values of the function to two decimal places
Need just the last answer :Find the critical numbers of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.) f(x) = 4 + 1/3x ? 1/2x^2Find the critical numbers of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.) f(x) = x^3 + 3x^2 ? 189xFind the critical numbers of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.)f(x) = 8×3 ? 12×2 ? 144x Find the critical numbers of the function. (Enter your answers as a comma-separated list. If an answer does not exist, enter DNE.) f(x) = x^5 e^?7x x=?Find the absolute maximum and absolute minimum values of f on the given interval. f(x) = 16 + 2x ? x^2, [0, 5] absolute minimum value =? absolute maximum value =?Find the absolute maximum and absolute minimum values of f on the given interval. f(x) = x/x^2 ? x + 25 , [0, 15]absolute minimum value =? absolute maximum value =?7- f(x) = x^5 ? x^3 + 4, ?1 ? x ? 1 (a) Use a graph to find the absolute maximum and minimum values of the function to two decimal places.Maximum =?Minimum =?(b) Use calculus to find the exact maximum and minimum values. Maximum =?Minimum =?After an antibiotic tablet is taken, the concentration of the antibiotic in the bloodstream is modeled by the functionC(t) = 4(e?0.4t ? e?0.6t)where the time t is measured in hours and C is measured in æg/mL. What is the maximum concentration of the antibiotic during the first 12 hours? (Round your answer to four decimal places.)
How can we observe the centrality of economic motivation to sell sexual services in the historical studies of prostitution?
Chose one of the following short essay prompts to address for the course midterm. Please identify which prompt you are addressing in your submission. Timothy Gilfoyle emphasizes the importance of contextualizing historical moments of selling sex within a larger context of political, economic, and cultural histories (120). How does Gilfoyle demonstrate the significance of such a perspective? What impact does the prescribed perspective have on research/the work produced? Use 2 or more examples from the text(s)/lecture as evidence. Must use at least 2 different in-class sources.Prompt TwoIn his review of the historical literature on prostitution, Gilfoyle notes how prostitution is ultimately an economic response to ?different patterns of accumulation and reinvestment? (126). How can we observe the centrality of economic motivation to sell sexual services in the historical studies of prostitution? Use 2 or more examples from text(s)/lecture as evidence. Must use at least 2 different in-class sources.Prompt ThreeIdentify one key theme or topic from W1-W3 (examples include “policing of prostitution”, or “prostitution as both symbol of modernity AND lack of progress (Landeau, 36)”). Compare and contrast how this theme manifests in 2 different locations from the course. You may choose a historical period covered in the class (Ancient Mesopotamia, Ancient Greece, Regulationist France, etc.) or specific red-light districts (London, Yoshiwara, Storyville, NYC, Barbary Coast, etc.). Use 2 or more examples from the text(s)/lecture as evidence. Must use at least 2 different in-class sources.
What is the meaning(s) of the term Eudamonia, per Aristotle?What is the significance of the term Eudamonia in the context of philosophical ethics?What are other terms with which the term Eudamonia is associated or contrasted
Aristotle, Nicomachean EthicsIn what context the term Eudamonia is introduced or applied in the text?What is the meaning(s) of the term Eudamonia, per Aristotle?What is the significance of the term Eudamonia in the context of philosophical ethics?What are other terms with which the term Eudamonia is associated or contrasted? Give an example of any questions or confusions you have about the meaning or application of the term Eudamonia.Aristotle, Nicomachean EthicsIn what context the term Deliberation is introduced or applied in the text?What is the meaning(s) of the term Deliberation, per Aristotle?What is the significance of the term Deliberation in the context of philosophical ethics?What are other terms with which the term Deliberation is associated or contrasted? Give an example of any questions or confusions you have about the meaning or application of the term Deliberation.Kant, Grounding for the Metaphysic of MoralsIn what context the term The Good Will is introduced or applied in the text?What is the meaning(s) of the term The Good Will, per Aristotle?What is the significance of the term The Good Will in the context of philosophical ethics?What are other terms with which the term The Good Will is associated or contrasted? Give an example of any questions or confusions you have about the meaning or application of the term The Good Will.Kant, Grounding for the Metaphysic of MoralsIn what context the term Duty is introduced or applied in the text?What is the meaning(s) of the term Duty, per Aristotle?What is the significance of the term Duty in the context of philosophical ethics?What are other terms with which the term Duty is associated or contrasted? Give an example of any questions or confusions you have about the meaning or application of the term Duty.
What are some of the real-world social contexts (relationships, groups, institutions, etc.) in which primary and secondary socialization take place?
Party 1 Please respond to the following prompt in no less than 5 paragraphs . In your response, you must fully answer all aspects of the question and support your answer with reference to course materials (textbook, supplementary readings, videos, etc).What are some of the real-world social contexts (relationships, groups, institutions, etc.) in which primary and secondary socialization take place? Who are the significant others – i.e., people whose guidance, example, or judgment matters – in these contexts? What do you think are the roles these two different forms of socialization play in a person’s development over a lifetime?Please choose one of the following prompts and respond to it in no less than 5 paragraphs. In your response, you must fully answer all aspects of the question and support your answer with reference to course materials (textbook, supplementary readings, videos, etc).Choose a social group that was once considered “deviant,” but is now considered more acceptable in our society. How did this group migrate from deviance to normality? How was that change possible, given what you now know about theories of culture, meaning, deviance, etc.?Choose a social group that is currently struggling against a deviant label. What actions does this group engage in that society considers deviant? Why does society have an interest (or at least think it has an interest) in informally or formally sanctioning those actions? Are there any social factors that have pressured that group to engage in the actions in question?
What other benefits might come from a qualitative design in program evaluation? What challenges might occur?
According to Patton (2003), some grant reviewers note that they like to see a qualitative element even if the overall design of the program evaluation is quantitative; it can ?personalize and humanize evaluation.? What other benefits might come from a qualitative design in program evaluation? What challenges might occur?In this Discussion, you explore the impact that qualitative methods might have on your program evaluation.To prepare:Review the Patton reading, ?Qualitative Evaluation Checklist,? from this week?s Learning Resources.From the articles in the Learning Resources, select and review at least one article from each type of evaluation design (process evaluation, case study, monitoring program activities), for a total of at least three articles.Pay attention to why and how these types of evaluations were conducted. How did they serve the needs and goals of program evaluation?What is different about these three types of evaluations?What are some special challenges for conducting each type?By Day 3Post your comprehensive response to each of the following:Briefly restate the purpose of your program evaluation.Select one of the three methods applied in the articles you have reviewed.Using the general situation presented in your RFP (e.g., a school anti-bullying program), describe a situation where the method you selected would be appropriate to the questions and planned uses of the information, as well as other considerations raised by Patton (see Patton?s checklist).Why would this method be appropriate in this situation? List the reasons.Explain the strengths and limitations that might happen in a program evaluation that includes qualitative design elements.What are some of your thoughts for how you would design this kind of evaluation for this kind of situation? (If your RFP already involves one of these three types, e.g., a process evaluation, select another type for this application question.)
What are some things you can do to improve your intelligence? Why do you believe these things will improve your intelligence?
I.Q. (intelligence quotient): In general, it is an assessment of your ability to think and reason. An IQ score is a standardized way of comparing this ability with the majority of people the same age as you. A score of 100 means that compared to these people in your general age group, you have basically an average intelligence. Most psychologists would say those scoring in a range of 95 to 105 are of normal intelligence or have an average IQ. The actual IQ score may vary plus or minus five points since it is very difficult to get an IQ score with complete accuracy.Take an IQ test; there are many available for free online, such as The Free IQ Test. While you are taking it, try to notice the questions and how you are being tested.For this assignment, write a 2-page double-spaced paper:Share your results if you feel comfortable. Do you believe it truly reflects your intelligence? What are some things you can do to improve your intelligence? Why do you believe these things will improve your intelligence? Cite from your unit readings and/or outsides resources to support your statements about ways to improve your intelligence.Many argue that IQ tests only measure analytical intelligence, but other researchers have argued that there is more than one type of intelligence. Sternberg proposed a triarchic theory of intelligence, and Gardner proposed 8 specific bits of intelligence. What do you think is the best model for measuring intelligence, and why?
Identify and define a delay/disorder that impacts speech and language development. Discuss the key characteristics of the delay/disorder.
For the final project, you will be researching a cognitive, genetic or biological delay, or a
specific disorder and its impact on language development.
Your assignment this week is to choose a research topic for your project that is most
interesting to you and provide the following information:
? Identify and define a delay/disorder that impacts speech and
language development. Discuss the key characteristics of the delay/disorder.
? Explain why you selected this area of study.
? Share what you hope to learn in your examination of this topic.
Suggested topics include, but are not limited to, Autism Spectrum Disorder (or any related
social communication disorder), Aspergers Syndrome, Dyslexia, Hearing Impairment,
Down Syndrome, or Williams Syndrome.
Guidelines:
? One page minimum, not counting a cover page and any references used in
your initial exploration of the topic.
? Employ 6th edition APA Style Formatting
o Typed, double spaced, 12 point Times New Roman font
o Cover page and (if necessary) Reference page
? Add as many sections as needed, but should include at minimum:
o Introduction
o Body
o Conclusion
Be sure to read the criteria, by which your paper/project will be evaluated, before you write,
and again after you write.
Evaluation Rubric for Research Topic Selection Assignment
CRITERIA Deficient Satisfactory Proficient
0 ? 16 Points 17 ? 21 Points 22 ? 25 Points
Identified Research
Topic and Definition
Does not adequately
identify and/or
define research
topic.
Research topic is
presented, though
may not be clear or
complete.
Research topic is
clearly presented
including all criteria
outlined above.
Characteristics of
Delay / Disorder
Key characteristics
are missing or
incorrect.
Characteristics are
mostly accurate;
some key
characteristics are
not mentioned.
Key characteristics
are accurate and
discussed in clear
detail.
Personal Interests
Does not
adequately
address personal
interest in topic.
Personal interests
are mostly
addressed, though
may not be clear or
complete.
Personal interests
are clearly
presented.