Difference between revisions of "CSC111 Homework 5 2018"

From dftwiki3
Jump to: navigation, search
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 07:54, 25 February 2018 (EST)
 
[[User:Thiebaut|D. Thiebaut]] ([[User talk:Thiebaut|talk]]) 07:54, 25 February 2018 (EST)
 
----
 
----
 
+
<onlydft>
 
<br />
 
<br />
 
<br />
 
<br />
<showafterdate after="20180226 16:00" before="20180308 00:00">
 
 
<br />
 
<br />
 
__TOC__
 
__TOC__
 
<br />
 
<br />
 
<bluebox>
 
<bluebox>
This homework assignment is due on Thursday March 8rd, at 11:55 p.m.
+
This homework assignment is due on Thursday March 22nd, at 11:55 p.m.  You can work in pair, or individually on this homework.
 
</bluebox>
 
</bluebox>
 +
<br />
 +
<tanbox>
 +
The Moodle modules for submitting the programs will not be available until Thursday afternoon/evening.  Please keep your programs safely on your laptops until the modules become available.
 +
</tanbox>
 +
<br />
 +
<tanbox>
 +
You should study the different versions of the program I covered in class on 3/2/18 (memo text and bad words), and
 +
accessible [[CSC111_Programs_Created_in_Class_2018#Good_Preparation_for_Homework_.235|here]].
 +
</tanbox>
 +
<br />
 +
 
=Problem #1=
 
=Problem #1=
 
<br />
 
<br />
Line 52: Line 62:
 
<br />
 
<br />
 
* Make sure you use the same function names as shown above, with the same parameter name.  The test script will look for the same format.
 
* Make sure you use the same function names as shown above, with the same parameter name.  The test script will look for the same format.
 +
* The name should be output properly capitalized.  So "maria HELENA" should be printed as "Maria Helena".  We assume no name will be hyphenated (too complex for us to deal with this now).
 
<br />
 
<br />
 
==Submission to Moodle==
 
==Submission to Moodle==
Line 111: Line 122:
 
</source>
 
</source>
 
<br />
 
<br />
 
+
* The name should be output properly capitalized.  So "maria HELENA" should be printed as "Maria Helena".  We assume no name will be hyphenated (too complex for us to deal with this now).
 +
<br />
 
==Submission==
 
==Submission==
 
<br />
 
<br />
Line 160: Line 172:
 
<br />
 
<br />
 
* Your program should  have the same organization as that of your solution for Problem 2.
 
* Your program should  have the same organization as that of your solution for Problem 2.
 +
* The names should be output properly capitalized. 
 
<br />
 
<br />
 
::<source lang="python">
 
::<source lang="python">
Line 188: Line 201:
 
<br />
 
<br />
 
=Problem #4=
 
=Problem #4=
 +
<br />
 +
<tanbox>
 +
You may want to use the program [[createTextFile.py| createTextFile.py]] to create text files if you are unsure how to do so with a text editor, or with Idle.
 +
</tanbox>
 
<br />
 
<br />
 
* Variation on the same scheme.  This time, your program will ask the user for the name of a text file that will always be located in the same directory where your program resides.  This file will contain the names of several people, one per line.  Your program will sing Happy Birthday to each one!   
 
* Variation on the same scheme.  This time, your program will ask the user for the name of a text file that will always be located in the same directory where your program resides.  This file will contain the names of several people, one per line.  Your program will sing Happy Birthday to each one!   
Line 399: Line 416:
 
<!-- ==================================================================== -->
 
<!-- ==================================================================== -->
  
</showafterdate>
 
 
<br />
 
<br />
 
<!-- =================================================================== -->
 
<!-- =================================================================== -->
<showafterdate after="20180309 08:00" before="20180601 00:00">
+
<showafterdate after="20180323 08:00" before="20180601 00:00">
 
=Solution Programs=
 
=Solution Programs=
 
<br />
 
<br />
Line 639: Line 655:
 
<br />
 
<br />
 
<br />
 
<br />
 +
</onlydft>
 
<onlydft>
 
<onlydft>
 
=VPL Modules=
 
=VPL Modules=

Latest revision as of 12:41, 1 June 2018

D. Thiebaut (talk) 07:54, 25 February 2018 (EST)



...


...