Search Header Logo

Tournament 2

Authored by Brenda McLachlin

Computers

3rd - 12th Grade

Used 7+ times

Tournament 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: you can use use passed parameters in an object prototype.

True

False

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of these are defined recursively?

n = m * 2

n = (n - 1)!

n = (n - 1) + (n - 2)

n = 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where on the screen will the image "pic" show up?


imageMode(CENTER);

scale(0.5);

image(pic, 400, 200);

It will be off the canvas

Far right

In the middle towards the top

On the left halfway down the screen

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What colour will the ellipse be?


colorMode(HSB, 360, 100, 100);

fill(147, 100, 0);

ellipse(200, 200, 50, 50);

Bright green

Grey

Black

White

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

How many dimensions does this array have?


var nums = [[1, 2, 3], [4, 5, 6], [7, 8, 9]];

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate this expression:


((True && False) || True)

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What text will be printed to the screen?


var name = "Brenda";

name = prompt("Enter your own name here:", "");

fill(0);

text(name, 200, 200);

Brenda

Nothing - name is an empty string

Whatever the user types

The word "name"

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?