Intro to Javascript Review 1

Intro to Javascript Review 1

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Javascript Quiz 1

Javascript Quiz 1

11th Grade

15 Qs

Javascript Part 2 Quizizz

Javascript Part 2 Quizizz

10th Grade

10 Qs

Vacation 12th Batch 2023 Final Test

Vacation 12th Batch 2023 Final Test

12th Grade

15 Qs

Tes HTML 1-3

Tes HTML 1-3

10th - 12th Grade

10 Qs

HTML5 TAGS

HTML5 TAGS

7th - 10th Grade

10 Qs

MM - JavaScript

MM - JavaScript

12th Grade

15 Qs

Javascript Pretest

Javascript Pretest

10th Grade

15 Qs

HTML & JavaScript Assessment

HTML & JavaScript Assessment

9th - 10th Grade

15 Qs

Intro to Javascript Review 1

Intro to Javascript Review 1

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Keith Lavigne

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the canvas tag allow in HTML 5?

The canvas tag is used for creating forms in HTML 5.
The canvas tag allows for embedding videos directly in the webpage.
The canvas tag allows for dynamic rendering of graphics and images using JavaScript.
The canvas tag is used for defining the layout of a webpage.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In HTML 5, what is the <script> tag used for?

To embed an image in the document.
To define a CSS style for an element.
To include JavaScript code or link to an external JavaScript file.
To create a hyperlink to another webpage.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In javascript, what does calling the method getContext() allow?

It allows you to create a new canvas element.
It enables you to manipulate HTML elements directly.
It provides a method for loading images onto the canvas.
It allows you to obtain a drawing context for rendering graphics on a canvas.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When drawing shapes like arc and rect in javascript, which method is used to start drawing a path?

startPath()
drawPath()
createPath()
beginPath()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

when drawing a shape such as a rect or arc in javascript, what method is used to finish the path?

stroke() or fill()

closePath()

complete()
draw()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In order to specify the color a path should be filled with when drawing in javascript, which method should be called?

context.setFillStyle
context.fillColor
context.fillStyle
context.strokeStyle

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When drawing in javascript, what method should be called to make the inside of a path a color?

fill()
paint()
stroke()
draw()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?