ICT CBP Q3 Periodical Test

ICT CBP Q3 Periodical Test

9th Grade

52 Qs

quiz-placeholder

Similar activities

INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING

INTRODUCTION TO OBJECT-ORIENTED PROGRAMMING

University

55 Qs

OCR A Level Computer Science - 1.3.x

OCR A Level Computer Science - 1.3.x

12th Grade

57 Qs

AQA GCSE Computer Science - 3.1 Fundamentals of algorithms

AQA GCSE Computer Science - 3.1 Fundamentals of algorithms

8th - 10th Grade

49 Qs

Unity Pretest 1

Unity Pretest 1

12th Grade - University

50 Qs

Pemodelan Perangkat Lunak

Pemodelan Perangkat Lunak

11th Grade - University

50 Qs

Ucertify Web Design

Ucertify Web Design

5th - 12th Grade

55 Qs

HTML and JavaScript Assessment

HTML and JavaScript Assessment

University

50 Qs

Code.org - CSD - Unit 6 - Physical Computing - Review

Code.org - CSD - Unit 6 - Physical Computing - Review

7th - 12th Grade

50 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

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?