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.com
Roll FirstRanker.com
B.TECH.
--- Content provided by FirstRanker.com ---
FirstRanker.com
THEORY EXAMINATION (SEM–II) 2016-17
COMPUTER SYSTEM AND PROGRAMMING IN C
Time: 3 Hours
Max. Marks : 100
--- Content provided by FirstRanker.com ---
Note: Be precise in your answer. In case of numerical problem assume data wherever not provided.
SECTION – A
- Explain the following: 10 x 2 = 20
- What is digital computer? Also explain block diagram of digital computer in detail.
- What is operator?
- Write a program that calculate sum of the digits of an integer. For example, the sum of the digit of the number 2155 is 2+1+5+5 or 13.The program should accept any arbitrary number typed by user.
- What is meant by modular programming approach?
- What is structured programming approach?
- What is type conversion?
- Write a function to interchange the two values of two variables without using third variable.
- Define function declaration.
- Enlist different file opening modes in C.
- What is meant by link list?
- Write the use of 'switch' statement?
- Explain various data types?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION – B
- Attempt any five of the following questions: 5 x 10 = 50
- Write a program to copy the contents of one array into another in the reverse order.
- What is Operating System? Also define types and functions of OS.
- Write a program to multiply two matrices (read size and number of element of matrices from the keyboard).
- Write a program to sort an integer array in ascending order.
- What is string? Also explain different string functions. Write a user define function to compare two strings where they are identical or not.
- Define the concept of pointer? Also define the dynamic memory allocation and its various functions.
--- Content provided by FirstRanker.com ---
SECTION - C
- Attempt any two of the following questions: 2 x 15 = 30
- Define structure with syntax .Also write a program that compares two given dates. To store date use structure say date that contains three members namely date, month and year. If the dates are equal then display message as "Equal" otherwise "Unequal".
--- Content provided by FirstRanker.com ---
- Write short note on following (Any two)
- Stack with push and pop operation
- Linked list
- Command line argument.
--- Content provided by FirstRanker.com ---
- What are the different file opening modes in C. Suppose a file contains student's records with each record containing name and age of a student. Write a C program to read these records and display them in sorted order by name
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