FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download PTU BCA 2020 Dec 1st Sem 10044 Programming In C Question Paper

Download PTU BCA ( Bachelor of Computer Applications) 2020 December 1st Sem 10044 Programming In C Previous Question Paper

This post was last modified on 13 February 2021

PTU BCA Last 10 Years 2011-2021 Previous Question Papers


FirstRanker.com

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 :

  1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
  2. 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 ---

  1. List the different keywords in C.
  2. How is a program compiled and executed?
  3. What is the role of Header files in C program?
  4. Differentiate between constants and variables.
  5. What are the various Input/output statements in C?
  6. --- Content provided by‍ FirstRanker.com ---

  7. List the various operators used in C.
  8. How are pointers declared and initialized?
  9. Differentiate between Call by value and Call by reference.
  10. What is the use of storage classes?
  11. Write the syntax for do-while loop.
  12. --- Content provided by‌ FirstRanker.com ---

SECTION-B

  1. 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.
  2. Describe the following :
    a) Unions and Structures

    --- Content provided by‌ FirstRanker.com ---

    b) Macros in C
  3. 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.
  4. a) Describe the use of Arrays in C program with an example.
    b) List the various operators used in C along with its precedence.
  5. 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.
  6. 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 ---

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 ---