ICT CBP Q3 Periodical Test

ICT CBP Q3 Periodical Test

9th Grade

52 Qs

quiz-placeholder

Similar activities

Manage the Application Life Cycle Lesson 1

Manage the Application Life Cycle Lesson 1

9th Grade - Professional Development

56 Qs

Visual Programming ICA

Visual Programming ICA

University

50 Qs

html css and javascript

html css and javascript

University

50 Qs

JavaScript Basics: Introduction to Arrays

JavaScript Basics: Introduction to Arrays

9th Grade

50 Qs

акт 351-400

акт 351-400

University

50 Qs

ICT-CBP Access Einstein

ICT-CBP Access Einstein

9th Grade

53 Qs

Sec-E HTML DOM

Sec-E HTML DOM

University

54 Qs

Programming Concepts

Programming Concepts

9th - 12th Grade

54 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?