100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Case

Computational Thinking Assignment 1

Rating
-
Sold
-
Pages
3
Grade
9-10
Uploaded on
14-06-2022
Written in
2019/2020

Computational Thinking Assignment 1

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
June 14, 2022
Number of pages
3
Written in
2019/2020
Type
Case
Professor(s)
Bhulai
Grade
9-10

Subjects

Content preview

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
$6.66
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
TR19

Also available in package deal

Get to know the seller

Seller avatar
TR19 Vrije Universiteit Amsterdam
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
9 year
Number of followers
0
Documents
7
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions