Exam Details

Subject c programming
Paper
Exam / Course m.b.a.
Department
Organization Institute Of Aeronautical Engineering
Position
Exam Date January, 2019
City, State telangana, hyderabad


Question Paper

Hall Ticket No Question Paper Code: CMB312
INSTITUTE OF AERONAUTICAL ENGINEERING
(Autonomous)
MBA II Semester End Examinations (Supplementary) January, 2019
Regulation: IARE-R16
C Programming
(Master of Business Administration)
Time: 3 Hours Max Marks: 70
Answer ONE Question from each Unit
All Questions Carry Equal Marks
All parts of the question must be answered in one place only
UNIT I
1. What is associativity of operators? Explain briefly left shift and right shift operators in C with
a suitable example.
Assume that the commission on a salesman's total sales is computed as follows:
i. If sales 100, then there is no commission.
ii. If 100 sales 500, then commission 10% of sales.
iii. If sales 500, then commission 100 of sales above 500
Write a C program for the same.
2. Discuss the concept of variables and constants with a suitable example.
A positive integer is called an Armstrong number of order n if abcd an bn cn dn.
Write a program to print Armstrong numbers between two integers.
UNIT II
3. Explain downward flow and upward flow methods for transferring data between calling and called
function with suitable examples.
Write a C program to swap two numbers using pointers.
4. What is scope of a variable? Explain block scope with a suitable example.
Write a C Program to find sum of n natural numbers.
UNIT III
5. Explain about string input and output functions.
Explain briefly the following string handling functions: strcpy(), strcmp(), strcat().
6. With a suitable example, demonstrate how to dereference a pointer to void.
Explain the use of command line arguments. Illustrate how addition of two integers can be done
using command line arguments.
Page 1 of 2
UNIT IV
7. Define structure. Give an example. Identify few operations that can be performed on structures.

Write a C program to read and display the details of employee like id, name, age and salary.

8. Explain the difference between structures and unions.
What is the use of enumeration type in Explain with an example.
UNIT V
9. Write a C program to count the number of characters in a text file.
Explain briefly fprint() and fscanf() with a suitable example.
10. Discuss various file opening modes supported in C.
Write a C program to read name and marks of n number of students from user and store them
in a file.


Subjects

  • accounting for management
  • business law and environment
  • business law and ethics
  • business research methods
  • c programming
  • compensation and reward management
  • consumer behavior
  • e- marketing
  • entrepreneurial development
  • financial accounting and analysis
  • financial derivatives
  • financial management
  • financial modeling
  • financial services and systems
  • human resource management
  • integrated marketing communication
  • intellectual property rights
  • leadership and change management
  • management and organizational behavior
  • management of technology
  • managerial economics
  • marketing management
  • mis and enterprise resource planning
  • operations management
  • performance management
  • product and brand management
  • quantitative analysis for business decisions
  • retailing management
  • rural marketing
  • security analysis and portfolio management
  • statistics for management
  • strategic human resource management
  • strategic investment and financing decisions
  • strategic management
  • strategic management accounting
  • talent and knowledge management
  • training and development
  • wto and intellectual property rights