wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IDT Fall Exam 25'

Total questions: 50

Worksheet time: 11hrs 59mins

Name
Class
Date
1.

What is the purpose of the `ellipse()` function in drawing?

a)

To draw a straight line

b)

To draw a circular or oval shape

c)

To fill the background with color

d)

To draw a rectangle

2.

Which parameter in the `rect()` function specifies the width of the rectangle?

a)

The first parameter

b)

The second parameter

c)

The third parameter

d)

The fourth parameter

3.

Which of the following is a basic shape that can be drawn using the `rect()` function?

a)

Circle

b)

Triangle

c)

Rectangle

d)

Ellipse

4.

How do you set the color of a shape in a drawing program?

a)

Using the `background()` function

b)

Using the `fill()` function

c)

Using the `stroke()` function

d)

Using the `rect()` function

5.

What is the purpose of the `stroke()` function in drawing?

a)

To set the fill color of shapes

b)

To set the outline color of shapes

c)

To draw a rectangle

d)

To draw an ellipse

6.

Which function would you use to change the background color of a canvas?

a)

`fill()`

b)

`stroke()`

c)

`background()`

d)

`rect()`

7.

What is the first parameter in the `ellipse()` function used for?

a)

X-coordinate of the center

b)

Y-coordinate of the center

c)

Width of the ellipse

d)

Height of the ellipse

8.

What is the primary purpose of using the `rect()` function in a drawing program?

a)

To draw a circle

b)

To draw a rectangle

c)

To set the background color

d)

To draw an ellipse

9.

Which answer contains the code to draw this image?

a)
b)
c)
d)
10.

Which answer shows the code to draw this image?

a)
b)
c)
d)
11.

The first parameter in the () after an ellipse or rectangle code is:

a)

height

b)

width

c)

x coordinate point

d)

y coordinate point

12.

The third parameter in the () after an ellipse or rectangle code is:

a)

height

b)

width

c)

x coordinate point

d)

y coordinate point

13.

Which answer contains the code to draw this image?

a)
b)
c)
d)
14.

Why is the order of the code important?

a)

It is important because it goes from top to bottom.

b)

It is important because if you don't pay close attention to where you put things, you might not see all your shapes.

c)

It is not important.

d)

It is important because following the same order every time prevents you from making mistakes.

15.

What are the rules you need to follow when naming variables?

a)

Labels cannot include spaces. Labels cannot begin with a number.

b)

Labels cannot include spaces. Labels cannot begin with a number. Be very careful with spelling. Labels are case sensitive.

c)

Labels are case-sensitive. Labels need to be spelled correctly.

d)

Labels should be in camel case. Labels should be spelled correctly. Labels cannot begin with a number.

16.

Which of the numbers represents the width of the ellipse?

a)

200

b)

100

c)

300

d)

150

17.

Which of the numbers represents the height of the ellipse?

a)

200

b)

100

c)

300

d)

150

18.

What is a parameter?

a)
An extra piece of information that you pass to the function to customize it for a specific need.
b)
The common programming structure that implements "conditional statements".
c)
the rate at which frames in an animation are shown, typically measured in frames per second
d)
Pulling out specific differences to make one solution work for multiple problems.
19.

What is a Bug?

a)
Part of a program that does not work correctly.
b)
the rate at which frames in an animation are shown, typically measured in frames per second
c)
An algorithm that has been coded into something that can be run by a machine.
d)
A graphic character on the screen with properties that describe its location, movement, and look.
20.

What is Debugging?

a)
Finding and fixing problems in your algorithm or program.
b)
Statements that only run under certain conditions.
c)
Any valid unit of code that resolves to a value.
d)
Part of a program that does not work correctly.
21.

A collection of interlinked web pages on the World Wide Web is a _______?

a)

website

b)

content

c)

footprint

d)

heading

22.

HTML stands for

a)

Hypertext Markup Language

b)

Hypertext Media Language

c)

