31  Formative PsychoPy quiz

🏠 Self-study

This is a formative PsychoPy quiz about content covered in Lab 5. You might find it helpful to return to these questions when revising for the January exam.

When configuring the “Allowed keys” of a Keyboard component in PsychoPy, which settings affect what responses are recorded? Select all that apply.

Regarding keyboard response recording:

  • The “Allowed keys” field does determine which keys will be registered.
  • Empty “Allowed keys” field means ALL keys will be registered.
  • Non-allowed keys are NOT recorded at all.

Which of the following is NOT one of the four main divisions of the PsychoPy Builder window?

The Console is NOT one of the four main divisions of the PsychoPy Builder window. The four main divisions are: Toolbar, Routines panel, Components panel, and Flow.

For an Image component, if you leave the size field empty, what will happen? Select the correct answer.

When the size field is left empty in an Image component, the image will be displayed in its original size in pixels. However, it’s important to note that this will not work when running an experiment online with Pavlovia. Pavlovia requires a defined size.

When you want to add a new routine to an experiment, what is the correct sequence of steps?

The correct sequence is to click “Insert Routine”, then “(new)”, and finally click on the circle that appears when moving the mouse pointer over the flow.

In a Keyboard component, what is the effect of the “Store” setting? Match each option with its effect:

  1. When set to “last key”:
  2. When set to “first key”:
  3. When “Force end of Routine” is also ticked:

For the “Store” setting in a Keyboard component:

  1. “last key” records the final key pressed during the component’s duration.
  2. “first key” records the first key pressed during the component’s duration.
  3. When “Force end of Routine” is ticked, both settings give the same result since the trial ends after the first response.

Match each element of the multi-course meal analogy to its corresponding PsychoPy concept:

Components, Routines, and Flow are the three main elements in PsychoPy Builder. Each one can be understood through an analogy with preparing a meal.

  1. When preparing a meal, ingredients are like which PsychoPy element?

  2. Individual dishes in a meal are like which PsychoPy element?

  3. The order of serving dishes is like which PsychoPy element?

The multi-course meal analogy maps directly to PsychoPy elements:

  1. Components are like ingredients - they are the basic building blocks.
  2. Routines are like individual dishes - they combine components into meaningful units.
  3. Flow is like the serving order - it determines the sequence of events.

What are the rules for naming components and routines in PsychoPy? Select all that apply.

When naming components and routines:

  • Use only letters, numbers, and underscores to name them.
  • Always begin the name with a letter.
  • You cannot reuse names.

If you accidentally close the Builder window, what are the preferred approaches for reopening it?

To reopen the Builder window after accidentally closing it, you can select View → “Show builder” in the menu bar. Alternatively, you can click on the “Show Builder” icon in the toolbar.

While restarting PsychoPy will also reopen the Builder window, this will be much slower and is therefore not a preferred approach.

A Text component uses a height setting of 0.15 with spatial units set to “height”. What does this mean?

When height is set to 0.15 and spatial units are set to “height”, the letters will be approximately 15% of the screen height. The reason is that using height units the total height of the screen is by definition 1.

Note that the exact height may vary for individual letters.