Workshop Day 3

Workshop Day 3

Professional Development

10 Qs

quiz-placeholder

Similar activities

MyReskill IoT Training Day 3 Recap

MyReskill IoT Training Day 3 Recap

Professional Development

10 Qs

SAFETY QUIZ: RSN SAFETY HOTLINE

SAFETY QUIZ: RSN SAFETY HOTLINE

Professional Development

10 Qs

Unsupervised Learning Techniques

Unsupervised Learning Techniques

Professional Development

10 Qs

Windows Functions

Windows Functions

Professional Development

13 Qs

JS Quiz

JS Quiz

Professional Development

14 Qs

Day14_Quiz_NBKR

Day14_Quiz_NBKR

Professional Development

10 Qs

Eduprotocols

Eduprotocols

Professional Development

10 Qs

Checklist Quiz

Checklist Quiz

Professional Development

10 Qs

Workshop Day 3

Workshop Day 3

Assessment

Quiz

Professional Development

Professional Development

Hard

Created by

arya thool

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Which of these is a correct way to declare a variable in JavaScript?

let x = 5;

variable x = 5;

x := 5;

var 5 = x;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to generate a random number in JavaScript?

Math.randomNumber();

Math.random();

random();

generateRandom();

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will this if statement do?

It will log "True"

It will log "False"

It will not log anything

It will throw an error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you create a simple function in JavaScript?

function myFunction() {}

create function myFunction() {}

func myFunction() {}

define myFunction() {}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does document.getElementById("id") do?

It changes the page title

It gets an element with the specified id

It creates a new element

It removes an element with the specified id

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is used to trigger a function when a button is clicked in HTML?

onclick="functionName();"

onClick="functionName();"

click="functionName();"

buttonClick="functionName();"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code display?

A random number between 0 and 1

A fixed number

A random number between 1 and 10

An error message

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?