1. p
    2. l
    3. v
    4. b, f
    5. z
    6. w
    7. r
    8. s
    9. e
    10. g

    1. menu/list: Too many entries for radio buttons
    2. slider or radio boxes: You are asking the user for a small, bounded range of integers
    3. check boxes: You are asking the user for a small number of non-mutually exclusive items
    4. text box: Too large of a range for a slider. There is a good possibility that the slider would not fit on the screen and that the user would have a hard time pinpointing the exact value they wanted because only about one pixel could be allocated to each pound, thus making the slider twitchy.
    5. slider: 100 values is a reasonable number of integers to represent on the screen and the requirement of rapidity rules out a text box.

    1. JavaScript
    2. Python
    3. PhP
    4. Perl

  1.      JButton b1 = new JButton("Button 1");
         JButton b2 = new JButton("Button 2");
         JButton b3 = new JButton("Button 3");
         Box mainBox = Box.createHorizontalBox();
         Box leftBox = Box.createVerticalBox();
         Box rightBox = Box.createVerticalBox();
    
         leftBox.add(Box.createRigidArea(new Dimension(0,15)));
         leftBox.add(b1);
         leftBox.add(Box.createVerticalGlue());
         leftBox.add(b2);
         leftBox.add(Box.createRigidArea(new Dimension(0,15)));
         
         rightBox.add(Box.createVerticalGlue());
         rightBox.add(b3);
         rightBox.add(Box.createVerticalGlue());
    
         mainBox.add(Box.createHorizontalGlue());
         mainBox.add(leftBox);
         mainBox.add(Box.createRigidArea(new Dimension(10,0)));
         mainBox.add(rightBox);
         mainBox.add(Box.createHorizontalGlue());
         

  2.      c.gridx = 1;
         c.gridy = 2;
         c.gridwidth = 2;
         c.gridheight = 1;
         c.anchor = GridBagConstraints.LINE_START;
         c.fill = GridBagConstraints.VERTICAL;
         

  3. // collect the file into one big string by reading all the lines
    // in the file and concatenating them. The newline character will
    // be included for each line
    $file = "";
    while (<>) {
      $_ =~ s/^[a-z]\./<li>/;
      print $_;
    }