wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Intro to Computer Science - Sem 2 - Final Exam - 24-25

Total questions: 45

Worksheet time: 23mins

Name
Class
Date
1.
What markup language controls the content and structure of a webpage?
a)
CSS
b)
Python
c)
HTML
d)
JavaScript
2.
Which of the objects below would NOT be considered a computer?
a)
iPhone
b)
Cash Register
c)
Paper
d)
Laptop
3.
When a computer does work to turn an in input into an output that is called processing?
a)
True
b)
False
4.
What do we use to add style elements to a web page?
a)
HTML
b)
SGML
c)
XML
d)
CSS
5.
The Information computers get from users, devices, or other computer is called "input"
a)
True
b)
False
6.
Hypertext Markup Language, a language used to create web pages.
a)
Website structure
b)
HTML
c)
WWW
d)
Python
7.
Which HTML tag will display an image on a webpage?
a)

< image >

b)

< img >

c)

< pic >

d)

< picture >

8.
What does HTML stand for?
a)
Hypertext Machine Language
b)
Helper Text Markup Language
c)
Hypertext Markup Language
d)
Hypertext Making Language
9.
Where are all the HTML Elements that will appear on the web page located?
a)

Inside < body >.......< /body >

b)

Inside .... < head >....< /head >

c)

Outside < body >....< /body >

d)

Inside < visible >....< /visible >

10.
What tag represents the list item tag?
a)

< !DOCTYPE >

b)
  1. < ol > < /ol >

c)
  • < li >

d)
  • < ul > < /ul >

11.
Which of the following sections of code would create a header element on a webpage?
a)

< h2 > Cleveland Cavaliers win again! < /h2 >

b)

< head > Cleveland Indians enter a rebuilding phase

< /head >

c)

< header > Cleveland Browns have another frustrating season < /header >

d)

< h > Cleveland Monsters are a hockey team! < /h >

12.
What does CSS stand for?
a)
Cascading Style Sheet
b)
Computer Style Sheet
c)
Cascading Simple Structure
d)
Computer Style Structure
13.
Where are all the HTML elements that will appear on the web page located?
a)

Inside < body >.......< /body >

b)

Inside ....< head >....< /head >

c)

Outside < body >....< /body >

d)

Inside < visible >....< /visible >

14.
What tag represents the unordered list tag?
a)

< a > < / a >

b)

< link / >

c)
  • < ul > < / ul >

d)

< ! -- -- >

15.
Which of the following CSS properties selects the font to use?
a)
font:
b)
font-type:
c)
font-family:
d)
font-select:
16.
If you need to store and modify data in a micro:bit program, you should create a...
a)
Loop block
b)
Show LED
c)
Variable
d)
Conditional
17.
Part of a program that does not work correctly.
a)
Indentation
b)
Comment
c)
Bug
d)
Debugging
18.
What will happen when this code runs?
a)
If the micro:bit is moved less than 100 it will show a down arrow
b)
If the light level senses the light to be less than 100 it will show a down arrow.
c)
ifi the light level senses the light to be above 150 it will show an up arrrow.
d)
If the micor:bit is moved more than 150 it will show an up arrow.
19.
Karel the Dog is instructed to move forward three spaces. Then, if Karel is standing on a ball, Karel will turn left and move forward two spaces. Otherwise, Karel will turn around and move forward three spaces. Given the starting point below, where will Karel end up?
a)
A
b)
B
c)
C
d)
D
20.
What will be displayed on the Micro:bit when this program runs?
a)
World!
b)
Again!
c)
Nothing will be shown
d)
Hello!
21.
What tag represents a paragraph?
a)

<p></p>

b)

<html></html>

c)

<head></head>

d)

<body></body>

22.
A computer reads block coding from top to bottom.
a)
True
b)
False
23.
Which of the following would be your best guess of what coding is?
a)
Designing blueprints for a building
b)
Solving mathematical equations on a whiteboard
c)
Writing instructions for a computer to execute tasks
d)
Mixing chemicals in a laboratory
24.
Describe what this code block will do:
a)
Flashing arrow
b)
Solid heart
c)
Flashing heart
d)
Half of a heart
25.

The link goes inside the ______ tag and looks like this: < link rel="stylesheet" href="style.css" >

a)
body
b)
heading
c)

<p>

d)

<h1>

26.
Which HTML tag is used to define a table row?
a)

<th></th>

b)

<table></table>

c)

<td></td>

d)

<tr></tr>

27.
What is the correct HTML tag for inserting a line break?
a)

<line>

b)

<lb>

c)

<break>

d)


<br>

28.
Which is the value in this CSS? p {color: red;}
a)
p
b)
color
c)
red
29.
Which of the following statements is true? I. Computers have only been around since the 1940’s II. One reason computers were first developed was to do mathematical computations faster III. Some modern computers include laptops, cell phones, and tablets IV. Computers are able to perform tasks by using logic
a)
II, III, IV
b)
I, III
c)
III, IV
d)
I, II, III, IV
30.
What does CSS stand for?
a)
Cascading Style Sheets
b)
Cavs Start Stuff
c)
Cascading Sitting Sofas
d)
Can Stay Silly
31.
What is Ada Lovelace known for?
a)
Writing the first computer program
b)
Inventing the first computer
c)
Programming the ENIAC machine
32.
What was the first commercially available computer?
a)
UNIVAC
b)
ENIAC
c)
IBM 704
d)
Apple II
33.
Who is considered "the father of the computer?"
a)
Grace Hopper
b)
Charles Babbage
c)
Blaise Pascal
d)
Gottfriend Wilhelm Leibniz
34.
The first mechanical computer was designed by:
a)
Alan Turing
b)
Howard Aiken
c)
Dennis Richi
d)
Charles Babbage
35.
What is the name of the computer used by the British during World War II to decode German secret messages?
a)
ENIAC
b)
Colossus
c)
UNIVAC
d)
BOMBE
36.
What is your prediction for what the following block does?
a)
The code makes Ollie the bird do her favorite dance move
b)
The code makes Ollie the bird fly up and collect the coin if it exists.
c)
The code moves Ollie the bird forward one step and makes her collect the coin if it exists.
d)
The right answer is always D
37.
Which one of these will have Karel slide?
a)
Option 1
b)
Option 2
c)
Option 3
38.
What did we use to teach Karel to turn right?
a)
Functions
b)
Variables
c)
Dog treats
d)
Karel can already turn right
39.
Why do we use if/else statements in programming?
a)
To repeat something for a fixed number of times
b)
To either do something if a condition is true or do something else
c)
To break out of some block of code
d)
To repeat something while a condition is true
40.
What is the best way for Karel to move 10 times?
a)
Option 1
b)
Option 2
c)
Option 3
d)
Option 4
41.
What will Karel do when this code runs?
4 lines
42.
What will the cutebot do if you run this code?
4 lines
43.
What will the cutebot do if you run this code?
4 lines
44.
What will the cutebot do if you run this code?
4 lines
45.
What will the cutebot do if you run this code?
4 lines