Why we don’t use 2-20mA, 1-20mA, 3-20mA or 10-50mA signal instead of 4-20mA ? Answer : Generally, in a transistor some amount of voltage is required for turning it on… View Answer
How to calculate the flow rate in Vortex flow meter ? What is K factor ? Can you give me an example calculation to understand the same as better ? Answer : Vortex flow meters are flow sensors that detect the frequency of vortices… View Answer
Print pyramid triangle in C++ Answer : To print pyramid triangle in C++, we have use two for loop… View Answer
C++ Inheritance Answer : Inheritance is one of the key features of Object-oriented programming… View Answer
Finding all substrings of a given number that are divisible by 11 Answer : Query(l, r) : find if the sub-string between the indices l and r…. View Answer
What is the best way to sort an array of 0s and 1s ? Answer : Sort an array elements means arrange… View Answer
Find Largest number from set of given numbers ? Answer : Find number of digits in the largest number. Let us assume number of digits be n… View Answer
Find the wrong statement about Abstract Class ? Answer : B. We can’t create pointers to an abstract class View Answer
C++ supports run time polymorphism with the help of virtual functions, which is called ______ binding Answer : A. Dynamic View Answer
A virtual function that has no definition within the base class is called ? Answer : A. Pure virtual function View Answer
Which of the following statements about virtual base classes is correct ? Answer : B. It is used to avoid multiple copies of base class in derived class. View Answer
Which of the following concepts means wrapping up of data and functions together ? Answer : B. Encapsulation View Answer
Which of the following can access private data members or member functions of a class ? Answer : C. Any member function of that class. View Answer
Which of the following access specifiers is used in a class definition by default ? Answer : C. Private View Answer
What is pure virtual function in C++ ? Answer : A virtual function will become pure virtual function… View Answer
State whether the following statements about inheritance are True or False. Answer : C. True, True View Answer