TK Study

Software Engineering › Past questions › Programming for the Web (Year 12)

Past questions: Programming for the Web (Year 12)

22 questions.

2025 1 mark Short answer Programming for the Web (Year 12) Web protocols

NESA 2025 HSC Software Engineering exam (online) - Marking Guidelines

[Exact question wording is not published as a paper (online exam). Task as shown by the NESA marking guidelines/mapping grid: web protocols (authentication)]

Marking criteria

1: Identifies the correct answer.

Sample answer

Ensuring that parties exchanging information are who they claim to be

Question page · Practise and get marked

2025 1 mark Short answer Programming for the Web (Year 12) CSS code fragment

NESA 2025 HSC Software Engineering exam (online) - Marking Guidelines

[Exact question wording is not published as a paper (online exam). Task as shown by the NESA marking guidelines/mapping grid: a CSS code fragment (the question showed code; the code is not extractable)]

Marking criteria

1: Identifies the correct answer.

Sample answer

Blue background, white text, border around the heading

Question page · Practise and get marked

2025 1 mark Short answer Programming for the Web (Year 12) ORM and SQL

NESA 2025 HSC Software Engineering exam (online) - Marking Guidelines

Match each characteristic to ORM, SQL, or both: (1) Code is focused on object manipulation; (2) Tables can be joined to enhance searching; (3) Programmers can choose the language used to access the database. [Characteristics as printed in the MG answer table; the question's introductory wording is not published.]

Marking criteria

1: Correctly matches each characteristic to the appropriate approach.

Sample answer

(1) ORM only. (2) Both ORM and SQL. (3) ORM only.

Question page · Practise and get marked

2025 3 marks Short answer Programming for the Web (Year 12) Progressive web apps

NESA 2025 HSC Software Engineering exam (online) - Marking Guidelines

A weather app is to be designed to display real-time updates such as: rain commencing within the next 10 minutes; weather event warnings and warning cancellations; location specific weather conditions. (a) Compare the use of a progressive web app (PWA) with an interactive website, for delivering this weather app. (3 marks)

Marking criteria

3: Compares the use of a PWA with an interactive website for the weather app. 2: Outlines features of a PWA and/or interactive website. 1: Identifies a feature of a PWA or an interactive website.

Sample answer

Both PWAs and interactive websites are platform-independent, allowing users to access the app on any device with a browser. PWAs can pre-cache updates to enable offline updates when a stable internet connection is not available but may not provide real time updates for the most recent changes to weather or warnings. Meanwhile, interactive websites require a constant internet connection to provide any updates.

Question page · Practise and get marked

2025 3 marks Short answer Programming for the Web (Year 12) Load times

NESA 2025 HSC Software Engineering exam (online) - Marking Guidelines

(b) Outline TWO ways, other than the use of a PWA, to minimise the load time of this weather app. (3 marks)

Marking criteria

3: Outlines TWO ways, other than a PWA, to minimise load time. 2: Outlines ONE way, OR identifies TWO ways. 1: Some relevant information.

Sample answer

One way would be to provide the option to select lower resolution images or text only display. Another way would be to utilise caching as this would provide high speed access to commonly requested weather data.

Question page · Practise and get marked

2025 3 marks Short answer Programming for the Web (Year 12) Big data and web architecture

NESA 2025 HSC Software Engineering exam (online) - Marking Guidelines

A streaming service has exclusive rights to broadcast a live event each Sunday afternoon. Explain how the streaming service can use metadata and data mining to prevent technical difficulties during the broadcast of this weekly event. (3 marks)

Marking criteria

3: Explains how metadata and data mining can be used to prevent technical difficulties during the broadcast. 2: Outlines how metadata AND/OR data mining can be used. 1: Identifies a feature of metadata or data mining.

Sample answer

Metadata describes the content, structure and meaning of raw data, enabling more effective, accurate and efficient data mining. Data mining identifies user preferences and viewing patterns from large datasets, helping streaming services personalise recommendations and identify times of predicted high demand. Streaming service management uses this along with real-time user data to balance server loads and deliver smooth playback experiences.

Question page · Practise and get marked

2025 4 marks SQL Programming for the Web (Year 12) SQL queries

NESA 2025 HSC Software Engineering exam (online) - Marking Guidelines

Below is the Issues table for a technical support company. FixTime, in minutes, is the time taken to complete each job. [table image not extractable: columns include JobID, Category, Status, FixTime] Construct a SQL query that displays: the number of pending software jobs; the number of pending hardware jobs; the number of escalated software jobs; the number of escalated hardware jobs. List the results in order from the highest to lowest, based on the number of jobs. (4 marks)

Marking criteria

4: Correct SQL query that extracts 'Pending' and 'Escalated' jobs for the 'Software' and 'Hardware' categories, counts the jobs for each status in each category, and outputs results in descending order. 3: Addresses most requirements. 2: Some understanding of the problem. 1: Some understanding of SQL or the problem.

Sample answer

SELECT Category, Status, COUNT(JobID) AS Jobs FROM Issues WHERE (Status = 'Pending' OR Status = 'Escalated') GROUP BY Status, Category ORDER BY Jobs DESC

Question page · Practise and get marked

2025 3 marks Short answer Programming for the Web (Year 12) Server-side web programming

NESA 2025 HSC Software Engineering exam (online) - Marking Guidelines

(b) Explain why server-side web programming would be needed to develop this website. Support your answer with examples from the website. (3 marks)

Marking criteria

3: Explains why server-side web programming is needed, with examples from the scenario. 2: Outlines some features, with examples. 1: Identifies a feature and/or relevant examples.

Sample answer

Server-side development will need to be used to provide dynamic information to the front-end (website). There are many dynamic aspects to the website, including the menu which changes along with subscription information and order tracking information. Server-side scripting will need to be written to read the relevant information from storage (most likely, a database) and then provide this information to the front-end.

Question page · Practise and get marked

2025 1 mark Short answer Programming for the Web (Year 12) Protocols

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

Which of the following best describes SMTP? A protocol for email transmission / A set of rules to securely transfer files across a network / A set of rules for securing communication between computers / A protocol used for synchronising communication across networks

Marking criteria

1: Identifies the correct answer.

Sample answer

A protocol for email transmission

Question page · Practise and get marked

2025 1 mark Short answer Programming for the Web (Year 12) Front-end frameworks

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

A company is creating a new online application. Which of the following is the LEAST important consideration when choosing an open-source front-end web framework for the new application? Popularity of the framework on social media / Quality of existing framework documentation / Knowledge of the framework within the company's development team / Compatibility of the framework with the company's existing technology

Marking criteria

1: Identifies the correct answer.

Sample answer

Popularity of the framework on social media

Question page · Practise and get marked

2025 3 marks Short answer Programming for the Web (Year 12) Cross-platform compatibility testing

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

Explain how a web developer could test a website for cross-platform compatibility. (3 marks, max 75 words)

Marking criteria

3: Explains how a developer could test a website for cross-platform compatibility. 2: Outlines how, OR identifies strategies. 1: Some relevant information.

Sample answer

A web developer can use browser developer tools. These tools, built into most modern browsers, allow developers to simulate how their website looks and behaves on different devices and screen sizes. By using these tools, developers can identify and fix any issues related to cross-platform compatibility, ensuring that the website works well across a variety of devices and browsers.

Question page · Practise and get marked

2025 3 marks Short answer Programming for the Web (Year 12) Progressive web apps and load time

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

Explain how the load time of a web page can be improved using a progressive web app (PWA). (3 marks, max 75 words)

Marking criteria

3: Explains how load time can be improved using a PWA. 2: Outlines some features of a PWA and/or issues affecting load time. 1: Some relevant information.

Sample answer

A progressive web app (PWA) can improve load times by pre-caching important resources, allowing files such as image-gallery.js and video-gallery.js to be loaded into memory or cache while the rest of the page loads. PWAs also use service workers to cache resources, ensuring faster load times on repeat visits and offline functionality. Background synchronisation and background fetching can update content in the background, so users see the latest information without slowing down the initial load.

Question page · Practise and get marked

2025 3 marks Short answer Programming for the Web (Year 12) Protocols

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

Describe the function of protocols in the transfer of data. In your answer, refer to a specific web protocol. (3 marks, max 75 words)

Marking criteria

3: Describes the function of protocols in the transfer of data, with reference to a specific web protocol. 2: Describes the function OR provides an example of a web protocol and its use. 1: Some relevant information.

Sample answer

Protocols are important in data transfer as they establish rules for communication between devices connected to a network, such as the internet. HTTP (Hypertext Transfer Protocol) enables browsers to request web content from servers, which respond with the requested data. The protocol defines the structure of requests and the response so that data transfer can occur.

Question page · Practise and get marked

2025 1 mark Short answer Programming for the Web (Year 12) CSS (id v class)

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

A developer added a CSS to their company's website. The developer expected the word "Software" to be bold and italics but it looks like regular text. index.html contains

Software includes code.

; main.css contains body {font-family: Arial;}, h1 {font-weight: bold; text-align: center;} and .qe_item {font-style: italic; font-weight: bold;}. Referring to the code, what is the cause of the problem? Font family is missing / Attribute of has not been defined / main.css has not been correctly referenced / The id qe_item has not been correctly referenced

Marking criteria

1: Identifies the correct answer.

Sample answer

The id qe_item has not been correctly referenced. (The HTML uses id="qe_item" but the CSS selector is .qe_item, which targets a CLASS. An id selector is #qe_item.)

Question page · Practise and get marked

2025 2 marks Short answer Programming for the Web (Year 12) CSS benefits

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

Outline TWO benefits of adding CSS to the company's website. (2 marks)

Marking criteria

2: Outlines TWO benefits. 1: Some relevant information.

Sample answer

It can provide the same look and feel across the company's websites for consistency and ease of use. Separate html and CSS code can allow developers to work independently on files.

Question page · Practise and get marked

2025 3 marks SQL Programming for the Web (Year 12) SQL (join, filter, order)

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

A shop uses an online database with a Products table (ProductID, Name, Price, Mass, Producer, Quantity, SupplierID) and a Suppliers table (SupplierID, Name). The prices are in dollars and the masses are in grams. The shop wants to identify all the products with a mass of at least 50 grams that are produced by Yumtreats. Write an SQL query to display the product names and supplier names, in descending order by product name. (3 marks)

Marking criteria

3: Correct SQL query. 2: Addresses some of the requirements. 1: Some understanding of SQL.

Sample answer

SELECT Products.Name AS 'Product', Suppliers.Name AS 'Supplier' FROM Products, Suppliers WHERE Products.SupplierID = Suppliers.SupplierID AND Products.Producer = 'Yumtreats' AND Products.Mass >= 50 ORDER BY Products.Name DESC

Question page · Practise and get marked

2025 2 marks SQL Programming for the Web (Year 12) SQL (GROUP BY)

NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)

A table Students(StudentID, FirstName, Surname, Attended, Level) tracks students at a coding club (12 rows; levels Beginner, Intermediate, Expert). Complete the SQL query to generate the number of students at each level: SELECT Level, ??? FROM Students ??? BY Level;

Marking criteria

2: Correctly completes the SQL query. 1: Correctly selects at least TWO correct options.

Sample answer

SELECT Level, COUNT(StudentID) FROM Students GROUP BY Level;

Question page · Practise and get marked

2025 3 marks Short answer Programming for the Web (Year 12) SQL

NESA 2025 HSC Software Engineering Familiarisation Questions - Marking Guidelines (official, 12 June 2025)

[Question stem not available as text (it is on the interactive NESA familiarisation site). Task per the NESA mapping grid: SQL]

Marking criteria

3: Correctly selects ALL options. 2: At least FIVE options correct. 1: At least TWO options correct.

Question page · Practise and get marked

2025 2 marks Short answer Programming for the Web (Year 12) Mail protocols

NESA 2025 HSC Software Engineering Familiarisation Questions - Marking Guidelines (official, 12 June 2025)

[Question stem not available as text (it is on the interactive NESA familiarisation site). Task per the NESA mapping grid: mail protocols: match features to the relevant protocols]

Marking criteria

2: Correctly matches the features to the relevant protocols. 1: At least TWO features correct.

Question page · Practise and get marked

2025 4 marks Short answer Programming for the Web (Year 12) Load time

NESA 2025 HSC Software Engineering Familiarisation Questions - Marking Guidelines (official, 12 June 2025)

[Question stem not available as text (it is on the interactive NESA familiarisation site). Task per the NESA mapping grid: how the load time of a web page can be improved (stimulus: page source with large images, multiple CSS files and a JavaScript file image-gallery.js at the top)]

Marking criteria

4: Explains how the load time of the web page can be improved. 3: Outlines how some issues affecting load time can be resolved. 2: Identifies issues affecting load time OR outlines how to resolve ONE. 1: Some relevant information.

Sample answer

The images can be resized to 640 x 480 beforehand so that the webpage does not need to load the large 4000 x 3000 images. The multiple CSS style sheets could be converted into a single .css file, reducing the number of HTTP requests the browser needs to send. If the "image-gallery.js" JavaScript file at the top of the source code loads slowly, it can be moved to the bottom just above so that it will not block the rest of the page from loading.

Question page · Practise and get marked

2025 2 marks SQL Programming for the Web (Year 12) SQL

NESA 2025 HSC Software Engineering Familiarisation Questions - Marking Guidelines (official, 12 June 2025)

[Question stem not available as text (it is on the interactive NESA familiarisation site). Task per the NESA mapping grid: give the output of an SQL query on a product table, including correct ordering of rows]

Marking criteria

2: Correct output for the SQL query, including the correct ordering of the rows. 1: Some relevant information.

Sample answer

ProductName / ProductPrice: Discovery 1 & 2 (DVD) 26.98; The Plant (DVD) 28.00

Question page · Practise and get marked

2025 3 marks SQL Programming for the Web (Year 12) SQL (joins, AS)

NESA 2025 HSC Software Engineering Familiarisation Questions - Marking Guidelines (official, 12 June 2025)

[Question stem not available as text (it is on the interactive NESA familiarisation site). Task per the NESA mapping grid: write a SQL query over Customers, Products and Orders showing customer, product and quantity with renamed columns, ordered by OrderID]

Marking criteria

3: Correct SQL query. 2: Substantially correct query with at least TWO of: renaming the columns; selecting the three tables; joining the tables. 1: Some understanding of renaming the columns or joining the tables.

Sample answer

SELECT Customers.CustName as 'Customer', Products.ProductName as 'Product', Orders.OrderQuantity as 'Quantity' FROM Products, Customers, Orders WHERE Orders.ProductID = Products.ProductID AND Orders.CustID = Customers.CustID ORDER BY Orders.OrderID ASC

Question page · Practise and get marked