MBOSE Class 11 Question Paper 2018 for Computer Techniqe Paper-II – Text
Read the full text of this question paper below — useful to quickly search, copy and reference the content online without downloading the PDF.
📄 View text version (5 pages)
Page 1
Total No. of Printed Pages ––9 (2)
HS/XI/V/CT/Paper-II/18
(c) To ‘run’ a C program and to check whether the
2018 program is bug free, we require a .
COMPUTER PROGRAMMING IN C (d) Every program statement in a C program must
COMPUTER TECHNIQUE ( Paper - II ) end with a .
( Vocational Stream : Theory ) (e) The function is used to display the
output on the screen.
Full Marks : 100
Time : 3 hours (f) The header file contain mathematical
function.
The figures in the margin indicate full marks for the questions
(g) C supports as many as Relational
General Instructions :
Operators.
(i) Write all the answers in the Answer Script
(ii) Attempt Part –– A Objective Questions serially (h) An expression that combines two or more
relational expressions is termed as
(iii) Attempt all parts of a question together at one place expression.
(i) For using character functions, we must include
( PART : A –– OBJECTIVE )
the header file in the program.
( Marks : 50 )
(j) ‘?:’ set of symbols are known as operator.
SECTION – I
(k) A ‘for’ loop with no test condition is known as
1. Fill in the blanks from the list of words/phrases given
loop.
below : 1 20 20
(a) is the combination of Control Unit and (l) Multi-way selection can be accomplished using
the Arithmetic Logic Unit in the Organization of an ‘else if’ statement or the statement.
Digital Computer System.
(b) describes the solution steps in a logical (m) The variable used as a subscript in an array is
order. popularly known as variable.
HS/XI/V/CT/Paper-II/18 HS/XI/V/CT/Paper-II/18
Page 2
(3) (4)
(n) An array can be initialized either at compile time 2. State whether the following statements are True or
or at . False: 110 10
(o) The function ‘strncat ( )’ has parameters.
(a) Every line in a C program should end with a
(p) We can use the conversion specification semicolon.
in ‘scanf’ to read a line of text.
(b) Comments cause the computer to print the text
(q) The function is used to determine the enclosed between /*and*/when executed.
length of a string.
(r) The ‘printf’ may be replaced by function (c) Syntax error will be detected by the compiler.
for print.
(d) All arithmetic operators have the same level of
(s) A variable declared in a function is called
precedence.
variable.
(t) A function that calls itself is known as (e) Associativity is used to decide which of the several
function. different expressions is evaluated first.
Lists of word(s)/Phrases :
(f) The ‘default’ case is required in the switch
statement.
static switch algorithm
putchar local infinite (g) In C language, by default, the first subscript is
zero.
recursion eight semicolon
six runtime %c
(h) A function can not be defined and placed before
global strlen ( ) putc ( ) the main function.
%s math.h compiler
(i) Any name can be used as a function name.
logical printf two
ctype.h CPU subscripted (j) The keyword ‘typedef’ is used to define a new data
relational interpreter string.h type.
HS/XI/V/CT/Paper-II/18 HS/XI/V/CT/Paper-II/18
Page 3
(5) (6)
3. Choose and write the correct answer: 1 5 5 (d) To write a small number of mixed string in data
files and integer variable to a file, the appropriate
(a) A _____ data type number uses 64 bits giving a function is –
precision of 14 digits, these are known as–
(i) fputs ( )
(i) Single precision number (ii) fwrite ( )
(ii) Floating point number (iii) fprintf ( )
(iii) Double precision number (iv) none of the above
(iv) None of the above
(e) A continuous list can be implemented using an–
(i) structure
(b) The ‘break’ statement is used to exit from–
(ii) union
(i) An ‘if’ statement (iii) array
(ii) A ‘for’ loop (iv) none of the above
(iii) The ‘main’ function
4. Write short notes on the following (Any five) : 3 5 15
(iv) A C program
(a) system software
(b) algorithm
(c) Arrays can be initialized provided they are (c) special operators
(i) Automatic (d) delimiters
(ii) External (e) compiler
(f) the remainder operator in C
(iii) Static
(g) assignment operator
(iv) All of the above
(h) fclose ( ) in data files.
HS/XI/V/CT/Paper-II/18 HS/XI/V/CT/Paper-II/18
Page 4
(7) (8)
SECTION – II (b) What is the purpose of ‘goto’ statement? Why ‘goto’
statement is use occasionally? Explain.
( PART : B – DESCRIPTIVE )
( Marks : 50 ) 9. (a) What is the meaning of ‘Type-cast’ in C language?
Explain with a program. 3+3=6
Answer ANY TWO questions from each unit
(b) What is the purpose of ‘continue’ statement?
UNIT– I Explain.
5. (a) What are the four basic type of Data types?
Explain. 4+2=6 10. Write short note on the ‘pre-test’ and ‘post-test’ looping
in C, with their syntaxes. 3+3=6
(b) Write the characteristics and purpose of escape
sequence characters.
UNIT– III
6. (a) What is initialization? Why it is important? 3 + 3 = 6
11. (a) What is a function? What are the types of
(b) What is relational operators? Explain in detail with function? Explain. 4+3=7
suitable example.
(b) What is function declaration? Explain.
7. Distinguish between the following pairs: 3+3=6
12. (a) What is initialization of one-dimensional array?
(a) getchar and scanf functions Explain the ‘compile time’ initialization and
run-time initialization. 4+3=7
(b) ‘%c’ and ‘%s’ specifications for reading.
(b) What is ‘Null terminator’ ? Explain.
UNIT– II
l3. Explain the concept of ‘call-by-value’ and ‘call-by-
8. (a) What is the purpose of ‘if.....else’ statements? reference’ in function with the help of a C program. 7
Explain with example. 3+3=6
HS/XI/V/CT/Paper-II/18 HS/XI/V/CT/Paper-II/18
Page 5
(9)
UNIT – IV
14. (a) What is the significance of EOF? 3+3=6
(b) Distinguish between the following function: (Any One)
(i) getc ( ) and getchar ( )
(ii) feof ( ) and ferror ( )
15. (a) What is a pointer? Explain with a sample program.
3+3=6
(b) Explain the ‘pointer initialization’ with example.
16. (a) Write short note on defining a structure. Give
syntax. 3+3=6
(b) What is declaration of structure variable? Explain.
HS/XI/V/CT/Paper-II/18