Java Games: Flashcards, matching, concentration, and word search.

NQC Ch 1 and Ch 2

AB
main()the task executed by the robot
taska number of commands for the robot to complete
statementscommands for the robot
;each statement ends with
OnFwd(Out_A)starts output A
Wait(20)a wait of 20 tics continues doing what ever the previous command was
ticks1/1000 of a second
Off(OUT_A+OUT_C)turns off outputA and output C
reserved wordswords that NQC uses and cannot be used to name variables
compiledchanged into code that the robot can understand and execute
downloadingsending the program to the robot over the infrared link
syntax errorsusing vocabulary that NQC does not support
SetPower()controls the speed
repeat(3)repeats code within a block
{ }designates a block of code
variablea name given to a place in memory
constantan unchanging variable
//comments


The Summit Country Day School
Cincinnati, OH

This activity was created by a Quia Web subscriber.
Learn more about Quia
Create your own activities