
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
Similar Resources on Wayground
59 questions
ÔN TẬP GIỮA KỲ 10A7

Quiz
•
10th - 11th Grade
62 questions
Congruence and Proof

Quiz
•
9th - 12th Grade
67 questions
Series of Geometric Transformations

Quiz
•
9th - 11th Grade
60 questions
CLASS 10 MATHS (Chapter :1,2,3,4,5,7)

Quiz
•
10th Grade
60 questions
Geometry Semester Exam

Quiz
•
9th Grade - University
60 questions
Think Balik 10

Quiz
•
9th - 12th Grade
67 questions
Geometric Transformations Practice Test

Quiz
•
9th - 11th Grade
69 questions
Statistics Final Exam

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Mathematics
16 questions
Segment Addition Postulate

Quiz
•
10th Grade
20 questions
Parallel Lines and Transversals Independent Practice

Quiz
•
10th Grade
16 questions
Parallel Lines cut by a Transversal

Quiz
•
10th Grade
20 questions
Solving Multi-Step Equations

Quiz
•
10th Grade
20 questions
Midpoint and Distance

Quiz
•
10th Grade
12 questions
Conditional Statement Practice

Quiz
•
10th Grade
20 questions
Multi-Step Equations and Variables on Both Sides

Quiz
•
9th - 12th Grade
17 questions
Parallel lines cut by a transversal

Quiz
•
10th Grade