Year 2026
Assignment 1,2 and 4
Complete Study Guide Quiz & PHP
Source Code Answers
,Looking for high-quality, fully
coded software and Android
projects? You’ve come to the
right place. I provide
professional grade development,
specializing in Java, clean UI
design, and fully functional
applications. Whether you need a
custom app built from scratch,
debugging, or optimized scripts,
I deliver fast, reliable, and
top-tier code. Let’s get your
project running perfectly!
,IMPORTANT DISCLAIMER & SUBMISSION GUIDE
1. Follow Official UNISA Instructions Exactly Please ensure you follow the exact
instructions provided in your official UNISA ICT2613 assignment briefs and tutorial
letters. The guidelines provided by your lecturers always override any external
advice. Double-check that you have met strict requirements for your CodeGrade
submissions, such as:
• Formatting your text output exactly as the CodeGrade automated tests
expect.
• Naming your PHP files correctly according to the submission portal
instructions.
2. For Guidance and Educational Purposes Only The code snippets, SQL
queries, and logic provided in this guide are strictly for guidance and educational
purposes only. They are designed to help you understand the core concepts of web
development, PHP scripting, relational databases (MySQL), and syntax structure.
3. DO NOT COPY AND PASTE You must not copy and paste this code word-for-
word into your final assignment submission. UNISA and the CodeGrade platform use
highly advanced, automated plagiarism checkers that instantly compare submissions
against each other and online sources. If you submit this exact code, it will be
flagged, and you run a high risk of receiving a mark of zero (0) for academic
dishonesty.
4. Write Your Own Code To safely use this guide, you should:
• Type the code out yourself to build muscle memory and truly understand
the logic.
• Change PHP variable names to your own style (e.g., instead of using
$year_mark, use $yearGrade or $markYear).
• Design your own unique HTML layouts (move input fields around, change
text styles and headings).
• Write your own unique comments explaining what the PHP functions and
SQL queries do in your own words.
,Take a deep breath and do one
last read through of your
UNISA tutorial letter before
you submit. You didn't just
copy code today; you learned
how to build it. Trust your
skills, hit submit, and go
get those marks. Good luck!
, ICT2613 Assignment 1 - Question
Breakdown & Explanations
Question 1 (1 mark) When the web server receives an HTTP request for a PHP page, the
web server calls the _____________.
• Correct Answer: 4. PHP interpreter
• Why: A web server (like Apache) only knows how to serve plain HTML, CSS, and
JavaScript. It does not understand PHP natively. When it sees a file ending in .php, it
acts as a middleman and hands the file over to the "PHP interpreter" (or PHP engine).
The interpreter runs your code, generates standard HTML, and gives it back to the
web server to send to the user's browser.
Question 2 (1 mark) Which of the following software is a web browser?
• Correct Answer: 1. Google Chrome
• Why: Google Chrome is used to browse the web. Apache is a web server,
phpMyAdmin is a database management tool, and Microsoft Outlook is an email
client.
Question 3 (1 mark) The first part of a URL is called the ___________.
• Correct Answer: 4. protocol
• Why: In a URL like https://www.unisa.ac.za/index.php, the https:// part is
the protocol. It tells the browser how to communicate with the server (Hypertext
Transfer Protocol Secure).
Question 4 (1 mark) Which of the following is not a database server that can be used for
dynamic web pages?
• Correct Answer: 3. Python
• Why: Python is a programming language, not a database server. MySQL, SQL
Server, and Oracle are all Relational Database Management Systems (RDBMS).
Question 5 (1 mark) What type of request does a Web browser typically send to a server?
• Correct Answer: 3. HTTP
• Why: Browsers use HTTP (Hypertext Transfer Protocol) or HTTPS to request and
receive web pages from servers. FTP is for file transfers, and TCP/IP/IPsec are lower-
level networking protocols.