|
Questions
Question: How many bytes are in a kilobyte? The answer may not be what
you think. (for the answer highlight the text in the box below
with your mouse)
There are actually 1024 bytes in a kilobyte. Many people think there
are exactly 1000 in conformance with the SI standard, but the number
1000 does not often come up in computers. 210,
however, does since a computer thinks in binary instead of deciaml, and
since that is approximately 1000, 210 or
1024 bytes comprise the kilobyte. Similiarly, there are 1024 kilobytes
in a megabyte.
|
Question: while ((x > 5) or (y < 6)) is the same as what
until statement?
until ((x <= 5) and (y >= 6))
|
Question: If you flip a coin twice, what is the probability that it
will land on heads either the first or second time?
The probability of the and of two thing happening is the
product of the liklihood of each of them occuring. The questoin posed
here is an or , however. But if you understood the logic
to the last question, then you know how to convert an or
to an and . Since the chances of a coin landing on heads
(and not landing on heads) is 1/2, the question can be writen as:
1/2 or 1/2
not (1/2 and 1/2)
not (1/4)
3/4
|
Question: What does URL stand for?
URL stands for Uniform Resource Locator and Universal Resource Locator.
I've seen people convinced either term is the right one, though
most source use the first one. If you have no idea what a URL is, maybe
you will be familiar with the terms "Internet address" or "www thing".
|
|