ICT CBP Q3 Periodical Test

ICT CBP Q3 Periodical Test

9th Grade

52 Qs

quiz-placeholder

Similar activities

webdev ii

webdev ii

University

52 Qs

JavaScript-ITELECTIVE

JavaScript-ITELECTIVE

University

50 Qs

JavaScript - Q1

JavaScript - Q1

11th Grade

50 Qs

HTML,CSS AND JS QUIZ

HTML,CSS AND JS QUIZ

University

50 Qs

TCS693 JavaScript

TCS693 JavaScript

University

47 Qs

Advanced HTML5 & CSS3 Part IV

Advanced HTML5 & CSS3 Part IV

9th - 12th Grade

55 Qs

SC FOC Final Exam - Dorman Freshman Campus

SC FOC Final Exam - Dorman Freshman Campus

9th Grade

50 Qs

Summative Test Q3 M1-6

Summative Test Q3 M1-6

10th Grade

49 Qs

ICT CBP Q3 Periodical Test

ICT CBP Q3 Periodical Test

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Anawelyn Bacar

Used 5+ times

FREE Resource

52 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Users mistype their email addresses. What's an effective solution?

Allow registration despite email format errors.

JavaScript validation for common mistakes.

Provide the 'Confirm Email' field.

Use HTML5 email input.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You're creating a registration form for a website. Users must provide a username, password, and email. What's the best approach to ensure validation? Use _______________ validation only.

Combined HTML5 and JavaScript

HTML5

JavaScript

Server-side and Client-side

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In JavaScript, how do you access the value of an input element with the id 'username'?

document.getElementByClass('username').value

document.getElementById('username').value

document.getElementByName('username').value

document.querySelector('#username').value

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The feedback form requires ratings, but some users submit it without rating. How do you enforce it?

Allow without rating.

Keep rating optional.

Set default rating.

Use JavaScript validation.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Users input invalid birthdates below age 13 in the registration form. How to ensure compliance?

Allow registration regardless.

Implement JavaScript age check.

Prompt age confirmation.

Use HTML5 date input.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript method is often used to validate if a checkbox is checked in a form?

document.getElementById()

document.querySelector()

isCheckboxChecked()

isChecked()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You need to ensure that users do not leave the username field empty. Which of the following JavaScript syntaxes would you use to validate if the username input is not null or undefined?

if (username != null)

if (username !== null)

if (username == null)

if (username === null)

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?