Posts

Are reflex actions (such as flinching from a hot stove) rational? Are they intelligent?

SCI 1000C – Scientific Inquiry: Artificial Intelligence
Problem Set
Instructions: Be sure to answer every part of each question to receive maximum credit on this assignment. Every question is worth 10 points (if there are multiple parts to a question, their total sums to 10 points) for a maximum of 100 points. If any part of your answer to any question is copied from a solutions manual or other online source, this is considered cheating and you will receive 0 points for that question and be at risk for failing the assignment. Please submit your typed answers as a PDF file through the Blackboard portal.
1. Science intro
a. Is AI a branch of science, or is it engineering? Neither science nor engineering? Both science and engineering? Explain your reasoning.
b. Are reflex actions (such as flinching from a hot stove) rational? Are they intelligent?
c. Why would evolution tend to result in systems that act rationally? What goals are those systems designed to achieve?
2. Task feasibility
Discover whether the following tasks can currently be solved by computers and elaborate on how the task is solved. For the currently infeasible (or semi-feasible) tasks, try to examine what the difficulties are and predict when, if ever, they will be overcome.
a. Playing a decent game of ping pong
b. Driving in the center of Cairo, Egypt
c. Driving in Victorville, California
d. Buying a week’s worth of groceries at the market
e. Buying a week’s worth of groceries on the web
f. Discovering and proving new mathematical theorems
g. Writing an intentionally funny story
h. Giving competent legal advice in a specialized area of law
i. Translating spoken English into spoken Swedish in real time
j. Performing a complex surgical operation
3. Search engines
We’re going to explore the results of a few different search engines by designing an experiment. Four common search engines that people use are Google, Bing, Yahoo, and AOL, and we’re going test each of them.
Choose 5 search terms that you will run a search for in each of the four mentioned search engines. These searches can be anything you want, but you should try to vary how general or specific they are to get a feel for the nuances in various search engines.
First, hypothesize which search engine you believe will perform “the best” on each search you run. What does “the best” even mean? Well, that can depend on the context:
• You might want to broaden your scope and look at the first 20 answers returned, with the objective of getting as much relevant information as possible. (e.g. your boss wants to ensure that you have a general enough understanding of a topic)
• Or you might be crunched for time, need only one relevant document, and will go down the list until you find the first one. (e.g. a manager needs something urgently regardless of quality, breadth, or depth of information)
• And maybe you have a narrow query and can examine all the answers retrieved, because you want to be sure that you have seen everything in the search results that is relevant to your query. (e.g. a lawyer wants to be sure that she has found all relevant precedents, and is willing to spend considerable resources on that)
You’ll browse the user interface and click through a few pages of results for each search engine.
a. List your hypothesis about which search engine you think will perform “best” for each search you run. Be sure to provide what searches you are running so I can replicate results if needed.
b. Do all the search engines generally look or behave the same? Why might this be?
c. Is there anything unique about the user experience of each search engine?
d. Comment on the quality of the results for each term on each search engine.
e. Was your hypothesis supported by your observations? Explain.
4. The Almanac Game
This problem is themed around the Almanac Game, which is used by decision analysts to calibrate numeric estimation. For each of the questions that follow, give your best guess of the answer, that is, a number that you think is as likely to be too high as it is to be too low. Also give your guess at a 25th percentile estimate, that is, a number that you think has a 25% chance of being too high, and a 75% chance of being too low. Do the same for the 75th percentile. You should give three estimates in all for each question – low, median, and high.
The idea here is to improve your guessing accuracy as you progress from (a) to (t). After you finish estimating (j), check your answers so far by searching on the Internet. Use this to gauge your estimation abilities and then answer (k) through (t) with that knowledge in mind.
From the point of view of decision analysts, the interesting thing is not how close your median guesses came to the real answers, but rather how often the real answer came within your 25% and 75% bounds. If it was about half the time, then your bounds are accurate. If you are like most people, you will be more sure of yourself than you should be, and fewer than half the answers will fall within the bounds. With practice, you can calibrate yourself to give realistic bounds, and thus be more useful in supplying information for decision making.
a. Number of passengers who flew between New York and Los Angeles in 1989
b. Population of Warsaw in 1992
c. Year in which Coronado discovered the Mississippi River
d. Number of votes received by Jimmy Carter in the 1976 presidential election
e. Age of the oldest living tree, as of 2002
f. Height of the Hoover Dam in feet
g. Number of eggs produced in Oregon in 1985
h. Number of Buddhists in the world in 1992
i. Number of deaths due to AIDS in the United States in 1981
j. Number of U.S. patents granted in 1901
[STOP – as we mentioned in the instructions, go back and check your estimates for questions a-j. You’ll then answer questions k-t with more calibrated estimation and quantitative reasoning skills.]
k. Year of birth of Zsa Zsa Gabor
l. Maximum distance from Mars to the sun in miles
m. Value in dollars of exports of wheat from the United States in 1992
n. Tons handled by the port of Honolulu in 1991
o. Annual salary in dollars of the governor of California in 1993
p. Population of San Diego in 1990
q. Year in which Roger Williams founded Providence, Rhode Island
r. Height of Mt. Kilimanjaro in feet
s. Length of the Brooklyn Bridge in feet
t. Number of deaths due to automobile accidents in the United States in 1992
5. Everyday algorithms
Formulate a model and develop an algorithm to solve each of the following problems. In each case, start with a simple algorithm, then think about situations that can realistically go wrong, and then make any appropriate adjustments to your algorithm.
Decide on the level of abstraction you want in your pseudocode and create any necessary sub-algorithms (also known as functions) along the way. Be sure to simplify your pseudocode with control flow techniques such as choice (if-then-else statements) or loops (count-controlled, condition-controlled).
Keep in mind that there is no “correct” answer to these problems, so everyone will have a unique solution. The thought process is what counts!
a. Making 2 peanut butter and jelly sandwiches
b. Playing a game of musical chairs
c. Getting home from school or work
6. Rational agents
Suppose that the performance measure of an intelligent agent is concerned with just the first 𝑇 time steps of the environment and ignores everything afterward. In this problem, we’ll demonstrate that a rational agent’s action may depend not just on the state of the environment but also on the time step it has reached.
Let’s assume that the agent exists in a sequential environment in which rewards take time to arrive – then we can say that the rewards are “over the horizon” and gained at some point after time 𝑇. Suppose that there are 2 states (𝑠 and 𝑠’), and 1 of 2 actions (𝑎 or 𝑏) can be performed in each state. At time 𝑇–1, an action moves it to time 𝑇. At time 𝑇, an action “ends the game”. The rules of the game are as follows…
If the agent is in state 𝑠:
• Action 𝑎 brings the agent to state 𝑠’ with reward 0
• Action 𝑏 keeps the agent in state 𝑠 with reward 1
If the agent is in state 𝑠’:
• Either action grants the agent a reward of 10
Based on the information above, answer the following questions:
a. Consider the case where the agent starts in state 𝑠 at time 𝑇–1. What is the rational sequence of actions for the agent to take, based on the expected total reward before time is up? Explain your reasoning.
b. Consider the case where the agent starts in state 𝑠 at time 𝑇. What is the rational sequence of actions for the agent to take, based on the expected total reward before time is up? Explain your reasoning.
[Note: Your answers to part (a) and part (b) should be different; therefore, we have demonstrated that a rational agent’s action may depend on the time step it has reached.]
c. Provide 3 examples from real life where your actions may depend on the “time step” you have reached – this is referring to the amount of time you have left before gaining a reward or avoiding a loss.
7. Binary search trees
Consider a state space where the start state is number 1 and each state 𝑘 has two successors: numbers 2𝑘 and 2𝑘+1.
a. Draw the portion of the state space for states 1 to 15.
b. Suppose the goal state is 11. List the order in which nodes will be visited for:
i. Breadth-first search
ii. Depth-first search
c. Call the action going from 𝑘 to 2𝑘 “Left”, and the action going from 𝑘 to 2𝑘+1 “Right”. Find a simple “algorithm” that outputs the solution to this problem without any search at all. (Hint – write the goal state number in binary…)
8. Constraint satisfaction
In 5 houses, each painted a different color, live 5 people of different nationalities, each of whom prefers a different brand of candy, a different drink, and a different pet.
Houses: Red, white, yellow, blue, green
Nationalities: English, Spanish, Norwegian, French, Japanese
Candies: Hershey bars, Kit Kats, Skittles, Twizzlers, Starbursts
Drinks: Orange juice, tea, coffee, milk, water
Pets: Fish, cat, bird, rabbit, dog
The Englishman lives in the red house.
The Spaniard owns the fish.
The Norwegian lives in the first house on the left.
The green house is immediately to the right of the white house.
The man who eats Hershey bars lives in the house next to the man with the cat.
Kit Kats are eaten in the yellow house.
The Norwegian lives next to the blue house.
The Skittles eater owns the bird.
The Twizzlers eater drinks orange juice.
The Frenchman drinks tea.
The Japanese eats Starbursts.
Kit Kats are eaten in a house next to the house where the rabbit is kept.
Coffee is drunk in the green house.
Milk is drunk in the middle house.
a. Draw the complete solution to this puzzle.
b. What is the color of the house where the dog lives?
c. What is the nationality of the person who drinks water?
9. Robotics
Consider a mobile robot moving on a horizontal surface. Suppose that the robot can execute two kinds of motions:
• Rolling forward a specified distance
• Rotating in place through a specified angle
The state of such a robot can be characterized in terms of three parameters (𝑥,𝑦,𝜙), where 𝑥 and 𝑦 are the 𝑥-coordinate and 𝑦-coordinate of the robot (more precisely, of its center of rotation) and 𝜙 is the robot’s orientation expressed as the angle from the +𝑥 direction.
• The action “𝑅𝑜𝑙𝑙(𝐷)” changes state (𝑥,𝑦,𝜙) to (𝑥+𝐷cos𝜙,𝑦+𝐷sin𝜙,𝜙)
• The action “𝑅𝑜𝑡𝑎𝑡𝑒(𝜃)” changes state (𝑥,𝑦,𝜙) to (𝑥,𝑦,𝜙+𝜃)
Suppose that the robot is initially at (0,0,0) and then executes the sequence of actions 𝑅𝑜𝑡𝑎𝑡𝑒(60°), 𝑅𝑜𝑙𝑙(1), 𝑅𝑜𝑡𝑎𝑡𝑒(25°), and 𝑅𝑜𝑙𝑙(2). What is the final state of the robot? Show your work for each step.
10. Translation tools
We’re going to run an experiment to explore the accuracy of one of our favorite translation tools, as an application of natural language processing. Choose a highly descriptive and vividly detailed paragraph from your favorite book or other publication. (Be sure to type it out in your assignment so I can replicate results if needed.)
You will use Google Translate to translate this paragraph into 5 foreign languages, and then copy those results and translate them back into English. You might be wondering which foreign languages you’ll try – and you get to decide those too! I recommend choosing languages that are all very different from one another (i.e. mix things up to get more unique results from your experiment).
a. Formulate a hypothesis about which of the 5 language translations will be most accurate (going from English to a certain language, and then from that language back to English) for the paragraph you chose.
b. Rate the resulting English paragraph for grammatical correctness and preservation of meaning.
c. Does the choice of intermediate language make a difference to the quality of the results?
d. Was your hypothesis supported by your observations?

