• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 46 pages
Exam (elaborations)

Web Development – Extensive Q&A Set with Verified Answers – Covers HTML, CSS, JS, PHP, SQL, AJAX & Security Concepts

Document preview thumbnail
Preview 4 out of 46 pages

This document compiles a thorough set of verified questions and answers on essential web development topics, spanning frontend and backend technologies. It includes detailed explanations on HTML structure, CSS styling, JavaScript behaviors, PHP scripting, MySQL operations, form handling, sessions, cookies, AJAX mechanisms, and cybersecurity practices (like XSS and SQL injection). Ideal for web development learners and candidates preparing for assessments or interviews.

Content preview

Web Development questions with verified answers
Discuss the relevance of D3 Ans✓✓✓ With big data there is more data
than can be presented reasonably using tables


D3 provides a range of techniques for visualising data.


It facilitates interaction, meaning users can tailor a visualisation for
their own needs.


It is well suited to use in a browser given its reliance on SVG


Explain CSS syntax Ans✓✓✓


Explain how you would use a CSS counter Ans✓✓✓


Explain the CSS box model Ans✓✓✓


Explain the CSS display property Ans✓✓✓ It can take the values:


none
block
inline

,inline-block (this makes the elements like inline elements but they can
have a width and height)


Explain the importance of form validation Ans✓✓✓ Important to
ensure invalid data does not reach the database


A form can validate the format of the data but not the correctness of
the data


Validation can take place on both the client and server end


Give an example of creating a bar chart using D3 Ans✓✓✓ where sun
is an array of values


How are POST messages sent Ans✓✓✓ using the HTTP headers


How can hashing be cracked Ans✓✓✓ Dictionary attack
Brute-force attack
Look-up tables
Rainbow tables


How can we break a website down from a design perspective and why
do we do this Ans✓✓✓ It can be organised into:

,The model: handles the data and business logic


The view: handle user interface application


The controller: handle user interface objects and presentation


This supports decoupling which reduces dependencies between
different components of the system


How can you access properties in JS Ans✓✓✓


How can you assign events to HTML elements Ans✓✓✓


How can you prevent cookies Ans✓✓✓ A client can inform a server
that it does not want tracking by setting the Do Not Tracker header in
the HTTP request, this is visible to the server as HTTP_DNT


How do delete a cookie Ans✓✓✓ you set its expiring time to a
negative value so it "expires"


How do sessions work, how are they stored Ans✓✓✓ The session uses
the clients cookie storage to save a key which is used to identify one
particular repository of variables

, When a session is opened on another page it scans the computer for a
user-key


If there is a match, it accesses that session, if not it starts a new session


How do web servers and browser ensure safe transfer of passwords
Ans✓✓✓ HTTPS communications using an encrypted channel (either
transport layer security (TLS) or secure sockets layer (SSL)


Server sends its digital certificate to the browser


Once the certificate is received the secure communication channel can
be established, handshaking


How do you access cookies Ans✓✓✓ Much like GET and POST you
access cookies using the $_COOKIE array indexed by the cookie names


How do you access session variables Ans✓✓✓ using the $_SESSION
array


How do you access the length of an array in java Ans✓✓✓ array.length
returns the length

Document information

Uploaded on
June 7, 2025
Number of pages
46
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$19.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
cracker
3.8
(402)
Sold
2180
Followers
1346
Items
50083
Last sold
22 hours ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions