ADVANCED TOPICS IN COMPILER DESIGN
PARALLEL AND DISTRIBUTED COMPILERS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
As an object moves up and to the right on the program area, what happens to the X and Y coordinates?
|
X gets bigger and Y gets smaller
|
|
X and Y both get smaller
|
|
X and Y both get bigger
|
|
X gets smaller and Y gets bigger
|
Explanation:
Detailed explanation-1: -Scratch uses x and y coordinate numbers to indicate locations on the Stage. The x coordinate gives the left–right position, and the y coordinate gives the up–down position. The coodinate of the centre of the Stage is (x=0, y=0).
Detailed explanation-2: -The x value represents the position horizontally (along the X axis of the Stage) given as a value from-240 (on the far left) to +240 (on the far right), splitting the stage into 480 equal steps. Similarly, the y value represents the position vertically (along the Y axis of the Stage).
There is 1 question to complete.