Logo 
Search:

c sharp Interview FAQs

Submit Interview FAQ
No Records Found!!!
Go Ahead and Post your Interview FAQ
Home » Interview FAQs » c sharpRSS Feeds
C++ Programming
Comments: 0

Which of the following is true about object-oriented analysis (OOA) approach?

Options

a) Identifies the objects and their attributes
b) Identifies the services that each object is expected to provide
c) Establishes interconnections between the objects
d) All of the above

Answer : d) All of the above
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Which model of oo paradigm replaces the classic “water-fall” model of procedure-oriented devel.

Options

a) Fountain model
b) Spiral model
c) Throwaway prototyping model
d) None of the above

Answer : a) Fountain model
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Write expression using operator keywords for (a!=b) > (~(a & b)&=(a^b))

Options

a) (a not_eq b) gt (not( a bitand b) and_eq (a xor b))
b) (a not_eq b) > (compl( a bitand b) and_eq (a xor b))
c) (a not_eq b) gt (not( a bitand b) not_eq (a exor b))
d) (a not_eq b) > (compl( a bitand b) not_eq (a exor b))

Answer : ...
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Which of the following keyword is used to modify a const object?

Options

a) explicit
b) typeid
c) mutable
d) typename

Answer : c) mutable
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Which of the following option will solve the problem? - Select option

Consider the following code snippet:
1. class sample
2. {
3. public:
4. explicit sample(float);
5. int a;………………
5. }

6. sample x=10.5;

The code will not compile. Which of the following option will solve the problem?

Options

a) L...
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

What will be the output of the mentioned code 6?

Consider the following code snippet:

char *a,b;
if(typeid(a)==typeid(b))
cout<<"a";
else
cout<<"b";

What will be the output of the above code?

Options

a) b
b) a
c) Compilation error
d) No output

Answer : a) b
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Which of the following is true about object-oriented analysis (OOA) approach?

Options

a) Identifies the objects and their attributes
b) Identifies the services that each object is expected to provide
c) Establishes interconnections between the objects
d) All of the above

Answer : d) All of the above
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Which model of oo paradigm replaces the classic “water-fall” model of procedure-oriented devel.

Options

a) Fountain model
b) Spiral model
c) Throwaway prototyping model
d) None of the above

Answer : a) Fountain model
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Write expression using operator keywords for (a!=b) > (~(a & b)&=(a^b))

Options

a) (a not_eq b) gt (not( a bitand b) and_eq (a xor b))
b) (a not_eq b) > (compl( a bitand b) and_eq (a xor b))
c) (a not_eq b) gt (not( a bitand b) not_eq (a exor b))
d) (a not_eq b) > (compl( a bitand b) not_eq (a exor b))

Answer : ...
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Which of the following keyword is used to modify a const object?

Options

a) explicit
b) typeid
c) mutable
d) typename

Answer : c) mutable
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

Which of the following option will solve the problem? - Select option

Consider the following code snippet:
1. class sample
2. {
3. public:
4. explicit sample(float);
5. int a;………………
5. }

6. sample x=10.5;

The code will not compile. Which of the following option will solve the problem?

Options

a) L...
Posted By:Shruti Sharma      Posted On: Dec 15

C++ Programming
Comments: 0

What will be the output of the mentioned code 6?

Consider the following code snippet:

char *a,b;
if(typeid(a)==typeid(b))
cout<<"a";
else
cout<<"b";

What will be the output of the above code?

Options

a) b
b) a
c) Compilation error
d) No output

Answer : a) b
Posted By:Shruti Sharma      Posted On: Dec 15

  15  16  17  18  19  20  21  22  23  24  25