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

Get the Nursing Question Bank Android App

Access 10+ years of Question Papers with answers, notes for B.Sc Nursing on the go!

Install From Play Store

Download AKTU B-Tech 2nd Sem 2015-16 CS 201 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) 2015-16 CS 201 Computer Programming Question Paper

This post was last modified on 29 January 2020

AKTU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. A.P.J. Abdul Kalam Technical University


Firstranker's choice.

FirstRanker.com

Printed Pages: 4

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

CS-201

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

Paper ID : 199239 Roll No.

B. TECH.

Theory Examination (Semester-II) 2015-16

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

COMPUTER PROGRAMMING

Time : 3 Hours Max. Marks : 100

Note: Attempt all sections.

Section-A

  1. Attempt all parts. Each part carries 2 marks. (2×10=20)
    1. What is pointer and how is it initialised?
    2. --- Content provided by⁠ FirstRanker.com ---

    3. Write is the role of ALU? Explain.
    4. What is the difference between following directives? #include<stdio.h> and #include "stdio.h"
    5. Describe the functions of Operating System.
    6. What are the escape sequences characters?
    7. What is enumerated data type?
    8. --- Content provided by⁠ FirstRanker.com ---

    9. What is the output of this C code?
        int main() { int x = 4; x = x << 1; printf("%d\n", x); }  
    10. What happens if you create loop that is never ended?
    11. Why C programming is called structured programming?
    12. What is the value of x for x= -17%-2.
  2. --- Content provided by‍ FirstRanker.com ---

Section-B

  1. Attempt any five questions. Each part carries 10 marks. (10×5=50)
    1. Write a program in 'C' to reverse a string through pointer.
    2. Write about the formatted and unformatted Input / Output functions in C.
    3. Write a program in 'C' print Fibonacci series using recursive function.
    4. Draw a flow chart and write an algorithm to find sum and average of 3 numbers.
    5. --- Content provided by FirstRanker.com ---

    6. Explain with the help of an example, static and extern variable.
    7. Compare the switch- case and nested if statement in C language with suitable example.
    8. Write a program in 'C' to find that the given number is prime or not.
    9. Differentiate between structure and union in 'C'. Write a 'C' program to store the employee details using structure.
  2. --- Content provided by‌ FirstRanker.com ---

Section-C

Attempt any two questions. Each question carries 15 marks. (15×2=30)

    1. Differentiate between break and continue with suitable example.
    2. Write the difference between type conversion and type casting.
  1. --- Content provided by‍ FirstRanker.com ---

    1. List out various file operations in C. Write a C program to count the number of characters in a file
    2. What are the different types of Operator in C language and also write down the difference between the associativety and precedence of operators.
    1. Write a program in 'C' to multiply the two matrices size M × N.
    2. Explain the following:
      1. Preprocessor
      2. --- Content provided by‍ FirstRanker.com ---

      3. Double precision
      4. Array of Structures

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