(Download) CBSE Class-12 Sample Paper And Marking Scheme 2017-18 : Computer Science
Disclaimer: This website is NOT associated with CBSE, for official website of CBSE visit - www.cbse.gov.in
(Download) CBSE Class-12 Sample Paper And Marking Scheme 2017-18 : Computer Science
SAMPLE QUESTION PAPER
Subject: Computer Science
Class: XII (2017-18)
Instructions:
(a) All questions are compulsory,
(b) Answer either Section A or Section B:
(i) Section A - Programming Language with C++
(ii) Section B - Programming Language with Python
(c) Section C is compulsory.
SECTION – A (C++)
Q. No. Part Question Description Marks
Q1.(a) What is the role of a parameter/argument passed in a function? Can a default value be assigned to a parameter(Yes/No)? If yes, justify your answer with the help of a suitable example otherwise give reason. 2
(b) Raman suggests Kishan the following header files which are required to be included in the given C++ program. Identify the header files which are wrongly suggested by Raman.
Program:
Suggested header files:-
1. iostream.h
2. stdio.h
3. conio.h
4. ctype.h 1
(c)Rewrite the following program after removing the syntactical errors (is any). Underline each correction.
(d) Write the output of the following C++ program code(assume all necessary header files are included in program):
(e) Write the output of the following C++ program code(assume all necessary header files are included in program):