2014 Computer Science Board Paper Solved Assignment

Contents

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:

(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:

(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 ()
{

(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.

(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.


(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:

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.

(b) Answer the question (i) and (ii) after going through the following class:


(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:

• 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.

(d) Consider the following C++ code and answer the question from (i) to (iv):


(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.

(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.

(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:

The output should be 36.

(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

(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.

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.


(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

(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”.

Question.5. (a) Explain the concept of Cartesian Product between two tables, with the help of appropriate example.

NOTE:
Answer the question (b) and (c) on the basis of the following tables SHOPPE and ACCESSORIES
Table: SHOPPE

(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’);

Question.6. (a) Name the law shown below and verily it using a truth table.
X+X’.Y=X+Y

(b) Obtain the Boolean Expression for the logic shown below:

(c) Write the Product of Sum form of the function F(X, Y, Z) for the following truth representation of F:

(d) Obtain the minimal form for the following Boolean expression using Karnaugh’s Map.

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:

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


(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?

Answer:
(i) Human Resource Block is appropriate to install the server.
(ii) CABLE LAYOUT:

(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.

CBSE Previous Year Solved Papers Class 12 Computer Science Outside Delhi 2014
5 (100%) 2 votes

Filed Under: CBSETagged With: CBSE Class 12 Computer Science, CBSE Computer Science Outside Delhi 2014., CBSE Sample Papers for Class 12

You can use the resources below as you prepare for the AP Exam. Please note that the free-response questions from 2001 – 2003 used C++ and are provided to demonstrate the topics and techniques that were used in these exams.

Click here for details about the exam format.

Sample Questions

You’ll find sample multiple-choice and free-response questions in the AP Computer Science A Course Description(.pdf/818KB).

Sample Responses

Student responses to past exam free-response questions are available on AP Central.

Exam Practice Tips

Check out our Exam Practice Tips.

Free Response Questions and Scoring Guidelines

2012

All documents are PDFs unless otherwise indicated.

Free Response Questions and Scoring Guidelines: login

The following resources contain the remaining available Free Response Questions and Scoring Guidelines for the AP Computer Science A Exam. To access the files below, you need to log into your College Board account. If you do not have a College Board account, you can create one by selecting ‘Sign In’ in the header and following the prompts to Sign-Up.

2017

All documents are PDFs unless otherwise indicated.

2016

All documents are PDFs unless otherwise indicated.

2015

All documents are PDFs unless otherwise indicated.

2014

All documents are PDFs unless otherwise indicated.

2013

All documents are PDFs unless otherwise indicated.

2011

All documents are PDFs unless otherwise indicated.

2010

All documents are PDFs unless otherwise indicated.

2009

All documents are PDFs unless otherwise indicated.

2008

All documents are PDFs unless otherwise indicated.

2007

All documents are PDFs unless otherwise indicated.

2006

All documents are PDFs unless otherwise indicated.

2005

All documents are PDFs unless otherwise indicated.

2004

All documents are PDFs unless otherwise indicated.

2003

All documents are PDFs unless otherwise indicated.

2002

All documents are PDFs unless otherwise indicated.

2001

All documents are PDFs unless otherwise indicated.

Categories: 1

0 Replies to “2014 Computer Science Board Paper Solved Assignment”

Leave a comment

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *