Font size
WorksheetsCSP Final Exam
Total questions: 50
Worksheet time: 28mins
Putting commands in correct order so computers can read the commands is called ordering.
True
False
The process of designing, writing, testing, debugging, and maintaining the source code of computer programs is called (a) .
A web design approach that separates content from the way in which it is formatted and presented is considered a:
Style sheet
HTML document
Notepad
Notepad++
What is the correct HTML for creating a hyperlink?
<a name="http://www.w3school.com">w3school.com</a>
<a href="http://www.w3schools.com">w3schools.com</a>
<a url="http://www.w3school.com">, <a>"http://www.w3schools.com"</a><a></a>
The main declaration that lets us know what doctype is being used before we create a web page is ...
<Doctype! html>
<Declare! html>
<!Doctype html>
<!Declare html>
You can use this CSS attribute to add style to a group of HTML tags.
Class
Tags
ID
Style
This would center words across the page in my web page.
center
alignment
text-align: center
align
Which symbol means "not equal to"?
==
<=
>=
!=
What is a loop?
Starting the program
Ending the program
Allows something to be repeated
A completed program in scratch is called
Scratch
Volume
Project
Document
What is a BUG in a program?
a small insect
an error in the code
A loop that continues to repeat while a condition is true.
for loop
while loop
until
function
Another term for an "if-else" statment is
loops
function
conditional
algorithm
If x = 4 then what would be the value of x after this: x++ =?
16
8
5
3
What is the key word used for when code is repeated or looped?
Iteration
Isolation
ISO File
Instantaneous
What is a condition?
JavaScript
holds true before allowing your method to proceed.
syntax
pseudocode
What can influence a program's output?
The color of the computer
The program's input
The weather
The size of the computer screen
A set of instructions that a computer executes to achieve a particular objective.
Physical computing
Computer science
Program
Bluetooth Technology
What can be used to teach Karel a new command?
Functions
Variables
Dog treats
Conditions
What is printed to the console?
console.log(15 % 4);
2
3
4
1
What does HTML stand for?
Hyper Tremendous Movie Lines
Hyper Text Markup Language
Hey Thanks for Making me Late
Web pages starts with which of the following tag?
<form>
<HTML>
<body>
<Title>
Which set contains all of the DEFAULT tags needed to create a webpage?
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
<html>
<head>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
the main heading in a web document?
What is the correct HTML for adding a background color?
<body style="background-color:yellow;">
<background>yellow</background>
<body bg="yellow">
What tag do you use to make a numbered list?
<list>
<ol>
<li>
<ul>
How do you create a function in JavaScript?
function myFunction()
function = myFunction()
new function = myFunction()
create function myFunction()
Which of the following is the correct way to declare a variable in JavaScript?
`var name = "John";`
`variable name = "John";`
`String name = "John";`
`name := "John";`
Which of these can be used to read input from the user?
readInt();
System.in.read();
println();
input();
Which of the following is the correct way to output data in JavaScript?
`print("Hello World");`
`console.log("Hello World");`
`System.out.println("Hello World");`
`echo "Hello World";`
Used to end a statement
!
"
;
\
Which of these would move the sprite down on the stage?
Change x by 10
Change x by -10
Change y by 10
Change y by -10
What is <= ?
What's the data type for the ageInput variable?
Quel est le type de données de la variable ageInput?
String
Number
var
These tags ... <title> </title> ... create a (a) for a web page.
Which HTML tag is used to define an internal style sheet?
<style>
<script>
<css>
<link>
