This document contains a list of 10 assignments for high school second year students in 2021 on C++ programming languages. The assignments cover topics such as finding the sum of digits, generating Fibonacci sequences, calculating factorials, finding prime numbers, counting vowels and consonants, converting decimal to binary and octal using functions, multiplying matrices, calculating exam percentages using structures, and demonstrating constructors, destructors, and different types of inheritance.
This document contains a list of 10 assignments for high school second year students in 2021 on C++ programming languages. The assignments cover topics such as finding the sum of digits, generating Fibonacci sequences, calculating factorials, finding prime numbers, counting vowels and consonants, converting decimal to binary and octal using functions, multiplying matrices, calculating exam percentages using structures, and demonstrating constructors, destructors, and different types of inheritance.
This document contains a list of 10 assignments for high school second year students in 2021 on C++ programming languages. The assignments cover topics such as finding the sum of digits, generating Fibonacci sequences, calculating factorials, finding prime numbers, counting vowels and consonants, converting decimal to binary and octal using functions, multiplying matrices, calculating exam percentages using structures, and demonstrating constructors, destructors, and different types of inheritance.
Department of Computer Science and Information Technology
Cotton University, Guwahati-01
Assignments for HS Second Year Students, 2021
List of Assignments on C++ Programming Languages
1. WAP to find the sum of the digits of a positive integer.
2. WAP to generate first n terms of the Fibonacci Series. 3. WAP to find the factorial of a positive number. 4. WAP to generate all the Prime numbers between 1 and N. 5. WAP to find the number of Vowels and Consonants present in a sentence. 6. WAP to convert a Decimal number into Binary and Octal numbers using Function. 7. WAP to find the multiplication of two matrices. 8. WAP to find the percentage of marks in HS Final Examination of a Science student using Structure. 9. WAP to show the use of Constructor and Destructor. 10. WAP to show the use of the following a. Single Inheritance b. Multiple Inheritance c. Multilevel Inheritance