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()
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
Keeping track of project tasks is a significant factor is the successful, and timely completion of a project. Imagine that you are a project manager. During a weekly meeting, you notice that 75% of the tasks have a 90-day variance. What does this mean? How can this impact the overall resources and costs? How would you plan to get the project back on track?
HIMA360-Keeping track of project tasks is a significant factor is the successful, and timely completion of a project. Imagine that you are a project manager. During a weekly meeting, you notice that 75% of the tasks have a 90-day variance. What does this mean? How can this impact the overall resources and costs? How would you plan to get the project back on track?
HIMA410-Data sampling is a common strategy used to test and draw conclusions about a larger group of data. Review the CDCs sample statistics on infectious diseases. Discuss the key elements or guidelines for accurately sampling data, as well as associated risks and benefits of sampling. Provide an example from the CDC data.
You are a medical professor in charge of creating college assignments and answers for medical college students. You design and conduct lectures, evaluate student performance and provide feedback through examinations and assignments. Answer each question separately. Include and Introduction. Provide an answer to this content
HIMA360-Keeping track of project tasks is a significant factor is the successful, and timely completion of a project. Imagine that you are a project manager. During a weekly meeting, you notice that 75% of the tasks have a 90-day variance. What does this mean? How can this impact the overall resources and costs? How would you plan to get the project back on track?
HIMA410-Data sampling is a common strategy used to test and draw conclusions about a larger group of data. Review the CDCs sample statistics on infectious diseases. Discuss the key elements or guidelines for accurately sampling data, as well as associated risks and benefits of sampling. Provide an example from the CDC data.
Using a systematic approach, search a range of appropriate databases to identify ONE original, peer reviewed PRIMARY research article. The research design of your chosen article will include either qualitative and/or quantitative data.
Using a systematic approach, search a range of appropriate databases to identify ONE original, peer reviewed PRIMARY research article. The research design of your chosen article will include either qualitative and/or quantitative data. Introduction: This section introduces and recognises the importance of evidence-based practice within pre-hospital care. Critically reflect upon your own and other stakeholders involvement in the research process. Provide a brief introduction of your chosen area of enquiry to signpost the assignment. Background: This section will include how you formulated the research question and introduces the title of the primary study chosen for critical appraisal. Evidence of your search will be included either within this section or attached as an appendix. (PRISMA flow chart) Main body: This section includes the design and methodology of the study chosen; the strengths and weaknesses of the study and a critique using an appropriate critical appraisal checklist. (CASP check list). Describe here the difference between primary and secondary research. Discuss here the validity of the research such as factors such as did the research take place in just a rural or urban environment? How long the study took place? Did the research take place in an affluent or poor environment? And how would these factors affect the results and validity of the findings. Discuss the difference here between quantitative (numeric values) and qualitative research (opinions)Conclusion: This section summarises your interpretation of the findings, conclusions of the study and the impact on pre hospital healthcare.Ensure that it- Demonstrates knowledge and understanding of research methodologies and methods and the show ability to appraise them. Demonstrate the ability to formulate a research question and critically use search skills to undertake a literature search. Demonstrate competence in appraising research and evidence. Understand and apply the necessary ethical considerations required of research specific to practice.
What are the pros and cons of plea bargaining for the defense attorney, prosecution, judge, and of course, the defendant? Are defendants being coerced into accepting a plea deal? Explain.
When you are faced with criminal prosecution, you could take your case to trial, or if offered, accept a plea bargain in exchange for a guilty plea. However, going to trial can be risky since the fate of that trial is in the hands of a jury, which will decide guilt or innocence. Most defendants will accept a plea agreement rather than taking the risk of a jury trial.
What are the pros and cons of plea bargaining for the defense attorney, prosecution, judge, and of course, the defendant? Are defendants being coerced into accepting a plea deal? Explain.
Clarify personal and professional values and recognize their impact on decision-making and professional behavior.
Professional Values Professional Ethics
Description: The baccalaureate-graduate nurse will discuss their
professional values and the ANA Code of Ethics.
Course Competency(ies): 1) Demonstrate understanding of the
professional values which form the foundation of professional nursing.
7) Clarify personal and professional values and recognize their impact
on decision-making and professional behavior.
QSEN Competency(ies): 4) Quality Improvement
BSN Essential VIII
You are a medical professor in charge of creating college assignments and answers for medical college students. You design and conduct lectures, evaluate student performance and provide feedback through examinations and assignments. Answer each question separately. Include and Introduction. Provide an answer to this content
From the Scientific or Industrial Revolution that you plan to choose explain why you choose this event for your timeline, how it reveals and shaped its social context (economic, political, and cultural setting), and whether people at this time understood the importance of the event. i
Choose one event From the Scientific or Industrial Revolution that you plan to choose explain why you choose this event for your timeline, how it reveals and shaped its social context (economic, political, and cultural setting), and whether people at this time understood the importance of the event. include on your timeline relating to the history of technology or engineering.
The Scientific Revolution is generally thought to span the 16th and 17th centuries, while the Industrial Revolution between 1760 and approximately 1840.
Describe the event here, including details about the event itself as well as its significance to the development of mathematics.
Explain why you choose this event for your timeline, how it reveals and shaped its social context (economic, political, and cultural setting), and whether people at this time understood the importance of the event.
Create a GUI program, When to Seek a Physician!, the user (sick patient) should have a list from age to symptoms, which should display options of when the user should seek help. The selection should tell the user the difference between a cold and flu, and a difference between an adult and a child sickness that needs to see a doctor.
Create a GUI program, When to Seek a Physician!, the user (sick patient) should have a list from age to symptoms, which should display options of when the user should seek help. The selection should tell the user the difference between a cold and flu, and a difference between an adult and a child sickness that needs to see a doctor.” Below, you should use these examples to help you with your program. Again, based on the user selection, the message should tell the differences between a cold and flu, and an adult and a child sickness.
Describe at least one common client problem, issue, or gap in services or programs at your field agency, practice, or community setting.
Describe at least one common client problem, issue, or gap in services or programs at your field agency, practice, or community setting. (If you are not currently in a practice setting, you may draw on your past work or practicum experience.) Specifically, highlight what you see that tells you clients need something more than what the agency, practice, or community setting is offering. Identify a program that you think is necessary to address the problem, issue, or gap and explain why. Generate a question that you might ask about your identified need and to whom.
Write an argumentative paper on why music improves athletic performance. Formulateyour topic to ensure that your essay provides critical and/or interpretive analysis and argumentation.
Write an argumentative paper on why music improves athletic performance. Formulateyour topic to ensure that your essay provides critical and/or interpretive analysis and argumentation.Ensure that you provide specific analysis and interpretation to support your thesis as well. Your papershould present the synthesis of your findings and inquiry into your topic. Based on your analysis andinterpretation, along with perspectives and information you have gathered from your sources, yourresearch paper should be a creation that is uniquely yours. Your paper must reference at least twoscholarly peer-reviewed sources (Use University of Arizona Library website if possible). Make sure it is at least 5 pages long.