Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

12/8/21, 3:01 PM CS 1101 - AY2022-T2: Learning Journal Unit 4

CS 1101 Programming Fundamentals - AY2022-T2


Dashboard / My courses /
CS 1101 - AY2022-T2 / 2 December - 8 December /
Learning Journal Unit 4

Learning Journal Unit 4

Part 1

Section 6.2 of your textbook describes incremental development. Do the exercise at the end of that section:

As an exercise, use incremental development to write a function called hypotenuse that returns the length of the hypotenuse of a right
triangle given the lengths of the other two legs as arguments. Record each stage of the development process as you go. (Downey, 2015)

After the final stage of development, print the output of hypotenuse(3, 4) and two other calls to hypotenuse with different arguments.

Include all of the following in your Learning Journal:

An explanation of each stage of development, including code and any test input and output.
The output of hypotenuse(3,4).
The output of two additional calls to hypotenuse with different arguments.

Part 2

Invent your own function that does some useful computation of your choosing. Do not copy the function from somewhere else. Use
incremental development, and record each stage of the development process as you go. Finally, print output that demonstrates that the
function works as you intended.

Include all of the following in your Learning Journal:

An explanation of each stage of development, including code and any test input and output.
The output of three calls to your function with different arguments.

Part 3

Describe your experience so far with peer assessment of Discussion Assignments.

How do you feel about the feedback and ratings you have received from your peers?
How do you think your peers feel about the feedback you provided them? And the ratings you gave them?

Reference:  

Downey, A. (2015). Think Python: How to think like a computer scientist. Needham, Massachusetts: Green Tree Press. 

Submission status

Attempt This is attempt 1.


number

Submission No attempt
status

https://my.uopeople.edu/mod/assign/view.php?id=268134 1/3
12/8/21, 3:01 PM CS 1101 - AY2022-T2: Learning Journal Unit 4

Grading status Not graded

Due date Thursday, 9 December 2021, 11:55 PM

Time remaining 1 day 16 hours

Last modified -

Submission
comments
 Comments (0)

Add submission

You have not made a submission yet.

UoPeople Clock (GMT-5)

All activities close on Wednesdays at 11:55 PM, except for Learning Journals/Portfolios which close on Thursdays at 11:55 PM always
following the clock at the top of the page.

Due dates/times displayed in activities will vary with your chosen time zone, however you are still bound to the 11:55 PM GMT-5
deadline.

◄ Programming Assign. Unit 4

Jump to...

Self Quiz Unit 4 ►

Disclaimer Regarding Use of Course Material  - Terms of Use


University of the People is a 501(c)(3) not for profit organization. Contributions are tax deductible to the extent permitted by law.
Copyright © University of the People 2021. All rights reserved.

You are logged in as Safwan Alhamoud Alobead (Log out)


Reset user tour on this page
 www.uopeople.edu










Resources
UoPeople Library
Orientation Videos
LRC
Syllabus Repository

Honors Lists
https://my.uopeople.edu/mod/assign/view.php?id=268134 2/3
12/8/21, 3:01 PM CS 1101 - AY2022-T2: Learning Journal Unit 4
Links
About Us
Policies
University Catalog
Support
Student Portal
Faculty
Faculty Portal
CTEL Learning Community
Office 365
Tipalti
Contact us
English (‎en)‎
English (‎en)‎
‫ العربية‬‎(ar)‎

Data retention summary


Get the mobile app

https://my.uopeople.edu/mod/assign/view.php?id=268134 3/3

You might also like