FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

šŸ“±

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download JNTUH MBA 2017 July 2nd Semester C Programming Question Paper

Download JNTUH (Jawaharlal Nehru Technological University Hyderabad) MBA (Master of Business Administration) R16 2017 July Second Semester (2nd Sem) C Programming Question Paper.

This post was last modified on 04 December 2019

This download link is referred from the post: JNTUH MBA 2nd Sem Last 10 Year Question Papers (2010-2020) All Regulation - (JNTU Hyderabad)


Firstranker's choice - FirstRanker.com

Hall Ticket No

Question Paper Code: CMB312

--- Content provided by FirstRanker.com ---

MBA II Semester End Examinations (Regular) - July, 2017

Regulation: R16

C Programming

(Master of Business Administration)

Time: 3 Hours

Max Marks: 70

--- Content provided by FirstRanker.com ---

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. (a) Discuss the concept of implicit type conversion with a suitable example. [7M]
    (b) Write a C program that calculates and prints the average of entered integers. Assume the user will enter control-d to end the input. [7M]

    --- Content provided by FirstRanker.com ---

    Sample Run:
    Enter an integer (control-d to end): 23
    Enter an integer (control-d to end): 123
    Enter an integer (control-d to end): 45
    Enter an integer (control-d to end): 987

    --- Content provided by FirstRanker.com ---

    Enter an integer (control-d to end): 87
    Enter an integer (control-d to end): 098
    Enter an integer (control-d to end):
    The average is : 227.17
  2. (a) A palindrome is a number or a text phrase that reads the same backwards as forwards. Write a C program that reads in a five-digit integer and determines whether or not it is a palindrome. [7M]

    --- Content provided by FirstRanker.com ---

    Hint: Use the division and modulus operators to separate the number into its individual digits.
    Sample Run 1:
    Enter a five-digit number: 12345
    12345 is not a palindrome
    Sample Run 2:

    --- Content provided by FirstRanker.com ---

    Enter a five-digit number: 12321
    12321 is a palindrome
    (b) Discuss the concept of identifiers and data-types in C. [7M]

UNIT II

  1. (a) With a suitable example, discuss the following categories of user defined functions in C [10M]
    1. functions with arguments and return values
    2. function with no argument and return type
    3. --- Content provided by FirstRanker.com ---

    (b) Explain briefly how do you pass a 2D array as a parameter in C? [4M]
  2. (a) The factorial of a integer N, denoted by N! is the product of all positive integers less than or equal to N. Factorial does not exist for negative numbers and factorial of 0 is 1. Write a recursive routine to compute factorial of a number. Write a test driver for the same. [8M]
    (b) What is an array? How is an array declared and initialized? [6M]

UNIT - III

  1. (a) Bring out the significance of pointers to void with a suitable example. [8M]
    (b) In C, a string can be referred either using a character pointer or as a character array. Explain it with examples. [6M]
  2. --- Content provided by FirstRanker.com ---

  3. (a) Explain briefly pointer arithmetic in C with suitable examples. [6M]
    (b) What are the unformatted string input and output functions available in C? Is the input function safe? If yes, why and If no, Justify? [8M]

UNIT - IV

  1. (a) With a suitable example explain the concept of typedef. [6M]
    (b) A complex number is a number that can be expressed in the form a + bi, where a and b are real numbers and i is the imaginary unit, satisfying the equation i² = āˆ’1. Write a C Program to add two complex numbers by passing structure to a function. [8M]
  2. (a) Write a C program using nested structures to read 3 employees details with the following fields; emp-id, name, designation, address, basic, da, hra and calculate gross salary of each employee. [9M]

    --- Content provided by FirstRanker.com ---

    (Hint : gross salary = basic + da + hra).
    (b) Bring out the advantage of using Bit Fields in C with a suitable example. [5M]

UNIT - V

  1. (a) Why is fseek() preferred over rewind() in C? [6M]
    (b) Write a C Program to Copy Contents of one file to another file. [8M]
  2. (a) Discuss how reading and writing w.r.t binary file done in C. [8M]

    --- Content provided by FirstRanker.com ---

    (b) Explain briefly fgets() and fputs() with an example. [6M]

FirstRanker.com



--- Content provided by FirstRanker.com ---

This download link is referred from the post: JNTUH MBA 2nd Sem Last 10 Year Question Papers (2010-2020) All Regulation - (JNTU Hyderabad)