wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FOC Final Exam Review

Total questions: 70

Worksheet time: 35mins

Name
Class
Date
1.

What should you do if you are a victim of cyberbullying?

a)

Respond to the bully

b)

Keep a record of messages received (print or take screenshots)

c)

Reach out to parents, teachers, counselors, and school administrators

d)

Block communication from the bully (if possible)

2.

How can you be an upstander if you witness cyberbullying?

a)

Reach out to the victim-let them know that you care and encourage them to seek help

b)

Tell a teacher, parent, or counselor about the bullying

c)

Report bullying to the website admin

d)

All of the above

3.

By checking the box on a privacy policy page, a company can legally use your data and information in all the ways disclosed, even if you change your settings.

a)

True. This is always the case.

b)

True. Changing your settings does not affect the privacy policy.

c)

False. It depends if the privacy policy allows you to opt in or out of sharing data.

d)

False. Companies do not give you the option to update your settings.

4.

Which of the following pieces of information would be safe to include in an online username?

a)

School mascot

b)

Favorite sport

c)

Year of birth

d)

City of residence

5.

Which of the following is not a characteristic of a credible source?

a)

The author is not named on the website

b)

The domain is .edu or .gov

c)

Multiple scholarly sources are cited

d)

The source is well-organized and follows rules of spelling and grammar

6.

Which of the following is not a good practice for effective Internet searches?

a)

Search for specific keywords that define your topic

b)

Use quotation marks to search for exact phrases

c)

Be general in your search query to get as many results possible

d)

Use + or - to include or exclude different topics

7.

A person's digital footprint is:

a)

Public, but not usually permanent

b)

Only public to people whom a person shares things with, but what's there is permanent

c)

Public and permanent to anyone

8.

Which of the following people can access your digital footprint?

a)

Family, friends, and acquaintances

b)

Teachers, colleges, and scholarship committees

c)

Potential employers

9.

You have asked your users to avoid using passwords that use letters only. Which of the following policies would help enforce this?

a)

Password complexity requirements

b)

Enforce password history

c)

Minimum password length

d)

Maximum password age

10.

It's time to change passwords again and you don't feel like entering a brand-new password. You use an old password you used last year, but it is rejected. What policy is most likely preventing you from reusing it?

a)

Password complexity

b)

Password history

c)

Password expiration

d)

Maximum attempts

11.

Which of the following represents an example of a special character?

a)

O

b)

&

c)

G

d)

s

12.

You find an image with the copyright license shown. Which action is permitted?

a)

You can use the image for commercial purposes if you credit the owner.

b)

You can use the image without crediting the owner.

c)

You can use and modify the image for non-commercial purposes if you credit the owner.

d)

You can modify and use the image without crediting the owner.

13.

Cynthia discovers that she has the ability to modify the lunch menu posted on her school's website. She edits the website so for lunch every day, it says "Green Eggs and Ham". Which part of the CIA triad was broken?

a)

Confidentiality

b)

Integrity

c)

Availability

d)

All of the above

14.

Which of the following statements are true?

a)

A. There has been a decrease in the number of cyber attacks in the past decade.

b)

B. Cybersecurity is the protection of computer systems, networks, and data from digital attacks.

c)

C. Cyber attacks in the past few years have impacted individuals, governments, and organizations.

15.

Which of the following most accurately describes the Internet of Things?

a)

Malicious hackers intent on stealing confidential information like credit card numbers or email addresses

b)

All of the websites that a person can currently access online

c)

Internet service providers who make it possible to go online

d)

The network of devices with the ability to connect and exchange data

16.

Robert is on an online auction site trying to make a bid on a new computer. As he tries to make a bid, the site crashes and he loses the auction. Which part of the CIA triad was broken?

a)

Confidentiality

b)

Integrity

c)

Availability

d)

All of the above

17.

Alice is checking her grades on a school computer in the library, and she forgets to log out before she leaves. Bob gets on the computer after her, and he sees her grades for all of her classes. Which part of the CIA triad was broken?

a)

Confidentiality

b)

Integrity

c)

Availability

d)

