Trending ▼   ResFinder  

PUNJAB TECHNICAL UNIVERSITY MCA - I (SEM 1) MAY 2008 : Programming In C

3 pages, 26 questions, 0 questions with responses, 0 total responses,    0    0
mca_india
  
+Fave Message
 Home > mca_india >

Formatting page ...

Roll No. ...................... Total No. of Questions : 13] [Total No. of Pages : 03 Paper ID [A0502] (Please fill this Paper ID in OMR Sheet) MCA (102) (S05) (O) (Sem. - 1st ) PROGRAMMING IN C Time : 03 Hours Maximum Marks : 75 Instruction to Candidates: 1) 2) Section - A is Compulsory. Attempt any Nine questions from Section - B. Section - A (15 2 = 30) Q1) a) Given the following code fragment, what will be the value of num[3][5]? num[1][3] = 6; num [1][4] = 7; num[1][5] = 4; num[3][5] = (num [1][3] + num[1][5]) * num [1][4]; num[3][5] = (num [1][3] + num[3][5]) * num [1][4]; b) What is wrong with the statements: scanf ( % d , i); and putchar ( /n );? c) Evaluate the expression (i 2* (j + k) d) Are the variable names argc and argv reserved and can only be used with the main ( ) function? e) Write the correct conditional expression for the following code fragment: i) for i = 10, j = 2, and k = 3. max = z; if ! (x + y > z) max = x + y; f) Are the statements *value[2]; and (*value ++)++; equivalent? g) What is wrong with the following code fragment? D-616 P.T.O.

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : Mca - I (sem 1) May 2008 Question Paper - Programming In C
Tags : mca exam papers, mca question papers, ignou mca question papers, ptu mca question papers, mca sample question paper, mca mumbai university question papers, mca exam syllabus, mca exam question paper, online mca exam papers, online mca exam preparation, mumbai university mca question papers, ignou university mca question papers  

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

mca_india chat