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 ---
- Attempt all parts. All parts carry equal marks. Write answer of each part in short. (2×10=20)
- What do you mean by recursion?
- List various functions of an operating system.
- Differentiate between compiler and linker.
- Why 'C' programming is called structured programming?
- Explain struct with suitable example.
- Write a function in C to exchange the content of two integer variables without using a third variable.
- What is an algorithm? Discuss basic characteristics of an algorithm.
- Differentiate between machine language & high level language.
- How macros are defined & called in C? Explain.
- What do you understand by mixed operands? Explain.
- What is the meaning of the prototype of a function?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Get complete paper at FirstRanker.com
SECTION-B
Attempt any five questions from this section. (10x5=50)
--- Content provided by FirstRanker.com ---
- Simulate calculator using switch statement.
- Write a program in C to print the following
A
BA
ABA--- Content provided by FirstRanker.com ---
BABA
ABABA - Explain the following with example:
- Relational operators.
- Top-down program development
- 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.
- What do you mean by sorting? Write a program to sort the given n positive integers.
- Write short notes on
- Linux and windows
- Pointer arithmetic
- Explain with example, the syntax and usage of the following in C program.
- Operator precedence
- Array of structures
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-C
Attempt any two questions from this section. (15x2=30)
--- Content provided by FirstRanker.com ---
- (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. - (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. - (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.
--- Content provided by FirstRanker.com ---
-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 ---