Roll No. LTI [ ] Total No. of Pages : 02
Total No. of Questions : 07
--- Content provided by FirstRanker.com ---
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
--- Content provided by FirstRanker.com ---
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.
SECTION-A
1) Answer briefly :
--- Content provided by FirstRanker.com ---
- Write the data types available in C.
- What is the use of Goto statement?
- Discuss the need of flowcharts.
- Differentiate between global and local variables.
- What are pointers in C?
- What are storage classes?
- What are the different ways to declare a structure variable?
- Discuss macros in C.
- How can we declare structure?
- What are limitations of unions?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
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.
--- Content provided by FirstRanker.com ---
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.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU B-Sc FD 2020 March Previous Question Papers (Fashion Design)