NEW
Font size
S
M
L
XL
WorksheetsJavascript
Total questions: 15
Worksheet time: 8mins
Name
Class
Date
1.
what is the IP address of www.cisco.com
a)
192.168.1.2
b)
172.16.31.1
c)
10.0.0.1
d)
104.82.199.178
2.
A string;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
3.
A boolean;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
4.
A function;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
5.
An if/else statement;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
6.
An array is;
a)
Shapes
b)
Sizes
c)
Options
d)
Lists of data
7.
What programming language did we learn in class this week?
a)
Karel
b)
Java
c)
JavaScript
d)
Visual Basic
8.
Which of these is a loop?
a)
if(x<10)
b)
while(x<10)
c)
var x=10;
d)
text(x,10;10)
9.
Greater than or equal to
a)
> or =
b)
> || =
c)
>=
d)
<=
10.
Repeat something 10 times
a)
repeat 10
b)
for (var i=0; i<10; i++)
c)
repeat { } until 10;
d)
while (i = 10)
11.
When we are done with a line what do we put at the end?
a)
a colon :
b)
a semi-colon ;
c)
a period .
d)
a quotation mark "
12.
When we surround a word with quotes "David" it's called ?
a)
a program
b)
a loop
c)
a string
d)
a command
13.
In a programming language, __________ are used to store data values.
a)
tags
b)
codes
c)
files
d)
variables
14.
A network limited to a room or building.
a)
LAN
b)
MAN
c)
WAN
d)
CAN
15.
Inside which HTML element do we put the JavaScript?
a)
<js>
b)
<script>
c)
<scripting>
d)
<javascript>
Reset
