using ar foundation in unity coursera week 2 quiz answers

Create the UI buttons for a marker-based AR app quiz

1. Fill in the blank. Unity uses a special kind of GameObject called a ______________ to display 2D images for the user interface. Select the best answer.

  • TextMeshPro
  • canvas
  • Game view
  • Prefab

2. What is used to control an app’s behavior when the user presses buttons? Select the best answer.

  • Visual scripts
  • Node
  • AR Marker
  • GameObject

3. If you are testing your marker on your monitor and are using a rotated model, you will have to rotate about the z axis instead of the y axis. Select the best answer.

  • True
  • False

4. The Mesh component is useful to identify GameObjects for scripting purposes. Select the best answer.

  • True
  • False

5. What node tests to see if the modelObject variable has a value?

  • Null Check node
  • Find GameObject With Tag node
  • On Update node
  • Get Variable node

Add world space UI to your marker-based AR app quiz

6. What allows you to place user interface and sprite elements in the real-world AR space instead of attaching them to the screen? Select the best answer.

  • CanvasPopup
  • World space canvas
  • AR marker
  • Screen space canvas

7. Which view do you use to change the location, rotation and scale of the canvas relative to your model? Select the best answer.

  • GameObject view
  • Canvas view
  • Scene view
  • Marker view

8. You would use the Get Component in Children node to search for a Canvas component in any child GameObject. Select the best answer.

  • True
  • False

Shuffle Q/A 1

9. To make a button functional, what do you set the CanvasPopup GameObject to in the scene when the user presses the button? Select the best answer.

  • update
  • execute
  • active
  • script

10. Use a Negate node to switch the canvas from inactive to active and back again, so that the button works like a toggle. Select the best answer.

  • True
  • False

Leave a Reply