Lua quiz: Basics (Print, functions, while true loops)

Lua quiz: Basics (Print, functions, while true loops)

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Gr3-Scratch - Revision

Gr3-Scratch - Revision

3rd - 5th Grade

11 Qs

Основные понятия языка программирования PYTHON

Основные понятия языка программирования PYTHON

7th Grade

12 Qs

Micro:bit assessment 1

Micro:bit assessment 1

7th - 8th Grade

10 Qs

K5_ÔN TẬP HỌC KÌ 1

K5_ÔN TẬP HỌC KÌ 1

5th Grade

15 Qs

CLASS 7 COMPUTER CH-3 QUIZ

CLASS 7 COMPUTER CH-3 QUIZ

7th Grade

11 Qs

Quick Revision Term3

Quick Revision Term3

7th Grade

10 Qs

ÔN TẬP HKII-02

ÔN TẬP HKII-02

8th Grade

15 Qs

Comic Life (tuần 8)

Comic Life (tuần 8)

1st - 5th Grade

10 Qs

Lua quiz: Basics (Print, functions, while true loops)

Lua quiz: Basics (Print, functions, while true loops)

Assessment

Quiz

Computers

5th - 8th Grade

Medium

Created by

Hypercanibble no

Used 98+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you print?

Print("texthere")

print ("texthere")

print("texthere")

print(texthere)

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

The text you will print is called a...

3.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of these definitions match a function? Select all that apply.

A pre-installed thing that the Lua engine is able to do, such as print()

A pre-installed thing that the Lua engine is able to do, such as edit properties

Something you give a piece of code to use in another script

Something you give a piece of code to for later use

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you have to do at the end of a function?

Nothing, it automatically closes.

Encase it in brackets.

Write "end".

Write </function>.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the wait() function do?

It tells the computer to wait before launching the game.

It tells the computer to wait before proceeding in the script.

It tells the computer to wait for a player to move.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter?

Nothing; it has no significance in code.

A value that defines how the function will work, basically specifications.

A value that tells the computer where a player is.

A boundary for the level so that players cannot leave them.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you need to a complete a wait() function, inside its brackets?

A string

An argument

A parameter

Add a number in quotations

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?