Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 17 pages
Exam (elaborations)

INF2611 Assignment 4 due 16 September 2025

Document preview thumbnail
Preview 3 out of 17 pages

INF2611 Assignment 4 2025 - Due 16 September 2025; 100% TRUSTED workings with detailed Answers for A+ Grade.

Content preview

INF2611
ASSIGNMENT 4 2025

UNIQUE NO.
DUE DATE: 16 SEPTEMBER 2025

,Visual Programming II

COVER PAGE

INF2611 — Visual Programming II
Assignment 4 — 2025

Student name: _______________________
Student number: ____________________
Surname (username used in system): ___________________
Module coordinator: Dr A. Kgopa
Moderator: Prof M Mujinga

Date submitted: _____________________

DECLARATION

I declare that this assignment is my own work and that I have not committed or
facilitated plagiarism. I understand that any assignment similar to another student’s will
be penalised.

Signature: ____________________
Date: ________________________

TABLE OF CONTENTS

 Cover page and declaration
 Question One — GUI code 1 (Login page)
 Question One — GUI code 2 (Main dashboard page)
 Question One — GUI code 3 (Calendar & Notes page)
 Question One — GUI code 4 (File manager / Data storage page)
 How to run (instructions)
 Screenshots and explanation of each GUI (what each interface does)
 Files included in ZIP

, OVERVIEW / NOTES BEFORE RUNNING

 The code below uses PyQt5. Install with: pip install PyQt5 .
 The app is implemented as a single Python file that contains four page classes (GUI code
1–4). This meets the “4-page GUI” requirement (login + 3 other pages).
 The username must be set to your surname and the password to your student number
in the constants near the top of the script before running (assignment penalises if wrong).
 The app uses simple text file JSON storage for saving notes/records — no database
required (traditional file handling as requested).
 Include a small image file named logo.png in the same folder as the .py file; the UI
displays it on the dashboard. If you don’t have one, create a simple 300×100 PNG called
logo.png .




FULL PYTHON CODE (save as inf2611_assignment4_app.py)

Notes: This single file contains four page classes (labelled GUI code 1–4). Save the file,
set the USERNAME and PASSWORD constants, put a logo.png in the same folder,
then run python inf2611_assignment4_app.py .

# ======================
# INF2611 Assignment 4
# Visual Programming II - 4-page GUI (Login + 3 pages)
# Filename: inf2611_assignment4_app.py
# Requires: PyQt5
# Install: pip install PyQt5
# IMPORTANT: set USERNAME and PASSWORD below to your surname and student
number BEFORE running.
# ======================

import sys
import json
import os
from PyQt5 import QtWidgets, QtGui, QtCore

# -----------------------------
# CONFIG: set these to your own surname and student number (assignment
requirement)
# -----------------------------
USERNAME = "YourSurnameHere" # <-- replace with your SURNAME (required)
PASSWORD = "YourStudentNumber" # <-- replace with your STUDENT NUMBER
(required)

# File used for simple storage (text/JSON)
DATA_FILE = "inf2611_data.json"

Document information

Uploaded on
September 14, 2025
Number of pages
17
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
R48,85

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.
StudyAidPro
3,9
(23)
Sold
194
Followers
2
Items
560
Last sold
3 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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