Luau Tables

Luau Tables

5th Grade

13 Qs

quiz-placeholder

Similar activities

HTML Quiz <html>

HTML Quiz <html>

4th - 8th Grade

10 Qs

Inicial Algoritmos

Inicial Algoritmos

1st - 10th Grade

10 Qs

Elementary Keyboarding Review

Elementary Keyboarding Review

3rd - 5th Grade

10 Qs

variable

variable

KG - 5th Grade

11 Qs

RO82 (Graphics) - LO3 (Creating)

RO82 (Graphics) - LO3 (Creating)

4th - 9th Grade

15 Qs

7. Python (словари)

7. Python (словари)

5th - 9th Grade

15 Qs

Python Quiz 7

Python Quiz 7

KG - 6th Grade

14 Qs

Python Quiz

Python Quiz

5th - 10th Grade

15 Qs

Luau Tables

Luau Tables

Assessment

Quiz

Computers

5th Grade

Medium

Created by

Christmas Itso

Used 3+ times

FREE Resource

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the proper syntax for declaring a table?

[]

{}

both {} and []

<>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the sugar syntax for 'table.myFunc = function()'?

define function() as table.myFunc

function() = table.myFunc

function table.myFunc()

There is no alternative

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does it mean to index something?

To change a value of the a table

To get a value of a table

To flip a value of a table

To recur a value of the table

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you index something?

table[1]

get 1 of table

table.index(table, 1)

table::1

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which are viable syntax to indexing/hashing a dictionary?

dict[myKey]

dict.myKey

dict["myKey"]

dict::table.hash("myKey")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these can you NOT put in a table

function

nil

a service

You can put all of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many elements can a table hold?

You have you define it as its static

Its dynamic so as many as your memory can reach

100

256

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?