Session5

Session5

University

20 Qs

quiz-placeholder

Similar activities

GENERAL PACKET RADIO SERVICES (GPRS)

GENERAL PACKET RADIO SERVICES (GPRS)

University

15 Qs

Engineering Graphics Unit 1

Engineering Graphics Unit 1

University

15 Qs

PEISS

PEISS

University

15 Qs

24EE2081 - Quiz1

24EE2081 - Quiz1

University

15 Qs

Understanding Resistance Concepts

Understanding Resistance Concepts

University

15 Qs

Logistic Regression and k-NN

Logistic Regression and k-NN

University

20 Qs

Quiz T2_Malaysia Practices on Sustainability

Quiz T2_Malaysia Practices on Sustainability

University

15 Qs

C programming Basics

C programming Basics

University

20 Qs

Session5

Session5

Assessment

Quiz

Engineering

University

Practice Problem

Hard

Created by

Nada Asraf

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about the position: sticky property?

A. It requires a z-index to work properly.

It toggles between relative and fixed based on the scroll position.

It only works inside a flex container.

It behaves the same as absolute but with offset restrictions.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If two elements have the same z-index value and are siblings, what determines which one appears on top?

A. Their position in the DOM hierarchy.

Their width and height.

Their display property.

Their overflow property.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when overflow: scroll is set on an element?

Content is clipped and cannot be accessed.

Scrollbars are visible only when content overflows.

Content is always visible with a scroll bar, even when it doesn't overflow.

Scrollbars are always hidden.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property combination is most suitable for centering an element both horizontally and vertically inside a parent container?

display: inline-block; margin: auto;

text-align: center; line-height: 50%;

. float: center; margin: auto;

position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property is commonly used to make a navigation bar fixed at the top of the page?


position: fixed;

position: sticky;

position: relative;

position: absolute;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS layout system uses grid-template-rows and grid-template-columns properties?


Box Model

Flexbox

CSS Grid

Float Layout

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following values is NOT valid for the position property?

static

relative

inherit

float

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?