0% found this document useful (0 votes)
5 views1 page

Basic Computer Programming Assignment

The Basic Computer Programming Assignment requires groups of five members to complete various programming tasks in C++ by May 15, 2026. Tasks include checking for prime numbers, converting temperatures, generating Fibonacci series, creating a menu-driven calculator, and implementing a grading system among others. Each submission must include source code, output screenshots, a brief explanation of the logic, and proper presentation.

Uploaded by

abelzeneba73
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Basic Computer Programming Assignment

The Basic Computer Programming Assignment requires groups of five members to complete various programming tasks in C++ by May 15, 2026. Tasks include checking for prime numbers, converting temperatures, generating Fibonacci series, creating a menu-driven calculator, and implementing a grading system among others. Each submission must include source code, output screenshots, a brief explanation of the logic, and proper presentation.

Uploaded by

abelzeneba73
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

You might also like