All of the above

18.

Which of the following devices is not a part of the Internet of Things?

a)

A watch that allows you to measure and track your activity through a mobile app

b)

A security system that lets you remotely monitor your home

c)

A physical combination padlock for your gym locker

d)

A car with a built-in navigation system

19.

Which of the following is the primary goal of a ransomware attack?

a)

Stealing information and data

b)

Deactivating and destroying devices

c)

Shutting down network access

d)

Obtaining money through threats

20.

Sarah puts a lock on her diary so only she can read it. Her little brother breaks the lock and reads her diary. Which part of the CIA triad was broken?

a)

Confidentiality

b)

Integrity

c)

Availability

d)

All of the above

21.

What should be the primary focus of keeping information secure?

a)

Educating users on the dangers of phishing attempts

b)

Encrypting all personal data

c)

Ensuring the confidentiality, integrity, and availability of data

d)

Implementing a strong password policy

22.

What is comprised of millions of smart devices and sensors connected to the internet?

a)

the cloud

b)

the data center

c)

the internet of things

d)

the CIA triad

23.

What is the main fear that ransomware attacks center around?

a)

Fear of hackers

b)

Fear of the Internet

c)

Fear of being spied on

d)

Fear of losing important files

24.

What does a ransomware hacker do when they gain access to a user's system?

a)

Encrypt important files

b)

Delete key system data

c)

Copy a user's personal data

d)

Move operating system data

25.

What is the core technology that allows digital devices to connect and transmit data with each other?

a)

sensors

b)

networks

c)

smart phones

d)

a global positioning sensor or GPS

26.

A deceptive email is typically used in a phishing attack. Which of the following is most likely a legitimate email address?

a)

jacob@homedepot23.com

b)

nathaniel@paypal.info1.com

c)

mikayla@applle.com

d)

jamal@netflix.com

27.

Which of the following choices lists the three main components of a computer's hardware?

a)

CPU, Memory, Motherboard

b)

CPU, Flash memory, Processor

c)

Processor, Binary, RAM

d)

Input devices, Output devices, Motherboard

28.

What does CPU stand for?

a)

Computer's Processing Unit

b)

Computer's Plug-in Unit

c)

Central Processing Unit

d)

Central Pushing Unit

29.

Which of the following devices is the device that connects all of the physical components of a computer together?

a)

CPU

b)

Memory

c)

Logic

d)

Motherboard

30.

What is the purpose of an output device?

a)

To allow the computer to store information or programs.

b)

To allow the user to give data or information to the computer.

c)

To allow computers to connect and communicate with other computers.

d)

To allow the computer to display or communicate the result of a computation

31.

What is the purpose of an input device?

a)

To allow the computer to store information or programs.

b)

To allow the user to give data or information to the computer.

c)

To allow computers to connect and communicate with other computers.

d)

To allow the computer to display or communicate the result of a computation

32.

What is the purpose of a network device?

a)

To allow the computer to store information or programs.

b)

To allow the user to give data or information to the computer.

c)

To allow computers to connect and communicate with other computers.

d)

To allow the computer to display or communicate the result of a computation

33.

Which of the following statements is something the operating system of a computer is responsible for doing?

a)

Managing memory allocation for all applications.

b)

Providing a way for the user to create text documents.

c)

Allowing the user to access the internet.

d)

Allowing the user to write programs.

34.

Which of the following statements is the simplest and most accurate definition of a computer?

a)

A computer is something that performs calculations by following and executing specific instructions to solve a problem.

b)

A computer is a machine that is able to solve any problem.

c)

A computer is a machine that can be programmed.

d)

A computer is something that runs applications and accesses the internet.

35.

Which of the following choices correctly orders the early types of computers from earliest to most recent?

a)

A) IBM Laptop, ENIAC, Analytical Engine, Abacus

b)

B) ENIAC, Analytical Engine, Abacus, IBM Laptop

c)

C) Analytical Engine, Abacus, IBM Laptop, ENIAC

d)

D) Abacus, Analytical Engine, ENIAC, IBM Laptop

36.