Discuss how event-driven systems are beneficial for interactive applications.

Assignment Overview
The Windows Operating Systems family is the most widely used operating system for personal computers. This assignment is about the Windows operating system architecture and functionality. The assignment consists of three questions. Question one is concerned with the Windows operating system architecture, question two covers the message and event handling which is at the heart of an interactive system while question 3 is concerned with resource handling. You need to answer ALL questions. This is an individual piece of work. Please answer questions in full sentences. No bullet points. Put your answers into the provided answer sheet which should have your name and k-number at the top. You must reference any external sources that you have used to derive your answers .
Submit your answer sheet as a WORD or PDF document via CANVAS. There are 30 marks in total. This assignment counts for 15% of the total mark of this module.
Question 1: Windows Architecture – (10 marks)
Describe the general architecture of the Windows operating system. Provide a system diagram and explain the major components of the system. Highlight two innovations in the Windows operating system design. Discuss how the architecture of the Windows system contributed to the success in the market.
Question 2: Windows Event Handling – (10 marks)
The Windows Operating System and applications are event-driven and retrieve messages from message queues. The messages are then further dispatched to the appropriate windows procedures for each open window in an application.
a) Discuss how event-driven systems are beneficial for interactive applications.
b) Take a look at the source code of a WndProc function example below. Analyse how the windows procedure (WndProc) is decoding a WM_COMMAND event message to display a Dialog Box. You also need to describe the role of the parameter variables. Refer to the source code in your description.
CI5250 – Operating Systems Assignment 2/3
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
int wmId, wmEvent;
PAINTSTRUCT ps;
HDC hdc;
switch (message)
{
case WM_COMMAND:
wmId = LOWORD(wParam);
wmEvent = HIWORD(wParam);
// Parse the menu selections:
switch (wmId)
{
case IDM_ABOUT:
DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, About);
break;
case IDM_EXIT:
DestroyWindow(hWnd);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
break;
case WM_PAINT:
hdc = BeginPaint(hWnd, &ps);
// TODO: Add any drawing code here…
EndPaint(hWnd, &ps);
break;
case WM_DESTROY:
PostQuitMessage(0);
break;
default:
return DefWindowProc(hWnd, message, wParam, lParam);
}
return 0;
}
CI5250 – Operating Systems Assignment 3/3
Question 3: Resource Management (10 marks)
The Operating System manages resources such as memory, files and CPU time which are assigned to processing entities such as processes and threads. Processes request resources from the operating system through appropriate system API function calls.
a) Run the ResourcesApp.exe on the command line and analyse the source code as well. The application requests and releases processing and memory resources. Through which system function calls is this achieved?
b) Run the application with increasing processing demands (1,2,….12) processing threads. The application will print out how long it took to complete the processing for all threads. Populate the table below with the timings and plot a line graph using Excel or any other spreadsheet software. Copy the graph and table into your answer sheet. Describe how the OS scheduler is distributing the processing between different CPU cores. This can be observed in the performance tab of the Task Manager or the Process Explorer from the sysinternals tools. How many CPU cores are busy? Give an explanation for your observations. How efficient is the computer system at handling the increasing processing demand?

