Week 01 Tutorial Questions

    Welcome to COMP1511

  1. Introduce yourselves, get to know your tutor, get to know your classmates.

  2. 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...

  3. Your tutor will now take a few minutes to go over features of Blackboard Collaborate (recordings, raising hands, doing polls, and sharing screen)

  4. Do you have any questions about the course so far? eg course website, structure, assessments?

  5. Operating Systems

  6. What is an operating system?

  7. What operating system do you run? What about your classmates? The CSE lab (and VLAB) computers?

  8. What are the differences between graphical user interfaces and the command line? When might one be better than the other?

  9. Introduction to C programming

  10. 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.
  11. Write a C program, face0.c, that behaves as follows:

      ~ ~
      0 0
  12. How would you compile this program?

  13. How could we modify it to make a program, face1.c, look like this instead?

      ~ ~
      0 0