Шукаєте відповіді та рішення тестів для Course 1483? Перегляньте нашу велику колекцію перевірених відповідей для Course 1483 в elearning.aua.am.
Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!
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; }}
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 |
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;}
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);}
The formula =SUMIF(C2:C12; “=Paris”; D2:D12) means:
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 |
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);}
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 |
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); }}
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;}