1) What is the formula used to return
a whole number when doing division?
You use a double forward slash like so: //
You use a double forward slash like so: //
2) What is the formula used to return
the remainder when doing division? How does it work? Explain with an example.
You use the percentage sign % for
example: 12%5
3) Why is it important in computing to understand number systems and in particular binary?
It is important to because it will help us understand the ‘language’ of computers which is binary and would help us understand the code of the circuits
4) How does binary work? i.e. how do we convert a number from decimal into binary?
The five
switches are either 1=on and 0=off. Every switch represents a double starting
from 1 from right to left 0 0 0 0 0
16 8 4 2 1 This can carry on adding more switches of 1 and 0 depending on the number.
From decimal to
binary you can use two ways. One way is, you can keep dividing your number by
2. If you have a remainder of one that counts as an on switch and no remainder
so 0 counts as an off switch. You keep dividing by 2 until you end up with 0. For
example 156/2=78, 0 remainder, 78/2=39, 0 remainder, 39/2=19, 1 remainder,
19/2=9, 1 remainder, 9/2=4, 1 remainder, 4/2=2, 0 remainder, 2/2=1, 0
remainder. Therefore, the binary code is 001110010.
5) Find examples of the fibonacci
sequence in nature and post pictures of them in your blog.


No comments:
Post a Comment