Discussion: Basic Computer Programming Concepts and Technique with Python

 150 words or more. Please use and site at least two references below.

  1. What are the basic instruction (statement) categories in programming languages?
  2. What are the functions? Where do you get them and how do you use them

 

Downey, A. (2014). Think Python: How to Think Like a Computer Scientist. Retrieved August 6, 2014, from http://www.greenteapress.com/thinkPython/html/index.html

Swaroop, C. (2005). A Byte of Python. Retrieved from August 6, 2014, from (http://www.ibiblio.org/g2swap/byteofPython/read/index.html)

Hetland, M. (n.d.). Instant Python. Retrieved August 6, 2014, from http://hetland.org/writing/instant-Python.html

Hetland, M. (n.d.) Instant Hacking. Retrieved August 6, 2014, from (http://www.hetland.org/Python/instant-hacking.php)

Python Exercises

 

Read Chapter 8 through Chapter 14 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 Chapter 814 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-SLP3-Examples-YourFirstNameLastname(BREONN STEPHENS)
  2. Finish coding the following exercises in Python, run them and collect the running results into a file named CSC111-SLP3-Exercises-YourFirstNameLastName(BREONN STEPHENS) and submit it.
    1. Exercise 8.10
    2. Exercise 8.12
    3. Exercise 9.4
    4. Exercise 10.3
    5. Exercise 10.7
    6. Exercise 10.12
    7. Exercise 11.10
    8. Exercise 12.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.

Finally, write a summary document named CSC111-SLP3Summary-YourFirstNameLastName  which presents what you have learned from this Case Assignment and any other learning experience.  

SLP 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.

HLS650DB

Primary Task Response: Within the Discussion Board area, write 400 words that respond to the following questions with your thoughts, ideas, and comments. This will be the foundation for future discussions by your classmates. Be substantive and clear, and use examples to reinforce your ideas.

Library Research Assignment

Part 1  

Using your course materials and your own research, discuss the following topics:

  • What are the elements of an all-hazards approach to protection and preparedness at the national level of government, and what primary efforts have been taken to establish a culture of preparedness within American society?  
  • Has the U.S. government and society learned the lessons from the 9/11 terrorist attacks and from Hurricane Katrina? Explain your answer.  
  • Has this information been integrated into national- and state-level policies? If so, how has this been integrated? If not, how do you think this could happen? 

Your post should demonstrate an executive-level understanding of the challenges associated with critical infrastructure (CI) and emergency management preparations in place to anticipate and minimize the impact of natural or manmade disasters.

Part 2

Drawing from national-level documents, including the National Response Framework (NRF) and the Homeland Security Presidential Directives, respond to the following prompts:

  • Consider the debate among homeland security planners and the intelligence community regarding efforts to predict attacks and disasters so that they can be prevented, versus a focus on resilience and investments in recovery capabilities and redundancy. Although you may see importance in both efforts, state and defend 1 of the proposed strategies.  
  • On a national level, what steps have been taken in favor of your chosen stance?

online discussion – ethics

Question:

Suppose there are 2 people, Ari and Immy. Last Friday night, both Ari and Immy spent 4 hours working in a soup kitchen. But when you ask them, they had very different motives. Ari loves helping people less fortunate and gets a lot of personal satisfaction from serving in this way. In fact, you could say that Ari was doing what he felt like doing. Immy, on the other hand, hates things like soup kitchens, and to make it worse, all of his friends are at a really fun party. But he knows that helping people less fortunate is the right thing to do, so he goes to the soup kitchen despite his feelings.

If you had to choose, who would you say had a more moral motivation – Ari or Immy?

**Write an one-paragraph answering the above question