Trắc nghiệm php
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
PHÒNG HOÀNG VĂN
Used 9+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mục đích của hàm array_search() trong PHP là gì?
Thêm một phần tử mới vào mảng
Xóa một phần tử khỏi mảng
Tìm kiếm một giá trị trong mảng và trả về chỉ số của nó nếu tìm thấy
Sắp xếp một mảng theo thứ tự tăng hoặc giảm dần
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép toán <, >, <=, >= thuộc loại phép toán nào?
Phép toán số học
Phép toán gán
Phép toán so sánh
Phép toán logic
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị trả về của hàm array_search() là gì nếu giá trị tìm kiếm không được tìm thấy trong mảng?
false
null
0
-1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ví dụ về biểu thức sau đây, giá trị nào được trả về và được gán vào biến $z?
$x = 8;
$y = 3;
$z = $x % $y;
2
3
5
8
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ví dụ mệnh lệnh sau đây, thông điệp nào sẽ được hiển thị khi biến $x bằng 5 và biến $y bằng 7?
if ($x > $y) {
echo "x is greater than y"; }
else {
echo "x is not greater than y";}
x is greater than y
x is not greater than y
Không có thông điệp nào được hiển thị vì $x không lớn hơn $y.
Hiển thị cả 2 thông điệp
Answer explanation
Trong trường hợp này, $x không lớn hơn $y, nên mệnh lệnh else được thực thi và thông điệp "x is not greater than y" được hiển thị.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép toán số học nào được sử dụng để lấy phần dư của hai số?
+
-
*
%
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phép toán so sánh nào được sử dụng để kiểm tra xem hai giá trị có bằng nhau hay khô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
20 questions
Thiết kế trình chiếu PowerPoint (41-60)
Quiz
•
University
20 questions
AlgoProg - Review Quiz
Quiz
•
University
15 questions
Ms. Exel dan Fungsi Logika IF
Quiz
•
10th Grade - University
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms
Quiz
•
12th Grade - University
20 questions
Quiz Harian Gdevelop MPK
Quiz
•
University
17 questions
Algorytmy 8
Quiz
•
1st Grade - University
15 questions
NL VỀ MỘT TƯ TƯỞNG ĐẠO LÍ
Quiz
•
University
18 questions
LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC
Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
