Compsci 06/101, Spring 2011, Lab 2

By entering your name/net-id below you indicate you are present for Lab 2 to answer these questions and that you were part of the process that resulted in answers being turned in.

Name: ______________    Net id: _____________ || Name: ______________    Net id: _____________

Name: ______________    Net id: _____________ || Name: ______________    Net id: _____________

  1. String Slicing and Dicing

    Provide your answers to 3-7, creating each word by slicing:
  2. 
    
    

  3. 
    
    

  4. 
    
    

  5. 
    
    

  6. 
    
    

Create your own slicing/word puzzle: what's the word and what's the answer?




Faces

  1. What did you change to make two faces? three faces?
    
    
    
    
  2. In creating three lines of hair, what did you determine is the purpose of the string "\n" in the code?
    
    
    
    
    
  3. What did you do to create a "long" head?
    
    
    
    
    
  4. What did you modify to create a smile?
    
    
    
    
    
    
  5. What did you modify to create three heads with different-facing eyeballs?
    
    
    
    
    
    
    
    
    
    
    
  6. What does your drawn nose look like?
    
    
    
    
    
    
    
    
  7. What did your "own" change look like? In words?