7
Name: Date: Course: Lego NXT programming quiz Pick the best answer for each of the following multiple choice questions: (1 point each) 1) NXT programming functions are connected via the: A) Programming beam B) Program blocks C) Sequence beam D) Task bar 2) If you wanted to display a specific visual message on your robot you should use: A) A display block B) A parallel loop function C) Screen display functions D) Both (B) and (C) 3) Which of the following items is not listed on the “waits” menu A) Time B) Touch

robocamp.files.wordpress.com · Web viewLego NXT programming quiz Pick the best answer for each of the following multiple choice questions: (1 point each) NXT programming functions

  • Upload
    others

  • View
    2

  • Download
    1

Embed Size (px)

Citation preview

Name:

Date:

Course:

Lego NXT programming quiz

Pick the best answer for each of the following multiple choice questions:

(1 point each)

1) NXT programming functions are connected via the:

A) Programming beam

B) Program blocks

C) Sequence beam

D) Task bar

2) If you wanted to display a specific visual message on your robot you should use:

A) A display block

B) A parallel loop function

C) Screen display functions

D) Both (B) and (C)

3) Which of the following items is not listed on the “waits” menu

A) Time

B) Touch

C) Light

D) Vibrate

4) A switch block allows your program to:

A) Start a new program function

B) Communicate with outside sensors

C) Decide which programming path to take depending on external circumstances

D) Be used on multiple robots

5) The section of the computer programming station input details such as time, power, duration etc... is called:

A) The control panel

B) Calibration centre

C) Input panel

D) None of the above

On a separate sheet of paper explain the function of the following programs. What Sensors are involved and how will the robot react to them? (4 points each)

6)

7)

8)

9)

10) Match each each of the following sensors to its propper name or function ( 1 point each)

Sound detection

Touch sensor

Infared/ light sensor

Ultrasonic sensor

Completion item

11)) Use the following space to draw a programming schematic for a robot that drives forward continueously until it comes within 5” of an object then turns 180° and repeats the process forever. Include as much detail in the drawing as possible! (4 points)

Answer the following short essay question, you may use point form as long as you make sure to cover the key aspects of the topic.

13) Explain how you would program a robot to follow an unpredictable black line on a white piece of paper. What sensors would you use to follow this unpredictable line? ( 5 points)

-Use two infared sensors to stradle the black line

-Determine reflective number for both black and white- include figures in program

-Robot programmed to drive forward until sensor detects black

-If left sensor detects black robot turns left and continue forward

-If right sensor detects black robot will turn right and continue forward

Pick the best answer if you beleive the statement to be correct circle true. If you think the statement is incorrect circle false (1 point each)

14) It’s a good idea to use a varible in a program to detect the distance of any random object.

True or False

15) To detect the amount of light emitted from an object you should use an infared sensor.

True or False

16) You should never:

A) take a laxitive and a sleeping pill at the same time

B) Eat garlic before a date

C) touch a negative and positive live electrical source

D) All of the above