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
18 questions
Revisão Introdução Web 1º Bimestre

Quiz
•
University
20 questions
LAB INTERNET AND WEB TECHNOLOGIES QUIZ

Quiz
•
University
20 questions
Latihan html dan css

Quiz
•
KG - University
20 questions
js DOM

Quiz
•
12th Grade - Professi...
15 questions
Quiz CSS - UKM IT

Quiz
•
University
10 questions
Web Design Unit 1 - 8

Quiz
•
12th Grade - University
10 questions
HTML/CSS Quiz

Quiz
•
10th Grade - University
10 questions
HTML

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University