LESSON 25: NUMBER SYSTEMS

  1. Study the index cards on Number Systems. I've included a hard copy of these index cards, for your convenience.
  2. Be sure that you can answer all the following questions: similar questions are fair game for quizzes and tests. You should be able to answer all these questions using paper and pencil only.
    1. In the base ten number 3,974, the digit 3 represents 3 what? The digit 9? The digit 7? The digit 4?
    2. Count the number of stars, and represent this number in base ten; base eight; base three; base two; and base sixteen:
      * * * * * * * * * * * * * * * * *
    3. What base is the decimal number system?
    4. What base is the binary number system?
    5. What number system makes the most sense for computers, and why?
    6. Represent the base ten number 23 in the base two number system. (You can check all the base conversion problems in these exercises using the online base converter. However, you must show all work leading to your answers when you are asked base conversion questions on quizzes and tests!)
    7. How should you read aloud the binary number 1001101?
    8. How should you read aloud the hexadecimal number 39C1?
    9. Convert the binary number 1001101 to a decimal number.
    10. Could 97401 be a binary number? Why or why not?
    11. Could 97401 be a hexadecimal number? Why or why not?
    12. Give an example of a 5-digit base three number. Give an example of a four-digit binary number.
    13. What base is "octal"?
    14. What base is "hexadecimal"?
    15. What do A, B, C, D, E and F represent in the hexadecimal number system? Is there a "G" in the hexadecimal number system?
    16. What are the three most commonly used bases for computer applications?
    17. In HTML, how can you tell when you're being given a hexadecimal number?
    18. Convert the binary number 11010011101011 to octal; to hexadecimal.
    19. Convert the hexadecimal number #B903 to octal; to binary; to decimal.
    20. Convert the number 201123 to base seven.
    21. Be able to convert any number, in any given base, to any other base.
    22. Suppose you're given the number "52304" but you're not told what base it is in. What bases could it possibly be, and why?
    23. What is the right-most place value in any base?
    24. Suppose that a three-digit number x1x2x3 is in base N. What is the place value of the digit x3? Of the digit x2? Of the digit x1?
    25. Write out an expression for the number x1x2x3 base N.
    26. The number "abc" is an octal number, that is equal to 346 in base ten. What are the digits "a", "b" and "c"?
  3. Continue reading in the Weasel book, pages 103–114 (all of Chapter 9). Here, you'll get lots of detail about the HTML structural tags. Be able to answer all the following questions. (Some of these questions are repeated material from earlier sections.)
    1. What five structural tags are studied in these pages of reading?
    2. To the right of each tag, there is info like this:
      NN 2,3,4,6       MSIE 2,3,4,5,5.5,6       HTML 4.01       WebTV       Opera5      
      What does it mean if one of these words is grayed out?
    3. Are all attributes listed for each structural tag, in the chapter on "Structural HTML Tags"? If not, where can you find a more thorough listing of attributes?
    4. In Appendix A, what is %coreattrs an abbreviation for?
    5. In Appendix A, what is %i18n an abbreviation for?
    6. In Appendix A, what is %events an abbreviation for?
    7. What part of an HTML document contains the part of the document that is displayed in the browser window?
    8. What is the tag/attribute to set the color of active links? Is this deprecated? Write HTML code that sets the color of active links to red.
    9. What is the tag/attribute to use a tiling graphic in the background of a document? Is this deprecated? Write HTML code that uses "mybackground.gif" to tile the background.
    10. What is the tag/attribute to set the color of the background for a document? Is this deprecated? Write HTML code that sets the color of the background to red.
    11. What is the tag/attribute to set the default color for all links? Is it deprecated? Write HTML code that sets the link color to red.
    12. What is the tag/attribute to set the default color for all non-hyperlink and unstyled text? Is it deprecated? Write HTML code that sets this color to red.
    13. What is the tag/attribute to set the default color for all visited links? Is it deprecated? Write HTML code that sets the visited link color to red.
    14. Write the HTML code that will set the background color to pink, text color to red, links to green, visited links to blue, and active links to purple.
    15. What events other than %events does the body tag support?
    16. What does dir=rtl stand for? What tag takes this attribute/value?
    17. What is another name for the "head" of an HTML document?
    18. Is "Welcome" or "My Homepage" a good name for the title of an HTML document? Why or why not?
    19. Suppose you use a "very busy" graphic image to tile a web page. What should you be concerned about?
    20. Suppose you use a background image for tiling that takes a while to load. What can you do to "set the mood" while the graphic is loading?
    21. Can you set different margins for the left margin and right margin on a web page? If so, write the code to set the left margin to 10 pixels, right margin to 20 pixels. Will this work in both major browsers?
    22. What does "client-pull" refer to?
    23. What is the effect of "client-pull" for a user?
    24. Write the code that would automatically reload an HTML document every 15 seconds. In what part of the HTML document should this code go?
    25. Write the code for an HTML document that says "Welcome to Carol Fisher's homepage!" and then, after 5 seconds, automatically sends you to http://fishcaro.crosswinds.net
    26. Write code that sends you back and forth between two different web pages, in 5 second intervals, endlessly!
    27. Write the code that would cause an HTML document to expire on Wednesday, January 7, 2004 at 12:00:00 EST.
    28. What is the usefulness of specifying a date at which a web page "expires"?
    29. Explain how you could create your own "slide show" in HTML.
    30. Write the code (two different ways) that would prevent a web page from being indexed, and also prevent search engines from following links on the page.
    31. Write the code that would identify a web page as appropriate for a general audience. What are the other three possible "ratings" for a web page?
THE QUIZ OVER THIS LESSON WILL CONSIST OF:
Prepare for the quiz over this section by practicing below.
Questions are asked in random order.
You can generate a printable quiz with solutions.








How many problems would you like on the quiz? (57 max)