1 Sem BSC
1 Sem BSC
a) 10010 b) |1110
c) 10110 d) 1010I
I-3) | (10)
a) 7 b) 8
c) 4 d) 6
| -4) C Programming was invented by
a) James Goslings b) Charles Babbage
c) Dennis Ritchie d) George Boole
|-5) All keywords in C are in
a) Upper case b) Sentence Case
c) Random d) Lower case
a) Condition b) Declauration
c) Friend d) Loop
Contd...2
9.P. Code No.31132 Puqe No.., 2
|-7) +tg means
a) Decrement g b) Post increimnent g
c) Add g d) Pre incremcnt g
I-8) tolower ( ) function returns
a) Length of String b) String in Lower Case
c) String Reverse d) String Uppercase
SECTION - II
II. AnswerWrite notes on any FIVE of the following : SX 3= S Murks
II -1) Write truth table for AND, OR, NOT gates.
II-2) Define different translators.
II -3) Write the rules for naming an ident1fier.
I|4) Write note on type conversions.
II -5) Differentiate while and do-while loop.
Il-6) What is an array ? How arrays are declared? Give examplc.
II-7) Write the advantages of pointers.
I|-8) How structure members are accessed inC Explain
SECTION - III