
Java Script BASICS
Authored by Mrs.K. González
Computers
9th - 12th Grade
Used 193+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The command: ellipse( 200,100, 20, 20) will draw:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After running the following code, what will be the value of x?
y = 3;
x = 5 * y;
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A variable is used to:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code section will:
x = 0;
draw = function() {
rectangle(x, 50, 50, 25);
x++;
}
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Any code that is within the following draw function:
draw = function(){
......
}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code will:
x++;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code will:
var xPos = 15;
var yPos = 350;
var xwidth = 50;
var ywidth = 50;
draw = function() {
background(29, 40, 115);
fill(255, 242, 0);
ellipse(xPos, yPos, xwidth, ywidth); xPos++;
yPos--;
xwidth = xwidth* 99/100;
ywidth = ywidth * 99/100;
};
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?