How To Exam?

a knowledge trading engine...


Punjab Technical University 2006-1st Sem B.Sc Information Technology -ITProgramming in C - Question Paper

Wednesday, 10 April 2013 09:05Web

BSIT (05) -102
Programming in C
Bsc IT first Semester (2096)

Time: 3 Hours Max Marks:75

The ques. paper has 2 parts. part A is compulsory . Attempt any 9 ques. out of twelve ques. from part B.
Use of non programmable scientific calculator is allowed.

Section A
Short ans questions: Marks: two every

1. What is meant by implicit and explicit conversion? What is the role of a return statement in a function?
2. What do you mean by algorithms and flowcharts?
3. Explain multiple assignment statement.
4. What are the various programming techniques?
5. Write down a program to demonstrate the assignment of variables.
6. What is nested FOR LOOP?
7. How are relational operators and logical operators related to 1 another?
8. How 2 dimension arrays are represented in memory?
9. Explain string operations with characters.
10. How break statement is used with switch case structure.
11. Distinguish ranging from Pointers and Functions.
12. How is Dynamic memory allocation various from static memory allocation?
13. Distinguish ranging from structure and union.
14. What are the advantages of pointers?
15. What do you mean by scope of variables?

2x15=30


Section B
1. What do you mean by procedural and non procedural programming?
2. Explain formatted and unformatted functions.
3. Define the following:

(a) Character input/output functions
(b) User friendly programs

4. What are the various features of turbo C?
5. How will you initialize values in an Array and what do you mean by Array of Structures?
6. Write down a program to display the odd numbers from one to 100 using while loop?
7. Write a program in C to generate a Fibonacci series of ā€œnā€ numbers where n is described by a programmer.
8. Define the following:

(a) String handling functions in C.
(b) Nested if-else statement

9. How Pointers are used in a function declaration?
10. Write a program to display addition of one to 10 with 100 using the automatic variable and static variable.
11. Write a program to declare the pointer to pointer variable and to display the contents of these pointers.
12. Define the following:

(a) Structures and unions
(b) Pointers and structures

5x9=45






( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjab Technical University 2006-1st Sem B.Sc Information Technology -ITProgramming in C - Question Paper