Javascript Basics

Javascript Basics

6th - 10th Grade

14 Qs

quiz-placeholder

Similar activities

Gimp

Gimp

7th Grade

12 Qs

Мотылек

Мотылек

6th - 8th Grade

14 Qs

4th Quarter SketchUp Review

4th Quarter SketchUp Review

10th Grade

15 Qs

HTML Öğreniyorum!

HTML Öğreniyorum!

8th Grade

10 Qs

Y7 Autumn Term 1 Review 2021-2022

Y7 Autumn Term 1 Review 2021-2022

7th Grade

17 Qs

TQ - Review Quiz Week 1

TQ - Review Quiz Week 1

9th Grade

10 Qs

Direcciones IP v4

Direcciones IP v4

10th - 12th Grade

13 Qs

.Поиск информации с использованием компьютера

.Поиск информации с использованием компьютера

10th Grade

10 Qs

Javascript Basics

Javascript Basics

Assessment

Quiz

Computers

6th - 10th Grade

Medium

Created by

Kelly McDonald

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which 1 of the following symbols is used for JavaScript comments?

\\
^
?
//

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct Javascript format for a comment?

// "the text"

/"the text"/

*/"the text"/*

\\"the text

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command draws a rectangle?

rec (10, 20, 100, 200);
rect (10, 20, 100, 200)
rect (10, 20, 100, 200);
ellipse (10, 20, 40, 40)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command colors the background of your canvas?

background 
endShape
var = color
fill

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command removes the outlines from shapes?

noOutline ();
noColor();
noBorder();
noStroke ();

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command draws a perfect circle?

ellipse (80, 60, 100, 105);
ellipse(80, 60, 100, 100);
circle (80, 60, 80, 60):
ellipse (80, 60, 105, 100);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command colors a shape?

color (43, 255, 0);
bucket (43, 255, 0);
fill (43, 255, 0);
bucket (43, 255, 0);

Create a free account and access millions of resources

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?