Cog Quiz

Week 3 - Quiz

Prev - Exit - Next

Show Answer

Level 1

I had these lines in a cog. What was the result?

   for(i=0; i<=5; i=i+1)
   {
       PrintInt(i);
       if(i == 2) i = 4;
   }

Level 2

What does the next line do?

   for(i=0; i<=2; i=i+1) PlaySoundThing(sound0[i], player, 1, -1, -1, 0);

Level 3

Will any sound be played with these lines? (Assuming sounds exist)

   i = 1;
   PlaySoundThing(sound0[i+GetCurWeapon(player)], player, 1, -1, -1, 0);