Week 01 Tutorial Questions

    Welcome to COMP1511

  1. Introduce yourselves, get to know your classmates - Why do they want to study computing? What do they want to learn from this course?
  2. Get to know your tutor - How long have they been at UNSW? What are they studying? How can you get in contact with them?
  3. Do you have any questions about the course so far? eg course website, structure, assessments?
  4. If you're on Blackboard Collaborate, your tutor might take a few moments to show you how the interface works (recordings, raising hands, doing polls, and sharing screen).
  5. Forum Info

  6. Is it OK to ask a really really basic question on the course forum?
  7. I have a brain the size of a planet and been writing C programs since pre-school - do I need to read the course forum?
  8. Stress and Planning

    At University, despite our best efforts, workloads can get stressful. It's important to understand strategies for managing your workload, and to avoid situations where you feel you need to cheat in assignments.

  9. What is plagiarism? Are you allowed to submit the code of others? Should you give your work to anybody else?
  10. Why is plagiarism bad?
  11. Can I publish my code, during or after the term?
  12. Your tutor will discuss some resources that are available to help you if you're stressed or struggling. They might include:
  13. Introductions

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

  15. Operating Systems

  16. What is an operating system?

    What operating systems do your classmates run? The tute room? The CSE lab (and VLAB) computers?

    What are the differences between each of the various operating systems? What differences are there in their interfaces, and how do you interact with them?

    What are some different ways in which you can interact with a computer?

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

  17. Writing Some Code

  18. 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.
  19. Write a C program, face0.c, that behaves as follows:
    ./face0
    ~ ~
    0 0
     o
     -
    
    
  20. How would you compile this program?

  21. How could we modify it to make a program, face1.c, look like this instead?
    ./face1
    ~ ~
    0 0
     o
    \_/
    
    
  22. Logging In for the first time

    This is the first part of the Lab, but since you can't see it in the lab until after you log in, the information is here:

    1. Once you are in your lab, one student from your pair should log into the lab computer.
    2. Logging in if you're online - You'll want to have a way to use a CSE Terminal from home. The simplest way to do this is via a system called VLAB that CSE has created. Check the Home Computing section of the Course Website for instructions!
    3. To log in, you use your zID (which looks something like z1234567) and your zPass (which is used to log into all other university online services).
    4. The CSE labs use the Linux operating system (not Windows or OSX or ...).
    5. When you log in, by default, you'll be using the xfce4 window manager, and you'll see a linux desktop.
    6. If you are asked to select a panel click on use default settings.
    7. Along with menus that you can see, such as the Applications Menu in the top left corner, it also has a simple menu you can access by right-clicking anywhere on the desktop.
    8. Have a look around and see if you can work out how to open a web browser.
  23. Revision questions

    The remaining tutorial questions are primarily intended for revision - either this week or later in session.

    Your tutor may still choose to cover some of the questions time permitting.

/import/chopin/1/cs1511/public_html/21T1/public/tlb/questions/q-first-code.html