
A Lua quiz
Authored by Adrian Wheeler
Computers
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • Ungraded
Do you Program in Lua?
Yes
No
No, but im learning
Yes, but im still learning
2.
FILL IN THE BLANKS QUESTION
1 min • 2 pts
How do you print to the TERMINAL in Lua?
(a)
Answer explanation
you print to TEXT to the screen using either 'print(' ')'
or 'print(" ")
3.
FILL IN THE BLANKS QUESTION
1 min • 3 pts
How do you join two strings together, when you don't want a tab?
(a)
Answer explanation
to join together parts of a print use '..' instead of ',' unless you want a tab
4.
FILL IN THE BLANKS QUESTION
1 min • 5 pts
What do floating variables almost always contain?
(a)
Answer explanation
floating variables contain decimals
5.
FILL IN THE BLANKS QUESTION
1 min • 3 pts
What is the only thing integer variables can contain?
(a)
Answer explanation
integer variables contain numbers
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What can string variables contain?
Functions
Text
Variables
Tables
Answer explanation
strings can contain text
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What does the command 'string.lower' do?
turns text tiny
convert text to lowercase
stretches text
gives text an animation
Answer explanation
'string.lower' will convert any string to lowercase
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?