Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

RGSS Quiz

Aran

Member

TUTORIAL":3ldbeal2 said:
FOR QUIZ TAKERS

@Quiz takers: You must state your name, date you applied (MM,DD,YY)and the rank you think you are at. NOTE: even if you are a beginner you can apply for higher level quizzes.
Name: Aran
Date: 07.04.06
Level: Beginner-Intermediate

True or False:
1.) My answer

2.) My answer

3.) My answer

4.) My answer

5.) My answer


Multiple Choice:
1.) My answer

2.) My answer

3.) My answer

Questions: I want some correct answers! NOW, please? How old are you?

TUTORIAL said:
EXAMPLE QUIZ
-I'm not quoting anyone for those who may have been confused
This is an example quiz that I'd like for the Intermediate - Advanced scripters. I felt that since the quiz thing was moving fast enough perhaps I could jump-start it.

Yes, this is a real quiz for Intermediate through Advaned and higher level scripters. But since I might not be able to answer some of the questions I ask, this (JUST THIS ONE) quiz will be for you all to answer a couple of my questions :D. The objective is for you all to get a basic idea of a template if you have not or cannot come up with one of your own.

The answers should be in a spoiler box.
-But what to do about cheaters? This quiz is for the quiz-takers and if they decide to cheat, oh well, they don't receive the full effect of the assessment.

Thread Title [template]: [Name of tester, date (MM,DD,YY)] RGSS Quiz - quiz name

Brief Description [template]: Give a brief description of what your quiz covers (i.e. syntax, rules, etc.), what type of questions it has, etc.

# Questions [template]: Number of questions goes here

Difficulty level [template]: Beginner, Intermediate, Advanced, Mastery (refrence)

Due Date [template]: This is optional. Here you can place the due date of all submissions, if you have one.

Roster [template]: Here, the quiz-maker must record everyone taking his/her quiz. Example:
Code:
[b]Roster:[/b]
[list=1][*]Name
[*]Name
[*]Name
[*]And so on[/list]

Description: A small example of an RGSS Quiz for Intermediate - Advance level scripters.

# Questions: 8

Difficulty: Intermediate - Advanced

Code:
[b]Roster:[/b]
[list=1][*]LegACy
[*]eternal_magus
[*]Paradox
[*]Shark_Tooth
[*]sandgolem
[/list]

--------------------------------Quiz Start---------------------------------
True or False:
  1. A constant's value may change if a method assigns it a new value.
    T F
  2. This syntax '::' represents the relationship between a module and a method or class.
    T F
  3. To pass a value into an empty array you must use the following syntax in a method: return arrayname.
    T F
  4. You may dispose of a window at the end of an update method.
    T F
  5. The syntax '@' before a variable name makes it a class variable.
    T F

Multiple Choice:
  1. Which keywords must always be closed out with an 'end'?
    A) def
    B) case
    C) when
    D) All of the above
  2. Which MUST be capitalized?
    A) definitions (def)
    B) class (class)
    C) module (module)
    D) A & B
    E) B & C
    F) A & C
  3. The keyword 'unless means:
    A) until the specified value is met
    B) the opposite of 'if'
    C) monkeys are blow
    D) All of the above

True or False:
  1. F
  2. T
  3. You tell me
  4. T
  5. F (as far as I know)

Multiple of Choice:
  1. D
  2. E
  3. B (I was gonna go with 'C')

Description: Ruby/RGSS Quiz for Intermediate - Advance level scripters.

# Questions: 8 and a short essay.

Difficulty: Intermediate - Advanced

Code:
[b]Posters:[/b]
[list=1][*]Daniel3579
[*]Destined
[/list]

--------------------------------Quiz Start--------------------------------
True or False:
  1. You can only "comment" in your script using '#'.
    T F
  2. The 'alias' command replaces the whole block its used on.
    T F
  3. You can't do the following Array = {}, Array.push(object).
    T F
  4. You can't store a class in instance variable only in a global one.
    T F
  5. Variables can be in "".
    T F

Multiple Choice:

  1. Ruby is..
    A)Compiled
    B)Object Oriented
    C)Interpreted
    D)C&B
  2. In ruby 0 is
    A) True
    B) False
  3. "return" is used to;
    A) return a object to the caller
    B) exit a block
    C) used to define variables
    D) C&B
    E) A&B

    Short Essay
    Explain the differences between attr_accessor, attr_writer, attr_reader.
True or False
1- False, you can also use "=begin" "=end"
2- False, the alias command only edits, it doesn't replace.
3- True, Considering thats not an array, its a hash XP
4- False, you can store a class in a intance variable or a global one.
5- True, yes you actually can, like so "#{@variable}". You can do it with other type of variables too.

Multiple Choice
1- D
2- B
3- E

Description: Ruby/RGSS Quiz for Intermediate-Advanced level scripters.

# Questions: 5, a short essay and a debugger.

Difficulty: Intermediate-Advanced

