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

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

Hall Ticket No

FirstRanker.com

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

Question Paper Code: CMB312

MBA II Semester End Examinations (Regular/Supplementary) - May/June, 2018

Regulation: R16

C Programming (MBA)

Time: 3 Hours

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

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) Identify the different symbols used in flowchart. Draw a flowchart to find the average of three input integer numbers. [7M]
    (b) If a four digit number is input through the keyboard, write a C program to obtain the sum of the first and last digit of this number. [7M]
  2. (a) What is the difference between a break and continue statement? Explain with an example. [7M]
    (b) Design an algorithm that accepts a positive integer and reverses the order of its digit. [7M]

UNIT - II

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

  1. (a) Explain recursion function used in C language with an example. [7M]
    (b) Write a C program to find transpose of a matrix and display the output in matrix format. [7M]
  2. (a) Explain the different storage classes used in C programming language with examples. [7M]
    (b) What will be the output of the following code snippet? Justify your answer. [7M]
     main() { static int c=5; printf(β€œc=%d\n", c --); if (c) main(); } 

UNIT III

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

  1. (a) Explain the difference between malloc and calloc functions. [7M]
    (b) Write a C program to count vowels, consonants in a string which is entered by the user. [7M]
  2. (a) List out any four string handling functions with example. [7M]
    (b) Write a C program to swap two number using call by reference. [7M]

FirstRanker.com

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

UNIT IV

  1. (a) Mention the differences between structures and unions. [7M]
    (b) Write a program to add 2 complex number using structures. [7M]
  2. (a) What will be the output of the following code snippet? Justify your answer. [7M]
    1.  #include <stdio.h> enum week { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday}; int main() { enum week today; today = Wednesday; printf("Day %d", today+1); return 0; } 
    2.  #include<stdio.h> int main() { struct value { int bit1:1; int bit3:4; int bit4:4; } bit={1, 2, 13}; printf("%d, %d, %d\n", bit.bit1, bit.bit3, bit.bit4); return 0; } 
    3. --- Content provided by FirstRanker.com ---

    (b) Write a C program to add two distances entered by user. Measurement of distance should be in inch and feet. (Note: 12 inches = 1 foot) [7M]

UNIT - V

  1. (a) Explain the following file I/O functions with example [7M]
    1. fopen()
    2. fread()
    3. fwrite()
    4. --- Content provided by FirstRanker.com ---

    5. fclose()
    (b) Write a C program to read name and marks of n number of students from user and store them in a file. [7M]
  2. (a) Write a C program to copy contents from one file to another. [7M]
    (b) What will be the output of the following code snippet? Justify your answer. [7M]
     main() { char ch = 'z'; static char str[ ]= β€œZebra”, putc (ch, strprn); fprintf(stdprn, "%s",str); fwrite (str,5,1, stdprn); fputs(str,stdprn); } 

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