[ENG] Roblox M8L2

[ENG] Roblox M8L2

3rd Grade

6 Qs

quiz-placeholder

Similar activities

Hari 3 - Kuis Coding & Perkenalan AI

Hari 3 - Kuis Coding & Perkenalan AI

1st - 12th Grade

10 Qs

Subroutine

Subroutine

KG - 12th Grade

10 Qs

TMFS Coding Day 2 (English)

TMFS Coding Day 2 (English)

1st - 12th Grade

9 Qs

KA Intro to JS: Coloring

KA Intro to JS: Coloring

KG - University

6 Qs

Coding Vocab

Coding Vocab

KG - 6th Grade

11 Qs

Python Loops

Python Loops

1st - 6th Grade

9 Qs

Flutter Intermediate

Flutter Intermediate

KG - Professional Development

10 Qs

Class-3 Ch-7

Class-3 Ch-7

3rd Grade

10 Qs

[ENG] Roblox M8L2

[ENG] Roblox M8L2

Assessment

Quiz

Computers

3rd Grade

Hard

Created by

Oleg Kheyfets

FREE Resource

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.