Hyper Text Marker Line

d)

Hypertext Mangement List

23.

The special set of characters that indicates the start and end of an HTML element and that element's type

a)

HTML Tag

b)

DIgital Footprint

c)

Heading

d)

Citation

24.

A work or invention that is the result of creativity, such as a piece of writing or a design, to which one has rights and for which one may apply for a patent, copyright, trademark, etc.

a)

intellectual property

b)

citation

c)

website content

d)

creative commons

25.

Opens a paragraph in HTML

a)

<p>

b)

</p>

c)

<html>

d)

<img>

26.

Placed at the end of your website document

a)

</html>

b)

<hl>

c)

</end>

d)

</hl>

27.

Tells the computer what type of document its reading

a)

<!DOCTYPE>

b)

<HTML>

c)

<li>

d)

<UL>

28.

Where in an HTML you put the main information

a)

<body>

b)

<HTML>

c)

<head>

d)

<ol>

29.

This will make the smallest heading on the page

a)

<h6>

b)

<h1>

c)

<h3>

d)

<heading>

30.

This is used to create a numbered list on the HTML page

a)

<ol>

b)

<list>

c)

<Number>

d)

<li>

31.

This tag is used to add a Picture on your webpage

a)

<img />

b)

<insert image>

c)

<pic />

d)

<add image/>

32.

Look at the list above and predict the HTML code you would use to display it correctly. Choose from the following answers.

a)
b)
c)
d)
33.

Which of the following Creative Common licenses is the LEAST restrictive?

a)
b)
c)
d)
34.

Part of a program that does not work correctly.

a)

bug

b)

debugging

c)

digital footprint

d)

hyperlink

35.

Which of the following Creative Common licenses is the MOST restrictive?

a)
b)
c)
d)
36.

Debugging: Which of the following html elements contains a bug?

a)
b)
c)
d)
e)
37.

A link from a HTML file to another location or file, typically activated by clicking on a highlighted word or image on the screen.

a)

copyright

b)

HTML tag

c)

bug

d)

hyperlink

e)

citation

38.

2nd Step in the Problem-Solving Process

a)

Try

b)

Reflect

c)

Define

d)

Prepare

39.

3rd Step in the Problem-Solving Process

a)

Try

b)

Define

c)

Reflect

d)

Prepare

40.

4th Step in the Problem-Solving Process

a)

Prepare

b)

Reflect

c)

Try

d)

Define

41.

1st Step in the Problem-Solving Process

a)

Prepare

b)

Define

c)

Reflect

d)

Try

42.

Problem-Solving Process

a)

Reflect, Define, Try, Prepare

b)

Define, Try, Prepare, Reflect

c)

Define, Prepare, Try, Reflect

d)

Try, Prepare, Define, Reflect

43.

What does CSS stand for?

a)

Cascading Style Sheets

b)

Colorful Style Sheets

c)

Computer Style Sheets

d)

Creative Style Sheets

44.

Which CSS property controls the text size?

a)

text-size

b)

font-size

c)

text-style

d)

font-style

45.

Which property is used to change the font of an element?

a)

font-style

b)

font-family

c)

font-weight

46.

You are developing an app that will warn you when the air quality in your city is poor. Which two would measure today's air quality and retain the air quality data for each day?

a)

Output

b)

Input

c)

Processing

d)

Storage

47.

What type of information could a computer store?

a)

Apps

b)

Photos

c)

Music

d)

Location

e)

All of the Above

48.

Which number shows how to add a style sheet?

a)

1

b)

2

c)

3

d)

4

49.

What code will allow you to add color to an object?

a)

shade

b)

color

c)

fill

d)

fill in

50.


Which of the following could be described as processing and the output of processing?

a)

 After counting the number of clicks, the screen updates.

b)

If you guess wrong, then you get a message.

c)

If your guess matches the right number, then music plays.

d)

If your high score is greater than the last high score, then the score is updated on the screen.

e)

All of the above