This download link is referred from the post: PTU B.Sc IT (BCA) Last 10 Years 2010-2020 Previous Question Papers || Punjab Technical University
Firstranker's choice
Roll No.
--- Content provided by FirstRanker.com ---
Total No. of Pages : 02
Total No. of Questions : 07
B.Sc. (IT) (2015 & Onward)/BCA (2013 & Onward) (Sem.-1)
PROGRAMMING IN C
Subject Code : BSIT/BSBC-102
--- Content provided by FirstRanker.com ---
M.Code : 10044
Time: 3 Hrs.
Max. Marks : 60
INSTRUCTION TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains SIX questions carrying TEN marks each and a student has to attempt any FOUR questions.
--- Content provided by FirstRanker.com ---
SECTION-A
Q1. Answer briefly :
- Discuss the need of flowchart.
- What is debugging and why is it important.
- Write data types available in C.
- Define user defined functions
- What are the benefits of arrays?
- Distinguish between structure and union.
- Discuss the use of nested structure.
- Why we use storage classes in C?
- What is Recursion?
- What is meant by formatted output in C?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
Q2. Define expressions List various types of operators also give their precedence.
--- Content provided by FirstRanker.com ---
Q3. Write the general syntax and working of Switch and goto statement in C Language.
Q4. Write a C program to find the factorial of a given number using recursion.
Q5. What are strings? Explain the syntax to copy one string to another.
Q6. What is the use of pointers? Discuss concept of declaration and initialization of pointers.
Q7. What is file processing in C++? Write syntax for opening the file using file operations.
--- Content provided by FirstRanker.com ---
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.
This download link is referred from the post: PTU B.Sc IT (BCA) Last 10 Years 2010-2020 Previous Question Papers || Punjab Technical University
--- Content provided by FirstRanker.com ---