Code No: OR
JAWAHAR LAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
MCA I Semester Supplementary Examinations August 2009
Time : 3hours Max.Marks:60
Answer any FIVE questions
All questions carry equal marks
- – -
1.a) List the binary operations defined in C languages. What is meant by operator precedence.
b) Distinguish between basics data types and user defined data types.
2.a) Write a C program using ‘For’ statement to find the average of ‘n’ marks.
b) Distinguish between while and do-while statement.
3.a) Write a C program to add two matrices of real numbers using 2-dimensional arrays
b) Write a C program to count number of characters and number of words in a given input sentence.
4.a) Write a C- program to find the sum of ‘n’ numbers by calling a user defined function “sum”.
b) Give two examples to demonstrate call by value and call by reference.
5.a) What is a pointer variable. What are the advantages and disadvantages of pointer variables? List the operations that are permitted on pointers.
b) Declare two pointer variables a and b for two matrices and perform the addition operation on matrices a and b to get the out put matrix c.
6.a) Distinguish between structure and union.
b) Distinguish between basic data type and user defined data type.
c) Create an array of structures for storing the details of employees namely name, age, salary.
7.a) List any five file operations. Give their C- syntax.
b) Write a C-programming to copy all even integers to an output file, where the input file consists of both odd and even numbers.
8.a) What is meant by command line parameters. What is its syntax? Give an example program.
b) List any four bit-wise operators, Give their syntax. Also give their applications.
- Download JNTU OR MCA 2-semester BUSINESS DATA PROCESSING SYSTEMS August 2009 Exam Question Paper
- Download JNTU NR MCA 2-semester OBJECT ORIENTED PROGRAMMING August 2009 Exam Question Paper
- Download JNTU R6-R7 MCA 2-semester BUSINESS DATA PROCESSING August 2009 Exam Question Paper
- Download JNTU NR MCA 2-semester DATA PROCESSING THROUGH COBOL August 2009 Exam Question Paper
- Download JNTU R6-R7 MCA 3-semester UNIX NETWORKS PROGRAMMING December 2008 Exam Question Paper
Free Email Newsletter
And then confirm your email subcription