Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Counting exercise/quiz


1. Counting exercise/quiz
This work/quiz is to be done without any assistance from anyone or any electronic or other device.

Given a blank piece of paper, you are to do the following.

2. Exercise/quiz
On the left half of the page, write the numbers from 0 to 15, one per line. Do this in binary (left most column), hexadecimal (middle column), and decimal (rightmost column). Include the appropriate suffix for each number.

You will be given a decimal number in the range of 0 to 255. On the right part of the page, convert that number to base 2 and base 16 representation, including the appropriate suffix for each number. Clearly indicate each answer by drawing a box around just the answer for each part.

3. Requirements
A functional requirement has to do with the functionality of what is asked.

A nonfunctional requirement does not have to do with the functionality of what is asked.

The method you use to convert the decimal number to hexadecimal and binary is a nonfunctional requirement.

4. Methods
There are many ways to do part 2 (part 1 also has many ways). You should find a method that works for you, since there are many methods that provide the same answer.

5. Testing situations
Common student question: "What do you mean by ...?".

Common teacher answer: "Read the question as stated and answer it as best you can.".

6. End of page