Home > Download > SMU - Question Paper
> BCA > BC0034
Computer Concepts And C Programming
This is the collection of
Sikkim Manipal University (SMU) question and answers for Computer Concepts And C Programming. 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 2024, 2023, 2022 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 Concepts And C Programming, SMU - Bachelor of Computer Application.
Course Name
BCA (Bachelor of Computer Application)
Subject Code BC0034 (Computer Concepts And C Programming)
Get Questions
PART - A
PART - B
PART - C
Subject : Computer Concepts And C Programming
BC0034 : PART - C
Q. 1 | What would be the output from the following program when the input is -1? void change(void) { int x; x = 1; } void main() { int x, z; x = 0 cout>> “Enter a number” ; cin<change(); cout<< x << end |
| A) | 0 |
| B) | 1 | | C) | -1 | | D) | 2 | | | | Q. 2 | Consider this class definition: class quiz { public; quiz; int f(); int g() const; private; double score; Which functions can carry out an assignment score=1.0; to the private member variable score? |
| A) | Both f and g can carry out the assignment |
| B) | f can carry out the assignment, but not g | | C) | g can carry out the assignment, but not f | | D) | Neither f nor g can carry out the assignment | | | | Q. 3 | Select correct Syntaxes 1. for (initialization; test condition; modifier expression;) 2. for (initialization1, initialization2; test conditon1, test condition2; modifier1, modifier2) { body of the loop}; 3. while (test conditio |
| A) | 1 |
| B) | 1 and 2 | | C) | 2, 3 | | D) | All the above | | | | Q. 4 | Write the output of the following code, as it would appear on the monitor screen. Const int b = 0; int DashRiprock(int h, int &i int &j); int main() { int a=10, b=20, c= 30, d=40; a = DashRiprock(c, d, b); cout << a<< “<< b |
| A) | 5, 10, 20, 30 |
| B) | 0, 5, 15, 30 | | C) | 0, 5, 30, 15 | | D) | 30, 15, 5, 0 | | | | Q. 5 | The lines to be corrected in the syntax errors in the following C++ program are 1. include iostream.h 2. Main(); 3. { 4. Float x, y, z 5. cout < “Enter two numbers”; 6. cin >> a >> b 7. cout << The numbers in reverse order |
| A) | 1, 2, 7 and 8 |
| B) | 2, 5 and 6 | | C) | 2, 7 and 8 | | D) | 4, 5,6 and 7 | | | |
Click here to get
Computer Concepts And C Programming (BC0034)
New Question
Home > Download > SMU - Question Paper
> BCA > BC0034