• Topic 3: Introduction to more C commands and Open Ended Problems



    In this session you will be learning some more C commands which will increase the sophistication of your programs. You will be using these new commands and the skills you learned in the first two topics to solve a series of problem based activities. Unlike the first two topics, this session will be more open ended and will require you to think more about applying what you have learned up to now and how to use it. There are several short presentations to go over some key points about selection and repetition in RobotC. Please go over these before moving on to the practical activities. This set of exercises also relies on you being familiar with the basic features of Boolean Logic. If you feel you need to revise this, please revisit Activity 2 in topic 2 where there is an additional pair of videos on Boolean Logic. The majority of this topic requires you to work through a set of lab exercises and write them up. This forms a part of your final assessment for this module. Please ask questions and try different things.
  • Video on the WHILE loop in Robot C

    This video covers the use of the WHILE and DO-WHILE loops in Robot C. You will be using these loops in your activities in this topic and in the subsequent topics.

  • Activity 1:

    In this activity you will be using the lab book develop your own solutions to problems and to start developing your own code.

    For this activity you will be working on section 3.4 of the Lab Book (Using the While loop)

    Remember to download and save the lab book as this is what you will be completing over the next weeks and submitting for your assessment.

    You can find the document in the assignment section with full instructions on how to complete the first part.

    View Assignments Section
  • Video on the Variables in Robot C

    This is a short video on the use of Variables in Robot C

  • Video on the IF-ELSE selection structure in Robot C

    This is a short video on the use of the IF-ELSE structure to allow programs to select between two options depending on the input condition.

  • Activity 2:

    The second activity for this week is also contained as part of the lab book you will be completing for the assessment. The activity is section 3.5 of the Lab Book

    You can find the document in the assignment section with full instructions on how to complete the first part.

    View Assignments Section