Which part of the computer is responsible for managing memory allocation for all applications?

a)

Word processor

b)

Operating system

c)

Web browser

d)

Integrated development environment

37.

Choose the option that correctly identifies this picture:

a)

Motherboard

b)

Operating system

c)

Flash drive

d)

Central Processing Unit

38.

What is software?

a)

Programs that can be run on the computer

b)

Parts of the computer that can be controlled by apps

c)

The parts of a computer you can touch (even if you shouldn't)

d)

Virtual Operating Systems

39.

The picture below is

a)

A. A motherboard

b)

B. DDR RAM

c)

C. A power supply

d)

D. A CPU

40.

Which of these are input devices?

a)

Webcam

b)

Scanner

c)

Keyboard

d)

Mouse

e)

Monitor

41.

This is any hardware used by a human operator or other systems to communicate with a computer.

a)

IP address

b)

input/output device

c)

Imaging

d)

Image

42.

Which of the following best explains what happens when a new device is connected to the Internet?

a)

A) A device driver is assigned to the device.

b)

B) An Internet Protocol (IP) address is assigned to the device.

c)

C) A packet number is assigned to the device.

d)

D) A Web site is assigned to the device.

43.

According to the domain name system (DNS), which of the following is a subdomain of the domain example.com?

a)

about.example.com

b)

example.com/about.html

c)

example.com.about

d)

example.org

44.

A user enters a Web address in a browser, and a request for a file is sent to a Web server. Which of the following best describes how the file is sent back to the user?

a)

The file is broken into packets and sent over a network. The packets must be reassembled by the user's computer when they are received. If any packets are missing, the browser re-requests the missing packets.

b)

The file is broken into packets and sent over a network. The user's browser must request each packet, in order, until all packets are received.

c)

The server attempts to connect directly to the user's computer. If the connection is successful, the entire file is sent at once. If the connection is unsuccessful, an error message is sent to the user.

d)

The server repeatedly attempts to connect directly to the user's computer until a connection is made. Once the connection is made, the entire file is sent.

45.

A city government is attempting to reduce the digital divide between groups with differing access to computing and the Internet. Which of the following actions is LEAST likely to be effective in this purpose?

a)

Holding basic computer classes at community centers

b)

Providing free wireless Internet connections at locations in low-income neighborhoods

c)

Putting helpful tips for operating computers on the city government website

d)

Requiring that every school and library have assistive devices that allow people with disabilities to access computer resources

46.

What type of request is sent when trying to view a web page?

a)

HTML

b)

HTTP

c)

Server

d)

Website

47.

What type of data must be sent with Packets?

a)

Metadata

b)

Packet size

c)

File type

d)

Packet name

48.

What does TCP stand for?

a)

Total Control Process

b)

Tactical Count Protocol

c)

Transfer Control Protocol

d)

Type Centered Protocol

49.

Which of the following commands is a valid Karel command?

a)

move

b)

moves;

c)

move()

d)

move();

50.

Why is the following command an invalid Karel command? turnleft();

a)

It should end in a colon rather than a semicolon

b)

The l should be a capital L

c)

It should start with a capital T

d)

This command is correct

51.

Which of the following is the correct way to define a turnright function in Karel?

a)

function turnRight() { turnLeft(); turnLeft(); turnLeft(); }

b)

function turnRight() { turnRight (); turnRight (); turnRight (); }

c)

function turnRight { turnLeft(); turnLeft(); turnLeft(); }

d)

turnRight function() { turnLeft(); turnLeft(); turnLeft(); }

52.

Why do we use functions in Karel programs?

a)

Break down our program into smaller parts

b)

Avoid repeating code

c)

Make our program more readable

d)

All of the above

53.

If Karel starts at Street 1 and Avenue 1, facing East, where will Karel be, and what direction will Karel be facing after running the following code? (Assume the world is 10x10 in size) move(); turnLeft(); putBall(); turnLeft(); turnLeft(); turnLeft(); move(); turnLeft();

a)

Street 3, Avenue 1, Facing North

b)

Street 1, Avenue 4, Facing North

c)

