|
| 18 Jan 2012 07:35 PM |
Do you think you have what it takes to be a beginner scripter? Take this quiz and find out! This quiz is mostly multiple choice! Try to answer these from memory to really test how good of a scripter you are!
1. List 5 *types* of data that can be used in RBX.Lua (note, Integers and Floats are NOT right).
2. What is a loop? A) A string wrapped in a circle. B) A backwards pool. C) Code that repeats. D) All of the above. E) None of the above.
3. Observe the following code: 1| local a = "Test" 2| local Condition = (a == "test") 3| print( Condition )
What would be printed into the Output?
A) true B) false C) None of the above.
4. Observe the following code: 1| function onTouched(hit) 2| print( "Ow, you stepped on me!" ) 3| end 4| script.Parent.Touched:connect(onTouch)
What will this script do?
A) It will print 'Ow, you stepped on me!' B) The player is killed. C) Telamon will enter the server. D) The player is banned. E) None of the above.
5. Observe the following code: 1| if workspace.Part ~= nil then 2| print( "It exists!" ) 3| else 4| print( "It doesn't exist!" ) 5| end
If there is nothing under workspace named Part, what will happen?
A) 'It doesn't exist!' will be printed. B) 'It exists!' will be printed. C) The script will error. D) Nothing happens at all. There is no error. E) None of the above.
6. Imagine you want something to repeat continuously an infinite number of times. You print a message, 'This is working!' every 3 seconds. Which of the following blocks of code works properly?
A) repeat B) while true do print("This is working!") print("This is working!") wait(3) wait(3) until false end
C) for i = 1, math.huge do D) All of the above. print("This is working!") wait(3) end
E) None of the above.
7. What will the following print: 1| print( 5 * 8 + 100 / 5 )
A) 108 B) 220 C) 60 D) 42 E) None of the above.
8. You want to print the name of an in-game object. Assume the object exists. Which of the following would work?
A) print( Object ) B) print( Object.Name ) C) Only A. D) Only B. E) Both A and B.
9. Which event fires when you click on a brick containing a ClickDetector?
A) BrickClicked B) MouseClick C) MouseButton1Down D) MouseButton1Click E) None of the above.
10. How do you concatenate strings (concatenate means to join)?
A) concat( "String", "String2" ) B) "String" + "String2" C) string.concatenate("String", "String2") D) "String" .. "String2" E) None of the above.
ANSWER KEY BELOW; DO NOT CONTINUE IF YOU DON'T WANT TO CHEAT!
1) number, boolean, userdata, table, function, thread, string, nil are all possible answers. 2) C 3) B 4) E 5) C 6) D 7) C 8) E 9) B 10) D
Scored 1-3 correct? You still need to do some work. Don't worry, you'll get it eventually! Scored 4-6 correct? Not bad, you are a moderate beginner! Scored 7-9 correct? You seem to know a lot! You're ready to move to intermediate level! Scored 10 correct? You are definitely ready to move to intermediate level, and you understand a few advanced concepts!
Have something to say about the quiz? Is it too easy? Too hard? Do you have something to add? Post below or send me a PM! |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2012 07:40 PM |
It may be a touch difficult for beginners. Specifically 1,4 and 10.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2012 07:43 PM |
I believe beginners should learn and understand the TYPES of data before learning to actually script. Same thing about how variables work.
I admit, #10 is a bit difficult. ;P
Just my opinion, though. |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2012 07:46 PM |
"I believe beginners should learn and understand the TYPES of data before learning to actually script. Same thing about how variables work."
Every scripter does, but the unfortunate reality is that most people who want to know how to script only want to learn about 'gunz dat goe pew pew,' not data types.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Jan 2012 07:54 PM |
| The answers for number 8 are a bit odd. I think that C and D really shoudln't be there at all. |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2012 07:55 PM |
| What's wrong with answers C and D? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 18 Jan 2012 08:17 PM |
I see where he's going with that:
C) Only A. D) Only B.
==
A) print( Object ) B) print( Object.Name ) |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 18 Jan 2012 08:19 PM |
. What is a loop? A) A string wrapped in a circle. B) A backwards pool. C) Code that repeats. D) All of the above. E) None of the above.
I know the answer but define "A backwords pool"
Like a tsunami? |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2012 08:20 PM |
@miz Spell 'pool' backwards.
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 18 Jan 2012 08:22 PM |
TROLOLOLOLOLOL
How did I not see that? |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2012 08:47 PM |
Only A means just that: Only A. Same thing with B. They are not redundant. |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2012 08:48 PM |
*needs to start thinking before posting*
>_> I get what you mean. XD Easy question, then? XD |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 18 Jan 2012 08:50 PM |
But learning the data types before hand totally screwed up the first 3 hours of my Java learning experience.
-__- |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
|
| 18 Jan 2012 09:12 PM |
| To be honest, data types were one of the later things I learned, lol. But I got a 100 :] You should make more of these tests. They'd be fun. |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
| |
|
|
| 18 Jan 2012 10:35 PM |
8 :P now I need to find some intermediate tuts -_-
-{ 3rd Year as 18cwatford, may as well be OnlyChild when I can -_- }- |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 18 Jan 2012 10:36 PM |
| I need a CFrame math tutorial. |
|
|
| Report Abuse |
|
|
|
| 19 Jan 2012 02:03 AM |
@Quenty,
http://www.roblox.com/Forum/ShowPost.aspx?PostID=59591189
It's not easy being cheesy. |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|