
Câu hỏi về Lua
Authored by Yến Ngọc
Mathematics
6th - 8th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến trong Lua được tạo như thế nào?
var x = 10
let x = 10
local x = 10
define x = 10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào dùng để in ra màn hình trong Lua?
echo("Xin chào")
print("Xin chào")
log("Xin chào")
say("Xin chào")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của phép tính sau là gì: 5 + 3 * 2?
16
11
13
10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào đúng để tạo một hàm tên là chao?
def chao()
function chao()
create chao()
void chao()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của print(type(10)) là gì?
string
number
nil
boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của print("Hello" .. " Lua") là gì?
Hello + Lua
HelloLua
Hello Lua
Lua Hello
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến nào sau đây KHÔNG hợp lệ trong Lua?
diemSo
ten_hoc_sinh
1diem
diem_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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?