How do training officers contribute to the training and learning intervention in ABC?

ABC Supports Training
After reading this week’s case study answer the following questions.
Explain your understanding of the following statement and concept “growing their own people.”
Identify one challenge that ABC is currently facing.
How is training and development promoted and supported in ABC?
What methods does ABC employ to get the message across in order to engage as many employees as possible?
How are these training interventions supported in ABC?
Why do you think is ABC so successful in their training and learning interventions? Or are they successful? Is there any room for improvement?
How do training officers contribute to the training and learning intervention in ABC?
List the approaches for measuring performance. Should more be used? Why or why not?
If you were CEO for a day at ABC what would you do to ensure training was supported?

The requirements below must be met for your paper to be accepted and graded:
Write between (approximately 3 – 5 pages) using Microsoft Word in APA style, see example below.
Use font size 12 and 1” margins.
Include cover page and reference page.
At least 80% of your paper must be original content/writing.
No more than 20% of your content/information may come from references.
Use at least three references from outside the course material, one reference must be from EBSCOhost. Text book, lectures, and other materials in the course may be used, but are not counted toward the three reference requirement.
Cite all reference material (data, dates, graphs, quotes, paraphrased words, values, etc.) in the paper and list on a reference page in APA style.
References must come from sources such as, scholarly journals found in EBSCOhost, CNN, online newspapers such as, The Wall Street Journal, government websites, etc. Sources such as, Wikis, Yahoo Answers, eHow, blogs, etc. are not acceptable for academic writing.

