
Quiz về Javascript và PHP
Quiz
•
Mathematics
•
10th Grade
•
Easy
Giang Hương
Used 3+ times
FREE Resource
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
68 questions
Unit 2 Review
Quiz
•
7th Grade - University
61 questions
Test Mathématiques - Inscriptions
Quiz
•
1st Grade - University
66 questions
toán số
Quiz
•
9th - 12th Grade
60 questions
Solutions to Inequalities Select All That Apply
Quiz
•
9th - 12th Grade
60 questions
Solve Inequalities Flip Sign
Quiz
•
9th - 12th Grade
60 questions
Identifying Solutions to Inequalities
Quiz
•
9th - 12th Grade
60 questions
Solve Inequalities Add Subtract
Quiz
•
9th - 12th Grade
60 questions
Credit Rec. A1 Final Exam
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
10 questions
SAT Focus: Geometry
Quiz
•
10th Grade
20 questions
Solving Multi-Step Equations
Quiz
•
10th Grade
10 questions
Decoding New Vocabulary Through Context Clues
Interactive video
•
6th - 10th Grade
9 questions
Geometry and Trigonometry Concepts
Interactive video
•
9th - 12th Grade
17 questions
Parallel lines cut by a transversal
Quiz
•
10th Grade
20 questions
Conditional Statements
Quiz
•
10th Grade
17 questions
Analyze Real-World Inequalities and Graphs
Quiz
•
9th - 12th Grade