JavaScript Cert Prep

JavaScript Cert Prep

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

1ª Recuperação - 3° Trim. - Pensamento Computacional - 9º ano

1ª Recuperação - 3° Trim. - Pensamento Computacional - 9º ano

9th Grade - University

10 Qs

Python Basic Quiz

Python Basic Quiz

11th Grade - University

10 Qs

Quiz - Quarter 4 (Oracle)

Quiz - Quarter 4 (Oracle)

12th Grade

10 Qs

7.02 going online

7.02 going online

4th - 9th Grade

10 Qs

Quis Grade 5

Quis Grade 5

9th - 12th Grade

15 Qs

Latihan Soal PTS Kelas 6 Semester 1

Latihan Soal PTS Kelas 6 Semester 1

10th Grade

10 Qs

KD 3.1_Aplikasi Pengolah Angka / Spreadsheet

KD 3.1_Aplikasi Pengolah Angka / Spreadsheet

10th Grade

15 Qs

Kuis PPJ - Materi VLSM

Kuis PPJ - Materi VLSM

11th Grade

15 Qs

JavaScript Cert Prep

JavaScript Cert Prep

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Greg Baker

Used 15+ times

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

In JavaScript, a logic error:

is another term for a run-time error

is another term for a syntax error

is harder to troubleshoot because debuggers do not detect it

can be detected and repaired automatically with an advanced debugger

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Watchpoints can assist a developer in troubleshooting

run-time errors

syntax errors

logic errors

browser errors

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of this code?


<script type="text/javascript"> function ClientMessage(){ var message = "Welcome!"; alert(message); } </script>

When you enter the page, the alert box will display

When you enter the page, you will be warned that there is unfinished JavaScript to run.

The page will ignore the function, so a blank page will display on entry and exit.

When you enter the page, there will be a JavaScript error because you cannot load an alert box.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which String object method can be used to test user input?

The link() method

The toLowCase() method

The test() method

The indexOf() method

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The JavaScript toUpperCase() method is an example of:

a calling statement.

an argument.

a user-defined function

a built-in function

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript statement should you use to execute a block of code for as long as a certain test condition is true, with the guarantee that the code block will execute at least once?

if

do

if....else

do...while

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following JavaScript code segments correctly accesses the user's entry in a text object named myTextBox in a form named myForm?

var myVar;

myVar = document.myForm.myTextbox.text;

var myVar;

myVar = document.myForm.myTextbox.input;

var myVar;

myVar = document.myForm.myTextbox.value;

var myVar;

myVar = document.myForm.myTextbox.content;

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?