Cuestionario de Certificación JS 2024

Cuestionario de Certificación JS 2024

12th Grade

17 Qs

quiz-placeholder

Similar activities

ICT Computer Basics pt1

ICT Computer Basics pt1

10th - 12th Grade

12 Qs

Arduino_Quiz

Arduino_Quiz

12th Grade

20 Qs

Health Science Cluster

Health Science Cluster

8th - 12th Grade

12 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

website design elements

website design elements

12th Grade

12 Qs

History of the computer

History of the computer

12th Grade

20 Qs

Arrays, 2D Arrays, and ArrayLists

Arrays, 2D Arrays, and ArrayLists

9th - 12th Grade

15 Qs

ASJ_XII_UH1

ASJ_XII_UH1

1st - 12th Grade

15 Qs

Cuestionario de Certificación JS 2024

Cuestionario de Certificación JS 2024

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Nixon Lopez

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Variable x has a value of 5, variable y has a value of 8. 

Select True if the expression evaluates to true, or False if it does not. 

x < 4 || y > 8

True

False

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Your instructor has the following exception handling requirements. 

  • The displayInfo() function must use exception handling. 

  • The display() function must always run, regardless of whether an exception occurs. 

  • If there is an exception, the script must call the logDisplayInError() and correctDisplayInfo() functions.

What is the correct opction for complete the code?

catch

catch(msg)

3.

MULTIPLE SELECT QUESTION

1 min • 1 pt

You are writing JavaScript code that manipulate dates. 

You need to initialize a Date object with the date January 1, 2021 by using the year, month, and date parameters. 

Complete the code by selecting the correct option.

var date = new Date( 2021 , _______ , ________) 

0

1

01

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax to determine if a string called str is empty?

str == null

str == "null"

str == ""

str == "empty"

5.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

You are creating a JavaScript program for an accounting system. 

You evaluate the code to ensure that it follows JavaScript best practices. 

Which two lines of code contain reserved words? (Choose 2)

01

02

03

04

05

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

You are helping a coworker test the following form. 

The form will submit to a script named contact.   

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Complete the code by selecting the correct option from each dropdown list.

The page allows users to create a problem ticket and send an email to help@societyrugby.com. The email contains a problem description, the user’s name and user’s phone number. 

You need to perform custom validation of the user’s phone number (yourPhoneNumber) when the page attempts to send the problem ticket (problemTicket). 

Which property, method, or event of the form object should you use? 

target

onclick

onsubmit

setCustomValidity

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers