logo

Crowdly

Browser

Додати до Chrome

Course 1483

Шукаєте відповіді та рішення тестів для Course 1483? Перегляньте нашу велику колекцію перевірених відповідей для Course 1483 в elearning.aua.am.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Using the table below, we want to calculate the total Sales when the Region is “North” and the Product is “Laptop”. Choose the option that gives the correct formula.

 

A

B

C

1

Region

Product

Sales

2

North

Laptop

450

3

South

Tablet

780

4

North

Tablet

120

5

East

Laptop

550

6

North

Laptop

230

7

South

Laptop

810

8

North

Phone

240

0%
0%
0%
0%
Переглянути це питання

The code below has a mistake. Which option correctly identifies it?

function setup() {

  createCanvas(400, 400);

  background(220);

  showAverage(0, 0);

}

function showAverage(total, count) {

  var average = total / count;

  text(average, width/2, height/2);

}

0%
0%
0%
0%
Переглянути це питання

Given the following code, what is the value of currentValue when frameCounter is equal to 10? Hint: The % operator, called the modulo operator, returns the remainder of the division of two numbers.

let frameCounter = 0;

let currentValue;

function draw() {

  background(255, 255, 255);

  frameCounter = frameCounter + 1;

  if (frameCounter % 6 < 3) {

    currentValue = 150;

  } else {

    currentValue = 250;

  }

}

0%
0%
0%
0%
Переглянути це питання

In a Flappy Bird game, the bird’s vertical position is tracked by birdY, and isFlapping is a variable that prevents the bird from flapping again while it is still rising. Given the following code snippet, what happens when the spacebar is pressed while the bird is falling?

if (birdY > 300) {

  isFlapping = false;

}

if (keyIsPressed && key == " " && !isFlapping) {

  velocityY = -12;

  isFlapping = true;

  flap.play();

}

0%
0%
0%
0%
Переглянути це питання

Given the following code, which letter should be pressed to move the circle to the left, and how many times should it be pressed to place the circle at the centre of the canvas?

let x = 400;

function setup() {

  createCanvas(400, 400);

}

function draw() {

  background(0, 255, 255);

  fill(255, 0, 0);

  ellipse(x, 200, 50, 50);

}

function keyPressed() {

  if (key == "l") {

    x = x + 20;

  } else if (key == "j") {

    x = x - 20;

  }

}

0%
0%
0%
0%
Переглянути це питання

Given the following code, which statement should be added to draw() so that the square keeps re-entering from the left side once it leaves the canvas on the right?

let squareX = 0;

function setup() {

  createCanvas(400, 300);

}

function draw() {

  background(200, 200, 200);

  rect(squareX, 150, 20, 20);

  squareX = squareX + 2;

}

0%
0%
0%
0%
Переглянути це питання

Given the following code, what is displayed on the canvas?

function setup() {

  createCanvas(400, 400);

}

function draw() {

  background(220);

  stroke(0, 0, 255);

  fill(255, 255, 0);

  rect(mouseX, mouseY, 40, 40);

}

0%
0%
0%
0%
Переглянути це питання

Given the following code, a student holds the mouse down for a few seconds, then releases it. What do they observe?

function setup() {

  createCanvas(500, 500);

  background(220, 220, 220);

}

function draw() {

  if (mouseIsPressed) {

    fill(255, 0, 0);

  } else {

    fill(0, 0, 255);

  }

  ellipse(250, 250, 80, 80);

}

0%
0%
0%
0%
Переглянути це питання

Given the following code, what do you observe on the canvas?

let circleX = 30;

function setup() {

  createCanvas(400, 400);

  background(200, 200, 200);

}

function draw() {

  ellipse(circleX, 200, 20, 20);

  circleX = circleX + 2;

}

0%
0%
0%
0%
Переглянути це питання

Fill in the blank in this formula:

=VLOOKUP(Value you want to look up, range where you want to look up the value, the column number in the range containing the return value, ______________________)

Choose the correct option:

0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на elearning.aua.am?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome