Javascript Basics

Javascript Basics

6th - 10th Grade

14 Qs

quiz-placeholder

Similar activities

ICT Grade 8

ICT Grade 8

8th Grade

10 Qs

OCR GCSE CS - 2.1 ERL sorts and searches

OCR GCSE CS - 2.1 ERL sorts and searches

10th - 11th Grade

9 Qs

9 сын-4 тоқсанБЖБ

9 сын-4 тоқсанБЖБ

9th Grade

11 Qs

แบบทดสอบบทที่ 5

แบบทดสอบบทที่ 5

8th Grade

10 Qs

Introduction to GCSE Computer Science

Introduction to GCSE Computer Science

9th Grade

17 Qs

Pensamento Computacional

Pensamento Computacional

9th Grade

18 Qs

ENTORNO Y HERRAMIENTAS WORD

ENTORNO Y HERRAMIENTAS WORD

6th Grade

10 Qs

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 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?