0% found this document useful (0 votes)
40 views

Sri S1Ddhartma Institute of Ie (Hnology, It MKL R.: Answer Any Five Full Questions

The document is an exam paper for the subject Computer Concepts and Programming. It contains 8 questions with 3 sub-questions each. Some of the questions ask to explain computer concepts like functional units of a computer, data types in C language, loops, functions etc. Other questions ask to write programs to demonstrate various programming concepts like arrays, structures, sorting, recursion etc.

Uploaded by

rashmi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Sri S1Ddhartma Institute of Ie (Hnology, It MKL R.: Answer Any Five Full Questions

The document is an exam paper for the subject Computer Concepts and Programming. It contains 8 questions with 3 sub-questions each. Some of the questions ask to explain computer concepts like functional units of a computer, data types in C language, loops, functions etc. Other questions ask to write programs to demonstrate various programming concepts like arrays, structures, sorting, recursion etc.

Uploaded by

rashmi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

SRI S 1 D D H A R T M A I N S T I T U T E O F I E ( H N O L O G Y , IT M K l R.

( A ( oiislihieiil C o l l e g e o f Sri S u l d h a r t h a A c a d e - n y o f l l i g h e ! E d u c a t i o n . A g a l a k o t e . 1 u n i k u r . )

U.K. S E M E S T E R E M ) E X A M I N A T I O N S - J A N 2015

13CS01 : C O M P U T E R C O N C E P T S A M ) P R O G R A M M I N G
TIME: 3.00 Mrs SEMESTER : I MAX MARKS: 100

NOTE: A n s w e r an y five full q ue s ti ons .

Ea) E xpl ai n the functional units o f a digital comput er . 06


b) What is d ifference b e tw e en v ar ia bl es and c on st ant ? (Jive e x a m p l e for each. 04
c) 1 xplain different t ypes o f loops. Writ e a pr ogr am to print n u m b e r s fr om 1 to 10. 10

2 . a) Wh at is a s of twa re? E x pl a i n di fferent t ypes o f softw are with e xa m p l e s . 05


b) 1 xplain at least 5 string h an d li n g fun cti ons with syntax. 10
c) W’hat is a st ruct ure? WTitc a p r o g r a m to d e m on s t ra t e structure. 05

3. a) Wha t is op er at i ng s y s t e m ? List out the funct ions o f oper at i ng system. 05


h) Wh a t is an ar ray? Wr it e a p r o g r a m to p re f o r m mat ri x multi pl icat ion. 10
c) Writ e a recursi ve functi on to find t he factorial o f a n umber. 05

4 . a) Wh a t is a c o m p u t e r n e t w o r k ? Eist out al least 3 a d v a n t a g e s o f n e tw or k in g. 04


b) W h y \w use sw itch s t a t em en t ? Wr it e a prog ram to d e m o n s t r a t e the use o f s wi tch st at ement . 08
c) W hat is a f uncti on? E xp l ai n the different wa ys o f pass ing p a r a m e t e r s to the function. 08

5.a) Wh a t is a p ro to co l? Ex pl ai n the different n et wor k topologies. 06


b) Writ e a pro g ra m to ch ec k w h e t h e r a gi ven n u m b e r is P r i m e or N O T . 06

c) Wr it e a llow chart to c o m p u t e Fibonacci series. OS

6.a) Explain the different data types s u pp o r t e d in C l a n gu ag e wi th e xa m p l e . 06


b) Wr it e the syntax for goto, break an d c o n t i nu e stat ement . 04

c) Mow pointers are d ec la red and initialized in C ? Expl ai n wi th e xa m p l e . 04


d) Expl ai n the st orage cl as ses in C w it h exa mp le s. 06

7.a) Wha t are the rules for c r e at i n g v ar ia bl es ? Eist out the different relat ional op er at ors s u p po rt ed 06
by C.
h ) Expl ai n the o p er a t o r p r e c e d e n c e and associativity. 06
c) Expl ai n the different t y pe s o f f un c ti o ns w ith ex amp le s. 04
d) Wr it e a p ro g r a m lo find (iC’D o f t w o nu mb er s. 04

S. a) Writ e a p ro gr a m to ch e ck w h e t h e r a gi ven n u m b e r is p al i n d r o m e or not. 08


b) Wha t is array o f structures'? E xp l ai n w ith an exa mp le . 05
e) Writ e a p ro g ra m to a r ra ng e N n u m b e r s in ascend ini’ order. 07

-I U S O I -

You might also like