debug the code! (python)
simple coding knowledge
infocomm trivia
100

correct output: string, "Hello World!"

bugged code: print(Hello World!)

missing ""

correct code: print("Hello World")

100

Name 3 coding languages. 

Python, Swift, Javascript, C#, HTML, CSS

any valid answer accepted!

100

What time does our CCA start and end?

3-5pm

200

correct output: string, "I love Infocomm!"

def func:

  print("I love Infocomm!")

func()

missing ()

correct code:

def func():

  print("I love Infocomm!")

func()

200

Name 3 things you can do with coding. 

Backend/frontend web development, app development, data analysis

any valid answer accepted!

200

What's the name of the company our external instructors work for?

Tinkercademy :D

300

correct output: variable, input to Question

bugged code:

answer = input("Question")

print("answer")

unnecessary ""

correct code:

answer = input("Question")

print(answer)

300

What are variables?

Variables are used to store values for use later in code.

Any valid definition accepted!

300

Who takes the Sec 4 attendence during CCA? (full name pls!)

Ariele Acelynn Yoong

400

correct output: string, "Your answer is 1!"

bugged code:

number = input("What is your number? ")

if number == 1:

  print("Your number is 1")

missing int()

correct code:

number = int(input("What is your number? "))

if number == 1:

  print("Your number is 1")

400

What are loops?

Loops repeat a set of code/series of actions a fixed number of times. 

Any valid explanation accepted!

400

Name all 3 of our teachers-in-charge (full names!)

Mrs Karen Chia, Mr Zhuang Erjin, Ms Loh Yih Huey

500

correct output: string, "I love ramen//I love waffle//I love soup"

bugged code:

food = ["ramen", "waffle", "soup"]

for dish in food.list:

  print("I love", dish)

unnecessary .list

correct code:

food = ["ramen", "waffle", "soup"]

for dish in food:

  print("I love", dish)

500

What is a boolean?

Data that can only store "True" or "False"

Any valid explanation accepted!

500

What's the full names of our president and 2 vice-presidents?

Pres: Wong Sze Yee

Vice-pres: Samantha Kunafi, Sara Ann Kok