Programming: Data Structures (COS2611)
University of South Africa (Unisa)
Here are the best resources to pass Programming: Data Structures (COS2611). Find Programming: Data Structures (COS2611) study guides, notes, assignments, and much more.
21 results
Other
Cos2611 Assignment 1 Solutions 2026
Newpiece of code 
 
#include <iostream> 
#include <vector> 
#include <stack> 
#include <queue> 
#include <ctime> 
#include <cstdlib> 
 
 
 
using namespace std; 
 
//Structs for Order and for Truck 
struct Order{ 
 int processing_time; 
 char type; 
 int arrival_time; 
};
Other
Cos2611 Final Project Solution(Assignment 5) year 2026
PopularProject question 
1. Project Overview 
Municipalities and local authorities across Southern Africa are responsible for responding to incidents that affect communities. These incidents may include problems relating to water, electricity, roads, sanitation and public facilities. 
 
When several incidents are reported at the same time, an operations centre needs to decide which incidents require attention, which response teams are available, and how a response team can reach the affected location....
Other
COS 2611 FINAL PROJECT Solution(Assignment 5) 2026
NewCOS 2611 FINAL PROJECT Solution (Assignment 5)2026
Other
Cos2611 Assignment 2 Answers 2026
NewCos2611 Assignment 2 Answers 
Assignment Skeleton 
// COS2611_2024_As2_P : This file contains the 'main' function. Program execution begins and ends there. 
// 
//Your student number 
//Your name 
 
#include <iostream> 
#include <vector> 
//#include "COS2611_As2_P1.h" 
using namespace std; 
 
 
//Function for the first sorting algorithm 
 
 
 
//Function for the second sorting algorithm 
 
 
 
//Function to generate a random array of a given size 
vector<int> generateRandomAr...
Other
Cos2611 Assignment 2 Answers/Solutions 2026
NewRemember, you're not submitting your script as a PDF. You must save it using your student number followed by .cpp. Please read the Submission PDF on MyModules; the instructions are there. 
 
Code sample 
int main() 
{ 
 double timeExecution1, timeExecution2; 
 double timeComplexity1, timeComplexity2; 
 
 vector<int> inputSizes = { 100,1000,5000 }; 
 
 for (int size : inputSizes) { 
 vector<int> arr = generateRandomArray(size); 
 vector<int> mergeAr...
Other
Cos2611 Assignment 1 Solutions for 2026
NewQuestion for Cos2611 Assignment1 for 2026 
Warehouse Order Dispatch System 
Scenario 
As a second-year IT student, you have been requested by a warehouse manager to develop a simulation system that demonstrates how orders are received, queued, processed, and dispatched in trucks. The warehouse handles three types of orders: 
 
Small (S) 
 
Medium (M) 
 
Bulk (B) 
 
Orders arrive randomly during the day. Each truck has a capacity of five orders. Once full, a truck is dispatched. The manager wants...
Other
COS2611 Assignment 4 solutions
Question 1 
Complete 
Mark 3.00 out of 3.00 
Match each description with its correct data type. 
Represents a single character, usually 1 bytechar 
Single-precision floating-point numberfloat 
Double-precision floating-point numberdouble 
Boolean type, stores true or falsebool 
Typically stores integers in the range of -32,768 to 32,767 (2 bytes)short 
Typically stores integers in the range of -2,147,483,648 to 2,147,483,647int 
Extended size integer, at least 8 byteslong longQuestion 2 
Complet...
Other
COS2611 Assignment 4 solutions 2025
COS2611 Assignment 4 solutions 2025 
0-7-9-3-2-2-6-4-2-7 
if need help on how to submit and what to submit, how to save the file for submittion reach out. all instructions are followed and structured correctly. if need ms word document to easly edit reach out
Other
COS2611 assignment 2 project solution 2025
SPECIFICATIONS FOR THIS PROJECT 
 
You are required to choose two sorting algorithms from a specified list: 
 
the first algorithm must be Bubble Sort, while the second algorithm can be either Merge Sort or Heap Sort. 
 
a) Write a C++ program where you implement the two sorting algorithms you have chosen - ensure that they are part of the same program and can be called using methods, functions and/or procedures. 
 
b) Continue in this C++ program and generate random input arrays of different ...
Exam (elaborations)
Cos2611 Assignment 2 (Questions And Answers) Semester 2 2025
Cos2611 Assignment 2 (Questions And Answers) Semester 2 2025
Exam (elaborations)
COS2611 assignment 2 completed and detailed solutions 2025 Unisa
COS2611 assignment 2 completed and detailed solutions 2025 Unisa. Excellent solution that shows every detailed step by step in how to derive every mathematical logic using your c++ coding techniques in calculating important mathematical concepts and irritations and every code and output is shown and explain and what it is used for in each question and really shows it in details and this is how to expect it in the exam.This is a course that you must make sure you master the assignments . This wi...
Exam (elaborations)
Cos 2611 assignment 1 completed detailed solutions Unisa.
Cos 2611 assignment 1 completed detailed solutions Unisa. A excellent coding solution document in C ++ with a example given in the code showed with the output and completed comments with the code . Page 2-3,4-5,6-7 goes together. Please remember to change the pathway in your code from my test one to Windows: C:datataxiD. So it can run through your data set . A explanation is also given of all the structures used . Great marks guaranteed .
Other
COS2611 2025 assignment 1
COS assignment 1 
change what you need to change
Other
COS2611 assignment 1 solution 2025
COS2611 assignment 1 solution 2025 
Using C++ and the linear data structures of queues and stacks, this project simulates a queue-based minibus taxi rank system—a common public transport method across Africa. The simulation will involve three types of taxis: 
 
