Download JNTUH MBA 2018 Dec 2nd Semester C Programming Question Paper

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

HallTicketNo QuestionPaperCode:CMB312
.
.
MBAIISemesterEndExaminations(Supplementary)-January,2019
Regulation: .?R16
CProgramming
(MasterofBusinessAdministration)
Time: 3Hours MaxMarks: 70
AnswerONEQuestionfromeachUnit
AllQuestionsCarryEqualMarks
Allpartsofthequestionmustbeansweredinoneplaceonly
UNIT?I
1. (a) Whatisassociativityofoperators? Explainbrie?yleftshiftandrightshiftoperatorsinCwith
asuitableexample. [7M]
(b) Assumethatthecommissiononasalesman?stotalsalesiscomputedasfollows: [7M]
i. Ifsales<100,thenthereisnocommission.
ii. If100>=sales<=500,thencommission=10%ofsales.
iii. Ifsales>500,thencommission=100+8%ofsalesabove500
WriteaCprogramforthesame.
2. (a) Discusstheconceptofvariablesandconstantswithasuitableexample. [7M]
(b) ApositiveintegeriscalledanArmstrongnumberofordernif abcd a =
n
+ b
n
+ c
n
+ d
n
.
WriteaprogramtoprintArmstrongnumbersbetweentwointegers. [7M]
UNIT?II
3. (a) Explaindownward?owandupward?owmethodsfortransferringdatabetweencallingandcalled
functionwithsuitableexamples. [7M]
(b) WriteaCprogramtoswaptwonumbersusingpointers. [7M]
4. (a) Whatisscopeofavariable?Explainblockscopewithasuitableexample. [7M]
(b) WriteaCProgramto?ndsumofnnaturalnumbers. [7M]
UNIT?III
5. (a) Explainaboutstringinputandoutputfunctions. [7M]
(b) Explainbrie?ythefollowingstringhandlingfunctions:strcpy(),strcmp(),strcat(). [7M]
6. (a) Withasuitableexample,demonstratehowtodereferenceapointertovoid. [7M]
(b) Explaintheuseofcommandlinearguments.Illustratehowadditionoftwointegerscanbedone
usingcommandlinearguments. [7M]
Page1of2
FirstRanker.com - FirstRanker's Choice
HallTicketNo QuestionPaperCode:CMB312
.
.
MBAIISemesterEndExaminations(Supplementary)-January,2019
Regulation: .?R16
CProgramming
(MasterofBusinessAdministration)
Time: 3Hours MaxMarks: 70
AnswerONEQuestionfromeachUnit
AllQuestionsCarryEqualMarks
Allpartsofthequestionmustbeansweredinoneplaceonly
UNIT?I
1. (a) Whatisassociativityofoperators? Explainbrie?yleftshiftandrightshiftoperatorsinCwith
asuitableexample. [7M]
(b) Assumethatthecommissiononasalesman?stotalsalesiscomputedasfollows: [7M]
i. Ifsales<100,thenthereisnocommission.
ii. If100>=sales<=500,thencommission=10%ofsales.
iii. Ifsales>500,thencommission=100+8%ofsalesabove500
WriteaCprogramforthesame.
2. (a) Discusstheconceptofvariablesandconstantswithasuitableexample. [7M]
(b) ApositiveintegeriscalledanArmstrongnumberofordernif abcd a =
n
+ b
n
+ c
n
+ d
n
.
WriteaprogramtoprintArmstrongnumbersbetweentwointegers. [7M]
UNIT?II
3. (a) Explaindownward?owandupward?owmethodsfortransferringdatabetweencallingandcalled
functionwithsuitableexamples. [7M]
(b) WriteaCprogramtoswaptwonumbersusingpointers. [7M]
4. (a) Whatisscopeofavariable?Explainblockscopewithasuitableexample. [7M]
(b) WriteaCProgramto?ndsumofnnaturalnumbers. [7M]
UNIT?III
5. (a) Explainaboutstringinputandoutputfunctions. [7M]
(b) Explainbrie?ythefollowingstringhandlingfunctions:strcpy(),strcmp(),strcat(). [7M]
6. (a) Withasuitableexample,demonstratehowtodereferenceapointertovoid. [7M]
(b) Explaintheuseofcommandlinearguments.Illustratehowadditionoftwointegerscanbedone
usingcommandlinearguments. [7M]
Page1of2
UNIT?IV
7. (a) De?nestructure.Giveanexample.Identifyfewoperationsthatcanbeperformedonstructures.
[7M]
(b) WriteaCprogramtoreadanddisplaythedetailsofemployeelikeid,name,ageandsalary.
[7M]
8. (a) Explainthedi?erencebetweenstructuresandunions. [7M]
(b) WhatistheuseofenumerationtypeinC?Explainwithanexample. [7M]
UNIT?V
9. (a) WriteaCprogramtocountthenumberofcharactersinatext?le. [7M]
(b) Explainbrie?yfprint()andfscanf()withasuitableexample. [7M]
10. (a) Discussvarious?leopeningmodessupportedinC. [7M]
(b) WriteaCprogramtoreadnameandmarksofnnumberofstudentsfromuserandstorethem
ina?le. [7M]
? ? ? ? ? ? ?
Page2of2
FirstRanker.com - FirstRanker's Choice

This post was last modified on 04 December 2019