Cuestionario de Certificación JS 2024

Quiz
•
Computers
•
12th Grade
•
Easy

Nixon Lopez
Used 12+ times
FREE Resource
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
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
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
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
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
Similar Resources on Wayground
20 questions
L73_118 Prep for Test

Quiz
•
12th Grade - University
13 questions
Mid term eval 9°

Quiz
•
9th - 12th Grade
15 questions
CSE_CodeHS_intro_python_unit_3_5

Quiz
•
9th - 12th Grade
22 questions
Basic Boolean Logic Practice

Quiz
•
9th - 12th Grade
20 questions
AP CSP Unit 6

Quiz
•
10th - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
18 questions
Chapitre 10 - 11

Quiz
•
12th Grade
15 questions
PCEP Section 2a: Make decisions with if instruction

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade