[ENG] Roblox M8L2

[ENG] Roblox M8L2

3rd Grade

6 Qs

quiz-placeholder

Similar activities

Calculating Growth

Calculating Growth

3rd Grade

10 Qs

Privacy and Personal Information

Privacy and Personal Information

1st - 10th Grade

10 Qs

Computación Básica

Computación Básica

KG - 12th Grade

10 Qs

Class III Quiz

Class III Quiz

3rd Grade

10 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

JSPS Competition Hackathon - Scratch Language - Grade 1

JSPS Competition Hackathon - Scratch Language - Grade 1

2nd Grade - University

10 Qs

EVOLUTION OF COMPUTERS

EVOLUTION OF COMPUTERS

3rd - 8th Grade

10 Qs

ZOOM QUIZ

ZOOM QUIZ

1st - 12th Grade

10 Qs

[ENG] Roblox M8L2

[ENG] Roblox M8L2

Assessment

Quiz

Computers

3rd Grade

Practice Problem

Hard

Created by

Oleg Kheyfets

FREE Resource

AI

Enhance your content in a minute

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

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the variable?

Set of instructions.

Data storing structure (like food storage container).

The structure that causes the code to lengthen.

Instructions that can be used repeatedly.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to create variables in Lua programming?

Variable creation in Lua programming is done using the 'global' keyword followed by the variable name.

Variable creation in Lua programming is done using the 'local' keyword followed by the variable name.

Variable creation in Lua programming is not necessary.

Variable creation in Lua programming is done using the 'var' keyword followed by the variable name.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

Data storing structure.

Reusable loops.

Instruction to do something.

Structure to change character properties.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a function in Lua programming?

Use the keyword 'func' followed by the function name and its parameters, then the function body enclosed in 'end'.

Use the keyword 'def' followed by the function name and its parameters, then the function body enclosed in 'end'.

Use the keyword 'function' followed by the function name and its parameters, then the function body enclosed in 'end'.

Use the keyword 'define' followed by the function name and its parameters, then the function body enclosed in 'end'.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are function parameters in Lua programming?

Function parameters in Lua programming are the comments added to a function for documentation purposes.

Function parameters in Lua programming are the output values returned by a function when it is called.

Function parameters in Lua programming are the input values that are passed to a function when it is called.

Function parameters in Lua programming are the variables used within the function to store intermediate values.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are comments denoted in Lua programming?

Comments in Lua programming are denoted by '//' at the beginning of a line.

Comments in Lua programming are denoted by '/*' and '*/' to enclose multiple lines.

Comments in Lua programming are denoted by '--' at the beginning of a line.

Comments in Lua programming are denoted by '#' at the beginning of a line.

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?