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 AKTU B-Tech 2nd Sem 2016-17 CS201 Computer Programming Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU)) B-Tech 2nd Semester (Second Semester) 2016-17 CS201 Computer Programming Question Paper

This post was last modified on 29 January 2020

This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University


FirstRanker.com

Time: 3 Hours

Max. Marks : 100

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

Note: Be precise in your answer. In case of numerical problem assume data wherever not provided.

SECTION - A

  1. Explain the following: 10 x 2 = 20
    1. What is meant by storage classes of a variable?
    2. Why we use do-while loop in c?
    3. Define the concept of top down development and stepwise refinement process.
    4. --- Content provided by FirstRanker.com ---

    5. What is meaning of continue and break keyword in c?
    6. What is recursion?
    7. Explain the difference between function declaration and definition of a function.
    8. Explain flow chart and the symbols used.
    9. Write an algorithm to find the greatest number among three numbers.
    10. --- Content provided by FirstRanker.com ---

    11. Explain call by value with suitable example.
    12. What do you mean by Macro?

SECTION – B

Attempt any five of the following questions: 5 x 10 = 50

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

  1. Explain differences between a flow chart and algorithm with an example.
  2. (a) What is a pointer? (b) Write a C program to swap the values of two variables making the use of pointers.
  3. Distinguish between actual arguments and formal arguments with the help of example.
  4. Write a program in C to print the number of days using switch statement.
  5. Write a program to print all the diagonal elements of the Matrix.
  6. --- Content provided by FirstRanker.com ---

  7. What is recursion? Write a program to print the Fibonacci series using recursion.
  8. Write a program to generate the following pattern

    *
    * *
    * * *

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

    * * * *
    * * * * *
  9. Write a program to rearrange a list of names in ascending order.

SECTION – C

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

Attempt any two of the following questions: 2 x 15 = 30

  1. What are the different file opening modes in C. Suppose a file contains student's records with each record containing name and age of a student. Write a C program to read these records and display them in sorted order by name.
  2. (i) Write short notes on: i) Dynamic Memory allocation in C, ii) Command Line arguments
    (ii) Write macro definition with arguments for calculation of simple interest and amount.
  3. Write a C program to add first seven terms of the following series using for loop. 1/1! +2/2! +3/3! + ... FirstRanker.com
  4. --- Content provided by FirstRanker.com ---



This download link is referred from the post: AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University

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