Codify: Code Pioneers

Codify: Code Pioneers

9th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Gr 2

Gr 2

2nd Grade - University

10 Qs

Excel CH 1 & 2

Excel CH 1 & 2

1st - 11th Grade

10 Qs

MS PPT Quiz

MS PPT Quiz

12th Grade

10 Qs

Basic Parts of a Computer

Basic Parts of a Computer

10th - 12th Grade

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

Navigating in Excel

Navigating in Excel

9th Grade

10 Qs

Scratch Quiz 1

Scratch Quiz 1

4th - 11th Grade

10 Qs

Python Variables

Python Variables

7th - 12th Grade

10 Qs

Codify: Code Pioneers

Codify: Code Pioneers

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

Codify undefined

Used 1+ times

FREE Resource

5 questions

Show all answers

1.

OPEN ENDED QUESTION

10 mins • 5 pts

Write the HTML code to display a heading, a paragraph, and a list of your favorite hobbies.

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

10 mins • 5 pts

Design an algorithm to calculate the sum of numbers in a list.
Input: [1, 2, 3, 4]

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

10 mins • 5 pts

In a 2D game, a sprite moves up, down, left, or right based on the arrow keys pressed. Which logic best controls the sprite’s movement?

if (key === "ArrowUp") moveUp();

if (key === "ArrowDown") moveDown();

if (key === "ArrowLeft") moveLeft();

if (key === "ArrowRight") moveRight();

if (key === "Up") moveUp();

else if (key === "Down") moveDown(); else moveRandom();

for (let i = 0; i < keys.length; i++) { if (keys[i] === "ArrowUp") moveUp(); }

None

4.

MULTIPLE CHOICE QUESTION

10 mins • 5 pts

You have a database table Students with the following columns:

  • ID

  • Name

  • Grade

Which SQL query is used to retrieve the names of all students who scored above 80.

SELECT Name FROM Students WHERE Grade > 80;

SELECT Name, Grade FROM Students;

SELECT * FROM Students WHERE Grade >= 80;

DELETE FROM Students WHERE Grade > 80;

5.

MULTIPLE CHOICE QUESTION

10 mins • 5 pts

What will the following Python code output?

def greet(name, age=10): print(f"Hello {name}, you are {age} years old.") greet("Ali")

Hello Ali, you are 10 years old.

Hello Ali, you are unknown years old.

Hello Ali, you are None years old.

Error