Luau Tables

Quiz
•
Computers
•
5th Grade
•
Medium
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
Similar Resources on Wayground
10 questions
SQL and databases

Quiz
•
KG - 12th Grade
10 questions
Truth Tables

Quiz
•
5th - 12th Grade
16 questions
FS Key Computer Lab Rules Refresher

Quiz
•
2nd - 5th Grade
11 questions
JAVA QUIZ

Quiz
•
1st - 12th Grade
18 questions
Scanner & If Statements

Quiz
•
5th - 12th Grade
15 questions
Вспомнить все!

Quiz
•
5th Grade
11 questions
Kotlin

Quiz
•
1st - 12th Grade
15 questions
Grade XI test

Quiz
•
5th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade