Roll No. Total No. of Pages : 02
 Total No. of Questions : 16
--- Content provided by FirstRanker.com ---
B.Sc. (IT) (2015 to 2018) / BCA (2014 to 2018) (Sem.-1)PROGRAMMING IN C
Subject Code : BSIT/BSBC-102
M.Code : 10044
Time : 3 Hrs. Max. Marks : 60
--- Content provided by FirstRanker.com ---
INSTRUCTIONS TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains SIX questions carrying TEN marks each and students have to attempt any FOUR questions.
SECTION-A
Answer briefly :
--- Content provided by FirstRanker.com ---
- List the different keywords in C.
- How is a program compiled and executed?
- What is the role of Header files in C program?
- Differentiate between constants and variables.
- What are the various Input/output statements in C?
- List the various operators used in C.
- How are pointers declared and initialized?
- Differentiate between Call by value and Call by reference.
- What is the use of storage classes?
- Write the syntax for do-while loop.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
-  a) What is the use of Algorithms in developing a program? How is it different from Flowcharts?
 b) Write a C program to reverse a string.
-  Describe the following :
 a) Unions and Structures--- Content provided by FirstRanker.com --- b) Macros in C
- What do you mean by Recursion? What is the use of recursion in C programs? Write a program to find factorial of a number using recursion.
-  a) Describe the use of Arrays in C program with an example.
 b) List the various operators used in C along with its precedence.
-  Write brief notes on :--- Content provided by FirstRanker.com --- a) Difference between If-else and Nested- if statement.
 b) Use of Switch statement in a C program.
-  a) What are Functions? How are Functions declared and parameters passed to functions?
 b) Write a C program to print the average of all numbers from 1 to 50.
NOTE : Disclosure of identity by writing mobile number or making passing request on any page of Answer sheet will lead to UMC case against the Student.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU BCA Last 10 Years 2011-2021 Previous Question Papers
--- Content provided by FirstRanker.com ---
