How To Exam?

a knowledge trading engine...


Shanmugha Arts Science Technology and Research Academy (SASTRA) University 2008 B.Tech Electronics and Communications Engineering PROGRAMMING IN C (I-TERM ) - Question Paper

Wednesday, 06 February 2013 12:15Web

SASTRA UNIVERSITY
Subject Name Computer Programming –I-c
ques. Paper Type First Mid Term Test
PART-A(10X2=20M)
ans all the ques..
01. What is meant by a void data type?
02. Draw the flow chart for switch case Statement?
03. What is a macro provide an example?
04. What are the storage classes in c?
05. Distinguish ranging from Structure and union?`
06. Quote the difference ranging from (*m)[10] and m[10]?
07. Give an example for pointer to pointer?
08. What are the modes of operation in files?
09. List the use of functions in random access to a file?
10. What is meant by dynamic memory allocation and elaborate the functions used?
PART-B(3X10=30M)
ans any 3 ques..
01. Write detailed notes on decision making statements? (10)
02. • Write a program that will learn values of elements of A and B and produce the product of matrix C (5)
• Compare 2 strings for equality without using library functions (5)
03. • Write a program for learner detail processing using structures?
• Explain call by reference by and call by value with suitable example?
04. • Write a program using pointers to obtain the max and min of number in a one D array?
• Write a program to search an element from an array using pointers?
05. • Write a program to learn data from key board write it to a file called INPUT, again learn the identical data from the input file and display it on the screen?
• Give an example for command line arguments?

***************











( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Shanmugha Arts Science Technology and Research Academy (SASTRA) University 2008 B.Tech Electronics and Communications Engineering PROGRAMMING IN C (I-TERM ) - Question Paper