Short-distance (S) 
Long-distance (L) 
City routes (C) 
Passengers arrive at the taxi rank and queue according to their destination. When a taxi becomes available, they board in an orderly manner based on their position in the queue. Ea...
Other
Cos2611 Final Project 2024
Cos2611 Final Project 2024
Other
COS2611 Final Project 2024 solution
COS2611 Final Project 2024 solution 
Highway traffic flow analyser 
Final Practical Project - Mark contributes to the final examination mark. 
Study the scenario that will monitor and analyse traffic patterns to determine if the road can handle the volume or if it 
requires expansion 
Follow the instructions to develop, test and submit the project. 
Click on ADD SUBMISSION to see the details and activity instructions. 
Highway traffic flow analyser 
Scenario: 
Imagine a single-lane road in a sub...
Other
COS2611 Assingment 4 marked memo 2024
COS2611 Assingment 4 marked memo 2024
Other
COS2611 Assignment 3 memo 2024
COS2611 Assignment 3 memo 2024 
UNISA 2024 COS2611-24-Y Assessment 3 
QUIZ 
Question 1 
Match the following operations on a Binary Search Tree (BST) with their correct descriptions: 
InsertionAdding a new node with a given value to the appropriate position in the BST while maintaining the BST properties. 
Inorder 
TraversalA process of visiting all nodes in a BST in ascending order of their values. 
DeletionRemoving a node with a specific value from the BST while ensuring that the tr...
Other
COS2611 Assignment 2 memo 2024 q1 to 16
COS2611 Assignment 2 memo 2024 all questions including code for question 16
Other
COS2611 Assignment 2 Question 16 code
COS2611 Assignment 2 Question 16 code: 
You are required to choose two sorting algorithms from a specified list the first algorithm must be Bubble Sort, while the second algorithm can be either Merge Sort or Heap Sort. 
 a) Write a C++ program where you implement the two sorting algorithms you have chosen -ensure that they are part of the same program and can be called using methods, functions and/or procedures. 
 b) Continue in this C++ program and generate random input arrays of different size...