Javascript Basics

Javascript Basics

6th - 10th Grade

14 Qs

quiz-placeholder

Similar activities

DESAFÍO 6° GRADO

DESAFÍO 6° GRADO

6th Grade

10 Qs

Grade 8 - Starter

Grade 8 - Starter

8th Grade

10 Qs

Excel

Excel

7th Grade

15 Qs

Quiz: Programming a Calculator. Part 1 and Part 2 Review

Quiz: Programming a Calculator. Part 1 and Part 2 Review

7th - 8th Grade

17 Qs

IT - TYPING TUTOR

IT - TYPING TUTOR

9th Grade

10 Qs

Python with DataScience

Python with DataScience

7th Grade - University

10 Qs

การใช้แนวคิดเชิงนามธรรม

การใช้แนวคิดเชิงนามธรรม

6th - 8th Grade

15 Qs

Interstate Competition

Interstate Competition

7th - 10th Grade

11 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);

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?