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: _____________
-
String Slicing and Dicing
Provide your answers to 3-7, creating each word by slicing:
-
-
-
-
-
-
Create your own slicing/word puzzle: what's the word and what's the
answer?
Faces
- What did you change to make two faces? three faces?
- In creating three lines of hair, what did you determine
is the purpose of the string
"\n"
in the code?
- What did you do to create a "long" head?
- What did you modify to create a smile?
- What did you modify to create three heads with different-facing
eyeballs?
- What does your drawn nose look like?
- What did your "own" change look like? In words?