100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COMP 126 FINAL Exam Questions AND Correct Answers

Rating
-
Sold
-
Pages
21
Grade
A+
Uploaded on
31-10-2025
Written in
2025/2026

COMP 126 FINAL Exam Questions AND Correct Answers

Institution
COMP 126
Course
COMP 126










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
COMP 126
Course
COMP 126

Document information

Uploaded on
October 31, 2025
Number of pages
21
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COMP 126 FINAL Exam Questions AND Correct Answers
A CSS formatting rule consists of what two parts - ✔✔selector
and declaration


A CSS grid container consists of grid items - ✔✔that consist of
one or more grid cells


A flex container can contain one or more - ✔✔flex items


A scalable image is scaled - ✔✔to the width of the element
that contains it


A vertical navigation menu is best coded as - ✔✔a series of
<a> elements within the li elements of an unordered list


By default, an ordered list is displayed as - ✔✔a numbered list


By default, items in a flex container are displayed -
✔✔horizontally from left to right


CSS stands for - ✔✔Cascading Style Sheet

,Flexbox allows you to lay out elements side by side... -
✔✔without using floats


How can you easily view the code behind a website that you
find online? - ✔✔use the developer's tools in your browser


How do element behave in what we call the "normal (or
natural) flow of the document"? - ✔✔They flow left to right
and top to bottom


How many levels of heading does HTML include by default? -
✔✔6


HTML and CSS are a collection of - ✔✔Web Standards


HTML is used to define the - ✔✔structure and content of a
webpage


If I want the fill color of an <a> element to change to red when
the user's cursor is positioned over it, which of the following
rules could I use? - ✔✔a:hover {background: red;}

, If the following CSS appears in a stylesheet, what color will
the associated <h1> appear?
h1, h2, h3 {color: red; font-size: 36px;}
h3 {font-size: 24px;}
h1 {color: blue;} - ✔✔blue


If two CSS declarations conflict, which declarations override
the other declarations/ have the highest priority? -
✔✔!important declarations in the user's style sheet


If you don't explicitly set a value for the position property of
an element, what value will it have? - ✔✔position: static;


In order to apply absolute positioning to an element you must
also - ✔✔apply an explicit position value to its next nearest
container element


In the box model for an element, the border - ✔✔is between
the padding and the margin
$12.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
ExamsCentre
4.0
(2)

Get to know the seller

Seller avatar
ExamsCentre New Yo
View profile
Follow You need to be logged in order to follow users or courses
Sold
6
Member since
9 months
Number of followers
0
Documents
1711
Last sold
3 weeks ago

4.0

2 reviews

5
1
4
0
3
1
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions