Download PTU (I.K. Gujral Punjab Technical University Jalandhar (IKGPTU) B-Sc CSE-IT (Bachelor of Science in Computer Science) 2020 March 1st Sem 70883 Problem Solving And Programming In ?C? Previous Question Paper
Roll No. Total No. of Pages : 02
Total No. of Questions : 07
B.Sc.(CS) (2013 & Onwards) (Sem.?1)
PROBLEM SOLVING AND PROGRAMMING IN ?C?
Subject Code : BCS-106
M.Code : 70883
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains SIX questions carrying TEN marks each and a student has
to attempt any FOUR questions.
SECTION-A
1) Answer briefly :
a) Write the data types available in C.
b) What is the use of Goto statement?
c) Discuss the need of flowcharts.
d) Differentiate between global and local variables.
e) What are pointers in C?
f) What are storage classes?
g) What are the different ways to declare a structure variable?
h) Discuss macros in C.
i) How can we declare structure?
j) What are limitations of unions?
FirstRanker.com - FirstRanker's Choice
1 | M- 70883 (S3)-1660
Roll No. Total No. of Pages : 02
Total No. of Questions : 07
B.Sc.(CS) (2013 & Onwards) (Sem.?1)
PROBLEM SOLVING AND PROGRAMMING IN ?C?
Subject Code : BCS-106
M.Code : 70883
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains SIX questions carrying TEN marks each and a student has
to attempt any FOUR questions.
SECTION-A
1) Answer briefly :
a) Write the data types available in C.
b) What is the use of Goto statement?
c) Discuss the need of flowcharts.
d) Differentiate between global and local variables.
e) What are pointers in C?
f) What are storage classes?
g) What are the different ways to declare a structure variable?
h) Discuss macros in C.
i) How can we declare structure?
j) What are limitations of unions?
2 | M- 70883 (S3)-1660
SECTION-B
2) What is file processing in C? Write syntax for opening files using file operations.
3) Explain in detail the steps involved in program development.
4) Write a C program to find factorial of a given number using recursion.
5) Explain the difference between call by reference and call by value with suitable
examples.
6) Differentiate between Structure and Union. Which one is the best? Give comment.
7) What is Array? Write a program to sort the element of given array.
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any
page of Answer Sheet will lead to UMC against the Student.
FirstRanker.com - FirstRanker's Choice
This post was last modified on 01 April 2020