P2Pprogrammer 2 programmer

Home > Download > SMU - Question Paper > MCA > MC0061

Computer Programming ―C Language


This is the collection of Sikkim Manipal University (SMU) question and answers for Computer Programming ―C Language. It will help to prepare your examination. All question paper are classified as per semester, subject code and question type of Part A, Part B and Part C with multiple choice options as same as actual examination. SMU question papers includes year 2025, 2024, 2023 Sem I, II, III, IV, V, VI examinations of all subjects.

SMU question test set of old, last and previous year are updated regularly and it is absolutely free to use. Question paper includes Visual basic 6, VB.Net, C#, ASP.Net, Web, Oracle, Database, SQL, Software Engineering, C, C++, OOPS, MBA, MCA, BSC IT I have requested you kindly send me the question paper of Computer Programming ―C Language, SMU - Master of Computer Application.

Course Name        MCA (Master of Computer Application)

Subject Code       MC0061 (Computer Programming ―C Language)

Get Questions        PART - A    PART - B    PART - C

Subject : Computer Programming ―C Language

     MC0061 : PART - B    


Q. 1If x has the value 5.0 and negsum has the value of 1 what will be the value of the variable countneq after the following piece of C++ is executed?
countneg = 0
if (x<0.0).
negsum = negsum + x;
countneg = countneg + 1
 A)0
 B)1
 C)5
 D)25
   
Q. 2What result is in the variable, num after execution of the following statements?
Int num = 58;
Num % = 11;
 A)3
 B)5
 C)8
 D)11
   
Q. 3What are the first and last values of I output by this loop?
n= 10;
i= 0
while ( ++i cout<< 1<< endl;
}
 A)1 and 9
 B)0 and 9
 C)0 and 0
 D)1 and 10
   
Q. 4What are the first and last of I output by this loop?
N = 10;
I = 0;
do{
cout << I << endl;
} while ( ++I
 A)1 and 9
 B)0 and 9
 C)0 and 10
 D)1 and 10
   
Q. 5The ___ files created by the block of memory
1. Binary files
2. ASCII files
3. Non- ACII files
 A)Only 1
 B)Only 1 and 3
 C)Only 2 and3
 D)Only 1, 2 and3
   
Click here to get Computer Programming ―C Language (MC0061) New Question


Home > Download > SMU - Question Paper > MCA > MC0061