--------------------------------Quiz Start--------------------------------
True or False:

  1. "Proc" is used to store "objects" that can change. In, short it refers to a object its given.
    T F
  2. Array class is better at handling more information then the Table class.
    T F
Multiple Choice:

  1. Event Commands are read by..
    A)The Interpreter
    B)Game_Event
    C)Scene_Map
    D)A&B
  2. The first block that is called when a script starts is;
    A)Any things thats on the top
    B) Initialize
    C) Main
  3. To make a new line on a print(a function that prints text on screen) like function you use;
    A) /b
    B) /v
    C) /n
    D) /s

    Short Essay
    Tell me what is the WinAPI class. Give me 4 example of what it can be used for.

    Debugger
    Code:
    [COLOR=Blue]class[/COLOR] new_file
    
    [COLOR=Blue]def [/COLOR]initialize
    grocery_list[1] = "Milk"
    add_new("Bread")
    [COLOR=Blue]end[/COLOR]
    
    [COLOR=Blue]def [/COLOR]add_new(item)
    grocery_list.push(item)
    [COLOR=Blue]end[/COLOR]
    
    [COLOR=Blue]end[/COLOR]
True or False
1- True
2- False, "Ruby's Array class does not run efficiently when handling large amounts of data"

Multiple Choice
1- A
2- B
3- C

Short Essay
The WinAPI class is used to access Windows API functions. It can be used for;

- Referring to the keyboard
- Refferring to the mouse
- Refferring to the game window
- Making a new window

Debugger
The first letter after "class" should be capitilized.
class new_file > class New_file or class New_File(is better)

An array must be first defined before used.
grocery_list = []

The variable/array "grocery_list" is a local variable and can't be accessed from
a different block.

Description: Ruby/RGSS Quiz for Intermediate - Advance level scripters.

# of Questions: 10 points.

Difficulty: Intermediate - Advanced


--------------------------------Quiz Start---------------------------------
True of False (5 points)

1) 'for i in 0...5', 'print i', the last i value will be 5
T F
2) 'break' syntax will only exit from a 'loop do' syntax
T F
3) '?' symbol is almost the same as 'if' syntax
T F
4) you can only insert a value to the last, empty position in an array by using .push method
T F
5) 'script hanging' is caused by a never ending looping
T F

Multiple Choice (2 points)
  1. 'super' syntax is generally used for:
    A)refering to the parent class
    B)defining windows x, y, width, etc.
    C)initializing
  2. 'legacy = 1.6', legacy variable is a...
    A)String
    B)Integer
    C)Boolean
    D)Float
    E)None of the above

Essay (3 points)
What's the differences between a hash and an array?

have a nice quiz!!
 
My answers...
Name: LegACt
Date: 07.05.06
Level: Intermediate

True or False
1.True , the value of a constant can be changed.
2.True, as well as relation between class with constant
3.False, it should be 'array.push'
4.True and False, you may, and always can (as long as you dispose it once only). But it has no use, why would you call a window and dispose it right away? So it's pointless actually...
5.False, '@' is instance variable while '@@' is class variable, if I'm not mistaken...

Multiple Choice
1.D
2.Huh? Capitalized? If it's input thingy, 'A, B, & C' is the right answer
3.B, not really the opposite, it's the same like 'if not'
 
Name: Paradox
Date: July 5th
Level: Beginner-Intermediate
My answers:
1. F - Isn't a constant a number? Like 1?
2. T - I think it does.
3. F - isn't it arrayname[number] = ?
4. F - I don't know.
5. T - Yeappers.

1. D - Yeah.
2. C - Only Modules I think.
3. A - Closest one to it, I think the definition: "Run this if it isn't this:" suits better.
 
I don't why anyone didn't say anything about this but,
Question 1
"when" is in "case" there for its wrong. There is no correct "choice". Rewrite the question. Its like saying all "else" needs to end with "end". I know it was stupid to point it out but we wouldn't want anyone to get confused.

Name: Shark_Tooth
Date: 07.04.06
Level: Advanced

True or False:
1.) T, constances can change

2.) T, yes

3.) F, XD array[key] = value or array.push(value) but first you must define the array.

4.) T, XD, sure why not?

5.) F, nope, it makes it an instance variable.

Multiple Choice:
1.) D, i don't know about "when" but meh...

2.) E, I used to get an error for that silly mistake all the time..

3.) B, Unless you are a monkey.
 
Name: Sg
Date: 07.04.06
Level: Basic













Seriously, don't peek!

More fun without cheating.














1. T. But you need to surround the change with a begin/end if you don't want an error.
2. I'm thinking in french, so I'm not sure if I read your question right, but I'll say T
3. F
4. T
5. F

1. A & B. C's is included with the case and one for each when will cause problems.
2. E
3. B

& 24.
 
just wondering, why would you choose 'E', in multiple choice number 2? I don't really get the question and the choice...
BTW, can anybody also make a quiz topic somewhere?
 