Street 1, Avenue 3, Facing South

d)

Street 1, Avenue 3, Facing North

54.

What's wrong with this code? function start() { move(); go(); go(); } function go() { move(); move(); } function go() { move(); move(); }

a)

The go function is called twice

b)

The go function has a syntax error

c)

The go function has been defined twice

d)

go is not a command that Karel understands

55.

What is the proper format for a single line comment in Karel?

a)

This is a comment

b)

// This is a comment

c)

/* This is a comment

56.

Which of the following is not a valid condition to go in an if statement for Karel?

a)

ballsPresent()

b)

frontIsClear()

c)

leftIsBlocked()

d)

turnLeft()

57.

Why does a programmer indent their code?

a)

Helps show the structure of the code.

b)

Easier for other people to understand.

c)

A key part of good programming style!

d)

All of the above

58.

How can we teach Karel new commands?

a)

For loop

b)

While loop

c)

Define a new function

d)

The start function

59.

Say you want to write a program to have Karel put down 300 tennis balls. Which control structure would you use?

a)

If statement

b)

While loop

c)

For loop

d)

Nested while loop

60.

Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs? Assume this SuperKarel program. move(); move(); turnRight(); move();

a)

Karel ends on street 1, avenue 3

b)

Karel ends on street 2, avenue 3

c)

This code won’t run because of a syntax error

d)

Karel will crash into a wall

61.

What is the purpose of using a for loop in code?

a)

To do something if a condition is true

b)

To do something while a condition is true

c)

To repeat something a fixed number of times

d)

To make programs run faster

62.

Say Karel is on a location with one tennis ball. After the following code runs, how many tennis balls will there be at that location? for (var i = 0; i < 3; i++) { if (ballsPresent()) { takeBall(); } else { putBall(); putBall(); } }

a)

0

b)

1

c)

2

d)

6

63.

Karel starts at Street 1, Avenue 1, facing East in a 5x5 world. What will happen after this code runs? Assume this is a SuperKarel program. move(); move(); turnRight(); move();

a)

Karel ends on street 1, avenue 3

b)

Karel ends on street 2, avenue 3

c)

This code won’t run because of a syntax error

d)

Karel will crash into a wall

64.

Which of the following is the correct way to declare a JavaScript variable with a value of 20?

a)

var numApples == 20;

b)

20 = numApples;

c)

var numApples = 20;

d)

var num apples = 20;

65.

What function should you use to read a number input from a user in JavaScript?

a)

readLine()

b)

printIn()

c)

readInt()

d)

nextInt()

66.

In a graphics canvas, which of the following represents the coordinates of the top left corner?

a)

A) 0, 0

b)

B) getWidth(), 0

c)

C) 0, getHeight()

d)

D) getWidth(), getHeight()

67.

How would you calculate the center coordinates of a canvas in JavaScript?

a)

getWidth() / 2, getHeight() / 2

b)

getWidth(), getHeight()

c)

getHeight() / 2, getWidth() / 2

d)

getWidth() - getHeight(), getHeight() - getWidth()

68.

When creating a Circle object with the following code, what does the 'size' parameter represent? var size = 20; var ball = new Circle(size);

a)

The diameter of the circle

b)

The area of the circle

c)

The radius of the circle

d)

The circumference of the circle

69.

If you need to get numeric values from a user to create a circle, which of these code segments would be correct?

a)

var x = readLine("X coordinate? "); var y = readLine("Y coordinate? "); var radius = readLine("Radius? ");

b)

var x = readInt("X coordinate? "); var y = readInt("Y coordinate? "); var radius = readInt("Radius? ");

c)

var x = readInt("X coordinate? "); var y = readInt("Y coordinate? "); var radius = readLine("Radius? ");

d)

var x = readLine("X coordinate? "); var y = readLine("Y coordinate? "); var radius = readInt("Radius? ");

70.

In the following code, what will be printed if the user enters 5? var userNum = readInt("Enter your favorite number: "); var calculatedNum = (userNum * userNum) + userNum; println(calculatedNum);

a)

5

b)

25

c)

30

d)

50