3
answers
0
watching
436
views
30 Jan 2018
2. Which answer best describes the behavior of this processing sketch? int xPos, yPos; A. A ball moves from the upper left corner, diagonally to the void setup() { lower right corner. size (400, 400); B. A ball moves from the upper left corner, diagonally to the y Pos = 0; center, then stops and stays in the center. xPos = 0; A ball moves from the upper left corner, diagonally to the center, then straight down to the bottom A ball moves from the upper left corner, diagonally to the void draw() { center, then diagonally to the lower left. background (255); E. A ball moves from the upper left corner, straight down the ellipse (xPos, yPos, 5, 5); left side until half-way down then diagonally to the middle of the bottom y Pos = y Pos + 1; xPos - xPos + (1-yPos/(height/2));
2. Which answer best describes the behavior of this processing sketch? int xPos, yPos; A. A ball moves from the upper left corner, diagonally to the void setup() { lower right corner. size (400, 400); B. A ball moves from the upper left corner, diagonally to the y Pos = 0; center, then stops and stays in the center. xPos = 0; A ball moves from the upper left corner, diagonally to the center, then straight down to the bottom A ball moves from the upper left corner, diagonally to the void draw() { center, then diagonally to the lower left. background (255); E. A ball moves from the upper left corner, straight down the ellipse (xPos, yPos, 5, 5); left side until half-way down then diagonally to the middle of the bottom y Pos = y Pos + 1; xPos - xPos + (1-yPos/(height/2));
22 Jun 2023
gloryolalere280Lv10
20 Nov 2022
Already have an account? Log in
Bunny GreenfelderLv2
30 Jan 2018
Already have an account? Log in