Quiz về Javascript và PHP

Quiz về Javascript và PHP

10th Grade

64 Qs

quiz-placeholder

Similar activities

Alg1 - Unit 3 - Practice Test

Alg1 - Unit 3 - Practice Test

8th - 12th Grade

60 Qs

Level 3: Inequalities Set

Level 3: Inequalities Set

9th - 12th Grade

61 Qs

Geometry Final Review

Geometry Final Review

9th - 10th Grade

63 Qs

Unit 5 Review

Unit 5 Review

9th - 12th Grade

62 Qs

Chapter 3 Review

Chapter 3 Review

9th - 10th Grade

60 Qs

Unit 1 Test Review

Unit 1 Test Review

10th Grade

60 Qs

Module 3 Review

Module 3 Review

8th - 12th Grade

65 Qs

Fall 22-23 Final Review Geometry

Fall 22-23 Final Review Geometry

9th - 12th Grade

61 Qs

Quiz về Javascript và PHP

Quiz về Javascript và PHP

Assessment

Quiz

Mathematics

10th Grade

Practice Problem

Easy

Created by

Giang Hương

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

64 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để khai báo Javascript, ta có thể sử dụng thẻ nào?

(A) <script>

(B)<javascript>

(C)<scripting>

(D)<js>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây được sử dụng để tạo một dự án Laravel mới?

composer create-project -prefer-dist laravel/laravel

laravel start new project

php laravel new

php artisan make project

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp Javascript được sử dụng để thay đổi giá trị của phần từ HTML bên dưới là gì?

<p id="demo">Hello World!</p>

document.getElementById("demo").innerHTML = "Hello_World!";

document.getElement("p").innerHTML "Hello_World!":

document.getElementByName("p").innerHTML "Hello_World!";

#demo.innerHTML="Hello_World!";

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn mã HTML sau:

<style>

h1 {

</style>

<body>

<h1>This is a heading</h1>

<p>This is a paragraph</p>

<p>This is a paragraph</p>

</body>

Hãy điền câu lệnh thích hợp vào chỗ chấm để tất cả các phần tử có phần đệm (padding) bên trái và bên phải 10 pixel cũng như phần đệm trên và dưới 40 pixel.

padding: 10px 10px 40px 40px;

padding: 40px 10px;

padding: 10px 40px;

padding: 40px 40px 10px 10px;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phát biểu nào sau đây là phát biểu đúng trong PHP?

PB1: Các giao diện (Interface) không thể có thuộc tỉnh, trong khi các lớp trừu tượng (Abstract) có thể có thuộc tính.

PB2: Tất cả các phương thức trong giao diện phải ở chế độ công khai (Public), trong khi các phương thức lớp trừu tượng là công khai (Public) hoặc được bảo vệ (Protected).

PB3: Tất cả các phương thức trong một giao diện đều là Abstract, vì vậy chúng không thể được triển khai bằng mã nguồn và không cần thiết có từ khóa Abstract

Phát biểu 1 và 3 đúng

Cả 3 phát biểu đều sai

Phát biểu 1 và 2 đúng

Cả 3 phát biểu đều đúng

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp nào đúng để thêm một class mới có tên là "active" vào một phần từ với jQuery?

$("#element").addClass("active")

$(element").css("active")

$("#element").class("active")

$("element").attr("class", "active")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho các khai báo phần tử HTML sau:

1. <a href="https://example.com" title="Click here to visit "Example.com' now!">Visit Site</a>

2. <a href="https://example.com" title="Click here to visit "Example.com" now!">Visit Site</a>

Khai báo nào đúng?

Khai báo 2 đúng

Cả hai khai báo đều đúng

Cả hai khai báo đều sai

Khai báo 1 đúng

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

Already have an account?