100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten
logo-home
Computational Thinking Assignment 1 €5,49
In winkelwagen

Case uitwerking

Computational Thinking Assignment 1

 0 keer verkocht

Computational Thinking Assignment 1

Voorbeeld 1 van de 3  pagina's

  • 14 juni 2022
  • 3
  • 2019/2020
  • Case uitwerking
  • Bhulai
  • 9-10
Alle documenten voor dit vak (7)
avatar-seller
TR19
Computational Thinking - Assignment 1 (Artificial Intelligence Year 1)


1. Two snails

A) Every day, snail number one climbs 5 meters upwards and at night he slides down 4
meters. The well is 20 meters deep. In 24 hours, the snail climbs up 5 – 4 = 1 meter. Once
the snail has reached the well, he will not slide down anymore. Day 1 until day 15 (if you
count day + night), the snail will cover a distance of 15 meters. On day 16, he will climb up 5
meters and reaches the edge of the well. There will not be a night of sliding down.
It takes snail number one 16 days to reach the edge of the well.
Type of strategy/algorithm: “divide the problem into several sub problems and steps”.
I solved the problem by simplifying the problem and dividing it into a few steps.

B) It takes snail two 0 days to reach the edge of the well because he is happy. He has no
reason to climb upwards the well. He’ll stay at the bottom of the dry well.

Snail one is unhappy and wants to move out the well. He will reach the edge of the well in 16
days (as explained in A).

That’s what you’ll get when you take both snails separately. But the snails won’t climb up
together. This question can’t be answered, because it says “how many days does it take both
snails to reach the edge of the well when they climb up together?”.

2. Turkeys and chickens

There are 88 chickens and turkeys in total. There are 36 more chickens than turkeys. This
means that there are 88 – 36 = 52 chickens and that there are 88 – 52 = 36 turkeys.

The price you pay for 1 chicken and 1 turkey is 12 Euro. A turkey costs 3 times the price of a
chicken, so that’s 9 Euro for a turkey and 3 Euro for a chicken.

If the farm sells half its chickens, they will make 52 : 2 x 3 = 78 Euro
If the farm sells half its turkeys, they will make 36 : 2 x 9 = 162 Euro

The farm would make 78 + 162 = 240 Euro in total, if they sell half of the chickens and half of
the turkeys.
Type of strategy/algorithm: “divide the problem into several sub problems and steps”.
I solved the problem by simplifying the problem and dividing it into a few steps.




SEE NEXT PAGE FOR PROBLEM 3



1

Dit zijn jouw voordelen als je samenvattingen koopt bij Stuvia:

Bewezen kwaliteit door reviews

Bewezen kwaliteit door reviews

Studenten hebben al meer dan 850.000 samenvattingen beoordeeld. Zo weet jij zeker dat je de beste keuze maakt!

In een paar klikken geregeld

In een paar klikken geregeld

Geen gedoe — betaal gewoon eenmalig met iDeal, creditcard of je Stuvia-tegoed en je bent klaar. Geen abonnement nodig.

Direct to-the-point

Direct to-the-point

Studenten maken samenvattingen voor studenten. Dat betekent: actuele inhoud waar jij écht wat aan hebt. Geen overbodige details!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper TR19. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €5,49. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 64419 samenvattingen verkocht

Opgericht in 2010, al 15 jaar dé plek om samenvattingen te kopen

Begin nu gratis
€5,49
  • (0)
In winkelwagen
Toegevoegd