Search Header Logo

A Lua quiz

Authored by Adrian Wheeler

Computers

6th - 8th Grade

Used 1+ times

A Lua quiz
AI

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 BLANK QUESTION

1 min • 2 pts

How do you print to the TERMINAL in Lua?

Answer explanation

you print to TEXT to the screen using either 'print(' ')'

or 'print(" ")

3.

FILL IN THE BLANK QUESTION

1 min • 3 pts

How do you join two strings together, when you don't want a tab?

Answer explanation

to join together parts of a print use '..' instead of ',' unless you want a tab

4.

FILL IN THE BLANK QUESTION

1 min • 5 pts

What do floating variables almost always contain?

Answer explanation

floating variables contain decimals

5.

FILL IN THE BLANK QUESTION

1 min • 3 pts

What is the only thing integer variables can contain?

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?