Merge lp:~pyotago/practical-programming/iain into lp:practical-programming
Proposed by
Iain Hewson
Status: | Merged |
---|---|
Merged at revision: | 48 |
Proposed branch: | lp:~pyotago/practical-programming/iain |
Merge into: | lp:practical-programming |
Diff against target: |
124 lines (+99/-4) 3 files modified
case_study_catch2.tex (+5/-4) prac-instructions/instructions-150a.org (+47/-0) prac-instructions/instructions-150b.org (+47/-0) |
To merge this branch: | bzr merge lp:~pyotago/practical-programming/iain |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brendan McCane | Pending | ||
Review via email:
|
Description of the change
Tidying up an extra long line, and adding prac test instructions (as separate documents)
To post a comment you must log in.
Done.
On May 10, 2012, at 1:03 PM, Iain Hewson wrote:
> Iain Hewson has proposed merging lp:~pyotago/practical-programming/iain into lp:practical-programming. /code.launchpad .net/~pyotago/ practical- programming/ iain/+merge/ 105289 /code.launchpad .net/~pyotago/ practical- programming/ iain/+merge/ 105289 catch2. tex' catch2. tex 2011-02-01 04:57:31 +0000 catch2. tex 2012-05-10 01:02:20 +0000 distance\ _circles} . Do not sloppypar} Move the code that calculates the distance from distance\ _circles} . Do not use any class variables in \end{sloppypar} ons/instruction s-150a. org' ns/instructions -150a.org 1970-01-01 00:00:00 +0000 ns/instructions -150a.org 2012-05-10 01:02:20 +0000
>
> Requested reviews:
> Brendan McCane (mccane)
>
> For more details, see:
> https:/
>
> Tidying up an extra long line, and adding prac test instructions (as separate documents)
> --
> https:/
> You are requested to review the proposed merge of lp:~pyotago/practical-programming/iain into lp:practical-programming.
> === modified file 'case_study_
> --- case_study_
> +++ case_study_
> @@ -180,10 +180,11 @@
> it works. Rather than typing it all in one go, follow the incremental
> development scheme I used in lectures. That way, you will have less
> debugging to do at each stage.
> -\item Move the code that calculates the distance from the ball to the
> -mitt into a function called \pythoninline{
> -use any class variables in the function (only parameters). Include
> -several doctest tests to ensure the function is correct.
> +\item \begin{
> + the ball to the mitt into a function called
> + \pythoninline{
> + the function (only parameters). Include several doctest tests to
> + ensure the function is correct.
> \item At the moment, the program will keep going forever, or until you
> close the window. Add code that will stop the program when either the
> player or computer score reaches 10. Announce the winner using a
>
> === added directory 'prac-instructions'
> === added file 'prac-instructi
> --- prac-instructio
> +++ prac-instructio
> @@ -0,0 +1,47 @@
> +#+title: COMP150 Mastery Test 1
> +#+author: Lab 11
> +#+date: course weight 15\%
> +
> +#+options: toc:nil num:nil
> +
> +#+latex_header: \parindent = 0mm
> +#+latex_header: \parskip = 3mm
> +#+latex_header: \topmargin = -3cm
> +#+latex_header: \textheight = 26.5cm
> +#+latex_header: \pagestyle{empty}
> +
> +*
> +
> +** Place your Student ID Card on the desk beside you
> +
> +There are four parts to complete for this lab. Part 1 is worth 3%,
> +and parts 2-4 are worth 4%, giving a total of 15% for the entire
> +lab. The test files should open automatically once you have entered
> +and confirmed your University usercode. If you need to open them
> +again you can find them on your Desktop in a folder called
> +=Lab-Test-1=. You must add code to make the doctests pass for
> +each of the four files. If you are unable to complete one of the
> +parts you may still continue on and attempt to complete the later
> +parts. A demonstrator will mark off each part when you have completed
> +as much of the test as you are able.
> +
> +** Turn off all personal electronic devices (this is an exam)
> +
> +In the previous labs you could complete...