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

Quiz
•
Computers
•
5th - 8th Grade
•
Medium
Hypercanibble no
Used 96+ times
FREE Resource
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
Similar Resources on Wayground
11 questions
PYTHON "If" Statement

Quiz
•
6th Grade
10 questions
HTML Basics

Quiz
•
8th - 10th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
10 questions
Y9 Intro to Python

Quiz
•
8th Grade
11 questions
JS general concepts - quiz 7th

Quiz
•
7th Grade
15 questions
Python-Interactive Mode

Quiz
•
6th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
10 questions
Python-Code Right or Wrong

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
10 questions
Common Denominators

Quiz
•
5th Grade