CBSE Previous Year Solved  Papers  Class 12 Computer Science Outside Delhi 2014

Time allowed : 3 hours                                                                                           Maximum Marks: 70

General Instructions :

  1.  There are a total of 26 questions and five sections in the question paper, All questions are compulsory.
  2. Section A contains question number 1 to 5, Very Short Answer type questions of one mark each.
  3.  Section B contains question number 6 to 10, Short Answer type I questions of two marks each.
  4.  Section C contains question number 11 to 22, Short Answer type II questions of three marks each.
  5.  Section D contains question number 23, Value Based Question of four marks.
  6. Section E contains question number 24 to 26, Long Answer type questions of five marks each.
  7. There is no overall choice in the question paper, however, an internal choice is provided in one question of two marks, one question of three marks and all three questions of five marks. An examined is to attempt any one of the questions out of two given in the question paper with the same question number.

SET I

Question.1.(a) What is the difference between call by reference and call by value with respect to memory allocation? Give a suitable example to illustrate using a C++ code. 
Answer:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-1

(b) Observe the following C++ code and write the name(s) of the header file(s), which will be essentially required to run it in a C++ compiler:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-2

(c) Rewrite the followup C++ code after removing all the syntax error(s), if present in the code. Make sure that you underline each correction done by you in the code. 
Important Note:
— Assume that all the required header files are already included, which are essential to run this code.
— The corrections made by you do not change the logic of the program.
typedef char [80] STR;
void main ()
{
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-3

(d) Obtain the output of the following C++ program as expected to appear on the screen after its execution.
Important Note:
— All the desired header files are already included in the code, which are required to run the code.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-4

(e) Obtain the output of the following C++ program, which will appear on the screen after its execution.
Important Note:
— All the desired header files are already included in the code, which are required to run the code.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-5
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-6
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-7

(f) Read the following C++ code carefully and find out, which out of the given option (i) to (iv) are the expected correct output(s) of it. Also, write the maximum and minimum value that can be assigned to the variable Start used in the code:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-8

Question.2. (a) What is function overloading ? Write an example using C++ to illustrate the concept of function overloading.
Answer: Function overloading means two or more function having same name, but they have either different number of parameters or different data type of the parameters.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-9

(b) Answer the question (i) and (ii) after going through the following class:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-10
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-11
(i) Which of the function out of Function 1,2,3,4 or 5 will get executed when the Statement 1 is executed in the above code?
(ii) Write a statement to declare a new object G with reference to already existing object H using Function 3.
Answer:
(i) Function 1 will be executed when the Statement 1 is executed.
(ii) Hospital G(H);

(c) Define a class Tourist in C++ with the following g specification:
Data Members
• CNo — to store Cab No
• CType — to store a character ‘A’, ‘B’ or ‘C’ as City Type
• PerKM — to store per kilometre charges
• Distance — to store Distance Or avelled (in Km)
Member Functions
• A constructor function to initialize CType as ‘A’ and CNo as ‘0000’
• A function CityCharges () to assign PerKM as per the following table:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-12
• A function RegisterCab( ) to allow administration to enter the values for CNo and CType. Also, this function should call CityChargesO to assign PerKM Charges.
• A function Display() to allow user to enter the value of Distance and display CNo, CType, PerKM, PerKM * Distance (as Amount) on screen.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-13
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-14

(d) Consider the following C++ code and answer the question from (i) to (iv):
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-15
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-16
(i) Which type of Inheritance is shown in the above example ?
(ii) Write the names of those member functions, which are ditecdy accessed from the objects of class Student.
(iii) Write the name of those data members, which can be directly accessible from the member functions of class Student.
(iii) Is it possible to directly call function Display O of class University from an object of class Department ? (Answer as YES or NO).
Answer:
(i) Multi-level inheritance is shown in the above example.
(ii) Member functions:
void Enroll();
void View();
void Enter();’
void Show();
(iii) Data Members:
long Kollno;
char Name[20];
double Budget;
(iv) No, it is not possible because DisplayO function of Campus becomes private for the object of Department class.

Question.3. (a) Write a code for a function Even Odd(int T[ ], int C) in C++, to add 1 in all the odd values and 2 in all the even values of the array T.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-17
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-18

(b) An array A[20] [30] is stored along the row in the memory with each element requiring 4 bytes of storage. If the base address of array A is 32000, find out the location of A [15] [10]. Also, find the total number of elements present in this array.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-19

(c) Write user-defined function Add End 2(int A[ ] [4], int N, int M) in C++ to find and display the sum of all the values, which are ending with 2 (ie., units place is 2). For example if the content of array is:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-20
The output should be 36.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-21

(d) Evaluate the following post fix expression. Show the status of Stack after execution of each operation separately: T, F, NOT, AND, T, OR, F, AND
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-22

(e) Write a function PUSHBOOK/) in C++ to perform insert operation on a Dynamic Stack, which contains Book No and Book_Tide. Consider the following definition of NODE, while writing your C++ code.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-23