A detailed explanation of how to cite a source using APA

What do the Yellow Woman stories suggest concerning human desire?

What do the Yellow Woman stories suggest concerning human desire?
in story “Yellow Woman” by Leslie Marmon Silko.

What are some of the ways that you can organize your business to take advantage of capitalization?

Did you know that there are several common reasons why many small businesses fail within the first two years of opening? Some of these reasons are a lack of capital, inadequate management experience, faulty business planning and a failure to accurately assess market demand. So before you start your own business, you need to take a look at a few things. What is liability and how much of it are you willing to risk? What’s cash flow? What are some of the ways that you can organize your business to take advantage of capitalization? Do you know how to minimize risk and taxes? Do you want to have a business partner?

For this discussion, please use the key terms from chapters 5,7 and 8 to comment on the statement above. Your grade will be based on your use of the key terms as well as how well your response demonstrates knowledge of the terms and the concepts in the chapters. You are required to post your own discussion points.

What are non-pharmacologic treatment strategies for the management of hypogonadism?

Please answer each question individually with references.

Hypogonadism Case Study

Manuel Gonzalez is a 39 year old Hispanic male with a past medical history of hypogonadism. He is currently taking androgel 1% 50mg per day, applied topically to the upper, outer arm each morning.

Questions:

1. What are non-pharmacologic treatment strategies for the management of hypogonadism?
2. Discuss at least 2-3 pharmacologic options for the treatment of hypogonadism (be sure to include, at a minimum, drug name, dose, route, frequency (if applicable)? Is Manuel’s current treatment, with androgel, consistent with recommended pharmacologic agents per the clinical practice guidelines?

3. What is the mechanism of action of ONE of the pharmacologic agents discussed in #2? How does the mechanism of action correlate with the physiology/pathophysiology of hypogonadism?

4. What are the most common adverse effects of ONE of the medication discussed in #2?

5. What is the cost of ONE of the medication discussed in #2?

6. Discuss pharmacokinetics and pharmacodynamics of ONE medication discussed in #2 (be sure to include, at a minimum, onset, peak, duration, half-life, etc).

7. What education would you provide Manuel before starting the treatment identified in #2?

How did the poor response to the Hurricane Katrina disaster change emergency management in the United States?

Review the following article and video:

Ragheb, M. (2016). Natural Disasters and Man-Made Accidents. Retrieved from: http://mragheb.com/NPRE%20457%20CSE%20462%20Safety%20Analysis%20of%20Nuclear%20Reactor%20Systems/Natural%20Disasters%20and%20Man%20made%20Accidents.pdf

Can you think of any positive or negative aspects of disaster-driven evolutionary changes in the United States’ emergency management system? What are they?
How did the poor response to the Hurricane Katrina disaster change emergency management in the United States?

What type of planning does Raleigh, North Carolina engage in today?

Description

Investigate how emergency management has evolved in Raleigh, North Carolina in the last 50 years with respect to natural and man-made disasters. In a 3-4 page essay, address the following questions:

How has emergency management in Raleigh, North Carolina changed following the creation of FEMA? DHS?
What type of planning does Raleigh, North Carolina engage in today? Describe.
What are the community preparedness activities in Raleigh, North Carolina? Describe.
Are there any differences in planning and response between natural disasters and man-made disasters? Explain.
Be sure that all sources are referenced using APA style.

What were the care given by the health care professionals and the rationale and literature?

Talk about patient confidentiality NMC 2018.

Every information about the case study such as the patient, family and carer are linked up throughout the essay to make sense. Has to be written in logic for the reader to understand; is the patient in the community, rehab, or acute trust? Have you link the symptoms to the pathophysiology of the disease and the symptoms how is been dealt with in the nursing care section. Have you explain what was done when patient has dysphagia, dysphasia, mobility, and continence. What were the care given by the health care professionals and the rationale and literature? How do they meet or communicate regarding the patient? What are the work of all these team in delivering care to promote patient care. Salt, physio, dietician, occupational health and doctors? Anything you do for the patient explains the rationale and research evidence or NICE Guideline evidence.

The medication given explain rationale and where it stated in the research evidence that the medicine is the appropriate one for the patient, if the patient has more than one co-morbidities have you make sure the medicine link to the co-morbidities you focusing on in this essay, is there any health behaviour patient might have and have you make every contact count by RCN or NMC. Talk about patient health improvement via health promotion; discuss patient, family and carer stress and why they are stress.

explain how health care professional are involve in patient care , how do you know is a good care for patient, do you know it come out as NHS 5 years forward plan and integrated care and promoting self care is a good thing for patient?.

Did the healthcare professionals work together as a team and achieve the goal? If not, explain why

 

 

How do you plan to ensure the ethical protection of your participants?

Chapter 3: Research Design and Method

Chapter Overview

To open the chapter you can begin by referring back to the purpose of the study, taking care to align with the statement in Chapter 1 but avoiding word-for-word repetition. Outline the major sections of this chapter, giving enough detail so that the introduction is unique to your study (that is: go beyond simply listing the headings).

Research Questions and/or Hypotheses and their Rationales

For qualitative studies you can reintroduce your research questions in a narrative, tying them to your problem statement. For quantitative studies, reintroduce your research questions and hypotheses, along with the rationales for the hypotheses. For mixed methods studies, clearly identify which questions are qualitative in nature and which are quantitative in nature. Including subheadings (Level 2) for “Qualitative Research Questions” and “Quantitative Research Questions” might be the best way to organize. Regardless of your methodology, try to present the questions in alignment with the presentation in Chapter 1.

Listing interview questions is not typical (it is usually thought best to keep the research and interview questions separate) but you might decide with your chair to show the alignment between the two types of questions.

Research Design

Identify the research design and its connection to the research questions. Provide a rationale for the research tradition chosen. This needs to go beyond why you chose qualitative over quantitative or vice versa. Explain why you chose the specific qualitative or quantitative tradition or research paradigm you chose over others.

Population and Sample

Identify the population and the sampling method used. Explain the inclusion criteria and then take care to justify the size of the sample. If quantitative in nature, mention the calculating tool used to determine the sample size. If qualitative in nature, explain your rationale for the number of participants.

Procedures

Describe your proposed procedures in detail, beginning with recruiting procedures, including data collection tools or strategies used, how this data will be collected, and any follow-up planned with participants. If you plan to conduct a pilot study, describe this in detail and how it will inform your main study.

Validity

Describe all threats to the validity of the study. If qualitative, describe how you plan to ensure credibility, dependability, confirmability, and transferability. If quantitative, describe in detail threats to internal and external validity.

Instrumentation

If quantitative in nature, name your data collection instrument, where and how it has been used, and how the validity and reliability were established. If qualitative in nature, describe any researcher-created or established tools and the rationale for using them.  For qualitative researchers, include your role as the researcher and how you plan to control any biases.

Data Processing

Identify any software that will be used in the analysis of your data. Describe, in detail, the strategy or strategies proposed for organizing and analyzing data collected.

Assumptions

The assumptions are related to the mechanics of your study. What about your study is not discoverable so you had to assume to be true? If interviewing participants, you must assume that they are answering honestly, so this is a major assumption. You must also assume they are participating willingly. All researchers must also assume that their chosen methodology is the most appropriate for their investigation. What also are you unable to discover so must assume in order to conduct your study?  Some chairs allow for numbered lists—usually researchers list about three assumptions, although there is no set minimum or maximum.

Limitations

Limitations are elements of your study that are outside of your control. Is there a weakness in the design? Are there uncontrollable biases? For many, one limitation in the proposal is the possibility of not having access to participants or not being able to recruit enough participants to satisfy the minimum sample size. Unlike the scope and delimitations, where you get to explain all the things you had control over as the researcher (setting, participants, time frame) this is where you can describe the things you couldn’t control and what you plan to do to address these issues.

Ethical Assurances

How do you plan to ensure the ethical protection of your participants? Explain your recruitment strategy, consent form, any Institutional Review Board permissions that will be needed, whether participants will be confidential or anonymous, and how you plan to protect the data collected. Note that participants are considered confidential if you know their identities but do not share them (through the use of descriptors or pseudonyms). Participants are considered anonymous if even you are unaware of their identity. For these reasons, you will not have participants who are both confidential and anonymous.

Summary

Summarize the entire chapter, which will go just beyond restating the headings. Plan for a paragraph or two that briefly walks your reader through the highlights of each section. Your reader should be able to read your summary and know what your methodology is, instrument, data collection and analysis plan, and other aspects that will be unique to your study.