Skip to content

Instructions for CS2030(S) Final Exam

Terence Sim edited this page Nov 24, 2020 · 18 revisions

The Exam Protocol has changed. We will not be using Fedora ISO, nor the PE nodes. Read the new Protocol here: https://luminus.nus.edu.sg/download/5122358d-bfd0-4c67-81df-af22d9cc59c8?name=cs2030-exam-protocol.pdf

The protocol below is the old one, left here for archival purpose. Please ignore.


The Final Exam will be held on Mon, 30 Nov 2020, from 5pm to 7pm (Singapore Time). This will be synchronous, ie. everyone will start and end at the same time (except those who have been granted extra time).

You will use the Fedora-SoC ISO for the Final Exam. This is still the best choice: it is secure, and automates many tasks for students and instructors. For proctoring, you will set up a separate laptop or phone that allows the invigilator to monitor you via Zoom. See Proctoring Protocol. The Fedora-SOC ISO does not have Zoom, and is only meant to display the exam questions and accept your answers. On this Zoom device, also set up Microsoft Teams as a backup, in case Zoom fails.

This Zoom device also functions as a communication tool with your invigilator. Thus, please enable audio so that you can hear announcements. If you wish to ask questions, use Zoom chat to privately message your invigilator.

The Fedora-SOC ISO automates the following tasks:

  1. Connects you via VPN to the SOC network, and to your usual PE node.
  2. Periodically backs up your files to your PE node (so that in case of hardware/network failure, you may resume your work with minimal loss).
  3. Performs screen capture (so you don't have to use ffmpeg or VLC).
  4. Displays the exam questions, and allows you to browse Java docs.
  5. Allows you to type in your answers into one or more text files, via the editor.
  6. Allows you to check the exam time that has elapsed.
  7. Uploads all your files and the screen capture video when the exam is over (you need to trigger this manually).
  8. Uploads them to a Gmail account for redundancy.
  9. Displays a QR code as confirmation of a successful upload (you should take a picture of this QR code, for troubleshooting if necessary).

The Fedora-SOC ISO does not use your webcam, and thus you need to set up a Zoom device for proctoring and for communication. Also, it does not save any files on your laptop; instead, it saves them on your PE node.

Fedora-SoC Exams

We have created a short video below to go through the downloading and a tour of the Fedora-SoC environment: Fedora SoC Exams

Exam-V1 Downloads

You have to use the latest version of the Exam ISO, download below. Please refer to Creating the Fedora SoC bootable USB Stick if needed.

Before the Final Exam

  1. Read the NUS Computing E-Exam Standard Operating Procedure (SOP).
  2. Prepare a thumb drive to install the Fedora-SOC ISO.
  3. If the Fedora-SOC ISO has problems using your Macbook wifi, please borrow a USB wifi dongle from the School.
  4. Obtain all other equipment you may need, such as USB hub, USB Type C adaptor, etc. The School will not provide.
  5. Participate in the Mock Exam on Fri, 20 Nov at 4pm, which is a "full-dress rehearsal", simulating the actual exam condition. This will take approx 20 mins. You will answer some questions, but they won't count towards your final grade.
  6. If you need help to set all these up, please attend a Help Clinic on Wed 18 Nov (exact time to be announced in Luminus).

On the day of the Final Exam

  1. Setup all the necessary equipment and start the Zoom session around 4.30pm. The invigilator will take attendance. You will need to show your Student Card on Zoom.
  2. Boot into the Fedora-SOC ISO, adjust the font size, login to VPN, but stop at the step to connect to your PE node.
  3. Your PE node will only open at 5pm, so you cannot connect any earlier. Wait for your invigilator to give you the go-ahead to login.
  4. Take the exam.
  5. Use Zoom chat to communicate with your invigilator.
  6. Listen out for any announcements on Zoom audio.
  7. When you have finished, manually trigger the "end-pe" process, which will perform the uploads of your files.
  8. Wait for the confirmation QR code. Take a picture of the QR code, for troubleshooting.
  9. If you do not see the QR code, do not power down your laptop!! It is busy attempting to upload your files, which may take a while due to network congestion. Please be patient.
  10. In case of any hardware/network/software failures, immediately inform your invigilator, who will advise you what to do. Do not panic. In case Zoom fails, use Microsoft Teams (on your phone).

Using Fedora-SOC

This page will explain how to start up the PE on Fedora SoC.

Important PE Instructions:

  1. Logging in
  2. Connecting to the Internet and VPN
  3. 1 Hour Before the Exam
  4. Beginning the Exam
  5. Viewing the Browser
  6. Checking Internet Connection
  7. Ending the Exam

Miscellaneous Instructions:

  1. Changing Keyboard Layout
  2. Splitting Screens

Logging in

First, you will be prompted to log in. Log in with CS2030.

fedora_login

Your Fedora SoC version will be shown. Ensure that the version you are using is the latest one found in the Downloads page before proceeding to the next step. Problems with previous versions will not be entertained.

fedora_version

Next, you need to choose a font size. Test out any integer from 0 - 8 and enter q when you are done.

fedora_font_size

If you are using a Mac, you will be asked to adjust your resolution.

PC users may skip to entering your NUSNET id.

First, adjust the number of columns such that the + is at the right edge of your screen.

fedora_col_adjust

Then, adjust the number of rows such that the line Adjust rows resolution (this should be the last line) or 'c' to continue: is at the bottom edge of your screen.

fedora_row_adjust

PC users resume here.

Then, you will be asked to enter your NUSNET id E0XXXXXX (the 'E' has to be in uppercase).

After entering, you will be asked to double check your NUSNET id, enter y if it is correct, and N if it is wrong.

fedora_nusnet

If you have any issues and you are using a Mac, please report them here

Connecting to the Internet and VPN

If you are already connected to the Internet:

You will asked to enter your password to connect to the VPN. Enter your NUSNET password and press Enter.

fedora_vpn

DISCLAIMER: Your password will not be recorded, it will be directly uploaded to the authentication server.

If you are not connected to the Internet:

You will be asked to connect to the Internet. Press "enter".

Use arrow keys to select Activate a connection and press Enter.

nmtui_activate

You will see a list of available Wi-Fi networks. Select the correct one and press Enter.

nmtui_select

Once connected, there will be an asterisk (*) beside the Wi-Fi network to show that you are connected.

nmtui_activated

Then, scroll down the list until you see the section labelled VPN.

Select NUSSTU-SoC and press Enter.

nmtui_activate_vpn

You will be prompted for a password. Enter your NUSNET password and press Enter.

DISCLAIMER: Your password will not be recorded, it will be directly uploaded to the authentication server.

nmtui_vpn_pw

Once connected, there will be an asterisk (*) beside NUSSTU-SoC to show that you are connected.

nmtui_vpn_done

If successful, you are now connected to internet and NUS SoC VPN! Press Esc twice to exit nmtui.

The system will then check if the version you are using is the latest version. If you are not using the latest version, you will be asked to download the latest version. If not, it will tell you that you are using the latest version (like below) and you may continue.

fedora_version_check

1 Hour Before the Exam

1 hour before the exam, you will be asked to wait for the exam to start. The current time and time of the exam will be shown (like below).

fedora_exam_wait

While waiting, ensure that your exam setup is correct as per the instructions (e.g. logging into Zoom and setting up your camera). You are recommended to reach this stage before connecting to Zoom.

Beginning the Exam

Only connect to the PE node if the invigilator tells you to do so. Then, enter your plab account and server plabXXXX@peYYY.

fedora_pe_login

Then, you will be asked to enter your plab password.

fedora_plab

After entering your password, the exam will automatically begin.

DISCLAIMER: Your screen will be recorded during the PE for invigilation purposes.

Upon successful login, you will see the screen below. Your screen will blink once and then show the screen again.

fedora_help_screen

You can view these commands again at any time by entering help-pe.

Viewing the Browser

To open the browser, use see-browser.

You will be asked if you want to continue to the browser. Enter y to continue, or N if you change your mind.

fedora_see_browser

To refresh the browser page, press F5.

To go back to the terminal, press Esc or `.

For PC users, you can return to the Browser by pressing Ctrl+ Alt + F2. Mac users can return to the browser by using see-browser or switch-to-browser.

The browser will look like this:

fedora_browser

Viewing the Exam Question

The browser will open on the exam question page where you will be able to view the exam question. You can also return to the question by click on the Exam Qn tab at the top of the screen.

fedora_exam_qn

You may still use elinks to view the index.html file in the terminal.

Viewing JavaDocs

To view the Java Documentation, click on the JavaDocs tab at the top of the screen.

fedora_javadocs

Asking Questions

If you need to ask the CS2030 Teaching Team any questions regarding the exam, click on the Ask a Qn tab at the top of the screen. You will be shown a chat box to communicate with the teaching team.

fedora_ask_qn

Zooming In and Out of the Browser

To zoom in or out of the browser page, you can use the Zoom + and Zoom - buttons at the top right of the screen to zoom in and zoom out respectively.

fedora_zoom

Checking Internet Connection

At any point in time, if you want to check or connect to a network, you can enter nmtui to open the blue UI to manage your networks that was used in "Connecting to the Internet and VPN".

Ending the Exam

When you are done and would like to submit your answers, enter end-pe to stop the exam.

You will be asked to confirm if you want to exit. Enter y to confirm, enter N if you don't want to end yet.

fedora_end_pe

After this point, your home directory will not be accessible and your files will be automatically uploaded for you.

You will receive the message below when the upload is complete.

fedora_upload

Type and enter check-submission to get a QR code for your submission. If you see a QR code, it means your upload was successful.

Take a picture of the QR code like the image below and keep it.

fedora_qr

If you do not see a QR code, just wait and ask for help on the Zoom chat.

You may now power off your machine.

Congratulations! You have completed the exam!

Changing Keyboard Layout

The default keyboard layout may not be correct for your machine. View all available keyboard layouts using the command localectl list-keymaps | less

Set your desired keyboard layout using loadkeys, referencing the layout from the previous command. For example, to set the US keyboard:

loadkeys us

Splitting Screens

If you want to split your screen (e.g. to use elinks on one side and vim on the other), first enter tmux.

You should now see a green bar at the bottom of your screen.

tmux-begin

To split your screen vertically, press Ctrl + B (Control + B on Mac). Then press the % key.

tmux-vertical

To split your screen horizontally, press Ctrl + B (Control + B on Mac). Then press the " key.

tmux-horizontal

To move between screens, press Ctrl + B (Control + B on Mac), then press the Up, Down, Left or Right key to navigate.

To close a screen, press Ctrl + B (Control + B on Mac), then press the X key. The bar at the bottom will turn orange and ask if you would like to kill-pane X?. Then enter y to close or n if you change your mind.

tmux-delete

Best wishes for your final exam!

Clone this wiki locally