Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Strange Photos Academic Projects New Member FAQ  



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 By: bharath sudar        Member Level: Platinum       Posted Date: 13 May 2008

2006 Indira Gandhi National Open University (IGNOU) M.C.A problem solving and programming Question paper



Course: M.C.A   University: Indira Gandhi National Open University (IGNOU)




1. Design an algorithm, draw a corresponding flow chart and write a program in C, to print the fibonacci series (10)
2. Write a program that does not use the inbuilt string functions to perform the following : (10) (i) To compare two strings (ii) To copy a string
3. Design an algorithm, and write a program to find the factorial of a number using recursion (10)
4. A C program contains the following declarations : 10 int i, j; long iX; short S; float X; double dX; char C; Determine the resultant data type of each of the following expressions: (i) i+C (ii) X+C (iii) dX+X (iv) ((int) dx) + ix (v) i+X (vi) S+j (vii) iX+j (viii) S + C (ix) iX+C (x) i+j
5. Summarize the purpose of the format strings (like %s, %d, %c) that are commonly used within the printf function, with an example for each. (10)
6. When can two matrices of order a x b and c x d be subtracted ? Also write a program in C to find the difference of two such matrices. (10)
7. Design an algorithm, draw a corresponding flow chart and write a C program to check whether a given string is a palindrome or not. (10)
8. Explain the meaning of each of the following functions prototypes and mention the return data type of each of them : (10) (i) double f(double a, mt b); (ii) void f(long a, short b, unsigned C); (iii) unsigned f(unsigned a, unsigned b); (iv) mt (*f) (char*, int); (v) mt * f(char*, int);
9. What is the difference between a function and a macro ? Find the largest number among two numbers using a function definition as well as a macro. Which is more efficient in terms of execution time and code size ? (10)
10. Write a program to sort a list of strings in alphabetical order, using an array of pointers. (10)
11. Write a program, usirg structures, to calculate the gross salary and net salary, if the details of an employee along with the basic pay, attendance and deductions are given as input. (10)
12. Write a program to count the number of characters, number of words and number of lines in a given file. (10)
13. Design an algorithm, draw a corresponding flow chart and write a program in C, to print the output in the following format : (10) 1 2 1 2 3 2 1 2 3 4 3 2 1 2 3 4 5 4 3 2 1 2 3 4 5
14. Write a loop that will calculate the sum of every third integer, beginning with I = 2 (i.e., calculate the sum of 2+5+8+11.i-..j, for all values of i that are less than 100. Write the loop in three different ways : (15) (i) Using "while" statement (ii) Using "do-while" statement (iii) Using "for" statement
15. Design an algorithm, draw a corresponding flow chart and write a program in C to convert a decimal number to its binary equivalent. (10)
16. Explain "Structure" and "Union" with an example for each, with appropriate syntax. Further, explain the difference between them. (5)
17. Summarize the use of the gets and puts functions to transfer strings between the computer and the standard input/output devices. Compare the use of these functions with the string transfer feature in the scanf and printf statements, with an example for each. (10)
18. Write a program in C using stmctures to simulate a bill application for a super-market. (10) Note : Assumptions can be made wherever necessary and should be listed.
19. Write an interactive C program that will encode or decode a line of text. To encode a line of text, proceed as follows : (10) (i) Convert each character, including blank spaces, to its ASCII equivalent. (ii) To decode the text, convert its ASCII to its character equivalent.
20. When can two matrices of order a x b and c x d be multiplied ? Also write a progam in C to multiply two such matrices. (10)
21. What is the relationship between an array name and a pointer ? How is an array name to be interpreted when it appears as an argument to a function ? Explain this with an example. (5)
22. Write the usage of the following datatypes, with an example for each : (7) (i) enum (ii) typedef
23. Write a function definition as well as a macro for the following : (8) (i) To find the cube of a given number (ii) To find the largest number among three given numbers.
24. Without using the strcat function, with a program to append a string2 to a stringi , and find the length of the resultant string. 10
25. What are the various purposes of the library function feof ? How might the feof function be utilized within a program that updates an unformatted data file ? Explain this with an example. 10





Return to question paper search

Next Question Paper: Hindi_Course 20A_Foreign_X_2007_set3

Previous Question Paper: operating system

Related Question Papers:


  • Economic and social environment


  • BIT


  • POST GRADUATE DIPLOMA IN HIGHER EDUCATION : MES-103: HIGHER EDUCATION PSYCHO.SOCIAL CONTEXT


  • JMC2 Mass Media and Society December 2006


  • Software engineering


  • 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.

    Watch TV Channels



    Contact Us    Editors    Privacy Policy    Terms Of Use   

    SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.