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 2018 Jan 2nd Semester C Programming Question Paper

Download JNTUH (Jawaharlal Nehru Technological University Hyderabad) MBA (Master of Business Administration) R16 2018 Jan 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

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

Question Paper Code: CMB312

MBA II Semester End Examinations (Supplementary) - January, 2018

Regulation: R16

C Programming

(Master of Business Administration)

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

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

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

  1. (a) Explain the following with one example each. [7M]
    1. i. Arithmetic operator
    2. ii. Relational operator
    3. iii. Logical operator
    (b) Design an algorithm to input temperature in degree Fahrenheit (F) and convert it to degree Centigrade(C) using the following formula: [7M]

    C = (F-32) X

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

  3. (a) Design a flow chart to check whether the given number is even or odd. [7M] (b) Exemplify the iterative statements supported by C Language. [7M]

UNIT - II

  1. (a) Differentiate call by value and call by reference usage to swap two numbers [7M] (b) What is an array? How 1-d and 2-d arrays are declared and initialized. Give example for each. [7M]
  2. (a) List and discuss the categories of functions considering the parameter passing and return values. [7M] (b) Develop a C program to find the sum of principal diagonal elements of a square matrix. [7M]

UNIT - III

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

  1. (a) Explain the following string handling functions with proper examples: [7M]
    1. i. strcat()
    2. ii. strstr()
    3. iii. strcmp()
    (b) Evaluate the following [7M]

    main()

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

    {
    int *ptr;
    int arr[]=1,2,3,4;
    ptr=arr;
    printf("%d%d",arr[2],ptr[2]);

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

    }

    main()
    {
    int a=10;
    int *ptr=&a;

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

    void *vptr=ptr;
    *ptr++;
    *vptr++;
    printf(β€œthe values are %d%d",*ptr,
    vptr);

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

    }
  2. (a) Discuss the following with suitable examples [7M]
    1. i. Array of pointers
    2. ii. Pointer to function
    (b) List the functions used for various memory allocations supported by C and give one example for each. [7M]

UNIT - IV

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

  1. (a) Discuss how structures and unions are declared, initialized and its members accessed. [7M] (b) Write short note on the following [7M]
    1. i. typedef
    2. ii. enumerations
    3. iii. bit fields
  2. (a) Develop a C program which does the following: [7M]

    Define a structure 'student' with details like student name, marks for 3 subjects and total marks. Read marks for 3 subjects of 'n' students. Calculate the total mark of each student and store them. Display the details of the student who scored the highest marks.

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

    (b) Give a typical example for nested structures, arrays of structures, and arrays within structures. [7M]

UNIT - V

  1. (a) Discuss the following file handling functions with suitable examples. [7M]
    1. i. fread()
    2. ii. fwrite()
    3. iii. fseek()
    4. --- Content provided by FirstRanker.com ---

    5. iv. ftell()
    (b) Develop a C program to create two files STD-DETAILS (Student Name, Student ID, and Semester) and STD-MARKS (Sub1, Sub2, and Sub3). Concatenate the two files and display the contents from the concatenated file [7M]
  2. (a) Discuss the primary advantages of using a data file. Describe various file operations and demon- strate the various file accessing modes. [7M] (b) A file named DATA contains a series of integer numbers. Code a 'C' program to read these numbers and then write all 'odd' numbers to a file to be called ODD and all 'even' numbers to a file to be called EVEN. [7M]

--- 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)