logo

Crowdly

BCSE102L Structured and Object-Oriented Programming (Theory) Winter 2024-25 (B2) [VL2024250501473]

Looking for BCSE102L Structured and Object-Oriented Programming (Theory) Winter 2024-25 (B2) [VL2024250501473] test answers and solutions? Browse our comprehensive collection of verified answers for BCSE102L Structured and Object-Oriented Programming (Theory) Winter 2024-25 (B2) [VL2024250501473] at moovit.vit.ac.in.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Identify the correct range of signed char.

1.-256 to 255

2. 0 to 255

3. 0 to 128

4.-128 to 127

0%
0%
0%
100%
View this question

What is the ASCII value of ‘\0’ character?

1.75

2.97

3.120

4.0

0%
0%
0%
100%
View this question

Which of the following shows multiple inheritances?

a) A->B->C

b) A->B; A->C

c) A,B->C

d) B->A

0%
100%
0%
0%
View this question

Which members are inherited but are not accessible in any case?

a) Private

b) Public

c) Protected

d) Both private and protected

0%
0%
0%
100%
View this question

Which of the following is called address operator?

a) *

b) &

c) _

d) %

0%
100%
0%
0%
View this question

Which of the following is the correct identifier?

  1. $var_name
  2. VAR_123
  3. varname@
  4. None of the above

100%
0%
0%
0%
View this question

#include <iostream>  

using namespace std;  

class A{  

public:  

    A(){  

        cout<<"Constructor called\n";  

       }  

    ~A(){  

        cout<<"Destructor called\n";  

        }   

};  

int main(int argc, char const *argv[])  

{  

    A *a = new A[5];  

    delete[] a;  

    return 0;  

}  

  1. Segmentation failure.
  2. Error.
  3. The Constructor will be invoked five times, and after that destructor will be invoked only once.
  4. The Constructor will be invoked five times, and after that destructor will also be invoked five times.

0%
0%
100%
0%
View this question

 What are the actual parameters in C++?

a) Parameters with which functions are called

b) Parameters which are used in the definition of a function

c) Variables other than passed parameters in a function

d) Variables that are never used in the function

0%
100%
0%
0%
View this question

Which of the following feature of OOPs is not used in the following C++ code?

class A

{

int i;

public:

void print(){cout<<"hello"<<i;}

}

 

class B: public A

{

int j;

public:

void assign(int a){j = a;}

}

a) Abstraction

b) Encapsulation

c) Inheritance

d) Polymorphism

0%
0%
0%
100%
View this question

Image failed to load

0%
0%
0%
0%
View this question

Want instant access to all verified answers on moovit.vit.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!