Week 01 Tutorial Questions
-
Introduce yourselves, get to know your tutor, get to know your classmates.
-
How do you make a peanut-butter sandwich?
How could you break that process into steps?
How could you break it down clearly enough that a computer could understand it?
Maybe your tutor could do a live demonstration of a similar task following your exact instructions...
-
Your tutor will now take a few minutes to go over features of Blackboard Collaborate (recordings, raising hands, doing polls, and sharing screen)
-
Do you have any questions about the course so far? eg course website, structure, assessments?
-
What is an operating system?
-
What operating system do you run? What about your classmates? The CSE lab (and VLAB) computers?
-
What are the differences between graphical user interfaces and the command line? When might one be better than the other?
-
Discuss the following features of the sample program from lectures:
// Basic Hello World program // Marc Chee, September 2020 #include <stdio.h> int main (void) { printf("Hello World\n"); return 0; }
-
the
\n
- Comments: What should go in a comment? What makes a good comment? How do comments improve program style?
- Indenting and whitespace: What is indented in the sample program? Suggest why.
-
the
-
Write a C program,
face0.c
, that behaves as follows:./face0 ~ ~ 0 0 o -
-
How would you compile this program?
-
How could we modify it to make a program,
face1.c
, look like this instead?./face1 ~ ~ 0 0 o \_/