Está en la página 1de 2

VidyarthiplusIndianStudentsOnlineEducationForum

www.Vidyarthiplus.com

QuestionPaperCode:37007

B.E./B.Tech.DEGREEEXAMINATION,JANUARY2014.

FirstSemester

CivilEngineering

GE6151COMPUTERPROGRAMMING

(Commontoallbranches)

(Regulation2013)
Time:Threehours Maximum:100marks

AnswerALLquestions.

PARTA(10x2=20marks)

1.Listsomeimportanthardwareandsoftwaretechnologiesoffifthgeneration
computers.

2.Writetwocharacteristicsofpseudocode.

3.WhatarevarioustypesofCoperators?

4.Writeaforloopstatementtoprintnumbersfrom10to1.

5.Definearray.

6.Nameanytwolibraryfunctionsusedforstringhandling.

7.Whatistheneedforfunctions?

8.Whatistheusesofpointers?

9.WriteanytwopreprocessordirectivesinC.

10.Differentiatebetweenstructureandunion.

www.Vidyarthiplus.com
VidyarthiplusIndianStudentsOnlineEducationForum
VidyarthiplusIndianStudentsOnlineEducationForum
www.Vidyarthiplus.com

PARTB(5x16=80marks)

11.(a)Writeindetailabouttheevolutionandthevariousgenerationsofcomputers.

OR

11.(b)Explainthebasiccomputerorganisationusinganeatdiagram. (16)

12.(a)WriteabouttheneedandtypesofloopingstatementsinClanguageand
discusswithexamples. (16)

OR

12.(b)WriteabouttheneedandtypesofbranchingstatementsinClanguageand
discusswithexamples. (16)

13.(a)(i)WriteaCprogramtoreverseastring. (8)
(ii)WriteaCprogramtoprinttheFibonacciseriesofagivennumber. (8)

OR

13.(b)WriteaCprogramtoprintthesumoftwomatrices. (16)

14.(a)Explainthefollowingwithsuitableexamples.
(i)Functiondeclaration (8)
(ii)Callbyreference,callbyvalue. (8)

OR

14.(b)(i)Explainfunctionwithandwithoutargumentswithexamplesforeach.(10)
(ii)Whatisrecursion?Giveanexample. (6)

15.(a)(i)Whatisstorageclass?Listandexplainwithexample. (8)
(ii)Defineanddeclareastructuretostoredate,whichincludingday,month
andyear. (8)
OR

15.(b)WriteaCprogramtocreateamarksheetforstudentsusingstructure.(16)

www.Vidyarthiplus.com
VidyarthiplusIndianStudentsOnlineEducationForum

También podría gustarte