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 1st Sem 2015-2016 CS 101 Computer Programming Question Paper

Download AKTU (Dr. A.P.J. Abdul Kalam Technical University (AKTU), formerly Uttar Pradesh Technical University (UPTU)) B-Tech 1st Semester (First Semester) 2015-2016 CS 101 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


Printed Pages: 3                                                                                                                                   CS101

(Following Paper ID and Roll No. to be filled in your Answer Book)

Paper ID: 110101          Roll No.

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

B.TECH.

(SEM. I) THEORY EXAMINATION, 2015-16

COMPUTER PROGRAMMING

[Time: 3 hours]                                                                                                                    [Total Marks: 100]

SECTION-A

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

  1. Attempt all parts. All parts carry equal marks. Write answer of each part in short. (2×10=20)
    1. What do you mean by recursion?
    2. List various functions of an operating system.
    3. Differentiate between compiler and linker.
    4. Why 'C' programming is called structured programming?
    5. Explain struct with suitable example.
    6. --- Content provided by FirstRanker.com ---

    7. Write a function in C to exchange the content of two integer variables without using a third variable.
    8. What is an algorithm? Discuss basic characteristics of an algorithm.
    9. Differentiate between machine language & high level language.
    10. How macros are defined & called in C? Explain.
    11. What do you understand by mixed operands? Explain.
    12. --- Content provided by FirstRanker.com ---

    13. What is the meaning of the prototype of a function?

Get complete paper at FirstRanker.com

SECTION-B

Attempt any five questions from this section. (10x5=50)

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

  1. Simulate calculator using switch statement.
  2. Write a program in C to print the following

    A
    BA
    ABA

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

    BABA
    ABABA
  3. Explain the following with example:
    1. Relational operators.
    2. Top-down program development
  4. --- Content provided by FirstRanker.com ---

  5. Differentiate between while and do-while loop. Write a program in 'C' and draw flow chart to find whether a given number is prime or not.
  6. What do you mean by sorting? Write a program to sort the given n positive integers.
  7. Write short notes on
    1. Linux and windows
    2. Pointer arithmetic
  8. --- Content provided by FirstRanker.com ---

  9. Explain with example, the syntax and usage of the following in C program.
    1. Operator precedence
    2. Array of structures

SECTION-C

Attempt any two questions from this section. (15x2=30)

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

  1. (a) Explain logical and bitwise operators with the help of suitable example.
    (b) Write a C program to multiply two matrices. Take the size and elements of matrices from the keyboard.
    (c) What are the types of function? Write a C program to find the factorial of a given number using recursion.
  2. (a) Define data types in C. Discuss primitive data types in terms of memory size, format specifier and range.
    (b) Discuss the major components of a digital computer with suitable block diagram. Also discuss the functions of these components.
  3. --- Content provided by FirstRanker.com ---

  4. (a) Differentiate call by value and call by reference with suitable example.
    (b) Write a program in C to copy the text of one file to another.
    (c) Write a program in C for printing Fibonacci series up to a term given by user using recursion.

-x-

Get complete paper at FirstRanker.com

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