Python Programing

 

Read Chapters 1, 2, 3, 5, and 7 of Think Python: How to Think Like a Computer Scientist from http://www.greenteapress.com/thinkPython/html/index.html. Or get the pdf file of the book at the same site.

  1. Finish running all the examples in Chapters 1, 2, 3, 5, and 7 of Think Python: How to Think Like a Computer Scientist by yourself in Python shell interactive command mode or IDLE editor window. Collect all output of your running examples and submit them in one text file named CSC111-Case3-Examples-YourFirstNameLastname
  2. Finish coding the following exercises in Python, run them and collect the running results into a file named CSC111-Case3-Exercises-YourFirstNameLastName and submit it.
    1. Exercise 1.3
    2. Exercise 2.3
    3. Exercise 3.3
    4. Exercise 3.4
    5. Exercise 5.4 
    6. Exercise 7.3

Note: When you program the exercises you can name them whatever you want, such as ex3-1.py or count-nums.py but the submitted file should provide name of the exercise, source code, and running results.

  1. Finally, write a summary document named CSC111-Case3Summary-YourFirstNameLastName to report what you have learned from this Case Assignment or other learning experience.    

Assignment Expectations

Your ability to consolidate ideas from the reading material and apply what you have learned to the assignment will be assessed.

Assignment-Driven Criteria (20 points): Demonstrate mastery covering all key elements of the assignment. 

Critical Thinking (10 points): Demonstrate mastery conceptualizing the problem. Solution is efficient, and easy to understand and maintain.

Documentation (7 points): Demonstrate clear and effective documentation and comments including descriptions of all variables, program logic, purpose of each function, control structure, input requirements, and output results.

Runtime and Syntax (7 points): Demonstrate mastery and proficiency in program execution with no syntax and run time errors. 

Assignment Organization (6 points): Demonstrate mastery and proficiency following the required structure and organization of the assignment.

In order to meet the all the expectations the following work must be finished and submitted with good assignment organization:

Running Examples: Demonstrate that you have finished reading all the required chapters, running all examples in the chapters, and collecting all running results to submit.

Coding Exercises in Python: Demonstrate you have finished programming the exercises requested, running them, and collecting all the results to submit.

Summary Document: Demonstrate mastery of required Python programming statements and ability to conceptualize the problem.

Submit a well-written summary report to share what you have learned and experienced.

Can this be done by 5pm?

Imagine that a client came to you as a first step, in one of the provided scenarios. It is likely you will need to recommend outside resources, beyond what you would provide, such as counseling, too. Even though you might not provide all the resources for a client as he or she goes through the stages of change, you should be able to predict which stages a client in a given situation is likely to go though.

In your chosen scenario, identify the stages of change that a client would likely go through and questions that you would ask him or her during each stage to help progress. Assess the resources that he or she might need and referrals that you might make for the client to be successful at each stage.

Choose a scenario from the given list and evaluate the stages of change. As part of your analysis, you should identify the culture, ethnicity, and/or country of the client. Analyze the scenario from the viewpoint of a human and social services professional after the client has come to your organization for help.

  1. A client who received news of being diagnosed with a sexually transmitted disease
  2. A manager of an organization that experienced a large layoff and employee morale is low
  3. A community without clean running water
  4. A client who is considered obese and obesity runs in the family
  5. A client who is 43 and started smoking as a teenager
  6. A community that has experienced a natural disaster, which has left many homeless and members of the community are coming to your organization for help

For your chosen scenario, use Prochaska and DiClementes Stages of Change. In 12 pages: Identify the questions you might ask while interviewing the client during each stage. Assess the resources that he or she might need and referrals that you might make for the client to be successful in moving from one stage to another. Be specific.

Prochaska and DiClementes Stages of Change Model

Stage of ChangeCharacteristicsTechniquesPre-contemplationNot currently considering change: Ignorance is blissValidate lack of readinessClarify: decision is theirsEncourage re-evaluation of current behaviorEncourage self-exploration, not actionExplain and personalize the riskContemplationAmbivalent about change: Sitting on the fenceNot considering change within the next monthValidate lack of readinessClarify: decision is theirsEncourage evaluation of pros and cons of behavior changeIdentify and promote new, positive outcome expectationsPreparationSome experience with change and are trying to change: Testing the watersPlanning to act within 1 monthIdentify and assist in problem solving re: obstaclesHelp patient identify social supportVerify that patient has underlying skills for behavior changeEncourage small initial stepsActionPracticing new behavior for 36 monthsFocus on restructuring cues and social supportBolster self-efficacy for dealing with obstaclesCombat feelings of loss and reiterate long-term benefitsMaintenanceContinued commitment to sustaining new behaviorPost-6 months to 5 yearsPlan for follow-up supportReinforce internal rewardsDiscuss coping with relapseRelapseResumption of old behaviors: Fall from graceEvaluate trigger for relapseReassess motivation and barriersPlan stronger coping strategies

Pre-contemplation Stage

Ignorance is blissWeight is not a concern for meGoals:

  • 1. Help patient develop a reason for changing
  • 2. Validate the patients experience
  • 3. Encourage further self-exploration
  • 4. Leave the door open for future conversations