Aran

Member

Well, hey this was just a demo and yes, I made a mistake with Multiple Choice question #1. This is just a template for those who want to create their own quiz topics.
 
My Answers:
Name: Daniel3579
Date: 7-5-06
Level: Advanced?
True or False:
1. A constant's value may change if a method assigns it a new value.
T F
2. This syntax '::' represents the relationship between a module and a method or class.
T F
3. To pass a value into an empty array you must use the following syntax in a method: return arrayname.
T F
4. You may dispose of a window at the end of an update method.
T F
5. The syntax '@' before a variable name makes it a class variable.
T F


Multiple Choice:

1. Which keywords must always be closed out with an 'end'?
A) def
B) case
C) when
D) All of the above, except for "when"
2. Which MUST be capitalized?
A) definitions (def)
B) class (class)
C) module (module)
D) A & B
E) B & C
F) A & C
3. The keyword 'unless means:
A) until the specified value is met
B) the opposite of 'if'
C) monkeys are blow
D) All of the above
 
LegACy said:
just wondering, why would you choose 'E', in multiple choice number 2? I don't really get the question and the choice...
BTW, can anybody also make a quiz topic somewhere?

No, i understand what you mean, this test pretty much, sorry to say, sucks. The questions are fine but the way they were written is wrong.
I chose it because I know what he meant. He meant the first letter of the word that comes after it.

Edit: I'll make a quiz in a minute. Let me get "inspired" first.
 

Aran

Member

That hurt Shark_Tooth *sniffle* I thought we were friends *runs off crying*

But yeah, the way they were written does kinda suck. But you all's questions won't suck ^^
 
Aran said:
That hurt Shark_Tooth *sniffle* I thought we were friends *runs off crying*

But yeah, the way they were written does kinda suck. But you all's questions won't suck ^^

XD, i was just talking about the way they were written. Mine is probably no better.
 
Name: Daniel3579
Date: 7-5-06
Level: Advanced?

My Answers:
True or False:

1. You can only "comment" in your script using '#'.
T F
2. The 'alias' command replaces the whole block its used on.
T F
3. You can't do the following Array = {}, Array.push(object).
T F
4. You can't store a class in instance variable only in a global one.
T F
5. Varaibles can be in "".
T F


Multiple Choice:

1. Ruby is..
A)Compiled
B)Object Oriented
C)Interperted
D)C&B
2. In ruby 0 is
A) True
B) False
3. "return" is used to;
A) return a obect to the caller
B) exit a block
C) used to define variables
D) C&B
E) A&B

Short Essay
Explain the differences between attr_accessor, attr_writer, attr_reader.

attr_accessor lets you read and write to an instance variable from
another class by creating access methods. attr_writer let's you write
from another class by creating a write method like:
def var=(var)
var = var
end
and attr_reader let's you read an instance variable from another class
by creating a read method like:
def var
return var
end
 
Name: Destined
Date: 7-6-06 (Australia Date Style ^_^)
Level: Advanced (Very :P)

My Answers:
True or False:
1> F
2> F
3> T
4> T (You cant store one in a variable period >_>)
5> F (Its spelt variable)

Multiple Choice:
1: D (Its spelt Interpreted)
2: B
3: E (Its spelt Object)

Essay:
attr_accessor, attr_writer and attr_reader are all appealing function's to each class, module or object. They each have different attribute properties for use in which is what differ's themselves from each other.

attr_accessor allows the use of both read and write to an object under certain pre-condition's. As for attr_writer it makes it so that you are only able to write to an object, class or module; attr_reader is just like attr_writer but only allows the use of reading not writing.

XD, i was just talking about the way they were written. Mine is probably no better.
I second that.
 
Destined said:
Name: Destined
Date: 7-6-06 (Australia Date Style ^_^)
Level: Advanced (Very :P)

My Answers:
True or False:
1> F
2> F
3> T
4> T (You cant store one in a variable period >_>)
5> F (Its spelt variable)

Multiple Choice:
1: D (Its spelt Interpreted)
2: B
3: E (Its spelt Object)

Essay:
attr_accessor, attr_writer and attr_reader are all appealing function's to each class, module or object. They each have different attribute properties for use in which is what differ's themselves from each other.

attr_accessor allows the use of both read and write to an object under certain pre-condition's. As for attr_writer it makes it so that you are only able to write to an object, class or module; attr_reader is just like attr_writer but only allows the use of reading not writing.


I second that.

Just some spelling errors? I'll fix them now.

Edit: I decided to post the answers now, since both of u made silly mistakes.. and destined has it out for me XD.
 
Raziel said:
I changed your title to make it appropriate, since you can post your own quiz and it's not only the template.

Raziel, you shouldn't have merged two topics... They are different quizzes and people can easily skip the later ones now. Either put it back the way it was or add my quiz in the first post, right under Aran's.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top