12TH CLASS COMPUTER SCIENCE GUESS PAPER 2018 REGULAR JKBOSE
12TH CLASS COMPUTER SCIENCE GUESS PAPER 2018 REGULAR JKBOSE
IMPORTANT QUESTIONS OF COMPUTER SCIENCE JKBOSE JAMMU AND KASHMIR
(Long Answer Type Questions)
1. Discuss different data types of C++.
Or
Write a program that generates the factorial of a number.
•. Define 'inheritance'. Explain multiple inheritance.
▪ Distinguish between multiple an multilevel inheritance.
• What is OOP? What are its advantages?
• What is Inheritance? Describe various type of Inheritance.
• What are Binary Operators? Give examples of Arithmatic Binary Operators.
• Write a C++ program that asks and allows the user to enter the length and breadth of a rectangle and then displays its area and perimeter.
• State and explain while-loop with a C++. program.
• Explain the concept of (a) Data Encapsulation (b) Class and object.
• Write a program using classes to find sum of first ten numbers.
• Explain importance of function overloading.
• Write a program to calculate simple interest.
• Explain concept of private and public access specifiers.
• Write a program using class to find whether a number is prime or composite
2. What do you mean by Paradigm shift? Explain 00Ps concept.
Or
Write a detailed note on data-hiding and encapsulation.
• Write a program in C++ that ask for lengths of three sides of a triangle and evaluate its area.
• What are Binary Operators? Give examples of Arithmatic Binary Operators.
• What is Data Hiding? What are various visibility modes?
• What is a Method? Differentiate between Inside and outsideClass definition with example.
• Write a C" program using pointers to exchange the value of two given variables.
• What is a pointer? Give its significance which makes it different from an ordinary variable. Show, how you will define a pointer to an Integer and a pointer to a character.
• 'Ob. • Write a program using classes to find out whether a number is even or odd.
• Write a program using class to swap contents of two numbers.
3. Discuss different types of Inheritances in detail with the help of code lines.
Or
Discuss different types of classes with the help of suitable examples.
► Write alogrithm for Linear search in case of an array.
► Explain Define an array. lain the Insertiion sort Algorithm.