CS16, W11, UCSB LabHW1: Worth 50% of Lab01 score (50 total points) Print this form, staple loose pages together, and write your answers on it. Accepted: on paper, at the *beginning* of *your* lab section on Thursday, January 13. Place on the front desk as

CS16, W11, UCSB LabHW2: Worth 50% of Lab02 score (50 total points) Print this form, staple loose pages together, and write your answers on it. Accepted: on paper, at the *beginning* of *your* lab section on Thursday, January 20. Place on the front desk as

CS16, W11, UCSB LabHW3: Worth 50% of Lab03 score (50 total points) Print this form, staple loose pages together, and write your answers on it. Accepted: on paper, at the *beginning* of *your* lab section on Thursday, January 27. Place on the front desk as

CS16, W11, UCSB LabHW4: Worth 50% of Lab04 score (50 total points) Print this form, staple loose pages together, and write your answers on it. Accepted: on paper, at the *beginning* of *your* lab section on Thursday, February 3. Place on the front desk as

CS16, W11, UCSB LabHW5: Worth 50% of Lab05 score (50 total points) Print this form, staple loose pages together, and write your answers on it. Accepted: on paper, at the *beginning* of *your* lab section on Thursday, February 10. Place on the front desk a

Computer Science 16 Computer Problem Solving with Computers I
Designed for CS pre-majors Primary goal: prepare for CS 24, 32, Assumption: students can already program in some high-level language So already familiar with fundamental concepts:
Data types,

Formatted printing with printf printf Formatted
Basic form: printf("format",object1,object2,)
printf("x = 0", x); /* same as %i; x is an integer */ Or use %o or %x to show same value in octal or hexadecimal And unique to ch translator - ' to show in binar

Operations depend on types Operations e.g., binary operation: a op b op
If a and b are same type: (1) perform op based on rules of that type, and (2) return result of that type If a and b are different types: (0) make a copy of lower value promoted to hig

CS16, W11, UCSB LabHW0: Worth 50% of Lab00 score (50 total points) Print this form, staple loose pages together, and write your answers on it (or just use the copy that was passed out during the first lecture). Accepted: on paper, at the *beginning* of *y