Examlex

Solved

For One Week, a 15-Second Cartoon Keeps Appearing on TV

question 95

Multiple Choice

For one week, a 15-second cartoon keeps appearing on TV showing an animated purple frog hopping and dancing around to some unfamiliar zyedeco music. The frog and music capture your attention, but you cannot figure out why the segment is being shown. The next week, you see a new commercial showing people eating and partying at a New Orleans‒style restaurant with waitstaff wearing the same purple frog on their shirts. A voice-over gives the name of the new restaurant-The Purple Frog-and describes specialties on the menu. You decide to try the new restaurant for yourself. Later that week, you are in the car when the zyedeco music from the first week's cartoon plays on the radio. You immediately turn to your friend and say "Hey, that's an ad for the Purple Frog Restaurant, let's go there for lunch." Although the zyedeco music was not actually played either in the commercial or at the restaurant itself, you assume that you are hearing a commercial for the restaurant because of the classical conditioning process of


Definitions:

Braces

Punctuation characters "{" and "}" used in programming to define the beginning and end of blocks of code, such as functions or control structures.

Block Of Statements

A group of statements enclosed by brackets or delimited in some way that are executed together.

Selection Statement

Part of programming languages used to decide which actions to execute based on whether a condition is true or false, commonly seen as if-else or switch statements.

Arithmetic Expression

A combination of operands (variables, literal values, or function returns) and arithmetic operators that evaluates to a numeric value.

Related Questions