New Member FAQ | Forums | Earn Revenue


Resources Entrance Ask Experts Exam Papers Jobs English Projects Universities Colleges Courses Schools Training My India



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter



Download Model question papers & previous years question papers

Posted Date: 29 Aug 2008      Posted By: E.Suganya      Member Level: Bronze

2008 Vellore Institute of Technology M.C.A Computer Aplications Continuous Assessment Examination-I(Programming in 'C') University Question paper



Course: M.C.A Computer Aplications   University: Vellore Institute of Technology




VIT
U N I V E R S I T Y
(Estd. u/s 3 of UGC Act 1956)
Continuous Assessment Examination – I, August 2008
MCA – I Semester
Subject : Programming in C
Subject Code : 05MCA505.
Duration : 90 Minutes Max. Marks : 50
Part-A (4X5=20)
Answer all the questions.

1. (i) What is the difference between an identifier and a variable? (1)
(ii) State the advantage and disadvantage of arrays. (2)
(iii) What are actual and formal parameters? (2)

2.Specify the output or the errors for the following. Assume all the necessary header files are included in the following codes.

(i)void main( )
{
int i=10;
float i=20;
printf(“%d%f”, &i, i);
}

(ii)void main( )
{ printf(“%d”, 10>5?10:5); }
(iii) void main( )
{ while(TRUE)
{ printf (“Welcome”); }}

(iv)void main( )
{ switch(1)
{ case 0+1: printf(“Java code is compiled ”);
case 0+2: printf(“and interpreted”);
default: printf(“Java is portable”);
}}

(v)void main( )
{ int i ,j;
scanf(“%d”,&i);
scanf(“%d”,j);
printf(“%d%d”,i,j);
}

3.Write a program that finds the sum of the following series.
1+X+X^2+X^3+…+X^n.
4.Write a program which generates the Fibonacci series using a recursive function.


Part - B (3X10=20)
Answer all the questions.


5.Explain the looping structures with necessary examples.

6.(i) Trace the execution of the following segment of code.
for(i=0;i<8;i++)
printf(“%d”,i>0); (1)
(ii) What is the scope of a variable declared in a function? (1)
(iii) State the reason for the following statement –“Size of the data types differ from one compiler to other” (1)
(iv) What is meant by pass by reference? (2)
(v) State the difference between the while and do-while. (2)
(vi) Can we write a program with more than one main function? Justify your answer. (1)
(vii) Write a program without a header file. (2)

7.Write a program to eliminate all the duplicates in an integer array except the first occurence. For example, Input array A={1,2,3,1,2,5,6,7,6,7}, Output should be eliminating all the duplicates of each number in the array “A” and it should be as follows A={1,2,3,5,6,7}








Return to question paper search

Next Question Paper: Continuous Assessment Examination II(Programming in 'C')

Previous Question Paper: Programming in 'C'

Related Question Papers:


  • Continuous Assessment Examination-I(Programming in 'C')


  • Model paper(Digital Computer Fundamentals)


  • Programming in 'C'


  • Analysis & Design of Digital Integrated Circuits


  • MODEL QUESTION PAPER FOR Seventh Semester B.E. Degree Examination (Common to all branches) Constitution of India & Professional Ethics.


  • Categories


    Submit Previous Years University Question Papers and make money from adsense revenue sharing program

    Are you preparing for a university examination? Download model question papers and practise before you write the exam.



    Advertise Here





    Contact Us   Advertise   Editors    Privacy Policy    Terms Of Use   

    ISC Technologies.
    2006 - 2009 All Rights Reserved.