Question.4. Feeling in the blanks marked as the Statement 1 and the Statement 2, in be program segment given below the appropriate functions for the required task.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-24
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-25
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-26

(b) Write the function AECount/) in C++, which should read character of a text file NOTFS.txt, should count and display the occurrence of alphabets A and F (including small case a Sjfid e too)
EXAMPLE:
If the file content is as follows:
CBSE enhanced its CCE guidelines further.
The AE Count function should display the output as
A: 1
E: 7
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-27

(c) Assume the class TOYS as declared below, write a functions in C++ to read the objects TOYS from binary file TOYS. DAT and display those details of those TOYS, which are meant for children of Age Range “5 to 8”.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-28
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-29

Question.5. (a) Explain the concept of Cartesian Product between two tables, with the help of appropriate example.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-30
NOTE:
Answer the question (b) and (c) on the basis of the following tables SHOPPE and ACCESSORIES
Table: SHOPPE
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-31
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-32

(b) Write a SQL query (1 to 4)
1. To display Name and Price of all the Accessories in ascending order of their Price.
2. lo display Id and S Name of all Shopee located in Nehru Place.
3. To display Minimum and Maximum price of each Name of Accessories.
4. To display Name, Price of all the Accessories and their respective S Name where they are available,
Answer: b(l) select Name, Price from ACCESSORIES order by Price;
b(2) select ID, S Name from SHOPPE where Area=’Nehru Place’;
b(3) select MIN(Price), MAX(Pnce) from ACCESSORIES group by Name;
b(4) select Name, Price, S Name ‘ from SHOPPE, ACCESSORIES
where SHOPPE.ID= ACCESSORIES.ID;

(c) Write the output of the following SQL command (1 to 4)
1. SELECT DISTINCT NAME FROM ACCESSORIES
WHERE PRICE>=5000;
2. SELECT AREA, COUNT(*), FROM SHOPPE GROUP BY
AREA;
3. SELECT COUNT (DISTINCT AREA) FROM SHOPPE;
4. SELECT NAME, PRICE * 0.05 DISCOUNT FROM ACCESSORIES WHERE SNO IN (‘SO2’, ‘SO3’);
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-33
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-34

Question.6. (a) Name the law shown below and verily it using a truth table.
X+X’.Y=X+Y
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-35

(b) Obtain the Boolean Expression for the logic shown below:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-36

(c) Write the Product of Sum form of the function F(X, Y, Z) for the following truth representation of F:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-37

(d) Obtain the minimal form for the following Boolean expression using Karnaugh’s Map.
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-38

Question.7.(a) Write two characteristics Wi-Fi.
Answer: The characteristics of Wi-Fi are as follows:-
1. It allows the devices to connect with the network without any wire.
2. Group of devices can be connected with single internet connection.

(b) What is the difference between E-Mail and Chat?
Answer : In Email, it is not necessary that receiver should be present online when the receiver is sending the E-mail, whereas, in Chat, it is must that the communicators should be online at the time of communication.

(c) Expand the following:

  • GSM
  • GPRS

Answer:
GSM— Global System for Mobile Communication
GPRS— General Packet Radio Service

(d) Which type of network (out of LAN, PAN and MAN) is formed, when you connect two mobiles using Bluetooth to transfer a video. 
Answer : PAN (Personal Area Network)

(e) Tech Up Corporation (TUC) is a professional consultancy company. The company is planning to set up their new offices in India with its hub at Hyderabad. As a network adviser, you have to understand their requirement and suggest them the best available solutions. Their queries are mentioned as (i) to (iv) below. ‘
Physical locations of the blocks of TUC
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-39
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-40
(i) What will be the most appropriate block, where TUC should plan to install their services?
(ii) Draw a block to block cable layout to connect all the
buildings in the most appropriate manner for efficient communication.
(iii) What will be the possible connectivity out of the following,
you will suggest to connect the new set up of offices in Hyderabad with its London based office.

  • Infrared
  • Satellite Link
  • Ethernet Cable

(iv) Which of the following device will be suggested by you to connect each computer in each of the buildings?

  • Gateway
  • Switch
  • Modem

Answer:
(i) Human Resource Block is appropriate to install the server.
(ii) CABLE LAYOUT:
cbse-previous-year-solved-papers-class-12-computer-science-outside-delhi-2014-41
(iii) Satellite Link
(iv) Switch

(f) Write the name of any two popular Open Source Software, which are used as operating system.
Answer: Linux and Unix are two Open Source operating system.

(g) Write any two important characteristics of Cloud Computing.
Answer: Two characteristic of Cloud Computing are:-
(i) It is controlled by entity and restricted to their authorized user.
(ii) It is delivered through internet 24 x 7.

One thought on “CBSE Previous Year Solved Papers Class 12 Computer Science Outside Delhi 2014

Comments are closed.