Question and Answers

QnA

(Q1) Describe the difference between an XML Sitemap and a HTML Sitemap. List the benefits and disadvantages of using each.
The XML Sitemap is a machine readable sitemap created in Extensible Markup Language (XML) which contains information about all our website URLs along with the metadata. The metadata includes info about updated frequency of the URL, when it was last updated, connection between various URLs in the sitemap. It gives better idea on structure of a website. Moreover all major search engines use XML Sitemap protocol.

The HTML Sitemap is written in Hyper Text Markup Language which serves as directory of links or table of contents for the website pages.It is a page with all other website pages that we can jump through via one single wesite page. Its for better user experience rather than search engine optimization. More thoughtfully saying it’s created for humans.

(Q2) Evaluate three IDE’s (Integrated development environments) and provide a brief summary on the positive and negative aspects of each. Also, in your own words include how it would suit an entry level trainee code developer.
Integrated Dev Env Visual Studio Code IntelliJ IDEA PyCharm
Positive Aspects Extremely lightweight
Highly customizable
Cross-platform (Windows, macOS, Linux)
Superior intelligent code completion
Robust debugging tools
Built-in refactoring capabilities
Pre-configured for Python
Excellent debugger
Interactive interpreter (REPL)
Negative Aspects Requires manual configuration for specialised languages
Relies on extensions for full IDE functionality
Heavy resource usage (high RAM)
Complex menu system
Slow startup for large projects
Primarily specialised for Python
Less flexible for other programming languages
Entry-Level Development Suitability Best choice for entry-level developers.
Forces users to install only required extensions (e.g., Python, Java).
Ideal for Java and backend development.
Intelligent features catch errors early and enforce proper OOP structure.
Great for beginner Python developers.
No need to manually set environment variables.
Encourages PEP-8 coding standards.

(Q3) Provide a brief history on web browser development and the issues encountered by web developers, specifically, the adherence to web standards.
Sir Tim Barnes-Lee created the first web browser called WorldWideWeb(1990) it led to development of LineModeBrowser(1991) and NCSA Mosaic(1993) allowing images to be displayed alongside text for the first time.

The first web browser war happened between netscape Navigator and Microsoft’s Internet Explorer. Developers have to create different version of the same website because browsers could only display specific types of codes.

Hence World Wide Web Consortium (W3C) standards were introduced in 1998 to resolve the issue of inconsistent display and functions across browsers.

Nowadays the most popular browser is Google Chrome which overcame Microsoft Edge and Firefox. Chrome provides better speed, reliability and good search results whereas microsoft edge is more deliberate to push their browser instead of chrome.

(Q4) What are website testing methodologies? Your answer MUST cover browser compatibility, and website functionality.
Website testing methodologies are systematic approach used to check that the website is working properly. Various compatibility and functionality test are done before publishing any website.

• Browser compatibility testing are done to check if a website renders across different browsers, operating system and devices correctly. It may test for css, fonts and image, responsive design also javascript.

• Website functionality checks for forms and submissions, navigation, links, database interaction for data, retrive result updates are working properly.

• Accessibility Testing are to check compliance with WebContentAccessibilityGuidelines for users with disabilities.

• Security Testing must be done for preventing breaches in user data, conducting scanning and penetration testing.

(Q5) What are the endorsed requirements of accessibility for all NT Government webpages?
The Northern Territory Government all their webpages endorses the W3C(World Wide Web Consortium)’s Web content accessibility guidelines(WCAG) 2.0 Level AA as the standard for its website and digital contents.

(Q6) How do you think it’s best to organise all the assets used for a specific webpage? Think locally on your computer AND within the root folder of the website.
The best practice is to keep your root folder on your local device and to use the same structure we will apply on the server, since the root folder will be uploaded to the server via SFTP. Inside the root folder is the webpage project folder.

Inside the webpage project folder, we have the HTML files, image subfolder, and CSS subfolder. One of the HTML files will be index.htm, the website's homepage, which may contain links to other webpages (HTML files) and reference the CSS and image files located in the subfolders.