Examlex

Solved

What Is the Value of X After the Instructions Corresponding X=5Y=7\begin{array} { l } \mathrm { X } = 5 \\\mathrm { Y } = 7\end{array}

question 17

Multiple Choice

What is the value of X after the instructions corresponding to the following pseudocode are executed?
X=5Y=7\begin{array} { l } \mathrm { X } = 5 \\\mathrm { Y } = 7\end{array}
IF INT(5.4) =X\operatorname { INT } ( 5.4 ) = \mathrm { X } AND INT(6.9) =Y= \mathrm { Y } THEN X=X+Y\mathrm { X } = \mathrm { X } + \mathrm { Y }
ELSE
Y=Y+1\mathrm { Y } = \mathrm { Y } + 1
ENDIF


Definitions:

Extinction Procedure

A behavioral technique in which reinforcement of a previously reinforced behavior is discontinued, leading to a decrease in the frequency of the behavior.

Operant Conditioning

A process of acquiring knowledge in which the force of an activity is changed by either positive reinforcement or penalties.

Token Economy

A behavioral therapy method that involves rewarding desired behaviors with tokens that can be exchanged for various privileges or treats.

Operant-conditioning

A learning process through which the strength of a behavior is modified by reward or punishment.

Related Questions