CSC1023 Quiz 4

Spring 2012
Herbert J. Bernstein ( )

CSC1023 Quiz 4
Spring 2012

 


This web page is http://www.bernstein-plus-sons.com/.dowling/CSC1023S12/CSC1023_Quiz_4.html
Copyright © 2003-2004, 2010-2012 Herbert J. Bernstein and other parties. All rights reserved.


This is the fourth weekly quiz to be taken on Friday, 24 February 2012 after you have completed assignment 4. In order to do this quiz, you must use a computer that has Python and IDLE installed. You may use Dowling's computer laboratory computers or you may install Python on your own computer. In answering questions on this quiz, assume the use of Python, specifically Python 3. Check you answers against both the Dawson text and by actually running IDLE. Be warned that there are differences between Python 2 and Python 3, and you will be marked down for failing to account for those differences. It should take out approximately half an hour to 2 hours to answer these questions. You may not help one another.

  <==== Do this AFTER you've answered all the questions

You probably DON'T want to do this ===>  

Please fill in the following information:

Name:


Email:

Skype ID:

Please answer the following questions on this form.

  1. Carefully, give instructions for tranferring a file from your own computer to your web site on arcib.dowling.edu. You may answer this question with the instructions for a transfer under MS Windows whether you personally work with a Mac or with MS Windows, but you are welcome to give Mac or Unix instructions if you wish.

  2. Give the steps to set up an ARCiB web page.

  3. Give the URL for your blog for this course. Do not skip this question. If you don't have a blog yet, start one and then answer this question.

  4. Give the URL for your Google sites website for this course. Do not skip this question. If you don't have Google sites website yet, start one and then answer this question.

  5. You were to have put craps.py into your account on ARCiB, to have compiled and run it. In answer to this question describe your experience in doing that in an entry on your blog, and then give the URL of that blog entry here.

  6. In answer to this question, give each line of the Loopy String program and explain what that line does. Do include the first 2 lines.

  7. In answer to this question, give each line of the Counter program and explain what that line does. Do include the first 2 lines.

  8. In answer to this question, give each line of the Message Analyzer program and explain what that line does. Do include the first 2 lines.

  9. In answer to this question, give each line of the Random Access program and explain what that line does. Do include the first 2 lines.

  10. Explain what the following python code does

    mugwump = "T'was brillig and the slythy toves ..."
    print(mugwump[-15])

  11. Explain what a tuple is, giving an example as well as a description.

  12. In answer to this question, ask me any question you have about how to write a program in Python. You get credit for coming up with a relevant question, not for being able to answer it.

  13. In answer to this question, ask me any question you have about how to write a web page in HTML. You get credit for coming up with a relevant question, not for being able to answer it.

  14. After the midterm you will have to start serious work on a project to deminstrate your understanding of programing a computer. In answer to this question give your thoughts on what sort of a project you would like to do. The default project is to make a modified version of the Pizza Panic or Astrocrash grames, but you are welcome to propose something different. You must, however say something coherent to get credit for this question.

  <==== Do this AFTER you've answered all the questions

You probably DON'T want to do this ===>  

Revised 20 February 2012