
ĐỀ LẺ
Quiz
•
Other
•
12th Grade
•
Practice Problem
•
Medium
Hải Kim
Used 2+ times
FREE Resource
Enhance your content in a minute
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh SELECT mà không có mệnh đề WHERE sẽ trả về
Mọi dòng dữ liệu từ bảng của câu lệnh WHERE trước đó
Mọi dữ liệu từ bảng
Câu lệnh sai vì SELECT là phải có mệnh đề WHERE
Luôn trả về giá trị NULL
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều nào là đúng về phương thức dựng (Constructors) trong PHP: i) PHP 4 giới thiệu phương thức dựng ii) Phương thức dựng chấp nhận tham số truyền vào iii) Trong phương thức dựng có thể gọi đến các phương thức khác. iv) Trong phương thức dựng có thể gọi đến các phương thức dựng khác
ii) và iii) đúng
Tất cả các câu trên đều sai
Tất cả các câu trên đều đúng
ii), iii) và iv) đúng
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xem đoạn mã lệnh sau đây. Sau khi thực hiện đoạn mã trên kết quả hiển thị sẽ là gì ? <?php
for ($x = 1;$x <= 2;$x++)
{
for ($y = 1;$y <= 3;$y++)
{
if ($x == $y) continue;
print ("x = $x y = $y");
}
}
?>
x = 2 y = 3
x = 1 y = 1
x = 2 y = 2
x = 3 y = 3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xem đoạn mã lệnh sau đây. Sau khi thực hiện đoạn mã trên kết quả hiển thị sẽ là gì ? <?php
$x = 25;
while ($x < 10)
{
$x--;
}
print ($x);
?>
25
0
có xảy ra lỗi
10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xem đoạn mã lệnh sau đây. Sau khi thực hiện đoạn mã trên kết quả hiển thị sẽ là gì ? <?php
switch (1)
{
case 1:
print ("Book Details");
case 2:
print ("Book Author");
default:
print ("Missing Book");
}
?>
Book Details
Book Author
Missing Book
Book DetailsBook AuthorMissing Book
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xem đoạn mã lệnh sau đây. Sau khi thực hiện đoạn mã trên kết quả hiển thị sẽ là gì ? <?php
function modvalue()
{
$a = 20;
$b = 4;
$c = $a % $b;
print ($c);
}
modvalue();
?>
4
0
20
5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xem đoạn mã lệnh sau đây. Sau khi thực hiện đoạn mã trên kết quả hiển thị sẽ là gì ? <?php
$a = 5;
$b = 12;
$c = 10;
$d = 7;
$e = ($a $b) + $c $d / $a;
print ($e);
?>
154
74
130
26
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
47 questions
第三次定期評量
Quiz
•
9th - 12th Grade
50 questions
MULOK (Sejarah dan Kebudayaan Papua Selatan)
Quiz
•
8th Grade - University
48 questions
10. SOAL USP BAHASA ARAB
Quiz
•
12th Grade
50 questions
SOAL ULANGAN PRA UTS KLS XII
Quiz
•
12th Grade
50 questions
#9 Pop quiz test ch.9 "Driving in Urban (city) Traffic"
Quiz
•
9th - 12th Grade
41 questions
Culinary Arts Refresher Activity
Quiz
•
10th - 12th Grade
50 questions
Digital Marketing Final Review
Quiz
•
10th - 12th Grade
50 questions
IKM JOGONALAN
Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
15 questions
Exponential Growth and Decay Word Problems Practice
Quiz
•
9th - 12th Grade
18 questions
AP Bio Insta-Review Topic 6.1*: DNA & RNA Structure
Quiz
•
9th - 12th Grade
