CS Basic
HTML
Javascript
SQL
Code it!
100

What are two languages we've learned that are NOT programming languages?

What is "SQL and HTML"?

100

What brackets do you use in order to input JavaScript into the HTML file?

What is "<script></script>"?

100

How do you create a variable?

What is "let"?/What is "var"?

100

What statement do you use in order to pull data out from a database?

What is "select"?

100

Using Javascript, make me a rectangle that's red.

What is "
graphics.fillStyle = "red";
graphics.fillrect(0, 10, 10, 20);
"?

200

What is an example of a service site language?

What is "PHP"?

200

What is the difference between HTML and HTML:5 on Visual Studio Code?

What is "HTML does not input meta data whilst HTML:5 does"?

200

When using the graphics function "fillrect", in order, what are the different functions?
(ex: graphics.fillrect(x, x, x, x))

What is "x, y, width, height"?

200

What is it referred to as when you combine two different tables together to pull out information?

What is "Joining tables"?


200

Using JavaScript, print the multiples of 3 until 100.

What is "
for (let i=0; i<100; i+=3) {
console.log(i);
}" ?

300

What type of software engineer primarily works with the graphical interface in which the user interacts with? For example, on a website.

What is "front-end engineer"?

300

What does CSS stand for?

What is "Cascading Style Sheet"?

300

Unlike var, this keyword defines a read-only reference to a value and must be initialized at declaration.

What is "const"?
300

What does SQL stand for?

What is "Structured Query Language"?

300

Using SQL, create a users table with these columns:
id, name, email, password.

What is "
CREATE TABLE users(
id INT PRIMARY KEY AUTO_INCREMENT,
name VARCHAR(20) NOT NULL,
email VARCHAR(50) NOT NULL,
password VARCHAR(20) NOT NULL)"?

400

What does FTP stand for?

What is "File Transfer Protocol"?

400

Whats the difference between header and head?

What is "the head includes all tags, including the meta data, whilst header is the top text"?

400

This method is used to select an HTML element by its ID.

What is "document.getElementById();"?

400

In order to use the COUNT() function, what other key word must we employ?

What is "Group by"?
400

Using SQL, pull out the data of the different currencies used in the different countries in the continent of Asia?

ASSUME:
wf_countries is the table that has:
countries_name, countriesid, province, language_used, currency_used, currency_most_used, population, continent, land_mass. 

What is "
SELECT countries_name, currrency_used
FROM wf_countries
WHERE continent="Asia";
"?

500

What's the difference between a function and a structure?

What is "Functions are reusable blocks of code that perform specific tasks, while structures allow you to group different data types together under a single name"?

500

This <input> type is used for securely entering one-time passwords or other hidden values that should not be auto-filled.

What is "type="password""?

500

This operator can return true when comparing a string and a number, due to implicit type conversion.

What is "=="?
500

what do we call a data field that is used to uniquely identify the record that contains it?

What is "Primary Key"?


500

Using PHP, connect to a database where
password: MCA!s4wesome
name: 2025_MCADB
user: 2025_MCA
Also add an if statement where it checks if the connection was successful or not.

What is "
<?php
$servername = "2025_MCADB";
$username = "2025_MCA";
$password = "MCA!s4wesome";

$conn = new mysqli($servername, $username, $password);

// Check connection
if ($conn->connect_error) {
  die("Connection failed: " . $conn->connect_error);
}
echo "Connected successfully";
?>
"?