1.03 Skill-builder: Datatypes and Tables


//INIT: Datatypes
//HTML: Tables
//HTML: Two kinds of tables
//STYLE: Formatting code with tab indents

Saving your work

Use Save as... to save the empty code template as "1.03S-DataTypes-LastName.html" in your Computer Programming 12 directory.

The assignment

  1. Create a table
  2. Organize the data into the table by correct datatype
  3. Extend: create a unordered list of your own quotes

Create a table that looks like this:

A table organized by type of data

Boolean ...
Binary ...
Hexidecimal ...
Integer ...
Floating point ...
Character ...
String ...
Date ...

Then organize the following data into the correct categories in the table you made. Separate the entries in the same cell with the <br /> tag.

You only need to use three examples for each datatype. However, show all of them if you have time.

You may also wish to use a paper version of this cut up into little cards.

A table of random types of data

October 13, 2014 11:13:00 85 1.618 #ff0000 "Don't undertake a project unless it is manifestly important and nearly impossible" -Edwin Land April 12, 1961 12:00:00
00100100 July 29, 1997 15:45:23 #000000 1 67 i
11001001 "A late game is only late until it ships. A bad game is bad until the end of time" -Shigeru Miyamoto "Hardware eventually fails. Software eventually works" -Michael Hartung September 22, 1997 04:05:06 1.414 11111111
January 30, 1997 20:14:35 January 1, 1970 00:00:00 00000000 ) c true
#0000ff e 65 #0a0a0a 7 "Perfect is the enemy of good" -Voltaire
3.1416 2.718 "All labor that uplifts humanity has dignity and importance and should be undertaken with painstaking excellence" -Martin Luther King, Jr. "I'm an engineer. I see myself as a toolmaker and the musicians are my customers... They use my tools" -Robert Moog false 01000010
#ffffff ;

Extend and expand

I am curious which people you find inspirational. Please create an unordered list <ul><li></li></ul> of quotes from people whom you admire.

Quotes from awesome people: