coding
tech
our CCA
debugging
random
100

Name a programming language.

E.g.

- Python

- C++

- SQL

100

What does AI stand for?

Artificial intelligence 

100

When does our CCA take place?

Fridays 3.00-5.00pm

100

print(“hello world!’)

print(“hello world!”)

100

What is the name of this school?

Methodist Girls’ School

200

Explain why functions are useful.

- Organise code

- Prevent complexity

- Avoid repetition

200

How many megabytes are there in each gigabyte?

1000

200

Where is our CCA venue?

Computer lab 1 (lvl 2)

200

n = 3

while n > 0:

print(“hello”)

n -= 1

n = 3

while n > 0:

   print(“hello”)

   n -= 1

200

Name the classes in each level. (10)

M, E, T, H, O, D, I, S, G, R

300

Name a type of error.

E.g.

- Runtime

- Logic

- Syntax

300

What does https stand for?

Hypertext Transfer Protocol Secure

300

Name a competition that our CCA frequently participates in.

E.g. NOI, NJIO, NYTC

300

age = 15

print(f”she is {Age} years old.”)

age = 15

print(f”she is {age} years old.”)

300
Name the first programmer.

Ada Lovelace

400

Explain the difference between = and == in python.

= : to assign a value to a variable

==: to check if 2 values are equal

400

Name any two components of a computer.

E.g.

- Processor

- Data bus

- Memory

- Monitor

400

Name an Infocomm teacher in charge.

- Mr Winston Seow

- Mrs Karen Chia

- Mdm Sim Lay Ling

400

#print fruits one by one

list = [“strawberry”, “‘banana”, “lemon”]

numfruits = 0

for i in range(len(list)):

   print(f”there is a {i}.”)

list = [“strawberry”, “‘banana”, “lemon”]

numfruits = 0

for i in range(list):

   print(f”there is a {i}.”)

400
Name the first video game and when it came out.

Tennis for Two, 1958

500

Explain what lambda is.

Lambda is a small anonymous function.

E.g. 

x = lambda a, b: a+b

print(x(5, 6))

output: 11

500

Explain the difference between front and backend coding.

Frontend: builds what the users see, user interface and experience

Backend: builds the server, database and logic that powers the frontend

500

Name a vice-president of our CCA.

- Nguyen

- Elly
500

#include <iostream>

using namespace std;

int main() {

  int x = 5, y = 6;

  cout << x + y

  return 0;

}

#include <iostream>

using namespace std;

int main() {

  int x = 5, y = 6;

  cout << x + y;

  return 0;

}

500

Explain the difference between a web browser and a search engine.

Web browser: the software application you install to access and view websites

Search engine: service within the browser that helps you find information by indexing the web