How To Exam?

a knowledge trading engine...


Punjab Technical University 2006-1st Sem M.Sc Information Technology -(IT)PROGRAMMING IN C - Question Paper

Sunday, 14 April 2013 04:50Web

PROGRAMMING IN C (2K3 & 2K5)
M.SC (IT) Ist Semester (2096)
MSI-102

Time: three Hours Max Marks:75

Note : Part A is compulsory. ans the ques. in 40-60 words.

i. What are Pseudocodes?
ii. Write the structure of a C program.
iii. What are unary operator?
iv. What is the difference ranging from break and continue on statement?
v. What do you mean by array overflow?
vi. How arrays are initialized in C?
vii. What is cast operator?
viii. What are Structures and Unions?
ix. What are various data kinds used in C?
x. What is dynamic memory allocation?
xi. What are character arrays?
xii. What are random access files?
xiii. Write the syntax for switch statement.
xiv. How can we compile a C program?
xv. What are pointers? (15x2=30)


Part B

Note: Attempt any nine ques. from Part B.

1. Explain various kinds of programmes languages. Why C is called a middle level language?
2. What are compiler and interperator? Differentiate ranging from them.
3. What is the purpose of using control statements? explain the syntax of various control statements in C.
4. What are string variables? discuss various string handling functions.
5. How can we pass arguments to a function? discuss with a suitable example.
6. Write a program in C to sort an array using bubble sort method.
7. Write a program in C to obtain the HCF of 2 numbers through recursion.
8. What is a pointer variable? How can we declare pointers?
9. Explain the concept of array of pointers using example.
10. How structures are initialized? How can we access structure members?
11. What are various kinds of Data files? elaborate the various functions for opening file.
12. Write a program in C that demonstrate passing an array of structures to the functions. (9x5=45)






( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjab Technical University 2006-1st Sem M.Sc Information Technology -(IT)PROGRAMMING IN C - Question Paper