1.1-Introductie-Programmeren

week4 - Methods3 and Lists1

Learning Objectives

This week you’ll learn..


Methods3

Theory

Study the provided instructions before you attend class and want to start with the exercises.

Study the theory!

Exercises

Please complete the exercises below to properly experiment with this week’s subject(s). You’ll discuss these exerises in class with your teacher. The teacher will also inform you in what session what exercises will be discussed.

Exercise Name Level
1 Draw a triangle 1
2 Drawing multiple triangles - 1 1
3 Drawing multiple triangles - 2 1
4 Canal houses (Grachtenpanden) 1
5 Calculating your BMI 1
6 Reversing a string 1
7 Palindrome check 1
optional - 8 Simplify TicTacToe with methods 1
9 Create a helper method 1

Template

We have prepared a template for you to use, please click here to download it.


Lists1

Theory

Study the provided instructions before you attend class and want to start with the exercises.

Study the theory!

Exercises

Please complete the exercises below to properly experiment with this week’s subject(s). You’ll discuss these exerises in class with your teacher. The teacher will also inform you in what session what exercises will be discussed.

Exercise Name Level
1 A list of names 1
2 Doing some statistics 1
3 Printing loads of numbers 1
4 Adding unlimited numbers 1
5 Generating a random order of people 1
optional - 6 Play with a list of words 1
7 Reading numbers from a file: Using the Csv Reader 1
8 Calculating the Titanic survival rate 1

Template

We have prepared a template for you to use, please click here to download it.