Font size
WorksheetsComputing Fundamentals Prefinal Exam
Total questions: 56
Worksheet time: 56mins
What does CSS stand for in web development?
Creative Script Styles
Cascading Style Sheets
Computer Styling Syntax
Custom Sheet System
What is the main purpose of CSS?
To structure the page content
To style and format web pages
To add server-side logic
To handle form submissions
Which statement best describes CSS syntax?
Property: selector; value
Selector: property; value
Value: selector; property
Selector: value; property
Which selector targets elements with a specific class?
#highlight
.highlight
*highlight
highlight#
Which selector targets all elements in a webpage?
#
.
*
:
Which type of CSS is best for organizing large projects?
Inline styling
Internal styling
External styling
Embedded styling
Where is internal CSS usually written?
Inside the <footer>
Inside the <body>
Inside theInside the <head>
Inside the <script>
What does the property display: flex; do?
Makes text italic
Makes an element a flex container
Centers text vertically
Changes element color
Which property centers flex items horizontally?
justify-content
align-items
align-content
text-align
What does display: grid; do in CSS?
Creates a single line layout
Turns an element into a grid container
Aligns items in a flex row
Sets a table-style design
Which property defines columns in a CSS grid?
grid-gap
grid-rows
grid-template-columns
grid-area
What is the main purpose of media queries?
To change color schemes
To adjust layout for different screen sizes
To style navigation menus
To manage JavaScript animations
Which CSS property removes underlines from links?
text-decoration: none;
font-style: normal;
text-align: center;
decoration-style: off;
What does the pseudo-class :hover do?
Applies styles during page load
Applies styles when scrolling
Applies styles on mouse hover
Applies styles when printing
What is the purpose of transition: background 0.3s;?
Adds a shadow to the background
Changes the font automatically
Creates a smooth background change effect
Centers the background image
HTML stands for ________.
Hyper Transfer Markup Layout
HyperText Marking Language
HyperText Markup Language
Hyper Transfer Making Layout
The main purpose of HTML is to ________.
design visual animations
program dynamic actions
structure webpage content
connect external networks
Which tag declares the document type?
<html>
<meta>
<!DOCTYPE html>
<header>
The
element is mainly used to ________.display all page text
hold the main content
store metadata and links
contain user input forms
The
element contains ________.invisible metadata only
external scripts and fonts
the visible page content
configuration information
Which HTML tag is used for the largest heading?
<h6>
<h3>
<h1>
<head>
What does the
tag represent?
a new heading section
a paragraph of text
a highlighted keyword
a list of items
The
tag is used to ________.
break a text line
start a new paragraph
insert a comment
make text italic
Which tag makes text appear bold?
<u>
<b>
<i>
<mark>
To underline a specific word, you should use ________.
<b>
<u>
<p>
<h4>
The tag requires the ________ attribute to display an image.
name
type
src
form
Which attribute shows alternative text when an image fails to load?
text
link
alt
ref
paragraph
hyperlink
heading
table
Which input type hides characters for security?
text
date
password
checkbox
What does the
groups input fields
inserts a background image
defines the webpage layout
displays the main heading
The Java Virtual Machine (JVM) is responsible for ________.
editing source code manually
executing Java bytecode
drawing website graphics
connecting online servers
Which component includes the compiler and developer tools?
Java Runtime Environment
Java Virtual Machine
Java Development Kit
Integrated Developer Kit
What is the main role of the Java Runtime Environment (JRE)?
edit and format HTML code
compile source into bytecode
run Java programs only
design graphical interfaces
The phrase “write once, run anywhere” means that ________.
Java is faster than Python
bytecode runs on all JVMs
code compiles into HTML files
syntax is shared with C++
In the Java analogy, the “chef” represents the ________.
Java compiler
Java Virtual Machine
code editor software
application output
Which tool translates .java files into .class files?
javac compiler
java launcher
text formatter
bytecode editor
The main method serves as ________.
the first class in Java
the entry point of code
the variable declaration part
the comment documentation
A Java class must have the same name as ________.
the folder location
the variable identifier
the filename itself
the printed message
Which Java data type stores whole numbers?
int
double
boolean
String
The variable type “double” is used for ________.
storing whole numbers
storing decimal values
storing true or false
storing single letters
Which Java type holds text data like names?
boolean
String
char
int
The keyword “if” in Java is used for ________.
repeating statements
defining conditions
declaring variables
creating comments
A method in Java is used to ________.
store constant values
group reusable logic
print console messages
declare input variables
In Object-Oriented Programming, a class is ________.
a running instance
a blueprint or model
a compiled file
a conditional block
Encapsulation in Java means ________.
sharing all variables freely
hiding data inside classes
repeating loops for safety
linking files automatically
A step-by-step procedure for solving a problem is called an (a) .
The simplified, English-like version of an algorithm is called (a) .
A good algorithm must have a logical sequence and a clear (a) .
The word “DISPLAY” in pseudocode means to (a) something.
In pseudocode, the symbol “←” means to (a) a value.
The keyword used in pseudocode to make a decision is (a) .
The keyword used in pseudocode for repetition or looping is (a) .
Before writing code, programmers first plan their logic through (a) .
An algorithm that checks if a number is even or odd uses the (a) operator.
The formula for finding the area of a rectangle is length × (a) .
We live in an age of algorithms and artificial intelligence, yet the greatest design ever made is not digital—it’s human. The Bible reminds us that “It is not good for man to be alone” (Genesis 2:18), showing that connection and relationship are part of our divine design.
Einstein once said, “The more I study science, the more I believe in God,” because he saw order in the universe—gravity, light, and atoms—all following measurable laws. DNA, the “divine source code,” proves that information comes from intelligence, and that we are “fearfully and wonderfully made” (Psalm 139:14).
The universe had a beginning, but God did not—He is eternal, the “Alpha and Omega” (Revelation 1:8). That’s why faith and science do not conflict; they confirm each other.
Through Christ, what separated us from God—sin—has been conquered. Jesus took our place, died, and rose again, proving His love and giving us life abundant (John 10:10).
We are invited not to religion, but to relationship; not to mere existence, but to excellence, living for something greater—His glory.
According to Genesis 2:18, it is not good for man to be (a) .
Einstein said that the more he studied science, the more he believed in (a) .
DNA is described as the “divine source (a) ” that reveals an intelligent Creator.
Psalm 139:14 says, “I am fearfully and (a) made.”
The universe had a beginning, but God is (a) , meaning He has no start or end.
Sin separates people from God, but (a) restored the connection by dying for us.
John 10:10 says Jesus came so that we may have life and have it more (a) .
Faith and (a) do not conflict, because both reveal truth about creation.
We are called not to religion, but to a personal (a) with God.
Living with excellence and creativity in your field—IT, animation, or design—should be for God’s (a) , not to prove greatness or boast, but to show humility and purpose in your work.
