WorksheetsFFTTEERR
Total questions: 12
Worksheet time: 6mins
Name
Class
Date
1.
What command draws a rectangle?
a)
rec (10, 20, 100, 200);
b)
rect (10, 20, 100, 200)
c)
rect (10, 20, 100, 200);
d)
ellipse (10, 20, 40, 40)
2.
What command draws a perfect circle?
a)
ellipse (80, 60, 100, 105);
b)
ellipse(80, 60, 100, 100);
c)
circle (80, 60, 80, 60):
d)
ellipse (80, 60, 105, 100);
3.
The command: ellipse( 200,100, 20, 20) will draw:
a)
an ellipse that is 100 pixels wide and 100 pixels high
b)
a circle whose center is 200 pixels across and 100 pixels down
c)
a rectangle that is 200 pixels by 100 pixels wide
d)
a circle that is 200 pixels in diameter
4.
ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(150, 150, 30, 30);
ellipse(278, 150, 30, 30);
The code above represents a snowman with two eyes and a nose. The code that represents the nose is:
ellipse(212, 235, 100, 73);
ellipse(150, 150, 30, 30);
ellipse(278, 150, 30, 30);
The code above represents a snowman with two eyes and a nose. The code that represents the nose is:
a)
ellipse(150, 150, 30, 30);
b)
ellipse(212, 206, 283, 318);
c)
ellipse(212, 235, 100, 73);
d)
ellipse(212, 235, 100, 73);
5.
Para convertir un dato de tipo numero en una cadena , usaré:
a)
toString
b)
parseInt
c)
parseFloat
d)
typeof
6.
Cuando se quiere mostrar un popup en pantalla con javascript, se utiliza el comando:
a)
menssage
b)
alertInt
c)
attention
d)
alert
7.
JavaScript admite comentarios. Señala cuáles son formas correctas de hacer comentarios en el código JavaScript
a)
// comentario
b)
/* comentario */
c)
<!-- comentario -->
d)
** comentario **
8.
What are the 3 main languages of the Internet?
a)
HTML
b)
CSS
c)
Python
d)
Javascript
9.
What is CSS used for?
a)
Structure
b)
Behaviour
c)
Presentation
10.
An "ID" can be a word or a number.
a)
True
b)
False
11.
Choose the codes that allow you to write into a <p> or a <h1>.
a)
document.getElementById
b)
document.write
c)
alert
12.
What is the "++" operator called ?
a)
Incrementing
b)
Decrementing
c)
Two Additions
100 %