1. Validate the patients experience:I can understand why you feel that way2. Acknowledge the patients control of the decision:I dont want to preach to you; I know that youre an adult and you will be the one to decide if and when you are ready to lose weight.3. Repeat a simple, direct statement about your stand on the medical benefits of weight loss for this patient:I believe, based upon my training and experience, that this extra weight is putting you at serious risk for heart disease, and that losing 10 pounds is the most important thing you could do for your health.4. Explore potential concerns:Has your weight ever caused you a problem? Can you imagine how your weight might cause problems in the future?5. Acknowledge possible feelings of being pressured:I know that it might feel as though Ive been pressuring you, and I want to thank you for talking with me anyway.6. Validate that they are not ready:I hear you saying that you are nowhere near ready to lose weight right now.7. Restate your position that it is up to them:Its totally up to you to decide if this is right for you right now.8. Encourage reframing of current state of changethe potential beginning of a change rather than a decision never to change:Everyone whos ever lost weight starts right where you are now; they start by seeing the reasons where they might want to lose weight. And thats what Ive been talking to you about.Contemplation StageSitting on the fenceYes my weight is a concern for me, but Im not willing or able to begin losing weight within the next month.Goals:

  • 1. Validate the patients experience
  • 2. Clarify the patients perceptions of the pros and cons of attempted weight loss
  • 3. Encourage further self-exploration
  • 4. Leave the door open for moving to preparation

1. Validate the patients experience:Im hearing that you are thinking about losing weight but youre definitely not ready to take action right now.2. Acknowledge patients control of the decision:I dont want to preach to you; I know that youre an adult and you will be the one to decide if and when you are ready to lose weight.3. Clarify patients perceptions of the pros and cons of attempted weight loss:Using this worksheet, what is one benefit of losing weight? What is one drawback of losing weight?4. Encourage further self-exploration:These questions are very important to beginning a successful weight loss program. Would you be willing to finish this at home and talk to me about it at our next visit?5. Restate your position that it is up to them:Its totally up to you to decide if this is right for you right now. Whatever you choose, Im here to support you.6. Leave the door open for moving to preparation:After talking about this, and doing the exercise, if you feel you would like to make some changes, the next step wont be jumping into actionwe can begin with some preparation work.Preparation StageTesting the WatersMy weight is a concern for me; Im clear that the benefits of attempting weight loss outweigh the drawbacks, and Im planning to start within the next month.Goals:

  • 1. Praise the decision to change behavior
  • 2. Prioritize behavior change opportunities
  • 3. Identify and assist in problem solving re: obstacles
  • 4. Encourage small initial steps
  • 5. Encourage identification of social supports

1. Praise the decision to change behavior:Its great that you feel good about your weight loss decision; you are doing something important to decrease your risk for heart disease.2. Prioritize behavior change opportunities:Looking at your eating habits, I think the biggest benefits would come from switching from whole milk dairy products to fat-free dairy products. What do you think?3. Identify and assist in problem solving re: obstacles:Have you ever attempted weight loss before? What was helpful? What kinds of problems would you expect in making those changes now? How do you think you could deal with them?4. Encourage small, initial steps:So, the initial goal is to try nonfat milk instead of whole milk every time you have cereal this week.5. Assist patient in identifying social support:Which family members or friends could support you as you make this change? How could they support you? Is there anything else I can do to help?Source: www.stepupprogram.org

One page

Read one of the Project 1 essays; then, answer the questions given below. Do NOT just write “YES” or “NO.” Give examples or evidences as well.

ESSSAYS:

  1. Dan Branigan
  2. Qinda Wang

QUESTIONS:

  1. Does the essay have descriptive title (7 – 10 words)
  2. Does the essay have descriptive subtitles (at least 7-10 words)
  3. Does the introduction introduce the whole paper.
  4. Is the thesis statement clear? Does it have a central idea? Is it clearly established and maintained throughout the essay?
  5. Does the draft (essay) have a central idea, for example, how the particular event/s (that writer mentioned) changed the writer? Or what education did the writer learn from the evident/s?
  6. Does the essay have many examples to support ideas (topic sentences)?
  7. Are the topic sentences (subtitles) developed well such as topic sentence > definition > examples (evidences) > supporting points (sources) > images (if images captions) > etc.
  8. Has the paper addressed audiences well (is the essay clear, concise) –see the development and examples (your audiences are from all around the world)?
  9. Does the essay have a good conclusion?

https://docs.google.com/document/d/1dTWGquzEays3APWdA5wbVB4A84v1_JHztPnNMh5MbW0/mobilebasic

https://docs.google.com/document/d/150J7JgA3fDOp6QRRiMpLkCW1CPi6nqcnN6NlFoZjrYY/mobilebasic

Psychology Discussion due TODAY

 

Jean Piaget is probably the most influential theorist in the cognitive development realm. His work has informed American educational practices since the early 1900s. Another key cognitive theorist in the realm is Lev Vygotsky. Interestingly, Vygotsky and Piaget were contemporaries (both were born in 1896), but for many years, Piagets theory dominated. The fact that Vygotsky died at age 37, while Piaget lived to be 84, might be part of that explanation. But Vygotskys ideas gained traction in the 1980s when educators began to question long held Piagetian ideas. Nevertheless, both theories are important to the study of cognitive development. In your initial post of 300 words minimum,

  • Provide a brief overview of Piagets and Vygotskys child and adolescent cognitive developmental theories.
  • Compare and contrast these theories as they relate to child and adolescent development by identifying at least one commonality in the two theories and two major conceptual differences.
  • Determine which of the two theories you most support and provide a rationale for your choice.