BOP Paper 2019
BOP Paper 2019
website
search "nitkkrnotes" on google to find more.
\
.:]
l
L,:--
Thecandidates,bcforestartingtowritcthcsolution,shouldpleascchcck
tt'"' ;;;;;;p* ior anv ai-"c'cp"""v-' '19 also ensure that thev have
treen delivered the question p"p"t right course T1" 11d "uq""'
"i
suitably and state, additionat data requrred'
rl any'
ilai.. ,r"""-"
Note: All Questions are ComPulsorY
1
1. Gtq: c ra"s""Eaata iype can bc classified as:
"
. Primary data tYPe
. Derived data tYPc
. Uscr-dehned data ryPe
Give thc bricf dcscription of abovc data types' ,
1b1g, Wh"t do yo, mean
by variables in C language' Describe different
type s of variables. 5
{c)Q: ljiscuss the following
operators in C l'anguage:
Arithme tic oPerator
Relational OPerators
I-ogical Opcralors
Assignment OPerators
Incremcnts and Decrement Operators
Conditional OPerators
Bitwise OPerators
. -pe.ro, "p.,o.".. ; ,:::t-:. :_ ; i;:;;;;- fn"".,r"*
(a)Q: What do you mean 'by sraremcrrL rrr L ra'r'qsE! - help of
5
+,t
***, *
l5*2=r0 mrrksl
Q'restion 7:
Program to creatc
i). What is the diffe.ence between slnrcture and array? Write a
structure SySfEM, store and print a rccord of dcsktop
syslem The fields are
ufacluring '
sysle/'t id, compdny-rttone' syslem-cosl' operali'tg-systefi' lear-of 'na
a proglam to:
ii). Analyze memory representation ofstriirg with '\0' character' Write
- find length ofstring
- Reverse and check string is palindrome or not'
I2*5=10 markrl
Question 8: AtttmPt anY fiv€.
i). Compare Compiler, Assembler and Interprcter?
ii). What are the diffsrenl primary dala types avaiiable irr 'C'?
iii). Differentiate between )rritu loop and do" w'le loop?
a C program to swap values of two variabtes without
using a third variable'
ivj. Write
vi. Differentiate between pre-increment and poslincremen! operators?
vi). Give difference between ':'
and '- =' operator?
vii;. Wlrat will happen when you access the array more than its dimension?
viii). Writ€ a function in C to count number ofcharacters in a strirg'