Computer Science (083) Practical File for Class XII Index for C++ Programming Name: _____________________________ Section: ___ Roll No.: ____ SN. Program Description Date Sign. Write a program to input two numbers m and n and display first m multiples of n. Write a program to input day number of a week and display the corresponding day name. Write a menu driven program to calculate the TSA and volume of a cube, cuboid, or cylinder depending upon user’s choice. Write a program to read a string and print out the following : No. of capital alphabets, No. of small alphabets, No. of non-alphabets Write a program to read a string and print it after replacing each of its capital alphabets by the corresponding small alphabet and each small alphabet by its corresponding capital alphabet. a program to input 10 elements in an array and then display these elements. Write a program to input 10 elements in an array and then display these elements in reverse order. Write a program to input elements in a 2D array and then display this array in matrix form. Write a program to input elements in a 2D array and then display the sum of main diagonal elements of this array. Write a function to check whether a given string is palindrome or not. A class STUDENT has 3 data members: Name, Roll Number, Marks of 5 subjects, Stream and member functions to input and display data. It also has a function member to assign stream on the basis of the table given below: Average Marks Stream 96% or more Computer Science 91% - 95% Electronics 86% - 90% Mechanical 81% - 85% Electrical 75% - 80% Chemical 71% - 75% Civil Declare a structure STUDENT and define the member functions. Write a program to define a structure STUDENT and input the marks of n (<=20) students and for each student allot the stream. (Don't use any array). Define a class student with the following specifications: Private members of the Admission Number - An Integer Name - string of 20 characters Class - Integer Roll Number - Integer Public members of the class: getdata() - To input the data showdata() - To display the data Write a program to define an array of 10 objects of this class, input the data in this array and then display this list.
Computer Science (083) Practical File for Class XII Index for C++ Programming Name: _____________________________ Section: ___ Roll No.: ____ SN. Program Description Date Sign. Write a program to input two numbers m and n and display first m multiples of n. Write a program to input day number of a week and display the corresponding day name. Write a menu driven program to calculate the TSA and volume of a cube, cuboid, or cylinder depending upon user’s choice. Write a program to read a string and print out the following : No. of capital alphabets, No. of small alphabets, No. of non-alphabets Write a program to read a string and print it after replacing each of its capital alphabets by the corresponding small alphabet and each small alphabet by its corresponding capital alphabet. a program to input 10 elements in an array and then display these elements. Write a program to input 10 elements in an array and then display these elements in reverse order. Write a program to input elements in a 2D array and then display this array in matrix form. Write a program to input elements in a 2D array and then display the sum of main diagonal elements of this array. Write a function to check whether a given string is palindrome or not. A class STUDENT has 3 data members: Name, Roll Number, Marks of 5 subjects, Stream and member functions to input and display data. It also has a function member to assign stream on the basis of the table given below: Average Marks Stream 96% or more Computer Science 91% - 95% Electronics 86% - 90% Mechanical 81% - 85% Electrical 75% - 80% Chemical 71% - 75% Civil Declare a structure STUDENT and define the member functions. Write a program to define a structure STUDENT and input the marks of n (<=20) students and for each student allot the stream. (Don't use any array). Define a class student with the following specifications: Private members of the Admission Number - An Integer Name - string of 20 characters Class - Integer Roll Number - Integer Public members of the class: getdata() - To input the data showdata() - To display the data Write a program to define an array of 10 objects of this class, input the data in this array and then display this list.
db149a4f-1853-467d-b9b4-d1a8a5c4ca25List%20of%20Computer%20Science%20Practical%20for%20Class%20XII.docx