1.
What does C++ stand for ?
Correct Answer
B. C with classes
Explanation
C++ stands for "C with classes". This is because C++ is an extension of the C programming language that introduced the concept of classes and object-oriented programming. The addition of classes allowed for the implementation of encapsulation, inheritance, and polymorphism, making C++ a powerful and versatile programming language.
2.
Printf("%a"); will give what?
Correct Answer
A. Beep
Explanation
The printf("%a") function is used to print a floating-point number in hexadecimal notation. However, in this case, there is no floating-point number provided as an argument. Therefore, the function will not be able to perform the conversion and will produce an error sound or "beep" instead of printing any output.
3.
JDK means
Correct Answer
C. Java Development Kit
Explanation
JDK stands for Java Development Kit, which is a set of tools and libraries used for developing Java applications. It includes the necessary components such as the Java compiler, debugger, and runtime environment. The JDK provides developers with the tools they need to write, compile, and run Java programs. Therefore, the correct answer is Java Development Kit.
4.
Printf("%s is a good programmer" ,"John","Parker"); gives what output?
Correct Answer
C. John is a good programmer
Explanation
The correct answer is "John is a good programmer." This is because the printf function is used to print formatted output, and in this case, the format string "%s is a good programmer" is provided. The "%s" is a placeholder for a string argument, and the first argument provided is "John." Therefore, the output will be "John is a good programmer." The second argument "Parker" is not used in the format string and will be ignored.
5.
We can't write a variable starting from....
Correct Answer
C. Number
Explanation
In most programming languages, it is not allowed to start a variable name with a number. Variable names must start with either an uppercase letter, lowercase letter, or an underscore. Starting a variable name with a number would result in a syntax error.
6.
ADK stands for what?
Correct Answer
A. Android Development Kit
Explanation
The correct answer is Android Development Kit. The ADK acronym stands for Android Development Kit, which is a set of tools and resources provided by Google to developers for creating applications for the Android platform. It includes libraries, debugging tools, emulator, and documentation that help developers in building and testing Android apps. The term "Android Developer Kit" or "Application Developer Kit" are not the commonly used acronyms for ADK.
7.
Android 6.0 version is called what?
Correct Answer
D. Marshmallow
Explanation
The correct answer is Marshmallow because Android 6.0 version was officially named Marshmallow.
8.
Which symbol is used to create multiple inheritance in C++?
Correct Answer
B. Comma
Explanation
In C++, the comma symbol is used to create multiple inheritance. Multiple inheritance allows a class to inherit from more than one base class. By using the comma symbol, multiple base classes can be listed in the inheritance list of a derived class, indicating that the derived class inherits from all of those base classes.
9.
What are the things are inherited from the base class?
Correct Answer
D. All of the mentioned
Explanation
In object-oriented programming, when a class is derived from a base class, it inherits all the members of the base class, including its constructor and destructor, operator=() members, and friends. Therefore, all of the mentioned options are correct.
10.
Android is
Correct Answer
A. An OS
Explanation
The given correct answer is "an OS" which stands for "operating system." An operating system is a software that manages computer hardware and software resources and provides common services for computer programs. In the context of the question, Android is specifically referred to as an operating system for mobile devices such as smartphones and tablets. It is developed by Google and is known for its user-friendly interface and wide range of applications.