IMPORTANT QUESTIONS FOR CBSE PRACTICAL EXAMINATION (CLASS XII) SUBJECT: COMPUTER SCIENCE (083) TOTAL MARKS: 30 SYLLABUS: 1. 2. 3. 4. 5.
Programming in C++ ………………10 Marks SQL Commands ………………….…05 Marks Project Work………………………...05 Marks Practical File……………………..…..05 Marks Viva Voce ……………………………..05 Marks
QUESTIONS: Q1. Write a program in C++ to print the given numbers in ascending order using Bubble sort. Q2. Write a program in C++ to print the given numbers in descending order using Bubble sort. Q3. Write a program in C++ to print the given numbers in ascending order using Insertion sort. Q4. Write a program in C++ to print the given numbers in ascending order using Selection Sort. Q5. Write a program in C++ to merge the two array’s elements and print the same in ascending order using Merge sort. (Hint: first array is in ascending and second array is in descending order) Q6. Write a program in C++ to merge the two array’s elements and print the same in descending order using Merge sort. (Hint: first array is in ascending and second array is in descending order) Q7. Write a program in C++ to implement the concept of multilevel inheritance. Q8. Write a program in C++ to implement the concept of multiple inheritance. Q9. Write a program in C++ to implement the concept of single level inheritance. 10. Write a program in C++ to count the total numbers of characters present in a text file. 11. Write a program in C++ to count the total numbers of alphabet ‘A’ present in a text file. 12. Write a program in C++ to count the total numbers of characters present in a text file. 13. Write a program in C++ to count the total numbers of blank spaces present in a text file. 14. Write a program in C++ to count the total numbers of vowels present in a text file. 15. Write a program in C++ to count the total numbers of ‘?’ (Only question mark) present in a text file.