1.1-Introductie-Programmeren

week3 - Loops1 and IfStatements2

Learning Objectives

This week you’ll learn..


Loops1

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 Counting from 1 to 100 easily 1
2 Counting from 100 to 1 1
3 Throwing a die 1
4 Printing formatted numbers 1
5 Drawing (half of) a pyramid 1
6 Reversing a String 1
7 Drawing (half of) a pyramid 1
8 Horse racing 1
optional - 9 TicTacToe using while-loop 1

Template

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


IfStatements2

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 Adults and their pension 1
2 Car Maintenance Checker 1
3 Rewrite using boolean logic 1 1
4 Replace your fridge 1
5 Rewrite using boolean logic 2 1
6 Football scout 1

Template

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