SENG1050 Web Technologies
SENG1050 Overview
- University of Newcastle
- Trimester 3 2026
- PSB offering
- Level 1 course
- Formal final exam
What the course is about
Web Technologies is a University of Newcastle course on the fundamental concepts of Internet architecture and the languages of the World Wide Web. The course introduction promises hands-on experience with HTML, XML, CSS, PHP and JavaScript, and the weekly schedule builds a website one problem at a time.
- Assessed by A Week 7 online quiz (20%), two individual web assignments (15% and 25%) and a formal final exam (40%).
- Pass conditions To pass, attend at least 80% of labs and score at least 40% on the final exam; check both rules on the course Canvas page and in the current course outline.
- Hardest step Writing working PHP and JavaScript by hand and completing a Huffman encoding under exam time.
- How to prepare Rewrite each chapter's code from memory and rehearse the CRC and Huffman methods until they are routine.
How SENG1050 is assessed
| Component | Weight | Format |
|---|---|---|
| Mid-Semester Quiz (Assessment 1) | 20% | Individual online quiz in Week 7: 90 minutes answering plus 10 minutes checking, covering Weeks 1 to 5 |
| Web-Based Assignment 1 (Assessment 2) | 15% | Individual web assignment due in Week 6 |
| Web-Based Assignment 2 (Assessment 3) | 25% | Individual web assignment due in Week 12, with Milestones 1 and 2 checked in the Week 8 and Week 10 labs |
| Final Exam (Assessment 4) · hurdle | 40% | Formal examination in the exam period; the exam review slides set a 40% minimum on this compulsory item |
| Lab attendance · hurdle | Attend at least 80% of labs to pass the course |
The four graded weights in the Canvas assessment overview total 100%: 20%, 15%, 25% and 40%. Two further pass conditions apply. The course FAQ requires attendance at 80% of labs to pass; check it on the course Canvas page. The exam review slides, prepared for the previous offering and linked from the Week 12 page, state that a student with an overall mark of 50% or more who scores below 40% on the compulsory exam receives a criterion fail (FF), with a capped supplementary assessment for those who scored at least 25%. The quiz FAQ still gives 12 September for the quiz, while the schedule places Week 7 in the week beginning 12 October, so confirm the date on Canvas. Exams cannot be extended; rescheduled sittings run from 15 to 19 December. Confirm every rule in the current course outline.
Current SENG1050 dates
| Date | Item | Control |
|---|---|---|
| Week of 5 October 2026 | Web-Based Assignment 1 due | Week 6 |
| Week of 12 October 2026 | Mid-Semester Quiz | Week 7, online, on the Friday |
| Week of 19 October 2026 | Assignment 2 Milestone 1 | Checked during the Week 8 lab |
| Week of 2 November 2026 | Assignment 2 Milestone 2 | Checked during the Week 10 lab |
| Week of 16 November 2026 | Web-Based Assignment 2 due | Week 12 |
| 15 to 19 December 2026 | Rescheduled examination period | Only by approved request |
Dates are as published in the Trimester 3 2026 Canvas weekly schedule and assessment FAQ pages. Confirm exact deadlines and submission settings in the live LMS.
What SENG1050 covers
Twelve chapters follow the weekly schedule: the Internet and its protocols, HTML, XML and DTDs, CSS, forms and layout, the client-server model with PHP, content management and XPath, JavaScript, website design and SEO, encoding and compression, encryption, and security, privacy and ethics.
The Internet, Networks and Protocols
LAN and WAN, five LAN topologies, switching methods, routing and forwarding, TCP, IP addressing, DNS, SMTP and HTTPThis chapter follows the Week 1 lecture on how the Internet carries data. It defines a network and the Internet as a network of networks, compares local and wide area networks, and sets out the shapes a LAN can take.
- Networks and the network of networks
- LAN versus WAN and the five topologies
- Intranet, extranet and VPN
- Circuit, message and packet switching
- Routing versus forwarding and overrun
- TCP, IP and port numbers
URIs and HTML Document Structure
URI, URL and URN, domain names, the HTML skeleton, element types, semantic tags, relative links, images and validationThis chapter covers the Week 2 lecture on addressing and HTML. It separates URIs, URLs and URNs, reads a URL into its parts and explains how domain names are organised.
- URI, URL and URN
- URL parts and domain hierarchy
- The DOCTYPE, head and body skeleton
- Elements, attributes and void elements
- Semantic tags versus visual tags
- Block and inline display
XML Documents, Parsing and DTD Validation
Why XML separates data, the declaration and naming rules, XML trees, PCDATA and CDATA, entities, DTD declarations and modifiersThis chapter follows the Week 3 lecture, which the exam review stars for document structure, the tree and the DTD.
- Why separate data from HTML
- XML versus HTML and databases
- Declaration, root and naming rules
- Drawing an XML tree
- PCDATA, CDATA and entities
- Internal and external DTDs
CSS Selectors, Properties and the Box Model
Inline, embedded and external styles, cascade order, specificity scoring, selector forms, units, colour values and the box modelThis chapter follows the Week 4 lecture, which the exam review stars for the structure of a CSS file and for selectors.
- Why styling left HTML
- Inline, embedded and external CSS
- Rule syntax and comments
- Cascade order and specificity
- Combinators and pseudo-classes
- Attribute, ID and class selectors
HTML Forms, Tables and CSS Layout
Structural elements, form controls and labels, GET versus POST, table parts and spans, CSS reset, positioning, float and flexboxThis chapter follows the Week 5 lecture, the last week inside the quiz's range.
- Header, nav, main and footer
- Section, article and aside
- Form controls and labels
- Radio buttons, checkboxes and menus
- GET versus POST
- Table parts, colspan and rowspan
The Client-Server Model, Apache and PHP
Services and tiers, client-server versus peer-to-peer, web server stacks, Apache configuration and hardening, PHP syntax and form inputThis chapter follows the Week 6 lecture and the Apache and PHP lab. It explains services and the client-server model, the challenges of distributed applications, two-tier and three-tier designs and the trade-offs against peer-to-peer.
- Services, clients and servers
- Four challenges of distribution
- Two-tier and three-tier designs
- Client-server versus peer-to-peer
- Web servers, ports and stacks
- Apache document root and virtual hosts
Content Management, XPath and PHP Templates
CMS functions, CMA and CDA, templating systems, XPath paths and predicates, SimpleXML in PHP, arrays and writing XMLThis chapter follows the Week 7 lecture on scaling a site. It explains what a content management system does, the roles of the content management application and the content delivery application, and why templates separate shared layout from page data.
- Why sites need content management
- Five CMS functions
- CMA versus CDA
- Template source, data source and engine
- XPath paths and predicates
- Wildcards and XPath functions
JavaScript, the DOM and Form Validation
JavaScript versus PHP, objects and events, variables, types and functions, the document object model and client-side form checksThis chapter follows the Week 8 lecture on behaviour in the browser.
- JavaScript versus Java and PHP
- Objects, properties, methods and events
- Variables, scope and const
- Types, operators and string joining
- Alert, confirm and prompt
- Functions and return values
Website Structure, Design Principles and SEO
HCI planning, linear and hierarchical structures, design principles, accessibility, load time, responsive layout and search optimisationThis chapter follows the Week 9 lecture on website design and human-computer interaction.
- Marks of a good website
- Planning with HCI
- Linear, hierarchical and mixed structures
- Shallow versus deep hierarchies
- Four visual design principles
- Accessibility principles in markup
Encoding, Error Checking and Compression
ASCII and Unicode, parity, cyclic redundancy checks, lossless and lossy compression, run-length and Huffman coding, gzip, audio and JPEGThis chapter follows the Week 10 lecture, whose lab marks Huffman coding and the cyclic redundancy check as certain exam content. It covers binary encoding, ASCII and Unicode, parity and its limits, and the CRC by modulo-2 division.
- Encoding, ASCII and Unicode
- Even and odd parity
- CRC by modulo-2 division
- Lossless versus lossy compression
- Run-length encoding
- Prefix codes and Huffman trees
Encryption, Data Integrity and Certificates
Security goals, classical ciphers, XOR and symmetric keys, RSA key pairs, hashes and signatures, certificates, TLS and PGPThis chapter follows the Week 11 lecture on protecting data. It defines encryption and the four security goals of authentication, integrity, non-repudiation and confidentiality, and shows why Caesar and substitution ciphers fail.
- Four goals of cryptography
- Caesar and substitution ciphers
- Transposition ciphers
- XOR and symmetric keys
- Public and private key pairs
- The RSA recipe
Security, Privacy and Ethics
Malware types, phishing and pharming, denial of service, the cyber attack cycle, privacy and consent, privacy principles and computer ethicsThis chapter follows the Week 12 lecture, the session the course recommends for exam tips.
- Malware and its six kinds
- Phishing, spoofing and pharming
- Denial of service and identity theft
- The nine-stage attack cycle
- Defences in layers
- Cookies and personal information
It starts with how networks, switching and protocols such as TCP, IP, DNS and HTTP move data. HTML then gives a page structure, XML with a DTD separates data from that structure, and CSS separates design. Forms, tables and layout complete the client side before the course moves to the server: the client-server model, the Apache web server and PHP.
Content management, XPath and PHP templates show how a large site is generated from data, and JavaScript adds behaviour and form validation in the browser.
The later weeks
The final third turns from building sites to running them well. Website structure, design principles, accessibility and search engine optimisation shape how a site serves people and crawlers.
Encoding, parity, cyclic redundancy checks and compression, including Huffman coding, explain how data travels efficiently and reliably. Encryption, hashing, digital signatures and certificates protect it, and the last week covers security threats, privacy and ethics.
What it takes to pass
Beyond the four weighted tasks, two pass conditions apply.
You must attend at least 80% of the labs, a rule set out on the course Canvas page, and the exam review slides set a minimum of 40% on the final exam for anyone who wants to pass the course.
Confirm both in the current course outline before the exam period.
How this guide is organised
The guide has one chapter per weekly topic, in schedule order, followed by a practice bank shaped like the three sections of the final exam and an exam-morning checklist.
Every worked example and practice question is original, written to match the question types the course uses without reproducing any lab, quiz or past paper.
SENG1050 cheatsheet for the final exam
AskSia publishes a free SENG1050 cheatsheet for the final exam, a memory aid cheat sheet that follows the official permitted-materials rule for this assessment and condenses the topics in this guide.
Worked example · free
Huffman-encode a word and find the compression amount
- 1Count the letters: f 4, e 4, o 2, c 1, t 1, a total of 12.
- 1Merge the two smallest, c and t, into a node of 2; merge o with it into 4; of the three nodes with 4, merge e and the 4 node into 8; merge f with 8 to make the root, 12.
- 1Reading left as 0 and right as 1 gives f 0, e 10, o 110, c 1110 and t 1111.
- 1Encode letter by letter: 11101100010101111110001010, which is 26 bits.
- 1The original at 8 bits per character is 96 bits, so the compression amount is 1 - 26/96 = 70/96, about 72.9%, and the ratio of original to compressed is 96:26 = 48:13.
Key terms
- Internet
- The Internet is a global network of networks that joins otherwise incompatible networks through shared standards.
- Protocol
- A protocol is an agreed rulebook that devices follow to exchange data, built into hardware, software or both.
- HTTP
- HTTP is the protocol browsers and servers use to request and return web resources.
- HTML element
- An HTML element is a start tag, its content and an end tag that together mark up part of a page.
- XML
- XML is a markup language for storing and transporting data in tags that the author defines.
- DTD
- A DTD defines the elements, nesting and attributes that a valid XML document may use.
- CSS specificity
- CSS specificity decides which rule wins a conflict by counting IDs, then classes, then element types.
- Web server
- A web server hosts sites and answers HTTP requests, usually on port 80 or 443.
- PHP
- PHP is a server-side scripting language whose output becomes the body of the HTTP response.
- XPath
- XPath is a path language for selecting nodes and attributes in an XML document.
- Document object model
- The document object model represents a web page as objects that JavaScript can read and change.
- Huffman coding
- Huffman coding gives frequent symbols shorter binary codes using a tree built from their frequencies.
- Cyclic redundancy check
- A cyclic redundancy check detects transmission errors using the remainder of a modulo-2 division.
- Digital signature
- A digital signature is a message digest encrypted with the sender's private key, proving origin and integrity.
SENG1050 FAQ
How is the course assessed?
Four individual tasks carry the marks: an online Mid-Semester Quiz in Week 7 worth 20%, Web-Based Assignment 1 due in Week 6 worth 15%, Web-Based Assignment 2 due in Week 12 worth 25%, and a formal final exam worth 40%. The weights in the Canvas assessment overview total 100%.
What are the pass conditions beyond the weighted marks?
To pass, you must attend at least 80% of the labs, and the exam review slides set a minimum of 40% on the final exam, with a criterion fail for an otherwise passing student who scores below it. Check the attendance rule on the course Canvas page and both rules in the current course outline.
What is the final exam format?
The practice paper describes a formal, restricted open book exam of 120 minutes after 10 minutes of reading time, with nineteen questions. Section A has ten multiple-choice questions worth 20 marks, Section B six short-answer questions worth 50, and Section C three long-answer questions worth 30.
What can I take into the exam?
The formal examination FAQ lists stationery, a non-programmable calculator and one A4 memory aid. The practice paper describes that sheet as double-sided and handwritten or typed. The review slides suggest filling it with HTML, XML, CSS, PHP and JavaScript syntax and the starred topics you feel least sure of.
What does the Mid-Semester Quiz cover?
It covers Weeks 1 to 5: networks and protocols, HTML, XML and DTDs, CSS, and forms, tables and layout. It runs online for 100 minutes, 90 for answering and 10 for checking, opening from 8 am to 11:59 pm, and generative AI is not allowed. Check the date on Canvas.
Which topics does the final exam's long-answer section test?
The annotated review slide describes Section C as problem solving: code writing and Huffman coding. The practice paper's Section C asks for an HTML page with a JavaScript function, a PHP script that processes form input sent by GET, and a Huffman encoding that reports the space saved both as a percentage and as an exact ratio.
What do the two web assignments involve?
The first assignment builds a website whose product data sits in separate XML files, which are not yet linked to the HTML pages. The second links the site together and adds JavaScript, with two one-mark milestones checked in labs. Generative AI may only be used for creative content such as descriptions and images, referenced in a README file.
How hard is this course?
The materials give facts rather than a difficulty rating. The final exam carries 40% of the grade with a 40% minimum, all code in it is handwritten without an editor, and Section B can draw on any of the twelve weeks. Steady weekly practice of the coding and Huffman methods matters more than late cramming.
Questions students ask in each SENG1050 chapter
- What is the difference between routing and forwarding?
- Routing is the work of choosing a path from source to destination, done by an algorithm that builds the router's table. Forwarding is the local step of moving one arriving packet to the correct output, using its header and that table. Answers that merge the two lose marks. Chapter 01 · The Internet, Networks and Protocols
- Why must HTML pass a validator if it already looks right?
- Browsers repair broken markup in different ways, so a page that looks correct in one browser can fail in another or confuse a crawler. The course treats validation as part of correctness, and assignment pages that fail it lose marks, so fix the first reported error and validate again. Chapter 02 · URIs and HTML Document Structure
- What is the difference between a well-formed and a valid XML document?
- A well-formed document follows the syntax rules: one root, every element closed, correct nesting, quoted attribute values and case-consistent names. A valid document is well-formed and also matches its DTD, so the right elements appear in the right order with the right attributes. Chapter 03 · XML Documents, Parsing and DTD Validation
- Which wins, an ID selector or several classes?
- The ID wins. Specificity compares IDs first, and only when the ID counts are equal does it look at classes, then element types. One ID outranks any number of classes, and if two selectors tie in every column the rule applied last takes effect. Chapter 04 · CSS Selectors, Properties and the Box Model
- When should a form use GET and when POST?
- GET appends the data to the URL as name and value pairs, so it suits searches and filters that may be bookmarked or shared, but never passwords or other sensitive data. POST sends the data in the request body, with no practical size limit, and suits logins, payments and changes to stored data. Chapter 05 · HTML Forms, Tables and CSS Layout
- How does a PHP script read what a form sent?
- Each control's name attribute becomes a key in a built-in array: $_GET when the form used method get and $_POST when it used post. A field named price is read as $_POST["price"]; cast it with (float) or (int) before comparing or calculating. Chapter 06 · The Client-Server Model, Apache and PHP
- What is the difference between the CMA and the CDA?
- The content management application is the back end where authorised users create and edit content, usually behind an admin directory that should be renamed. The content delivery application is the public front end that compiles content into pages from templates, caches them and only reads data. Chapter 07 · Content Management, XPath and PHP Templates
- How do I stop a form submitting when a field is empty?
- Write a function that checks whether the field's value equals the empty string, shows an alert and returns false, and otherwise returns true. Call it with return, either from the submit button's onclick or from the form's onsubmit, but never from both. Chapter 08 · JavaScript, the DOM and Form Validation
- What are the four accessibility principles?
- Content must be perceivable, with text equivalents such as alt text; the interface must be operable, including by keyboard and without flashing content; content must be understandable and consistently organised; and the site must be robust enough for current and future user agents, including assistive technology. Chapter 09 · Website Structure, Design Principles and SEO
- How is the compression amount calculated for a Huffman question?
- Assume each character normally takes 8 bits, so the original size is the number of characters times 8. The compression amount is 1 minus the compressed bits divided by the original bits, which you can give as a fraction and a percentage. State which way round you write any ratio. Chapter 10 · Encoding, Error Checking and Compression
- Why is a mono-alphabetic substitution cipher weak despite its huge key space?
- Each letter always maps to the same symbol, so the ciphertext keeps the letter frequencies and patterns of the language. An attacker sorts the symbols by frequency and matches them to common letters such as e and t, without trying the keys one by one. Chapter 11 · Encryption, Data Integrity and Certificates
- What is the difference between a virus and a worm?
- A virus copies itself into other files and spreads only when its host file is run. A worm spreads from computer to computer on its own, with no host activation. Both are malware, but not all malware is a virus. Chapter 12 · Security, Privacy and Ethics
How to study for the exam
Work through the chapters in schedule order and, for each one, rewrite its code listings from memory on paper before checking them, because the final exam is handwritten. Keep a running error list of slips in syntax, such as a missing semicolon in PHP or a + that joins strings in JavaScript, and review it each week. Revise Weeks 1 to 5 together before the quiz, using the drills at the end of each chapter.
In the last fortnight, practise the CRC and Huffman methods on new strings every day, write at least one PHP form-processing script and one JavaScript function from a blank page, and answer one short theory question per chapter in full sentences. Draft the A4 memory aid by hand, then test it by sitting the practice bank under a 120-minute timer and adjusting the sheet where time ran out.
Your AI Computer Science tutor for SENG1050
Stuck on a hard SENG1050 question? Sia is AskSia’s AI Computer Science tutor — ask any SENG1050 Web Technologies question and get a clear, step-by-step explanation grounded in how the course is actually taught and assessed. Read this whole study guide free, then take your hardest questions to Sia.