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: 02
Paper Id: 110231
--- Content provided by FirstRanker.com ---
Sub Code: RCS201
Roll No.
B.Tech.
(SEM-II) THEORY EXAMINATION 2017-18
--- Content provided by FirstRanker.com ---
COMPUTER SYSTEM & PROGRAMMING IN C
Time: 3 Hours
Total Marks: 70
Note: 1. Attempt all Sections. If require any missing data; then choose suitably.
SECTION A
--- Content provided by FirstRanker.com ---
-
Attempt all questions in brief.
2 x 7 = 14
- What is token in 'C' language?
- What do you mean by formatted output in C language? Explain with example.
- What is the use of fseek( ) function in files. Write its syntax?
-
Write down the output of the following.
main()
{ int i=1; for(;;) { printf("%d",i); if(i==7) break; }
} - Explain function prototype? Why is it required?
- What are subscripts? How are they specified?
- Write the use of putchar() and getchar()
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION B
--- Content provided by FirstRanker.com ---
-
Attempt any three of the following,
7 x 3 = 21
- Write a program in C to find the largest number of elements in 4*4 matrix.
-
Explain the syntax and use of the following directives with examples:
- #ifdef
- #undef
- #pragma
- #include
--- Content provided by FirstRanker.com ---
-
Write short note on:
--- Content provided by FirstRanker.com ---
- Top down program development approach.
- Differentiate Structure and Array.
- Write a Recursive program in āCā language to print Fibonacci series.
-
What is algorithm? What are the main steps followed in the development of an algorithm? Write an algorithm for sum of digits in a given number.
--- Content provided by FirstRanker.com ---
SECTION C
-
Attempt any one part of the following:
7x1=7
--- Content provided by FirstRanker.com ---
- Describe Compiler, interpreter, assembler? Write the names of compiler that are used in c programming.
-
Convert the following:
- (0110110.1100)2 = ()8
- (74.67)10 = ()16
- (AB.CD)16 = ()8
- (EFE.45)16 = ()2
- (576.4)10 = ()6
- (1234.7)8 = ()16
- (334.43)8 = ()2
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
-
Attempt any one part of the following:
7 x1=7
- Explain different bitwise operators available in C with examples.
- What is meant by type conversion? Why is it necessary? Explain about implicit and explicit type conversion with examples.
--- Content provided by FirstRanker.com ---
-
Attempt any one part of the following:
7x1=7
- Write a program to find the Armstrong number from 1 to 100.
-
Write a program to generate a following numbers structure:
--- Content provided by FirstRanker.com ---
12345
1234
123
12--- Content provided by FirstRanker.com ---
1
-
Attempt any one part of the following:
7x1=7
- Write a program to add two matrices of dimension 3*3 and store the result in another matrix.
- Write a program in C to create a database of fifty students to store personal details such as roll no, name and marks. Print all the details of student whose name is entered by user.
--- Content provided by FirstRanker.com ---
-
Attempt any one part of the following:
7x1=7
- Write a program in C to reverse a string by using pointer.
-
Explain the following functions in file operations
- getw()
- putw()
- fscanf()
- fprintf()
--- 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