The question asks to identify the location of the world's longest railway platform as of 2014. This requires knowledge of general facts related to Indian railways and world records.
Correct Option: A) Kharagpur
The question asks for the specific term used to describe software that drives microprocessor-based systems, especially those embedded in hardware. We need to identify the term that refers to software permanently stored in hardware devices.
B) Firmware is software that is permanently programmed into a read-only memory (ROM) chip or flash memory within a hardware device. It provides low-level control for the device's specific hardware and is essential for the device to function. Examples include the BIOS in a computer, the operating system of a smart TV, or the control software in a washing machine. This perfectly matches the description of software used to drive microprocessor-based systems.
The question asks for the definition of "debugging" in the context of computer programming. We need to identify the option that accurately describes this process.
Correct Option: B) Finding and correcting errors in the program code
Which of the following statements is correct in C++?
Classes cannot have data as protected members.
Structures can have functions as members.
Class members are public by default.
Structure members are private by default.
This question tests fundamental knowledge of C++ object-oriented programming concepts, specifically the differences and similarities between classes and structures, and their member access specifiers.
protected access specifiers. protected members are accessible within the class itself and by derived classes. This makes statement A incorrect.struct) are essentially classes where members are public by default. Like classes, structures can contain both data members and member functions (methods). This statement is correct.private by default. If no access specifier is explicitly mentioned for a member in a class, it is considered private. This makes statement C incorrect.public by default. If no access specifier is explicitly mentioned for a member in a structure, it is considered public. This makes statement D incorrect.Correct Option: B) Structures can have functions as members.
protected data members, which are accessible within the class and by its derived classes.private by default in C++.public by default in C++.The question asks for the most likely cause of an erratic mouse pointer movement. We need to consider common issues that affect mouse functionality, especially for older or mechanical mice.
A) Ball is dirty — In a mechanical mouse, a dirty ball or dirty rollers prevent the smooth transmission of movement data to the computer. Dust and debris cause friction and obstruct the rollers, leading to the mouse pointer moving erratically, jumping, or sticking. This is a very common issue with older mechanical mice.
The question asks to identify the first Indian to be elected to the British Parliament. This requires knowledge of prominent Indian political figures during the British Raj and their contributions to both Indian nationalism and their engagement with British political institutions.
Correct Option: A) Dadabhai Naoroji was the first Indian to be elected to the British Parliament. He was elected to the House of Commons in 1892 from Finsbury Central as a Liberal Party candidate.
The question asks to identify the most widely used alphanumeric code for computer input and output. This requires knowledge of common character encoding standards used in computing.
Based on this evaluation, ASCII stands out as the most widely used alphanumeric code for general computer input and output.
Correct Option: B) ASCII (American Standard Code for Information Interchange) is the most widely used alphanumeric code for computer input and output. It is a 7-bit character encoding standard that represents text in computers, telecommunications equipment, and other devices.
This question tests basic understanding of variable assignment in programming or logical statements. The statements are executed sequentially, and each assignment updates the value of the respective variable.
x=y. This means the value of x is assigned the current value of y. However, the initial value of y is not given. In such scenarios, especially in competitive exams, if a variable is used before being explicitly initialized, it's often implied that it either takes a default value (like 0 for numerical types) or the question expects a logical deduction based on subsequent statements. Let's assume for now that y has some initial value, or we look for a consistent state.z=0. This explicitly assigns the value 0 to the variable z.x=y. If the final state of z is 0, and we are looking for a consistent set of values, we need to consider how x and y relate. The statement x=y implies that x and y will hold the same value after this operation.x and y are equal, and z is 0. If x=y and z=0, and we assume that the variables are initialized or can take a default value of 0 if not explicitly set, then x=0, y=0, and z=0 is the most logical outcome that satisfies both statements. In many programming contexts, uninitialized numerical variables might default to 0, or this implies a state where all relevant variables are zeroed out.B) x=0; y=0; z=0. This option satisfies both statements. If y is 0, then x=y makes x also 0. The statement z=0 explicitly sets z to 0. Thus, x=0, y=0, z=0 is a consistent and valid result.
x=0; y=Null; z=Null. This is incorrect because z is explicitly assigned 0, not Null. Also, y=Null is not implied by x=y, especially if x is 0.x=0; y=1; z=2. This is incorrect because x=y would mean x should be 1 if y is 1, not 0. Also, z is explicitly assigned 0, not 2.None of these. Since option B is correct, this option is incorrect.The question asks to identify the type of inheritance where a class is derived from another derived class. This describes a chain of inheritance, which is a specific type of inheritance hierarchy in object-oriented programming.
D) Multilevel inheritance — In multilevel inheritance, a class inherits from a base class, and then another class inherits from this derived class, forming a chain. For example, if Class B inherits from Class A, and Class C inherits from Class B, then it is a multilevel inheritance.
The question asks to identify the Indian king famous for his naval expeditions across the Bay of Bengal to Southeast Asian countries like Sumatra, Java, and Malaysia. This requires knowledge of medieval Indian history, specifically the Chola dynasty's maritime power.
C) Rajendra Chola — Rajendra Chola I (1014-1044 CE) was a powerful Chola emperor who led a successful naval expedition across the Bay of Bengal. His fleet conquered several states in Srivijaya (Sumatra, Java, and the Malay Peninsula), making him the most famous Indian king for such maritime conquests.