Skip to content
VUBuddy

CS201 Assignment 1 Solution Fall 2026

Introduction to Programming Lesson 9: Functions 20 marks Solution updated 11 Nov 2026

About CS201 Assignment 1

CS201 Assignment No 1 for Fall 2026 is from Introduction to Programming. It covers lesson 9: Functions, carries 20 marks and closed on VULMS on Sunday 15 November 2026. The solution is on this page, with the assignment file.

Course
CS201 Introduction to Programming
Assignment
Assignment No 1
Semester
Fall 2026
Lesson
9: Functions
Total marks
20
End date
Sun 15 Nov, 11:59 pm

What CS201 Assignment 1 asks

This assignment requires you to develop a C++ program that processes support ticket data for a university IT helpdesk based on your VU Student ID. You must hard-code your name and ID, then use arithmetic operators to extract specific digits from the ID to represent ticket counts for five different service desks. The program will calculate resolution times, classify workloads, and generate a summary report. No user input is permitted, and you must rely solely on arithmetic operations for digit extraction.

  1. Student Information

    Hard-code your full name and VU Student ID into the program. Display both pieces of information at the start of the output.

  2. Digit Extraction

    Extract the 2nd, 4th, 5th, 6th, and 8th digits from the 9-digit numeric part of your ID. You must use only division and modulus operators for this task, as arrays and string operations are strictly prohibited.

  3. Service Desk Processing

    Assign the extracted digits to five specific service desks: Network Support, Computer Lab Support, LMS Support, Account Support, and Hardware Support. Calculate the estimated resolution time for each desk by multiplying the ticket count by 20 minutes.

  4. Workload Classification and Summary

    Classify each desk as HEAVY (7+ tickets), MODERATE (4-6 tickets), or LIGHT (fewer than 4 tickets) using conditional statements. Finally, display an organized report showing the details for each desk and a summary count of how many desks fall into each workload category.

What to submit
One .cpp file.
Topics covered
Variables and constants Arithmetic operators Conditional statements Digit extraction Output formatting

A summary of the assignment file, Fall 2026_CS201_1.docx. Download the file for the full wording before you start.

Lesson covered

Lesson 9: Functions CS201 · Introduction to Programming

The questions in this assignment come from this lesson. Read it in the CS201 handout before you open the assignment file, then practise it with the MCQs and past papers.

Solution

The solution for CS201 Assignment No 1 was added on 11 Nov 2026. It answers the questions in the assignment file, Fall 2026_CS201_1.docx.

CS201_Assignment_01_Solution_2026.cpp 6 KBAdded 11 Nov 2026Prepared by Malik Musab

Before you submit on VULMS

  1. 1 Solve the questions in the assignment file yourself first, then use the solution to check your method and answers.
  2. 2 Write the final answer in your own words. VU checks assignments for copying, and copied work gets zero marks.
  3. 3 Save your answer in the file type the assignment file asks for, and name it with your student ID, for example BC260012345.
  4. 4 Open the file once more to check it is not empty or corrupted, then upload it on VULMS before 11:59 pm on Sun 15 Nov.

Questions about this assignment

When is CS201 Assignment 1 due?

It closed on Sunday 15 November 2026. VULMS no longer accepts files for it, but the assignment stays here for revision.

Is the CS201 Assignment 1 solution free?

The assignment file is free with no limit. The solution counts toward your daily downloads: 3 a day on the web, 30 a day with the free Chrome extension, 100 a day with Pro Semester and unlimited in the Android app.

Can I submit the solution as it is?

No. VU checks assignments for copying, and copied work gets zero marks. Use the solution to check your method, then write your own answer.

What file do I submit?

The assignment file says which file type to upload and lists any extra instructions from your instructor. Name the file with your student ID before you upload it on VULMS.

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.