
Ôn thi trắc nhiệm 3
Authored by Manh Tuan
English
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
48 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào lưu trữ giá trị 111 trong biến num ?
int $num = 111;
int mum = 111;
$num = 111;
111 = $num;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn php dưới đây là?
<?php
$num = 1;
$num1 = 2;
print $num . "+". $num1;
?>
3
1+2
1.+2.
Xảy ra lỗi
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tên biến nào sau đây là hợp lệ
$3hello
$this
$_hello
Tất cả đều không hợp lệ
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code dưới đây là?
<?php
$color = "maroon";
$var = $color[2]; echo "$var";
?>
a
Error
$var
r
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code dưới đây là?
<?php
$score = 1234;
$scoreboard = (array) $score; echo $scoreboard[0];
?>
1
Error
1234
2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của đoạn code dưới đây là?
<?php
$total = "25 students";
$more = 10;
$total = $total + $more; echo "$total";
?>
Error
35 students
35
25 students
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào dưới đây có kết quả bằng với $add += $add ?
$add = $add
$add = $add +$add
$add = $add + 1
$add = $add + $add + 1
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?