Basic Computer Programming Assignment (10%)
The Assignment should be prepared with softcopy and all the group members (one group with 5
members) should participate actively in the process. Submission date is May 15, 2026, and any
late submission will have a consequence.
1) Write a C++ program to check whether a number is Prime, Armstrong, or Perfect number.
2) Create a program that converts temperature from Celsius to Fahrenheit and vice versa using
functions.
3) Write a program to generate the Fibonacci series up to n terms using recursion and iteration.
4) Implement a menu-driven calculator using switch-case that supports +, -, *, /, and modulus.
5) Write a program to find the largest and smallest number in an array of 10 integers.
6) Create a program that counts the number of vowels, consonants, digits, and special
characters in a given string.
7) Write a program to reverse a number and check if it is a palindrome.
8) Implement a simple grading system that calculates GPA/CGPA from marks of 5 subjects.
9) Write a C++ program that does the following:
Take input for 5 students (Name, ID, and marks of 5 subjects)
Calculate total marks and percentage for each student
Assign grades (A+, A, B, C, Fail)
Display the complete result in a tabular format
Find the top scorer
Recommended Assignment Structure
For each question, submit:
✓ Source code (.cpp file)
✓ Screenshot of output
✓ Explanation of the logic used (3–5 lines)
✓ Presentation while submitting