J. Correia Lopes

FEUP/DEI & INESC TEC

User Tools

Site Tools


teach:fpro:labs:04

P: 15/10/2018

Master in Informatics and Computing Engineering
Programming Fundamentals
Instance: 2018/2019


Practical work #4 :: Week of 15/10/2018

Goals

By the end of this class, the student should be able to:

  • Use if-then-else blocks for conditional execution
  • Use the for and while loop statements to do repeated tasks

Bibliography

  1. Brad Miller and David Ranum, Learning with Python: Interactive Edition, Selection [HTML] (Chapter 7)
  2. Brad Miller and David Ranum, Learning with Python: Interactive Edition. More About Iteration. [HTML] (Chapter 8)
  3. FPRO, Codeboard usage, available online at FPRO by-laws

Tasks

  1. Study all the bibliography available on the class topic
  2. Make your own copy of the Google doc with the Assignments Sheet provided for this week
  3. Start answering the exercises using Spyder and take note of the programs in the Assignments sheet
  4. Read again and make sure you understand the information related with the usage of the Codeboard platform
  5. Create your own account in Codeboard using your student number (up2018xxxxx) as Username
  6. Submit in Moodle before the deadline: you will be redirected to Codeboard were you paste and test your programs using the tests provided and, finally, you may submit to be graded; notice that only the last submission is reviewed and get its grade recorded in Moodle, though.

Materials

  • FPRO, "Assignment #4: Conditionals and Iteration", available online at Google docs
  • FPRO, "Moodle task for this week", available online at Moodle
  • Codeboard, A web-based IDE to teach programming in the classroom, available online at Codeboard

Summary

  • Using conditionals and iterations. Conditional execution with if statements. Iterations using for and while statements.

FPRO, 2018/19

« Previous | Index | Next »

teach/fpro/labs/04.txt · Last modified: 18/10/2018 16:03 by Correia Lopes