IWP Digital Assignment 3

IWP Digital Assignment 3

University

15 Qs

quiz-placeholder

Similar activities

CSS and HTML Styling

CSS and HTML Styling

University

12 Qs

Programming in Asp.Net with C#

Programming in Asp.Net with C#

University

20 Qs

CSS - Quiz 1

CSS - Quiz 1

9th Grade - University

15 Qs

Recap CSS

Recap CSS

University

10 Qs

Website Design

Website Design

KG - University

10 Qs

WT Assignment-1

WT Assignment-1

University

15 Qs

Web Services

Web Services

University

10 Qs

BSIT3D-FQuiz1

BSIT3D-FQuiz1

University

20 Qs

IWP Digital Assignment 3

IWP Digital Assignment 3

Assessment

Quiz

Computers

University

Medium

Created by

Vijayaprabakaran k

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about JavaScript DOM (Document Object Model) is correct?

The DOM provides a hierarchical representation of the HTML document, allowing JavaScript to manipulate its structure, content, and style dynamically.

The DOM only supports manipulation of text content within HTML elements; it cannot alter the structure or style of the document.

JavaScript can directly modify the HTML file on the server-side using DOM without needing client-side interaction.

DOM manipulation is limited to static web pages and cannot be used to create dynamic web applications.

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following statements about AJAX (Asynchronous JavaScript and XML) is correct?

AJAX is a programming language used for server-side scripting in web development.

AJAX allows web pages to be refreshed or reloaded completely when new data is requested.

AJAX requests are always synchronous, meaning the browser waits for the response before continuing to execute other scripts.

AJAX enables asynchronous communication between a web browser and a server, allowing parts of a web page to be updated without a full page reload.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about PHP sessions is MOST ACCURATE?

Sessions are a client-side mechanism for storing user information using cookies.

Sessions are a server-side mechanism for storing user information across multiple page requests.

Sessions automatically expire after a set period of inactivity, requiring users to re-login.

Sessions require complex database interaction to store user data.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

The given JavaScript code snippet aims to add a click event listener to a button element with the ID "myButton". The listener should display an alert message when the button is clicked. Analyze the code and choose the best option:

option 1

option 2

option 3

All the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about Internet Protocol (IP) is correct?

IP is responsible for ensuring secure communication between a web browser and a web server.

IP addresses uniquely identify devices on a network and facilitate the routing of data packets between them.

IP is primarily concerned with the presentation and formatting of web content for display in a browser.

IP is a protocol used exclusively for sending emails over the internet.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following file formats are commonly supported for embedding videos in HTML web pages? (Select all that apply)

MP3

MP4

WebM

SVG

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between inline, inline-block, and block elements in CSS?

Inline elements flow within the content and cannot have set widths or heights, while inline-block elements behave like inline elements but can have set widths and heights. Block elements, on the other hand, start on a new line and stretch to fill the entire width of their container by default.

Inline elements are displayed horizontally in the same line as other elements, inline-block elements start on a new line like block-level elements but allow other elements to sit alongside them, and block elements are displayed vertically, each on a new line.

Inline elements can only contain text or other inline elements, inline-block elements can contain block-level elements as well, and block elements cannot contain other elements.

Inline elements are used exclusively for text styling, inline-block elements are used for inline content that requires layout, and block elements are used for structural elements such as headings and paragraphs.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?