logo

Crowdly

Browser

Add to Chrome

Course 1483

Looking for Course 1483 test answers and solutions? Browse our comprehensive collection of verified answers for Course 1483 at elearning.aua.am.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

A student writes the following code. What appears on the canvas?

let textposition = 50;

function setup() {

  createCanvas(500, 500);

  background(255, 255, 0);

  for (let a = 0; a < 5; a++) {

    textSize(32);

    fill(0, 0, 0);

    text(a, textposition, textposition);

    textposition = textposition + 75;

  }

}

0%
0%
0%
0%
View this question

Using the PivotTable Fields shown below, you want to display the total Salary for each Department. Which setup is correct?

PivotTable Fields – Field Name

Employee ID

Department

Salary

Years of Experience

0%
0%
0%
0%
View this question

The code below has multiple bugs. Which option(s) correctly identify all of them? (More than one answer is correct.)

let offset = 0;

function setup {

  createCanvas(400, 400);

}

function draw() {

  background(220);

  for (y = 0; y < 4; y--) {

    rect(200, 50 * y + offset);

  }

  offset = offset + 5;

  if (offset > height) offset = 0;

}

0%
0%
0%
0%
View this question

A student runs the following code and gets ReferenceError: Can't find variable: dotSize. Which option correctly fixes the error?

function setup() {

  createCanvas(300, 300);

}

function draw() {

  background(220);

  ellipse(150, 150, dotSize, dotSize);

}

0%
0%
0%
0%
View this question

The formula =SUMIF(C2:C12; “=Paris”; D2:D12) means:

0%
0%
0%
0%
View this question

Choose the correct option. What is the formula that displays the position of “Madrid” in the list starting from Paris and ending with Lisbon?

 

A

1

Cities

2

Paris

3

Rome

4

Madrid

5

Vienna

6

Lisbon

0%
0%
0%
0%
View this question

A student writes the following code. What will be displayed on the canvas?

function setup() {

  createCanvas(300, 300);

  background(220);

}

function draw() {

  subtract(30, 12);

}

function subtract(a, b) {

  text(a - b, 150, 150);

}

0%
0%
0%
0%
View this question

Use VLOOKUP to find the City of Nina:

Name

Department

City

Salary

Bonus

Karen

Sales

Yerevan

900

120

Peter

IT

Gyumri

1400

300

Nina

Marketing

Vanadzor

1100

250

Aram

IT

Yerevan

1500

310

Lucy

Sales

Gyumri

950

140

David

Finance

Yerevan

1250

200

Sona

Marketing

Yerevan

1050

180

Tigran

Finance

Vanadzor

1300

220

0%
0%
0%
0%
View this question

A student writes the following code. What will be drawn on the canvas?

function setup() {

  createCanvas(400, 400);

}

function draw() {

  background(220);

  drawSquares(4, 60);

}

function drawSquares(total, x) {

  for (let i = 0; i < total; i++) {

    rect(x, 40 + i * 80, 30, 30);

  }

}

0%
0%
0%
0%
View this question

A student writes this code to calculate the area of a rectangle and display it. The program runs, but nothing appears on the canvas. What is the bug?

function setup() {

  createCanvas(300, 300);

  background(0, 255, 0);

}

function draw() {

  area(20, 5);

}

function area(w, h) {

  let result = w * h;

}

0%
0%
0%
0%
View this question

Want instant access to all verified answers on elearning.aua.am?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome