
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
60 questions
ACT Math

Quiz
•
10th - 12th Grade
60 questions
SBAC Inequalities

Quiz
•
9th - 12th Grade
60 questions
Solve Inequalities Positives

Quiz
•
9th - 12th Grade
60 questions
Greater Than Less Than Equal To Negative

Quiz
•
9th - 12th Grade
60 questions
Solving Greater Than Less Than Problems

Quiz
•
9th - 12th Grade
60 questions
ÔN TẬP CUỐI HỌC KỲ I LỚP 8 - TOÁN VÀ KHTN

Quiz
•
8th Grade - University
62 questions
IQ: AI THÔNG MINH HƠN HỌC SINH MẦM NON

Quiz
•
1st Grade - Professio...
68 questions
Algebra II Midterm Review

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Mathematics
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
16 questions
Unit 2: Rigid Transformations

Quiz
•
10th Grade
20 questions
The Real Number System

Quiz
•
8th - 10th Grade
15 questions
Polynomials: Naming, Simplifying, and Evaluating

Quiz
•
9th - 11th Grade
40 questions
Camp CMS Math 1 Test Review

Quiz
•
9th - 12th Grade