javascript 1

Description

quiz on java script
Samuel Melendez
Quiz by Samuel Melendez, updated more than 1 year ago
Samuel Melendez
Created by Samuel Melendez over 8 years ago
199
0

Resource summary

Question 1

Question
Which command will draw a circle?
Answer
  • ellipse
  • fill
  • background
  • circle

Question 2

Question
Which command will draw a rectangle?
Answer
  • ellipse
  • rectangle
  • rect
  • circle

Question 3

Question
Which command adds color?
Answer
  • color
  • brush
  • fill
  • backhand

Question 4

Question
Which command can add color to more than one thing
Answer
  • fill
  • background
  • color

Question 5

Question
What does the background command do?
Answer
  • adds a clear background
  • changes the size of the backgound
  • adds color to the backgound

Question 6

Question
Which line has an error?
Answer
  • ellipse (100,100,100,100);
  • ellipse (100 100,100,100);
  • fill (200,50,120);

Question 7

Question
Which line of code will produce a circle
Answer
  • ellipse (200,189,100,100)
  • ellipse (200 189,100,100)
  • ellipse (200,189,100,100);
  • ellipse (100,100,100,100)

Question 8

Question
In the line ellipse (200,300,120,100); which number will determine the width?
Answer
  • 100
  • 120
  • 200
  • 300

Question 9

Question
In the line ellipse (200,300,120,100); which number will determine the height?
Answer
  • 200
  • 300
  • 100
  • 120

Question 10

Question
In the line ellipse (200,300,120,100); which number will determine the the horizontal position?
Answer
  • 200
  • 300
  • 120
  • 100

Question 11

Question
In the line ellipse (200,300,120,100); which number will determine the the vertical position?
Answer
  • 200
  • 300
  • 120
  • 100

Question 12

Question
The minimum number of lines of code for this image would be.....
Answer
  • 20
  • 25
  • 11
  • 3

Question 13

Question
Which color in the image does not require a fill?
Answer
  • red
  • brown
  • yellow
  • white

Question 14

Question
In the image displayed each object required its own fill command to give it color.
Answer
  • True
  • False

Question 15

Question
khan academy does not allow you to copy lines of code.
Answer
  • True
  • False

Question 16

Question
In javascript if you are missing a ; the command will work anyway.
Answer
  • True
  • False

Question 17

Question
In java script the following command ellipse (200,200,10,10); would produce
Answer
  • a large circle
  • a circle in the middle of the screen
  • A circle that is 200 by 200
  • A rectangle

Question 18

Question
The following line ellipse (200,200,100,100); would produce
Answer
  • an oval
  • a circle
  • nothing

Question 19

Question
The following command ellipse (200,200,1,1); would produce a circle
Answer
  • at the top left side
  • at the top right side
  • in the center
  • in the lower left side corner

Question 20

Question
The following line ellipse (50,300,100,100); will produce a circle
Answer
  • in the lower right side
  • in the lower left side
  • top right side
  • top left side

Question 21

Question
The following line rect(50,50,85,275); will produce
Answer
  • a perfect square
  • a tall rectangle
  • a wide rectangle

Question 22

Question
The following line rect(150,20,50,50); will produce
Answer
  • a perfect square
  • a tall rectangle
  • a wide rectangle

Question 23

Question
The following command line(50,10,10,10); will produce
Answer
  • nothing
  • a dotted line
  • a solid line
  • a wave
Show full summary Hide full summary

Similar

Translations and transformations of functions
Christine Laurich
Code Challenge Flow Chart
Charlotte Hilton
Flvs foundations of programming dba 2
mariaha vassar
SG first amendment quiz
Sophia Khan
AJAX Basics
Mohit Kakkar
PRACTICA EL SPEAKING DEL FIRST
Diana GE
AQA Biology B1 Questions
Bella Statham
AQA Biology B2 Questions
Bella Statham
AQA Physics P1 Quiz
Bella Statham
GCSE AQA Biology 1 Quiz
Lilac Potato
AQA GCSE Product Design Questions
Bella Statham