Intro to Javascript Review 1

Intro to Javascript Review 1

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

DECI - Week 11 - Time Machine 2

DECI - Week 11 - Time Machine 2

9th Grade

13 Qs

4th quarter 2nd summative

4th quarter 2nd summative

10th Grade

14 Qs

Memahami HTML

Memahami HTML

10th Grade

10 Qs

Adobe photoshop -թեմատիկ

Adobe photoshop -թեմատիկ

1st - 10th Grade

10 Qs

Java Script

Java Script

9th Grade

10 Qs

jenkins训练营

jenkins训练营

1st - 9th Grade

10 Qs

Computer Security Authentication Quiz

Computer Security Authentication Quiz

12th Grade

10 Qs

Hyrje ne Ndermarresi - Klasa 10-t

Hyrje ne Ndermarresi - Klasa 10-t

1st - 12th Grade

14 Qs

Intro to Javascript Review 1

Intro to Javascript Review 1

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Keith Lavigne

FREE Resource

AI

Enhance your content in a minute

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

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()

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?