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: 4
(Following Paper ID and Roll No. to be filled in your Answer Books)
Paper ID: 2012297
--- Content provided by FirstRanker.com ---
Roll No.
RCS - 101
B.TECH.
Regular Theory Examination (Odd Semester - I), 2016-17
COMPUTER SYSTEM & PROGRAMMING IN 'C'
--- Content provided by FirstRanker.com ---
Time: 3 Hours
Max. Marks: 100
Section - A
- Attempt all parts. All parts carry equal marks. Write answer of each part in short. (10×2=20)
- Explain the basic structure of a C program.
- What do you mean by Algorithm? Explain the characteristics of algorithm.
- What are functions? What is the advantage of using multiple functions in a program?
- Distinguish between - int main () and void main ()?
- What is the difference between pseudo code and flow chart?
- Draw the memory hierarchical structure of a computer system.
- What will be the output of following code?
--- Content provided by FirstRanker.com ---
Void main ()
{ int a = 5, b = 6; printf("%d\t", a = b); printf("%d\t",a==b); printf("%d\t%d", a, b);
} - Write short notes on High level and low level languages.
- Write short notes on Union and enumerated data type.
- Write the five commands of LINUX with its architecture?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Section - B
- Attempt any five questions from this section. (5×10=50)
- i) What do you mean by parameter passing? Discuss various types of parameter passing mechanism in C with examples.
- i) What is the role of SWITCH statement in C programming language. Explain with example.
- i) What is recursion? Write a program in C to generate the Fibonacci series.
- Define data types in C. Discuss primitive data types in terms of memory occupied, format specifier and range.
- i) What do you mean by dynamic memory allocation? Explain the malloc() and calloc() function in detail.
- i) Write a program to print all prime numbers from 1 to 300.
- What do you mean by parameter passing? Discuss various types of parameter passing mechanism in C with examples.
- List out various file operations and modes in C. Write a program to copy the content from one file to another file.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
- ii) Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not.
- ii) Describe about the basic components of a computer with a neat block diagram.
- Differentiate between -
- actual and formal arguments.
- global and extern variables.
--- Content provided by FirstRanker.com ---
- ii) Write a program to print the following pattern:
A
AB
ABC--- Content provided by FirstRanker.com ---
ABCD
ABCDE
ABCDEF - ii) Write a program to multiply two matrices of dimension 3*3 and store the result in another matrix.
- ii) Any year is input through the keyboard. Write a program to determine whether the year is a leap year or not.
--- Content provided by FirstRanker.com ---
- Convert the following number into :
- (10101011101.011)2 = (?)16
- (916.125)10 = (?)4
- (123)10 = (?)2
- (574.32)8 = (?)2
- (1011.10)2 = (?)10
--- Content provided by FirstRanker.com ---
Section - C
- Attempt any two questions from this section. (2×15=30)
- What do you mean by sorting. Write a program in C to sort the given n positive integers. Also give the flow chart for the same.
- Write a program to check whether a given number is Armstrong or not. Like 153 = 13 + 53 + 33.
--- Content provided by FirstRanker.com ---
-
- Define a structure? Write a program in C to create a data base of fifty students to store personal details such as roll no., name and marks. Print all the details of students whose name is entered by the user.
- What do you mean by macro? Explain types of macro with its example.
-
- What do you mean by pointers? How pointer variables are initialized? Write a program to sort a given numbers using pointers.
- A five digit positive integer is entered through the keyboard. Write a C function to calculate sum of digits of the 5-digit number :
- Without using recursion.
- Using recursion.
--- Content provided by FirstRanker.com ---
Visit FirstRanker.com for more question papers.
--- 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 ---