IWP Digital Assignment 3

Quiz
•
Computers
•
University
•
Medium
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
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
Similar Resources on Wayground
15 questions
XML BASICS QUIZ

Quiz
•
University
20 questions
SOAP

Quiz
•
University
20 questions
Latihan html dan css

Quiz
•
KG - University
20 questions
CSS Quiz

Quiz
•
University
20 questions
LAB INTERNET AND WEB TECHNOLOGIES QUIZ

Quiz
•
University
10 questions
Css

Quiz
•
University
20 questions
HTML/CSS Quiz

Quiz
•
6th Grade - University
20 questions
Web Designing Quiz-1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade