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's choice.
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
- Attempt all parts. Each part carries 2 marks. (2×10=20)
- What is pointer and how is it initialised?
- Write is the role of ALU? Explain.
- What is the difference between following directives? #include<stdio.h> and #include "stdio.h"
- Describe the functions of Operating System.
- What are the escape sequences characters?
- What is enumerated data type?
- What is the output of this C code?
int main() { int x = 4; x = x << 1; printf("%d\n", x); }
- What happens if you create loop that is never ended?
- Why C programming is called structured programming?
- What is the value of x for x= -17%-2.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Section-B
- Attempt any five questions. Each part carries 10 marks. (10×5=50)
- Write a program in 'C' to reverse a string through pointer.
- Write about the formatted and unformatted Input / Output functions in C.
- Write a program in 'C' print Fibonacci series using recursive function.
- Draw a flow chart and write an algorithm to find sum and average of 3 numbers.
- Explain with the help of an example, static and extern variable.
- Compare the switch- case and nested if statement in C language with suitable example.
- Write a program in 'C' to find that the given number is prime or not.
- Differentiate between structure and union in 'C'. Write a 'C' program to store the employee details using structure.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Section-C
Attempt any two questions. Each question carries 15 marks. (15×2=30)
-
- Differentiate between break and continue with suitable example.
- Write the difference between type conversion and type casting.
-
- List out various file operations in C. Write a C program to count the number of characters in a file
- What are the different types of Operator in C language and also write down the difference between the associativety and precedence of operators.
-
- Write a program in 'C' to multiply the two matrices size M × N.
- Explain the following:
- Preprocessor
- Double precision
- Array of Structures
--- Content provided by FirstRanker.com ---
--- Content provided by 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 ---