Fonantrix Online Test - Mca

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By VipulTyagi
V
VipulTyagi
Community Contributor
Quizzes Created: 2 | Total Attempts: 266
| Attempts: 188 | Questions: 200
Please wait...
Question 1 / 200
0 %
0/100
Score 0/100
1.  Join these parts to make a meaningful sentence. The correct order of parts is the answer 1. I2. immediately3. salary4. my5. want

Explanation

I want my salary immediately.

Submit
Please wait...
About This Quiz
Fonantrix Online Test - Mca - Quiz

The Fonantrix Online Test - MCA assesses mathematical reasoning and problem-solving skills through a series of questions ranging from age-related calculations to average income estimations. It is designed... see moreto evaluate the analytical abilities and numerical proficiency relevant for various academic and competitive environments. see less

2. The SQL command to create a table is:

Explanation

The correct answer is "CREATE TABLE" because it is the standard SQL command used to create a new table in a database. The "CREATE TABLE" statement is followed by the table name and the list of columns and their data types. This command allows users to define the structure of the table and specify the properties of each column, such as data type, length, and constraints.

Submit
3. Look at this series: 7, 10, 8, 11, 9, 12, ... What number should come next?

Explanation

The series alternates between adding 3 and subtracting 2. Starting with 7, we add 3 to get 10. Then we subtract 2 to get 8. Continuing this pattern, we add 3 to get 11, subtract 2 to get 9, and so on. Therefore, the next number in the series should be obtained by adding 3 to the previous number, which is 9. Hence, the number that should come next is 12.

Submit
4. Which of the following is not a type of constructor?

Explanation

A friend constructor is not a type of constructor in object-oriented programming. In C++, a friend function is a non-member function that has access to the private and protected members of a class. However, a friend constructor does not exist because constructors are always member functions of a class. Constructors are special member functions that are used to initialize objects of a class. The other options listed (copy constructor, default constructor, and parameterized constructor) are all valid types of constructors.

Submit
5. Find the synonym for below:-Raju was exhausted after a long Journey

Explanation

The word "exhausted" in the sentence indicates that Raju was extremely tired after a long journey. Therefore, the synonym for "exhausted" is "tired".

Submit
6. Look at this series: 53, 53, 40, 40, 27, 27, ... What number should come next?

Explanation

The given series alternates between two numbers, 53 and 40, and then 40 and 27. Each number is repeated twice before moving on to the next number. Following this pattern, the next number should be 14, as it is the next number in the sequence after 27 and it will be repeated twice before moving on to the next number.

Submit
7. What will be the next seriesCBA, WVU, IHG, TSR, ?

Explanation

The given series follows a pattern where each element is formed by reversing the order of the letters in the previous element. Starting with "CBA", the next element is "WVU" which is the reverse of "UWV". Following the same pattern, the next element should be the reverse of "RST", which is "TSR". Continuing this pattern, the next element should be the reverse of "MNO", which is "ONM". Therefore, the correct answer is "ONM".

Submit
8. Which provides the mechanism to handle the runtime errors so that normal flow of the application can be maintained?

Explanation

Exception Handling provides the mechanism to handle runtime errors in a program. It allows the program to catch and handle exceptions, which are unexpected events or errors that occur during the execution of the program. By using exception handling, the program can gracefully handle these errors and continue its normal flow, rather than abruptly terminating. This helps in maintaining the stability and functionality of the application.

Submit
9. She wants to become ----- engineer

Explanation

The correct answer is "an" because the word "engineer" starts with a vowel sound, specifically the sound /ɪ/ as in "in". When a noun begins with a vowel sound, we use the article "an" before it. In this case, "an engineer" is the correct form.

Submit
10. The term "push" and "pop" is related to the

Explanation

The terms "push" and "pop" are commonly used in the context of stacks. In a stack, the "push" operation adds an element to the top of the stack, while the "pop" operation removes the topmost element from the stack. Stacks follow the Last-In-First-Out (LIFO) principle, where the last element added is the first one to be removed. Arrays and lists can also be used to implement stacks, but not all arrays and lists are necessarily stacks. Therefore, the correct answer is "stacks."

Submit
11. ............................ is the powerful language for working with RDBMS.

Explanation

Query Language is the correct answer because it is specifically designed for working with Relational Database Management Systems (RDBMS). Query languages like SQL (Structured Query Language) allow users to interact with databases by writing queries to retrieve, manipulate, and manage data. These languages provide a standardized and efficient way to communicate with databases, making it easier to retrieve and manipulate data stored in RDBMS. Therefore, Query Language is the most appropriate and powerful language for working with RDBMS.

Submit
12. DBMS provides?

Explanation

DBMS (Database Management System) provides persistence, access security, and data computation. Persistence refers to the ability of the DBMS to store and retrieve data even after the system or application is shut down. Access security ensures that only authorized users can access and manipulate the data in the database. Data computation involves performing calculations, aggregations, and transformations on the data stored in the database. Therefore, the correct answer is "All of the above" as DBMS provides all these functionalities.

Submit
13. Which SQL statement is used to update data in a database?

Explanation

The SQL statement used to update data in a database is "UPDATE". This statement allows you to modify existing records in a table by specifying the columns and values that need to be changed. It is commonly used in conjunction with the WHERE clause to specify the specific records that should be updated. The other options provided (MODIFY, SAVE AS, SAVE) are not valid SQL statements for updating data in a database.

Submit
14. A is the mother of B and C. If D is the husband of C. What is A to D

Explanation

Since A is the mother of B and C, and D is the husband of C, A becomes the mother-in-law of D.

Submit
15. To represent hierarchical relationship between elements, Which data structure is suitable?

Explanation

A tree data structure is suitable for representing hierarchical relationships between elements. In a tree, each element has a parent-child relationship, where each child node can have multiple child nodes of its own. This hierarchical structure allows for efficient organization and retrieval of data. Unlike a graph, which can have cycles and multiple connections between nodes, a tree enforces a strict hierarchical relationship, making it ideal for representing hierarchical data such as file systems, organization charts, or family trees.

Submit
16. When new data are to be inserted into a data structure, but there is no available space; this situation is usually called

Explanation

When new data is to be inserted into a data structure, but there is no available space, this is referred to as an overflow.

Submit
17. The following Syntax is used for?class Subclass-name extends Superclass-name{//methods and fields}

Explanation

The given syntax is used for implementing inheritance in object-oriented programming. Inheritance allows a subclass to inherit the properties and behaviors of a superclass, enabling code reuse and creating a hierarchical relationship between classes. The "extends" keyword is used to indicate that the subclass is inheriting from the superclass. Therefore, the correct answer is "Inheritance".

Submit
18. What will be the next valueFAG, GAF, HAI, IAH, ____

Explanation

The pattern in the given sequence is that the first and last letters in each group are in alphabetical order, while the middle letter is the same as the first letter in the next group. Following this pattern, the next group should start with the letter 'J' and end with the letter 'K', resulting in the answer JAK.

Submit
19. (Join these parts to make a meaningful sentence. The correct order of parts is the answer) 1. left 2. the 3. house4. he 5. suddenly  

Explanation

He suddenly left the house.

Submit
20. Join these parts to make a meaningful sentence. The correct order of parts is the answer 1. do2. today3. you4. must5. it

Explanation

In order to make a meaningful sentence, the correct order of the parts is "You must do it today."

Submit
21. Look at this series: 22, 21, 23, 22, 24, 23, ... What number should come next?

Explanation

The series alternates between subtracting 1 and adding 2. Starting with 22, we subtract 1 to get 21, then add 2 to get 23, and so on. Therefore, the next number in the series should be 25, as we would subtract 1 from 24.

Submit
22. __________ used to make a copy of one class object from another class object of the same class type.

Explanation

A copy constructor is used to create a new object by copying the values of another object of the same class type. It is typically used when we want to create a new object that is an exact copy of an existing object. The copy constructor takes an object as a parameter and initializes the new object with the same values as the parameter object. This allows us to create a new object with the same state as an existing object, without having to manually copy each individual member variable.

Submit
23. Two main measures for the efficiency of an algorithm are

Explanation

The efficiency of an algorithm is typically measured by considering two main factors: time and space. Time refers to the amount of time it takes for the algorithm to execute and provide a result, while space refers to the amount of memory or storage required by the algorithm to perform its operations. By considering both time and space, we can assess the algorithm's performance in terms of its speed and resource utilization. Therefore, time and space are the correct measures for evaluating the efficiency of an algorithm.

Submit
24. It is ------ absurd story

Explanation

The correct answer is "an". This is because the word "absurd" begins with a vowel sound, and when a word begins with a vowel sound, we use the article "an" instead of "a".

Submit
25. A family consists of six members P, Q, R, S, T and U. There are two married couples. Q is a doctor and the father of T. U is grandfather of R and is a contractor. S is grandmother of T and is a housewife. There is one doctor, one contractor, one nurse, one housewife and two students in the family. What is the profession of P ?

Explanation

Based on the given information, we know that Q is a doctor and the father of T. U is the grandfather of R and is a contractor. S is the grandmother of T and is a housewife. There is one doctor, one contractor, one nurse, one housewife, and two students in the family. Since Q is the only doctor mentioned, P cannot be a doctor. Since U is the only contractor mentioned, P cannot be a contractor. Since S is the only housewife mentioned, P cannot be a housewife. Therefore, the only profession left for P is a nurse.

Submit
26. The memory address of the first element of an array is called

Explanation

The memory address of the first element of an array is called the base address. This is because the base address represents the starting point or the foundation of the array in memory. It is used as a reference point to access other elements of the array by calculating the offset from the base address.

Submit
27. Which of these field types would be best to hold a .jpg image?

Explanation

The best field type to hold a .jpg image would be "blob" (Binary Large Object), as it is specifically designed to store large binary data, such as images. The "blob" field type can handle the storage and retrieval of binary data efficiently and accurately.

Submit
28. 3. Consider the following code snippetString river = new String("Columbia");System.out.println(river.length());What is printed?

Explanation

The code snippet creates a new String object called "river" with the value "Columbia". The length() method is then called on the "river" object, which returns the number of characters in the string. Since "Columbia" has 8 characters, the output will be 8.

Submit
29. Find the synonym for below:-GENIAL

Explanation

The word "genial" means friendly and cheerful. It is often used to describe someone who is warm and pleasant in their demeanor. Therefore, the synonym for "genial" is "friendly and cheerful".

Submit
30. Running at the same constant rate, 6 identical machines can produce a total of 270 bottles per minute. At this rate, how many bottles could 10 such machines produce in 4 minutes?

Explanation

If 6 identical machines can produce 270 bottles per minute, then each machine can produce 270/6 = 45 bottles per minute. Therefore, in 4 minutes, each machine can produce 45 * 4 = 180 bottles. Since there are 10 machines, the total number of bottles produced in 4 minutes by 10 machines is 180 * 10 = 1800.

Submit
31. The complexity of merge sort algorithm is

Explanation

Merge sort is an efficient sorting algorithm that divides the input array into two halves, recursively sorts them, and then merges the sorted halves. The time complexity of merge sort is O(n log n), where n is the number of elements in the array. This is because the algorithm divides the array into halves logarithmically, and the merging process takes linear time. As a result, merge sort has a better time complexity compared to other sorting algorithms like bubble sort or insertion sort, which have time complexities of O(n2).

Submit
32. The DROP TABLE statement:

Explanation

The DROP TABLE statement is used to delete a table from a database. It not only deletes the table structure but also removes all the data stored in that table. This means that all the records and information associated with the table will be permanently deleted. It is an SQL statement that is commonly used when a table is no longer needed or when there is a need to recreate the table with a different structure. The statement will execute successfully regardless of whether there are any referential integrity constraints in place.

Submit
33. Find the antonym for below:-Mala looks pretty.

Explanation

The word "ugly" is the antonym of "pretty".

Submit
34. Synonym for:- ACRIMONY

Explanation

ACRIMONY means bitterness or ill feeling. Therefore, the synonym for ACRIMONY is Bitterness.

Submit
35. Among five boys, Vamsi is taller than Manohar, but not as tall as Raju. Jayanth is taller Than Dutta, but shorter than Manohar. Who is the tallest in the group?

Explanation

Based on the given information, we can determine the following height order: Jayanth

Submit
36. How many instances of an abstract class can be created?

Explanation

An abstract class cannot be instantiated, meaning that we cannot create objects of an abstract class directly. It is designed to be inherited by other classes, which then provide implementations for its abstract methods. Therefore, the correct answer is 0, as we cannot create any instances of an abstract class.

Submit
37. These two ways are used to? By extending Thread class By implementing Runnable interface.

Explanation

The correct answer is "Create a thread." This is because the two ways mentioned, extending the Thread class and implementing the Runnable interface, are both used to create a new thread in Java. Extending the Thread class allows the class to be treated as a thread, while implementing the Runnable interface allows the class to be executed by a thread. Therefore, "Create a thread" is the appropriate explanation for the given answer.

Submit
38. Look at this series: 2, 1, (1/2), (1/4), ... What number should come next?

Explanation

The given series follows a pattern where each term is obtained by dividing the previous term by 2. Starting with 2, the next term is 1, then (1/2), (1/4), and so on. Therefore, the next term should be obtained by dividing (1/4) by 2, which gives (1/8).

Submit
39. If South-East becomes North, North-East becomes West and so on, what will West become?

Explanation

If South-East becomes North, North-East becomes West and so on, it can be inferred that the directions are rotating clockwise. Therefore, West will become South-East.

Submit
40. Which are used to produce a programming environment that supports the development of far more robust and scalable programs than does the process-oriented model?

Explanation

Polymorphism, encapsulation, and inheritance are used to produce a programming environment that supports the development of far more robust and scalable programs than the process-oriented model. Polymorphism allows objects to be treated as instances of their own class or as instances of their parent class, providing flexibility and reusability. Encapsulation ensures that data and methods are encapsulated within a class, protecting them from external interference and allowing for better organization and maintenance. Inheritance allows classes to inherit properties and methods from parent classes, promoting code reuse and modularity. Together, these three concepts enable the creation of more efficient and maintainable programs.

Submit
41. Synonym for:- FELICITY

Explanation

The word "felicity" is synonymous with "great happiness". It refers to a state of extreme joy or bliss. Peace, comfort, and faithfulness may be related concepts, but they do not capture the same level of happiness as "great happiness" does.

Submit
42. Prepare the correct sequenceWhen heP : did not knowQ : he was nervous andR : heard the hue and cry at midnightS : what to do

Explanation

The correct sequence is RQPS. The sentence begins with "When he" (P) indicating that something happened in the past. The next sentence fragment is "he was nervous and" (Q), which provides additional information about his state of mind. The following fragment is "heard the hue and cry at midnight" (S), which describes an event that happened after he became nervous. Finally, the sequence ends with "what to do" (R), indicating that he was unsure about how to respond to the situation. Therefore, the correct sequence is RQPS.

Submit
43. (Choose the correct meaning of Idioms and Phrases from options)At one's fingertips

Explanation

"At one's fingertips" is an idiom that means having complete knowledge or easy access to something. It implies that the information or resources needed are readily available and within reach. This idiom does not relate to taking revenge or being a matter of shame. Therefore, the correct meaning of the idiom is complete knowledge.

Submit
44. Which of the following approach is adapted by C++?

Explanation

C++ follows the bottom-up approach. This means that it starts with smaller components and builds up to the larger ones. In C++, the program execution begins from the main function and then proceeds to call other functions or execute statements in a sequential manner. This approach allows for modular programming and better code organization, as smaller functions can be developed and tested independently before being integrated into the larger program. It also helps in optimizing performance by avoiding unnecessary computations and reducing memory usage.

Submit
45. A class which cannot be instantiated is known as?

Explanation

An abstract class is a class that cannot be instantiated, meaning that objects cannot be created from it. It serves as a blueprint for other classes to inherit from, providing common methods and properties that can be used by its subclasses. Abstract classes are used to define common behavior and characteristics that multiple subclasses share, but they cannot be directly instantiated because they may have incomplete or undefined methods. Therefore, an abstract class is the correct answer for a class that cannot be instantiated.

Submit
46. One of the major drawback of B-Tree is the difficulty of traversing the keys sequentially.

Explanation

The statement is true because in a B-Tree, the data is not stored in a sequential manner. Instead, it is organized in a hierarchical structure which makes it difficult to traverse the keys sequentially. In a B-Tree, each node can have multiple children, and the keys within a node are not necessarily in ascending or descending order. This makes it challenging to perform operations such as range queries or sequential access. Therefore, the statement accurately highlights one of the major drawbacks of B-Trees.

Submit
47. Which of the following may be part of a class definition?

Explanation

All of the options mentioned, including instance variables, instance methods, and constructors, can be part of a class definition. Instance variables are used to store data specific to each object of the class, instance methods define the behavior of the objects, and constructors are special methods used to initialize objects. Therefore, all of these components are commonly included in a class definition.

Submit
48. If it is possible to from a word with the first, fourth, seventh and eleventh letters in the word 'SPHERVLVODS' write the second letter of thet word. Otherwise, X is the answer.?

Explanation

The given word 'SPHERVLVODS' has the letters S, E, L, and O in the positions specified (first, fourth, seventh, and eleventh). Therefore, it is possible to form a word with these letters, and the second letter of that word is E.

Submit
49. Which is a perfect example of runtime polymorphism?

Explanation

Method overriding is a perfect example of runtime polymorphism. In method overriding, a subclass provides its own implementation of a method that is already present in its superclass. When a method is called on an object of the subclass, the JVM determines at runtime which version of the method to execute based on the actual type of the object. This allows for dynamic binding, where the appropriate method implementation is selected based on the object's type, enabling runtime polymorphism.

Submit
50. Prepare the correct sequence:-Since the beginning of historyP : have managed to catchQ : the Eskimos and Red IndiansR : by a very difficulty methodS : a few specimens of this aquatic animal

Explanation

The correct sequence is QPSR. This sequence makes logical sense as it follows the chronological order of events. First, the Eskimos and Red Indians managed to catch a few specimens of this aquatic animal. Then, since the beginning of history, they have been able to catch them by a very difficult method. Therefore, the correct sequence is QPSR.

Submit
51. Q is as much younger than R as he is older than T. If the sum of the ages of R and T is 50 years, what is definitely the difference between R and Q's age?

Explanation

not-available-via-ai

Submit
52. Class A has a higher enrollment than Class B.Class C has a lower enrollment than Class B.Class A has a lower enrollment than Class C.If the first two statements are true, the third statement is

Explanation

If Class A has a higher enrollment than Class B, and Class C has a lower enrollment than Class B, it is not possible for Class A to have a lower enrollment than Class C. Therefore, the third statement is false.

Submit
53. A pointer is

Explanation

A pointer is a variable that stores the address of another variable. It allows us to indirectly access and manipulate the value of the variable it points to. By using pointers, we can pass memory addresses instead of values, which can be useful in scenarios where we want to modify the original variable or save memory space by avoiding unnecessary copying of data.

Submit
54. (Join these parts to make a meaningful sentence. The correct order of parts is the answer) 1. tea 2. have 3. that4. some 5. before 

Explanation

Before having some tea, that is the correct order of the parts.

Submit
55. What operator tests column for the absence of data?

Explanation

The IS NULL operator is used to test whether a column has a null value or not. It returns true if the column contains a null value and false otherwise. This operator is specifically designed to check for the absence of data in a column. Therefore, the IS NULL operator is the correct answer to the question.

Submit
56. Find the synonym for below:-REVAMP

Explanation

The correct answer is "Reconstruct" because it means to rebuild or renovate something, which is similar to the meaning of "revamp."

Submit
57. All the trees in the park are flowering trees.Some of the trees in the park are dogwoods.All dogwoods in the park are flowering trees.If the first two statements are true, the third statement is

Explanation

The third statement is true because it logically follows from the first two statements. If all the trees in the park are flowering trees and some of the trees in the park are dogwoods, then it is true that all dogwoods in the park are flowering trees. This is because if a tree is a dogwood and it is in the park, it must also be a flowering tree according to the first two statements.

Submit
58. (Join these parts to make a meaningful sentence. The correct order of parts is the answer) 1. him 2. the 3. to4. charge 5. handover  

Explanation

The correct order of the parts is 5. handover, 2. the, 4. charge, 3. to, 1. him. This order forms a meaningful sentence: "Handover the charge to him."

Submit
59. (Choose the correct meaning of Idioms and Phrases from options)At the spur of the moment

Explanation

"At the spur of the moment" means to do something without any prior planning or consideration. It refers to taking action or making a decision suddenly and spontaneously. Therefore, the correct meaning of this idiom is "Without Delay", as it implies acting quickly and without hesitation.

Submit
60. Ramesh walks 30 m towards south. Then turning to his right he walks 30m. Then turning to his left he walks 20m. Again turning to his left he walks 30m. How for is he from his staring position?

Explanation

Ramesh walks 30m towards the south, then turns right and walks 30m. This means he has moved 30m towards the south and 30m towards the west. Then he turns left and walks 20m, which means he has moved 20m towards the south and 30m towards the west. Finally, he turns left again and walks 30m, which means he has moved 30m towards the north and 30m towards the west. So, he has moved 30m north and 60m west from his starting position. Using the Pythagorean theorem, we can calculate the distance between his current position and the starting position, which is approximately 50m.

Submit
61. Which is nothing but a blueprint or a template for creating different objects which defines its properties and behaviours?

Explanation

A class is a blueprint or a template for creating different objects which defines their properties and behaviors. It serves as a model that defines the variables, methods, and relationships that an object will have. By creating multiple objects from a class, we can easily create and manage similar objects with the same properties and behaviors. Therefore, a class is the correct answer as it fits the description of being a blueprint or template for creating objects.

Submit
62. The primary key is selected from the:

Explanation

The primary key is selected from the candidate keys. Candidate keys are the set of attributes that can uniquely identify each tuple in a relation. From these candidate keys, one is chosen as the primary key, which becomes the main identifier for the relation.

Submit
63. (Choose the correct meaning of Idioms and Phrases from options)Above board

Explanation

The phrase "above board" means to be honest and straightforward. It refers to someone who is transparent and acts in an open manner, without any hidden agendas or deceitful intentions. This phrase is often used to describe a person or situation that can be trusted and is not involved in any dishonest or shady activities.

Submit
64. Which of the following gets called when an object goes out of scope?

Explanation

When an object goes out of scope, the destructor gets called. The destructor is a special member function of a class that is automatically invoked when the object is destroyed or goes out of scope. It is responsible for releasing any resources that the object may have acquired during its lifetime, such as closing files, freeing memory, or releasing locks. The destructor is typically used to perform cleanup tasks and ensure that the object is properly disposed of before it is destroyed.

Submit
65. Prepare the correct sequence:-It has been established thatP:Einstein wasQ:although a great scientistR:weak in arithmeticS:right from his school days

Explanation

The correct sequence is QPRS. This is because the sentence starts with the statement that Einstein was a great scientist and then goes on to mention that he was weak in arithmetic right from his school days. Therefore, the correct sequence is QPRS as it follows the logical order of introducing Einstein as a great scientist and then mentioning his weakness in arithmetic.

Submit
66. (Choose the correct meaning of Idioms and Phrases from options)At one fell swoop

Explanation

The phrase "at one fell swoop" means to do something in a single, swift, and decisive action, without any delay or hesitation. It implies that something is accomplished or completed all at once, without any gradual or incremental steps. Therefore, the correct meaning of the phrase is "In a single action".

Submit
67. An attribute is a(n):

Explanation

An attribute refers to a column of a table. In a database, a table consists of rows and columns, where each column represents a specific attribute or characteristic of the data being stored. For example, in a table of employee data, attributes could include employee ID, name, age, and salary. Therefore, the correct answer is "column of a table."

Submit
68. Which of the following concepts means determining at runtime what method to invoke?

Explanation

Dynamic binding refers to the process of determining at runtime which method to invoke. This means that the specific method to be executed is decided during program execution rather than at compile time. Dynamic binding allows for flexibility and adaptability in the program as it can choose the appropriate method based on the actual type of the object being referenced. It is commonly used in object-oriented programming languages to achieve polymorphism and code reusability.

Submit
69. Which of the following is NOT available in MySQL?

Explanation

not-available-via-ai

Submit
70. Which SQL statement is used to return only different values?

Explanation

The SQL statement "SELECT DISTINCT" is used to return only different values. It eliminates duplicate values from the result set, ensuring that each value is unique. This is useful when we want to retrieve only distinct values from a column or multiple columns in a table. The other options, "SELECT UNIQUE" and "SELECT DIFFERENT," are not valid SQL statements. "SELECT DIFF" is also not a valid SQL statement and does not exist.

Submit
71. Susan can type 10 pages in 5 minutes. Mary can type 5 pages in 10 minutes. Working together, how many pages can they type in 30 minutes?

Explanation

Susan can type 2 pages per minute (10 pages in 5 minutes) and Mary can type 0.5 pages per minute (5 pages in 10 minutes). Together, they can type 2.5 pages per minute (2 + 0.5). In 30 minutes, they can type 75 pages (2.5 pages/minute x 30 minutes).

Submit
72. Introducing a man, a woman said, "His wife is the only daughter of my father." How is that man related to the woman?

Explanation

The man is related to the woman as her husband because the woman states that the man's wife is the only daughter of her father. This implies that the woman is the man's wife, making him her husband.

Submit
73. What will be the output of following code?#include "stdio.h"#include "string.h"void main(){char c='\08';printf("%d",c);}

Explanation

The given code will result in a compiler error. This is because the character constant '\08' is not a valid escape sequence in C. In C, escape sequences start with a backslash (\) followed by a character that represents a special character. The number after the backslash represents the ASCII value of the character. However, '\08' is not a valid ASCII value and therefore it will result in a compiler error.

Submit
74. A vendor bought toffees at 6 for a rupee. How many for a rupee must he sell to gain 20%?

Explanation

To find the number of toffees the vendor must sell to gain 20%, we need to calculate the selling price per toffee. The vendor buys 6 toffees for a rupee, so the cost price per toffee is 1/6 of a rupee. To gain 20% profit, the selling price per toffee should be 1/6 + 20% of 1/6. Simplifying this, we get 1/6 + 1/30, which is equal to 5/30 or 1/6 of a rupee. To find how many toffees the vendor must sell to gain 1 rupee, we divide 1 by 1/6, which is equal to 6. Therefore, the vendor must sell 5 toffees for a rupee to gain 20%.

Submit
75. There are five books A, B, C, D and E placed on a table. If A is placed below E, C is placed above D, B is placed below A and D is placed above E, then which of the following books touches the surface of the table ?

Explanation

Based on the given information, the book B is placed below A, which means it is directly touching the surface of the table. Therefore, the correct answer is B.

Submit
76. Find the odd one out

Explanation

The given options consist of pairs where one word is a type or category, and the other word is a specific example or characteristic of that category. In all the pairs, except for "legumes: nodules," the second word represents a specific example or characteristic of the first word. However, "nodules" is not a specific example or characteristic of "legumes." Therefore, "legumes: nodules" is the odd one out.

Submit
77. Which variables are created when an object is created with the use of the keyword 'new' and destroyed when the object is destroyed?

Explanation

When an object is created using the keyword 'new', instance variables are created. Instance variables are unique to each instance of a class and hold the state of the object. They are destroyed when the object is destroyed, which typically happens when it goes out of scope or is explicitly deallocated. Local variables, on the other hand, are created and destroyed within a specific method or block. Class variables and static variables are not created or destroyed with the creation or destruction of an object.

Submit
78. Find the antonym for below:-Angels descend from the heaven.

Explanation

The word "ascend" is the antonym for the phrase "Angels descend from the heaven" because "ascend" means to go up or climb, while "descend" means to go down or come down. Therefore, "ascend" is the opposite of "descend" and serves as the correct antonym in this context.

Submit
79. Find the antonym for below:-Nothing in life runs smooth.

Explanation

The phrase "Nothing in life runs smooth" implies that life is not easy or without difficulties. The antonym of smooth in this context would be rough, which means not smooth or having an uneven or bumpy surface. Therefore, the correct answer is rough.

Submit
80. Prepare the correct sequence:-I read an advertisement that saidP : posh, air-conditionedQ : gentleman of tasteR : are available forS : fully furnished rooms

Explanation

The correct sequence is PSRQ. The explanation is that the sentence structure and logical flow of the information in the given options suggest that the correct sequence starts with "P" as it introduces the topic of reading an advertisement. Then, "S" follows logically as it provides information about the fully furnished rooms. "R" comes next as it introduces the gentleman of taste, and finally, "Q" concludes the sequence by mentioning the posh, air-conditioned rooms.

Submit
81. The sum of the ages of Neelima and her father is 62 years. After four years, the age of the father will be four times that of the Neelima.Then the difference between their ages is

Explanation

NA

Submit
82. The present ages of three persons in proportions 4 : 7 : 9. Eight years ago, the sum of   their ages was 56. Find their present ages (in years).

Explanation

Let's assume the present ages of the three persons are 4x, 7x, and 9x. Eight years ago, their ages would have been (4x-8), (7x-8), and (9x-8) respectively. According to the given information, the sum of their ages eight years ago was 56. So we can write the equation (4x-8) + (7x-8) + (9x-8) = 56. Simplifying this equation, we get 20x = 80, which means x = 4. Substituting this value in the assumed present ages, we get 4x = 16, 7x = 28, and 9x = 36. Therefore, the correct answer is 16, 28, 36.

Submit
83. Running at the same constant rate, 6 identical machines can produce a total of 270 bottles per minute. At this rate, how many bottles could 10 such machines produce in 4 minutes?

Explanation

The question states that 6 identical machines can produce a total of 270 bottles per minute. This means that each machine produces 270/6 = 45 bottles per minute. Therefore, in 4 minutes, each machine would produce 45 * 4 = 180 bottles. Since there are 10 machines, the total number of bottles produced in 4 minutes would be 180 * 10 = 1800 bottles.

Submit
84. Which of the following type of class allows only one object of it to be created?

Explanation

A singleton class is a type of class that allows only one object of it to be created. This means that no matter how many times we try to create an object of the singleton class, it will always return the same instance. This is achieved by making the constructor of the class private, so that it cannot be accessed from outside the class. The class itself provides a static method to access the single instance of the class. This pattern is commonly used in scenarios where we need to ensure that only one instance of a class exists, such as database connections or configuration settings.

Submit
85. Public static void main(String args[]) {int x = 42;double y = 42.25;System.out.println("x mod 10 = " + x % 10);System.out.println("y mod 10 = " + y % 10);}}

Explanation

The code snippet calculates the remainder when x is divided by 10 using the modulus operator (%). In this case, x is 42, so when it is divided by 10, the remainder is 2. Therefore, the output will be "x mod 10 = 2". Similarly, the code snippet also calculates the remainder when y is divided by 10. Since y is 42.25, when it is divided by 10, the remainder is 2.25. Therefore, the output will be "y mod 10 = 2.25".

Submit
86. Find the antonym for below:-Whatever he writes is hazy

Explanation

The given statement states that whatever he writes is hazy, indicating that the writing lacks clarity. Therefore, the antonym for hazy would be clear, which means that the writing is easily understandable and lacks any ambiguity.

Submit
87. Joe is younger than Kathy.Mark was born after Joe.Kathy is older than Mark.If the first two statements are true, the third statement is

Explanation

Based on the given statements, we can infer that Joe is younger than Kathy and Mark was born after Joe. Since Kathy is older than Mark, it implies that Mark is the youngest among the three. Therefore, the third statement, which states that Kathy is older than Mark, is true.

Submit
88. Arrays are best data structures

Explanation

Arrays are best data structures for relatively permanent collections of data because arrays have a fixed size and are efficient for accessing elements using their index. They provide constant time access to any element, making them suitable for situations where the size of the structure and the data in the structure are not constantly changing. Arrays also allow for efficient memory allocation and deallocation, making them a good choice for storing data that remains relatively unchanged throughout the program execution.

Submit
89. The situation when in a linked list START=NULL is

Explanation

When the linked list's START pointer is NULL, it means that the list is empty and there are no nodes in it. This situation is known as underflow. Underflow occurs when we try to access or retrieve data from an empty data structure, which is not possible as there are no elements present.

Submit
90. ----- lion is a ferocious animal

Explanation

The use of "the" before "lion" suggests that the speaker is referring to a specific lion, possibly one that has been previously mentioned or is known to both the speaker and the listener. This implies that there is a specific lion in mind that is being described as a ferocious animal.

Submit
91. (Choose the correct meaning of Idioms and Phrases from options)At one's wit's end

Explanation

"At one's wit's end" is an idiom that means to be completely perplexed or at a loss for a solution or idea. It suggests a state of extreme frustration or confusion where one has exhausted all possible options and is unable to find a resolution. Therefore, the correct meaning of the idiom is "Perplexed."

Submit
92. What is garbage collection in the context of Java?

Explanation

Garbage collection in the context of Java refers to the automatic process of reclaiming memory used by objects when there are no longer any references to them. This means that when an object is no longer being used or referenced by any part of the program, the memory it occupies is freed up and can be used for other purposes. This is an important feature in Java as it helps to manage memory efficiently and prevent memory leaks.

Submit
93. I go to Madurai by ----- Vaigai Express

Explanation

The correct answer is "the". In this sentence, "Vaigai Express" is a specific train, so we use the definite article "the" before it.

Submit
94. How many permutations of 3 different digits are there, chosen from the ten digits 0 to 9 inclusive?

Explanation

There are 10 choices for the first digit, 9 choices for the second digit (since it cannot be the same as the first), and 8 choices for the third digit (since it cannot be the same as the first or second). Therefore, the total number of permutations is 10 x 9 x 8 = 720.

Submit
95. The operator used to get value at address stored in a pointer variable is

Explanation

The operator used to get the value at the address stored in a pointer variable is the asterisk (*) operator. This operator is known as the dereference operator and is used to access the value that is stored at the memory address pointed to by the pointer.

Submit
96. The quick sort algorithm exploit _________ design technique

Explanation

The quick sort algorithm exploits the divide and conquer design technique. This technique involves breaking down a problem into smaller subproblems, solving them independently, and then combining the solutions to solve the original problem. In the case of quick sort, the algorithm divides the array into smaller subarrays based on a chosen pivot element, sorts these subarrays recursively, and then combines them to obtain the final sorted array. This approach of dividing the problem into smaller subproblems and conquering them individually is a key characteristic of the divide and conquer technique.

Submit
97. 1. Consider the following program:import myLibrary.*;public class ShowSomeClass { // code for the class... }What is the name of the java file containing this program?

Explanation

The correct answer is ShowSomeClass.java because in Java, the name of the file containing the program should match the name of the public class defined in the program. In this case, the public class is named ShowSomeClass, so the file should be named ShowSomeClass.java.

Submit
98. Which of the following is TRUE?

Explanation

In Java, a class does not always have a constructor. If a class does not explicitly define a constructor, the Java compiler automatically supplies a default constructor with no arguments. However, if a class defines a constructor with arguments, the default constructor is not automatically supplied. Therefore, the statement that a class always has a constructor is not true.

Submit
99. 10. You read the following statement in a Java program that compiles and executes. submarine.dive(depth); What can you say for sure?

Explanation

The statement submarine.dive(depth) indicates that dive is being called as a method on the object submarine. This implies that dive must be a method.

Submit
100. Find the antonym for below:-Raju was exhausted after a long Journey.

Explanation

not-available-via-ai

Submit
101. The best average behavior is shown by

Explanation

Quick Sort is known for its efficient average-case behavior. It has a time complexity of O(n log n) on average, making it one of the fastest sorting algorithms. Quick Sort uses a divide-and-conquer approach, where it partitions the array into smaller subarrays and recursively sorts them. It also has good cache performance due to its localized and sequential access patterns. These factors contribute to Quick Sort's ability to handle large datasets efficiently, making it the best choice among the given sorting algorithms in terms of average behavior.

Submit
102. Ayisha's age is 1/6th of her father's age. Ayisha 's father's age will be twice the age of Shankar's age after 10 years. If Shankar's eight birthdays was celebrated two years before, then what is Ayisha 's present age.

Explanation

Ayisha's age is 1/6th of her father's age. If we let Ayisha's age be x and her father's age be 6x, we can see that Ayisha's father's age will be 6x + 10 after 10 years. It is given that Ayisha's father's age will be twice Shankar's age after 10 years. If Shankar's age is y, then 6x + 10 = 2(y + 2). Simplifying this equation, we get 6x + 10 = 2y + 4. Since Ayisha's age is x, which is 5, the answer is 5 years.

Submit
103. 39 persons can repair a road in 12 days, working 5 hours a day. In how many days will 30 persons, working 6 hours a day, complete the work?

Explanation

If 39 persons can repair a road in 12 days, working 5 hours a day, it means that the total work requires 39 * 12 * 5 = 2340 person-hours. Now, we need to find out how many days will 30 persons, working 6 hours a day, complete the work. This means they will work a total of 30 * 6 = 180 hours. To find the number of days, we divide the total work (2340 person-hours) by the work done per day (180 hours), which gives us 2340 / 180 = 13 days. Therefore, 30 persons, working 6 hours a day, will complete the work in 13 days.

Submit
104. Considerpublic class MyClass{public MyClass(){/*code*/} // more code... }To instantiate MyClass, you would write?

Explanation

The correct answer is "MyClass mc = new MyClass();". This is the correct way to instantiate an object of the class MyClass. The "new" keyword is used to create a new instance of the class, and the constructor MyClass() is called to initialize the object.

Submit
105. Find the antonym for below:-Rama is always logical in his thinking

Explanation

The word "logical" refers to someone who thinks in a rational and reasonable manner, making logical deductions and conclusions. The antonym for "logical" would be "illogical," which means lacking in logical reasoning or not following a logical sequence of thought. Therefore, the correct answer is "illogical."

Submit
106. Which of the following is NOT a type of SQL constraint?

Explanation

The correct answer is "ALTERNATE KEY" because it is not a recognized type of SQL constraint. The other options listed (PRIMARY KEY, FOREIGN KEY, and UNIQUE) are all valid types of constraints that can be used in SQL to enforce data integrity rules. An alternate key is a candidate key that is not selected as the primary key for a table, but it is not considered a separate type of constraint in SQL.

Submit
107. 1 monkey takes 3 min to eat 1 banana. How much time will 10 monkeys take to eat 10 bananas?

Explanation

Each monkey takes 3 minutes to eat 1 banana. Since there are 10 monkeys and 10 bananas, each monkey can eat 1 banana in 3 minutes. Therefore, it will still take 3 minutes for the 10 monkeys to eat the 10 bananas.

Submit
108. If a boat is moving in upstream with velocity of 14 km/hr and goes downstream with a velocity of 40 km/hr, then what is the speed of the stream ?

Explanation

The speed of the stream can be calculated by finding the difference between the boat's velocity when moving upstream and downstream. The boat's velocity when moving upstream is 14 km/hr, while its velocity when moving downstream is 40 km/hr. The difference between these two velocities is 40 - 14 = 26 km/hr. Therefore, the speed of the stream is 26 km/hr.

Submit
109. Finding the location of the element with a given value is:

Explanation

The given question is asking about the process of finding the location of an element with a given value. The correct answer is "Search" because searching refers to the process of looking for a specific element or value within a data structure or array. Traversal refers to the process of accessing each element in a data structure, sorting refers to arranging elements in a specific order, and "None of the above" is not applicable in this context. Therefore, the correct answer is "Search" as it accurately describes the process of finding the location of an element with a given value.

Submit
110. A binary search tree whose left subtree and right subtree differ in hight by at most 1 unit is called ……

Explanation

An AVL tree is a binary search tree that maintains balance by ensuring that the height difference between its left and right subtrees is at most 1 unit. This self-balancing property of AVL trees ensures efficient search, insertion, and deletion operations. Red-black trees also maintain balance, but they have a more relaxed balancing condition, allowing a height difference of at most 2 units. Lemma tree is not a known type of binary search tree. Therefore, the correct answer is AVL tree.

Submit
111. What is byte code in the context of Java?

Explanation

Byte code in the context of Java refers to the type of code generated by a Java compiler. This code is not directly executable by the computer's hardware or operating system, but it is instead designed to be executed by a Java Virtual Machine (JVM). The JVM then translates the byte code into machine code that can be understood and executed by the computer. This allows Java programs to be platform-independent, as the byte code can be run on any system that has a compatible JVM.

Submit
112. Find the synonym for below:-Humility always pays.

Explanation

The given statement "Humility always pays" suggests that being humble or having humbleness is beneficial. Therefore, the synonym for the given statement would be "humbleness".

Submit
113. Find the number of ways in which one or more letter be selected from the letters AAAABBCCCDEF.

Explanation

The given question asks for the number of ways to select one or more letters from the given set of letters. To find the number of ways, we can consider each letter individually. The letter 'A' appears 4 times, so we have 2 choices for each 'A' (either select it or not). Similarly, the letter 'B' appears 2 times, so we have 3 choices for each 'B'. The letter 'C' appears 3 times, so we have 4 choices for each 'C'. The letter 'D' appears 1 time, so we have 5 choices for 'D'. The letter 'E' appears 1 time, so we have 6 choices for 'E'. Finally, the letter 'F' appears 1 time, so we have 7 choices for 'F'. Multiplying all these choices together, we get 2 * 2 * 2 * 2 * 3 * 3 * 3 * 4 * 4 * 4 * 5 * 6 * 7 = 479, which is the correct answer.

Submit
114. A walks 10 m in front and 10m to the right. Then every time turning to his left he walks 5, 15 and 15m respectively. How for is he now from his starting point?

Explanation

Starting from the initial position, A walks 10m in front and 10m to the right, which forms a right-angled triangle. Then, when A turns left and walks 5m, he is back to the starting point of the right-angled triangle. When he turns left again and walks 15m, he moves further away from the starting point, but still remains within the right-angled triangle. Finally, when he turns left once more and walks 15m, he moves even further away from the starting point, but still remains within the right-angled triangle. Therefore, he is 5m away from his starting point.

Submit
115. Stack is also called as

Explanation

Stack is a data structure in which the last element that is added to the stack is the first one to be removed. This is because the stack follows the Last In First Out (LIFO) principle, where the last item that is pushed into the stack is the first one to be popped out. Therefore, the correct answer is "Last in first out".

Submit
116. A father said to his son, "I was as old as you are at the present at the time of your birth". If the father's age is 38 years now, the son's age five years back was:

Explanation

At the time of the son's birth, the father was the same age as the son is now. Since the father is currently 38 years old, this means the son is also 38 years old. Therefore, five years ago, the son's age would have been 38 - 5 = 33 years.

Submit
117. Based on the following statements, which is the correct conclusion drawn. Only gentlemen can become members of the club. Many of the members of the club are officers. Some of the officers have been invited for dinner.

Explanation

The correct conclusion drawn is "All gentlemen are members of the club." This can be inferred from the statement "Only gentlemen can become members of the club." Since the club only allows gentlemen to be members, it can be concluded that all members of the club are gentlemen.

Submit
118. Blueberries cost more than strawberries.Blueberries cost less than raspberries.Raspberries cost more than both strawberries and blueberries.If the first two statements are true, the third statement is

Explanation

Based on the given information, we can deduce that raspberries are the most expensive, followed by blueberries, and then strawberries. Therefore, if blueberries cost more than strawberries and raspberries cost more than both strawberries and blueberries, it is true that raspberries cost more than both strawberries and blueberries. Hence, the third statement is true.

Submit
119. In linear search algorithm the Worst case occurs when

Explanation

In linear search algorithm, the worst case occurs when the item is the last element in the array or is not there at all. This is because in linear search, the algorithm sequentially checks each element in the array until it finds a match or reaches the end of the array. If the item is the last element, the algorithm will have to iterate through the entire array before determining that the item is not present. Similarly, if the item is not in the array at all, the algorithm will also have to go through the entire array before reaching this conclusion.

Submit
120. Which of the following data structure can't store the non-homogeneous data elements?

Explanation

Arrays cannot store non-homogeneous data elements because they are a fixed-size collection of elements of the same data type. Each element in an array occupies a fixed amount of memory, so it can only store elements of the same type. Therefore, it cannot store non-homogeneous data elements. On the other hand, records, pointers, and stacks can store non-homogeneous data elements as they allow for different data types to be stored within their structure.

Submit
121. The following two rules are defined by? 1. The parameters may differ in their type or number, or in both. 2. They may have the same or different return types.

Explanation

The given rules state that parameters in a method can differ in type or number, and they can have the same or different return types. This aligns with the concept of method overloading, where multiple methods can have the same name but different parameters. Method overloading allows for flexibility and code reusability by providing different ways to call a method based on the parameters passed. Therefore, the correct answer is Method overloading.

Submit
122. Find the synonym for belowSuddenly Rani heard the sound of water trickling

Explanation

The word "trickling" suggests a slow and steady flow of water. Among the given options, "dripping" is the closest in meaning as it also implies a slow and continuous fall of water. The other options, such as "crawling," "gushing," and "pouring," all suggest a more forceful and rapid movement of water, which does not match the context of the sentence.

Submit
123. A man spends Rs. 750 on an average during first 8 months. During the next 4 months he spends Rs. 680 per month. He took loan of Rs. 320 during the year and paid Rs. 600 for LIC premium. Find his monthly average income?

Explanation

The man spends a total of Rs. 750 x 8 = Rs. 6000 during the first 8 months.
During the next 4 months, he spends a total of Rs. 680 x 4 = Rs. 2720.
He also took a loan of Rs. 320 and paid Rs. 600 for LIC premium.
So, his total expenses for the year are Rs. 6000 + Rs. 2720 + Rs. 320 + Rs. 600 = Rs. 9640.
Since his monthly average expenses are Rs. 9640 / 12 = Rs. 803.33, his monthly average income must be higher than this amount. Therefore, the correct answer is Rs. 850.

Submit
124. Which of the following is an invalid visibility label while inheriting a class?

Explanation

The "friend" visibility label is not valid while inheriting a class. In C++, "friend" is used to grant access to private and protected members of a class to another class or function. However, it is not used as a visibility label in the context of inheritance. Inheritance allows the derived class to access the public and protected members of the base class, but not the private members. Therefore, "friend" is not a valid visibility label in this scenario.

Submit
125. The operation of processing each element in the list is known as

Explanation

Traversal is the correct answer because it refers to the process of accessing each element in a list or data structure, usually in a sequential manner. It involves visiting each element and performing some operation or analysis on it. Sorting, merging, and inserting are specific operations that can be performed on a list, but they do not encompass the overall process of accessing each element. Traversal, on the other hand, accurately describes the general operation of processing each element in the list.

Submit
126. What garbage collection in the context of java?

Explanation

Garbage collection in the context of Java refers to the automatic process of reclaiming memory that is no longer being used by objects in a program. When all references to an object are gone, meaning there are no longer any variables or data structures pointing to that object, the memory occupied by the object is freed up and can be reused by the program for other purposes. This helps to manage memory efficiently and prevent memory leaks in Java programs.

Submit
127. An adjacency matrix representation of a graph cannot contain information of 

Explanation

An adjacency matrix representation of a graph cannot contain information of parallel edges because an adjacency matrix is a two-dimensional array that represents the connections between nodes in a graph. Each cell in the matrix represents an edge between two nodes, and it can only hold a single value to indicate the presence or absence of an edge. Therefore, if there are multiple parallel edges between two nodes, the adjacency matrix cannot capture this information accurately.

Submit
128. In order for a source code file, containing the public class test, to successfully compile, which of the following must be true?

Explanation

The source code file must be named "test.java" in order for it to successfully compile.

Submit
129. Which class is used when a program does not want to handle exception?

Explanation

When a program does not want to handle an exception, it can use the "throws" keyword. This keyword is used in the method signature to indicate that the method may throw an exception, but it does not handle it. Instead, the responsibility of handling the exception is passed on to the caller of the method. This allows the program to delegate the exception handling to a higher level in the program's hierarchy or to a different part of the code.

Submit
130. In one hour, a boat goes 11 km/hr along the stream and 5 km/hr against the stream. The speed of the boat in still water (in km/hr) is:

Explanation

The speed of the boat in still water can be found by taking the average of the speed of the boat along the stream and against the stream. In this case, the boat goes 11 km/hr along the stream and 5 km/hr against the stream. The average of these two speeds is (11 + 5) / 2 = 8 km/hr. Therefore, the speed of the boat in still water is 8 km/hr.

Submit
131. What is (void*)0?

Explanation

(void*)0 is the representation of a NULL pointer. In C and C++, a NULL pointer is a pointer that does not point to any memory location. It is often used to indicate the absence of a valid pointer. The (void*)0 notation is a way to explicitly represent a NULL pointer by casting the literal value 0 to a void pointer type. This allows the NULL pointer to be assigned to any pointer type without generating a type mismatch error.

Submit
132. Which of the following is used to database security?

Explanation

All of the above options are used for database security. Data encryption is a technique that converts data into a code to prevent unauthorized access. A view is a virtual table that restricts access to certain data, providing an additional layer of security. Fingerprints can be used for biometric authentication, ensuring that only authorized individuals can access the database. Therefore, all three options contribute to enhancing database security.

Submit
133. 6 parallerl lines are intersected by 5 other parallel lines. The total number of parallelogram formed is

Explanation

When 6 parallel lines are intersected by 5 other parallel lines, it creates a grid-like pattern with multiple rectangles. Each rectangle can be considered as a parallelogram. To count the number of parallelograms, we need to count the number of rectangles formed. There are 6 lines on one side of the rectangle and 5 lines on the other side, so the total number of rectangles is 6 x 5 = 30. However, each rectangle can be counted in two different ways (horizontally or vertically), so we need to multiply 30 by 2 to get the total number of parallelograms. Therefore, the correct answer is 30 x 2 = 60.

Submit
134. The temperature on Monday was lower than on Tuesday.The temperature on Wednesday was lower than on Tuesday.The temperature on Monday was higher than on Wednesday.If the first two statements are true, the third statement is

Explanation

Based on the given information, we can determine that the temperature on Monday was lower than on Tuesday, and the temperature on Wednesday was lower than on Tuesday. However, the relationship between the temperature on Monday and Wednesday is not specified. It is possible that the temperature on Monday was higher than on Wednesday, but it could also be lower or the same. Therefore, we cannot determine the truth value of the third statement based on the given information, making the answer uncertain.

Submit
135. What will be output if you will compile and execute the following c code?#include "stdio.h"#include "string.h"void main(){int i=0;for(;i<=2;)printf(" %d",++i);}

Explanation

The code includes a for loop with an empty initialization and condition section. This means that the loop will start with the value of i being 0 and will continue as long as i is less than or equal to 2. In each iteration of the loop, the value of i is incremented by 1 and then printed using printf. Therefore, the output will be 1 2 3.

Submit
136. Which symbol Used to contain the values of automatically initialized arrays. Also used To define a block of code, for classes, methods, and local scopes?

Explanation

Braces are used to contain the values of automatically initialized arrays and to define a block of code for classes, methods, and local scopes. They are typically used to enclose a set of statements or declarations within a specific scope. In programming languages such as Java, C++, and JavaScript, braces are commonly used for defining the body of functions, loops, conditionals, and class definitions. They help to clearly define the beginning and end of a block of code, ensuring proper scoping and organization of code.

Submit
137. Rahul ranks 17th in a class of 31. What is his rank from the last?

Explanation

Rahul's rank from the last can be calculated by subtracting his rank from the total number of students in the class and then adding 1. In this case, there are 31 students in the class and Rahul ranks 17th. So, his rank from the last would be 31 - 17 + 1 = 15.

Submit
138. Which of the following is not a limitation of binary search algorithm?

Explanation

The given answer states that the limitation of the binary search algorithm is that it is not efficient when the data elements are more than 1000. This means that the algorithm may take longer to find a desired element in a large dataset, making it less efficient compared to other search algorithms in such cases.

Submit
139. The depth of a complete binary tree is given by

Explanation

The depth of a complete binary tree is determined by the number of levels it has. In a complete binary tree, each level is fully filled except possibly for the last level, which is filled from left to right. The number of levels in a complete binary tree can be calculated by taking the logarithm base 2 of the total number of nodes (n) and adding 1 to account for the root level. Therefore, the correct answer is log2n+1.

Submit
140. Which inheritance is not supported in java?

Explanation

Java supports all of the above inheritance types, including single inheritance, hybrid inheritance, and multilevel inheritance. In single inheritance, a class can only inherit from one superclass. Hybrid inheritance refers to a combination of multiple inheritance and multilevel inheritance, which Java does not support directly. Multilevel inheritance involves inheriting a class from another derived class, creating a hierarchical structure. Therefore, the correct answer is that Java supports all of the mentioned inheritance types.

Submit
141. Vishal goes to a shop to buy a radio costing Rs 2568. The rate of sales tax is 7%. He tells the shopkeeper to reduce the price of the radio to such an extent that he has to pay Rs 2568, inclusive of all sales tax. Find the reduction needed in the price of the radio.

Explanation

The reduction needed in the price of the radio is Rs 168. This can be calculated by finding 7% of the original price of the radio (Rs 2568) and subtracting it from the original price. 7% of Rs 2568 is Rs 179.76, and subtracting this from Rs 2568 gives us Rs 2388.24. However, Vishal wants to pay Rs 2568 inclusive of all sales tax, so he needs a further reduction of Rs 179.76. Subtracting this from Rs 2388.24 gives us Rs 2208.48. Therefore, the reduction needed in the price of the radio is Rs 168.

Submit
142. A key:

Explanation

A key is a unique identifier that is used to distinguish one row from another in a database table. It is a column or a combination of columns that uniquely identifies each record in the table. Therefore, the answer "identifies a row" is correct as it accurately describes the purpose and function of a key in a database.

Submit
143. Which of the following are unary operators in C?

Explanation

The tilde (~) operator is a unary operator in C. It is the bitwise complement operator, which flips the bits of its operand. Unlike the other options listed, the tilde operator only requires one operand to perform its operation. Therefore, it is the correct answer to the question.

Submit
144. What is an advantage of placing computations in SQL views?

Explanation

Placing computations in SQL views has the advantage of saving users from having to write an expression. It also ensures that the results are consistent. By placing computations in views, users can simply query the view instead of writing complex expressions every time they need the computed result. Additionally, since the computation is done within the view, the results will always be consistent regardless of how the underlying data may change. Therefore, placing computations in SQL views accomplishes both of the mentioned advantages.

Submit
145. Which of the following data structure is not linear data structure?

Explanation

The correct answer is "None of above". This means that both arrays and linked lists are linear data structures. Arrays store elements in contiguous memory locations, allowing for random access to elements using indices. Linked lists, on the other hand, store elements in nodes that are connected through pointers, allowing for dynamic memory allocation and efficient insertion and deletion operations. Therefore, both arrays and linked lists are examples of linear data structures.

Submit
146. A binary tree whose every node has either zero or two children is called

Explanation

A complete binary tree is a binary tree in which every level, except possibly the last, is completely filled, and all nodes are as far left as possible. In other words, a complete binary tree is a binary tree in which all nodes have either zero or two children. Therefore, the given answer "Complete binary tree" correctly describes a binary tree whose every node has either zero or two children.

Submit
147. The Exception class has two main subclasses?

Explanation

The Exception class has two main subclasses, namely the IOException class and the RuntimeException class. The IOException class is used to handle input and output errors, while the RuntimeException class is used to handle runtime errors. Therefore, the correct answer is "Both A & B" because both classes are subclasses of the Exception class.

Submit
148. New York is ----- large city

Explanation

The correct answer is "a" because "New York" starts with a consonant sound, and the indefinite article "a" is used before singular countable nouns that start with a consonant sound.

Submit
149. Find the antonym for below:Prasanna has a gruff voice.

Explanation

The word "gruff" means rough or harsh in tone or sound. The antonym for this would be "mild," which means gentle or soft in tone or sound. Therefore, "mild" is the opposite of "gruff" and is the correct answer.

Submit
150. Senators from urban areas are very concerned about assuring that there will be funding for a new international airport. Senators from rural areas refuse to fund anything until money for agricultural subsidies is appropriated. If the legislature funds these two programs, on which of the following could they spend the rest of the money?

Explanation

The legislature could spend the rest of the money on the school music program and national radio because these options are not conflicting with the concerns of senators from urban and rural areas. There is no mention of any opposition or specific concerns related to these programs, so they can be considered as viable options for funding.

Submit
151. Find the antonym for below:-Humility always pays.

Explanation

The word "humility" means having a modest or low view of oneself. The antonym for humility would be "humbleness," which means having a lack of modesty or being proud. Therefore, the statement "Humility always pays" suggests that being humble or modest is beneficial, and the opposite of that would be to have a lack of humbleness.

Submit
152. Which is proper subset designed to support views belonging to different classes of users in order to hide or protect information.

Explanation

A sub-schema is a subset of a larger schema that is designed to support views belonging to different classes of users. It allows for the hiding or protection of information by providing a restricted or customized view of the data to specific users or user groups. This helps to ensure that sensitive or confidential information is only accessible to authorized individuals while still allowing different classes of users to interact with the database.

Submit
153. A train 125 m long passes a man, running at 5 km/hr in the same direction in which the train is going, in 10 seconds. The speed of the train is:

Explanation

The man is running in the same direction as the train, so his effective speed relative to the train is the difference between their speeds, which is 5 km/hr. In 10 seconds, the train covers a distance equal to its own length plus the distance covered by the man. The distance covered by the man in 10 seconds is (5 km/hr) * (10/3600 hr/sec) * (1000 m/km) * (10 sec) = 139 m. Therefore, the total distance covered by the train in 10 seconds is 125 m + 139 m = 264 m. The speed of the train is the distance covered divided by the time taken, which is (264 m)/(10 sec) = 26.4 m/s = (26.4 m/s) * (3600 sec/hr) * (1 km/1000 m) = 95.04 km/hr, which is closest to 50 km/hr.

Submit
154. Anil wants to go the university. He starts from his house which is in the East and comes to a crossing. The road to his left ends in a theatre, straight ahead is the hospital. In which direction is the University?

Explanation

Based on the given information, Anil's house is in the East and he is at a crossing. The road to his left ends in a theatre and straight ahead is the hospital. Since the question is asking about the direction of the university, and no information is provided about the university's location in relation to the crossing, we cannot determine the exact direction of the university. Therefore, the correct answer cannot be determined based on the given information.

Submit
155. A variable P is called pointer if

Explanation

A variable P is called a pointer because it contains the address of an element in DATA. Pointers are used to store memory addresses, allowing us to access and manipulate data indirectly. By storing the address of an element in DATA, P can be used to reference and modify that specific element.

Submit
156. The file in DBMS is called as .................. in RDBMS.

Explanation

In DBMS, a file is the basic unit of data storage. However, in RDBMS (Relational Database Management System), the equivalent term used for a file is a "table". A table in RDBMS is a collection of related data organized in rows and columns, following a predefined schema. It stores structured data in a tabular format, making it easier to query and manipulate using SQL. Therefore, the correct answer is "table".

Submit
157. Present ages of Sameer and Anand are in the ratio of 5 : 4 respectively. Three years hence, the ratio of their ages will become 11 : 9 respectively. What is Anand's present age in years?

Explanation

The ratio of Sameer's age to Anand's age is 5:4. This means that for every 5 years Sameer ages, Anand ages 4 years.
Three years from now, the ratio of their ages will be 11:9. This means that for every 11 years Sameer ages, Anand ages 9 years.
By comparing the two ratios, we can see that the difference in their ages remains constant. This means that the age difference between Sameer and Anand will always be 1 year.
If Sameer's present age is a multiple of 5 (since the ratio is 5:4), then Anand's present age will be that multiple minus 1.
In this case, if Sameer's present age is 20, then Anand's present age will be 19.
Therefore, Anand's present age could be 24.

Submit
158. In a family there are husband wife, two sons and two daughters. All the ladies were invited to a dinner. Both sons went out to play. Husband did not return from office. Who was at home?

Explanation

Based on the information given, it is stated that the husband did not return from the office and both sons went out to play. Therefore, no one was at home.

Submit
159. Collection of record is known as?

Explanation

A collection of records is known as a file. A file is a named collection of related data that is stored on a computer storage device. It can contain various types of information, such as text, images, or numerical data. Files are used to organize and store data in a structured manner, allowing for easy retrieval and manipulation. They are commonly used in computer systems for tasks such as data storage, data transfer, and data backup.

Submit
160. What will you do to treat the constant 3.14 as a long double?

Explanation

To treat the constant 3.14 as a long double, the "L" suffix is used. This suffix indicates that the value should be treated as a long double data type.

Submit
161. What will be output if you will compile and execute the following c code? void main(){ char *str="Hello world"; printf("%d",printf("%s",str)); }

Explanation

The code declares a pointer variable `str` and initializes it with the string "Hello world". The `printf` function is then called with `%s` format specifier to print the string, and the return value of `printf` (number of characters printed) is passed as an argument to the outer `printf` which uses `%d` format specifier to print it. Therefore, the output will be "Hello world" followed by the number of characters printed, which is 11.

Submit
162. Linked lists are best suited

Explanation

Linked lists are best suited for situations where the size of the structure and the data in the structure are constantly changing. This is because linked lists allow for efficient insertion and deletion of elements at any position in the list. Unlike arrays, linked lists do not require contiguous memory allocation, so they can easily accommodate changes in size. Additionally, linked lists provide dynamic memory allocation, which allows for efficient memory utilization as the size of the structure and the data within it fluctuate.

Submit
163. B Trees are generally

Explanation

not-available-via-ai

Submit
164. What if we call run() method directly instead start() method?

Explanation

If we call the run() method directly instead of the start() method, the thread will not start in a separate call stack. Instead, the run() method will be executed on the current call stack of the main thread. This means that the thread will not run concurrently with other threads and will not be able to take advantage of the multi-threading capabilities of the program. Therefore, both options A and B are correct.

Submit
165. A batsman has a certain average of runs for 25 innings. In the next innings, he scores 156 runs thereby increasing his average by 2 runs. His new average is 

Explanation

In order to increase his average by 2 runs, the batsman must have scored a total of 2 * 26 = 52 runs in the 26th inning. Therefore, his average after 26 innings would be (25 * average + 52) / 26. Given that his average after 25 innings is x, we can set up the equation (25 * x + 52) / 26 = x + 2. Solving this equation, we find x = 104. Therefore, the new average after 26 innings is 104 + 2 = 106 runs.

Submit
166. Which letter will come exactly between the 10th letter from your left and the 7th letter from your right. Without changing any order in the original from the alphabet?

Explanation

The letter O will come exactly between the 10th letter from the left and the 7th letter from the right. This can be determined by counting the letters from both sides of the alphabet. The 10th letter from the left is Q, and the 7th letter from the right is N. The letter O is the letter that comes between Q and N in the alphabet.

Submit
167. Identify the data structure which allows deletions at both ends of the list but insertion at only one end.

Explanation

The correct answer is "Input restricted dequeue" because a dequeue, also known as a double-ended queue, allows deletions at both ends of the list but only allows insertion at one end. This means that elements can be removed from either the front or the rear of the dequeue, but new elements can only be added to one end, typically the rear. This makes it a suitable data structure for scenarios where elements need to be efficiently removed from either end, such as implementing a queue or a stack.

Submit
168. Which of the following statement is false?

Explanation

The statement "pointers store the next data element of a list" is false. Pointers in a linked list store the memory address of the next node, not the actual data element itself. The information part of a node in a linked list stores the actual data element, while the next pointer points to the memory address of the next node in the list.

Submit
169. Which normal form is considered adequate for relational database design?

Explanation

The third normal form (3NF) is considered adequate for relational database design because it eliminates redundant data by ensuring that each non-key attribute depends only on the key attribute of a table. This helps in reducing data anomalies and maintaining data integrity. 3NF also ensures that there are no transitive dependencies between non-key attributes, further improving the efficiency and effectiveness of the database design.

Submit
170. Each side of a rectangle is increased by 100% .By what percentage does the area increase?

Explanation

When each side of a rectangle is increased by 100%, it means that both the length and width of the rectangle are doubled. The area of a rectangle is calculated by multiplying the length and width. Since both the length and width are doubled, the area will be multiplied by 2 * 2 = 4. This means that the area will increase by 400%. However, the question asks for the percentage increase, so we subtract the original area (100%) from the increased area (400%) to get the percentage increase, which is 400% - 100% = 300%. Therefore, the correct answer is 300.

Submit
171. If we want to create our own exception class then we have to?

Explanation

To create our own exception class, we need to extend the exception class. By extending the exception class, we inherit the properties and methods of the exception class, which allows us to customize and define our own exception behavior. This enables us to handle specific exceptions in a more specific and meaningful way in our code. The other options mentioned, such as using the throw keyword, the final keyword, or the try and catch block, are not directly related to creating our own exception class.

Submit
172. What will be output if you will compile and execute the following c code?#define x 5+2void main(){int i;i=x*x*x;printf("%d",i);}

Explanation

The output of the code will be 27. In the code, the macro `x` is defined as `5+2`, so the line `i=x*x*x;` will be expanded to `i=5+2*5+2*5+2`, which simplifies to `i=5+10+10+2`, and further simplifies to `i=27`. Therefore, the value of `i` will be 27, which will be printed by the `printf` statement.

Submit
173. Synonym for:- CORPULENT

Explanation

The synonym for "corpulent" is "stout" because both words describe someone who is overweight or has a large, heavy build. "Stout" is often used to describe someone who is fat or heavily built, similar to "corpulent".

Submit
174. In which header file is the NULL macro defined?

Explanation

The NULL macro is defined in both stdio.h and stddef.h header files. These header files are part of the C standard library and provide various standard functions and definitions. The NULL macro is typically used to represent a null pointer, indicating that a pointer does not point to any valid memory address. Including both stdio.h and stddef.h ensures that the NULL macro is available for use in the program.

Submit
175. The maximum combined length of the command-line arguments including the spaces between adjacent arguments is

Explanation

The maximum combined length of command-line arguments can vary from one operating system to another. Different operating systems have different limitations on the length of command-line arguments. Therefore, there is no fixed maximum length that applies universally to all operating systems.

Submit
176. Which bitwise operator is suitable for turning on a particular bit in a number?

Explanation

The | operator is suitable for turning on a particular bit in a number. The | operator performs a bitwise OR operation, which sets a bit to 1 if it is 1 in either of the operands. By using the | operator with a number and a bitmask that has the desired bit set to 1 and all other bits set to 0, the particular bit can be turned on in the number.

Submit
177. (Choose the correct meaning of Idioms and Phrases from options)At sixes and sevens

Explanation

The phrase "at sixes and sevens" means to be in a state of confusion or disorder. It implies a lack of organization or harmony. Therefore, the correct meaning of the idiom is "in disorder."

Submit
178. Which of the following is not proper state of transaction?

Explanation

Partially committed is not a proper state of a transaction. In a transaction, the states are typically classified as committed, aborted, or partially aborted. A committed state indicates that the transaction has been successfully completed and all changes have been permanently saved. An aborted state means that the transaction has been rolled back and all changes have been undone. A partially aborted state indicates that some changes have been rolled back, but not all. However, there is no concept of a partially committed state in transaction processing.

Submit
179. When determining the efficiency of algorithm, the space factor is measured by

Explanation

The efficiency of an algorithm can be measured by considering the space factor, which refers to the amount of memory required by the algorithm. By counting the maximum memory needed by the algorithm, we can determine the worst-case scenario in terms of space utilization. This helps in understanding the algorithm's performance and allows for comparisons with other algorithms. Counting the minimum memory needed or the average memory needed would not provide a comprehensive understanding of the algorithm's space efficiency. Counting the maximum disk space needed is not relevant to measuring the algorithm's space efficiency.

Submit
180. One can convert a binary tree into its mirror image by traversing it in

Explanation

In order to convert a binary tree into its mirror image, we need to swap the left and right subtrees of each node. This can be achieved by traversing the tree in postorder. In postorder traversal, we first visit the left subtree, then the right subtree, and finally the root node. By performing the swapping operation during this traversal, we can effectively convert the binary tree into its mirror image.

Submit
181. Find the odd one out

Explanation

The correct answer is birds: horticulture. The odd one out in this group is birds because the other three options are all related to the rearing or cultivation of specific animals or insects. Pisciculture refers to the breeding and rearing of fish, apiculture refers to beekeeping, and sericulture refers to the production of silk through the cultivation of silkworms. Horticulture, on the other hand, is the science and art of cultivating plants, which does not directly involve birds.

Submit
182. The level of data abstraction which describes how the data is actually stored is?

Explanation

The level of data abstraction which describes how the data is actually stored is referred to as "physical language". This level focuses on the physical representation of data, including details such as file organization, indexing techniques, and storage structures. It deals with the actual implementation of data storage and retrieval mechanisms. The physical language level is concerned with the low-level details of data storage and is closer to the hardware level.

Submit
183. Which of the following sorting algorithm is stable

Explanation

Heap sort is a stable sorting algorithm because it maintains the relative order of elements with equal keys. In other words, if two elements have the same key, their original order is preserved after the sorting process. This is achieved by using a binary heap data structure, which allows for efficient extraction of the minimum or maximum element. The algorithm repeatedly extracts the minimum (or maximum) element from the heap and places it at the end of the sorted array, ensuring stability in the sorting process.

Submit
184. Find the antonym for below:-Suddenly Rani heard the sound of water trickling.

Explanation

The word "suddenly" indicates that the action of hearing the sound of water trickling happened quickly and unexpectedly. The antonym for "trickling" would be a word that suggests a slower, more deliberate action. "Dripping" fits this description as it implies a slow and steady flow of water. Therefore, "dripping" is the correct antonym in this context.

Submit
185. What is stderr ?

Explanation

Standard error streams, often referred to as stderr, are a type of output stream in computer programming. They are used to display error messages and diagnostic information from a program. Unlike standard output streams (stdout), which display normal program output, stderr is specifically designed to handle error-related information. This separation allows developers to easily distinguish and handle errors separately from regular program output. By redirecting stderr to a file or another output stream, programmers can effectively manage and analyze error messages generated by their programs.

Submit
186. When inorder traversing a tree resulted E A C K F H D B G; the preorder traversal would return

Explanation

The given inorder traversal is E A C K F H D B G. In a preorder traversal, the root node is visited first, followed by the left subtree and then the right subtree. Looking at the inorder traversal, we can see that the first element is E. So, E must be the root of the tree. The elements to the left of E (A C K) must be in the left subtree and the elements to the right of E (F H D B G) must be in the right subtree. Following this logic, we can construct the preorder traversal as FAEKCDHGB.

Submit
187. (Choose the correct meaning of Idioms and Phrases from options)At large

Explanation

The correct answer for the given question is "abscond." The phrase "at large" is commonly used to describe someone who is on the run or has escaped from custody. It implies that the person is not in custody or under control and is still free and not caught. Therefore, "abscond" is the most suitable option as it means to leave hurriedly and secretly, especially to avoid detection or arrest.

Submit
188. A boat takes 90 minutes less to travel 36 miles downstream than to travel the same distance upstream. If the speed of the boat in still water is 10 mph, the speed of the stream is:

Explanation

The boat's speed in still water is 10 mph, which means it can travel 10 miles in one hour. Let's assume the speed of the stream is x mph. When the boat is traveling downstream, the stream helps it move faster, so the effective speed is 10 + x mph. When the boat is traveling upstream, the stream opposes its motion, so the effective speed is 10 - x mph. The time taken to travel 36 miles downstream is therefore 36 / (10 + x) hours, and the time taken to travel the same distance upstream is 36 / (10 - x) hours. The difference in time is given as 90 minutes, or 1.5 hours. Setting up the equation: 36 / (10 + x) - 36 / (10 - x) = 1.5. Solving this equation, we find that x = 2. Therefore, the speed of the stream is 2 mph.

Submit
189. Which of the following sorting methods would be most suitable for sorting a list which is almost sorted

Explanation

Bubble Sort would be the most suitable sorting method for sorting a list that is almost sorted. Bubble Sort works by repeatedly swapping adjacent elements if they are in the wrong order. In an almost sorted list, there would be only a few elements that are out of order, and Bubble Sort's swapping mechanism would efficiently move these elements to their correct positions. Other sorting methods like Insertion Sort, Selection Sort, and Quick Sort may still work for an almost sorted list, but Bubble Sort would be more efficient in terms of time complexity.

Submit
190. Two dimensional arrays are also called

Explanation

Two dimensional arrays are also called tables arrays and matrix arrays because they are structured in a way that resembles a table or a matrix. They have rows and columns, similar to a table, and can store multiple values in a grid-like structure. Therefore, both terms are correct and can be used interchangeably to refer to two dimensional arrays.

Submit
191. A train passes a station platform in 36 seconds and a man standing on the platform in 20 seconds. If the speed of the train is 54 km/hr, what is the length of the platform?

Explanation

The train takes 36 seconds to pass the platform and 20 seconds to pass the man. This means that the man's length is subtracted from the total length of the train and platform. The difference in time is 16 seconds, which is the time it takes for the train to pass the platform. We can use the formula speed = distance/time to find the length of the train. Converting the speed from km/hr to m/s, we get 54 km/hr = 15 m/s. Therefore, the length of the train is 15 * 16 = 240 meters.

Submit
192. What are the different types of real data type in C ?

Explanation

The different types of real data types in C are float, double, and long double. These data types are used to store decimal numbers with different levels of precision. The float data type is used to store single-precision floating-point numbers, which can store numbers with up to 7 significant digits. The double data type is used to store double-precision floating-point numbers, which can store numbers with up to 15 significant digits. The long double data type is used to store extended-precision floating-point numbers, which can store numbers with even higher precision than double.

Submit
193. What will be output if you will compile and execute the following c code?void main(){int x;for(x=1;x<=5;x++);printf("%d",x);}

Explanation

The code will output 6. This is because the for loop is executed until the condition x

Submit
194. Which of the following data structures are indexed structures?

Explanation

Linear arrays are indexed structures because they store elements in a contiguous block of memory and each element can be accessed directly using its index. In a linear array, the index represents the position of an element, allowing for efficient random access and retrieval. On the other hand, linked lists do not have direct indexing capabilities as each element is stored in a separate node and accessed sequentially by following the links between nodes. Therefore, the correct answer is "linear arrays".

Submit
195. A motorboat, whose speed is 15 km/hr in still water goes 30 km downstream and comes back in a total of 4 hours 30 minutes. the speed of the stream (in km/hr) is:

Explanation

Let's assume the speed of the stream is x km/hr. When the motorboat is going downstream, its effective speed is (15 + x) km/hr. The time taken to go downstream is 30/(15 + x) hours. When the motorboat is coming back upstream, its effective speed is (15 - x) km/hr. The time taken to come back is 30/(15 - x) hours. The total time taken is 4 hours 30 minutes, which is equal to 4.5 hours. So, we have the equation 30/(15 + x) + 30/(15 - x) = 4.5. Solving this equation, we find x = 5 km/hr, which is the speed of the stream.

Submit
196. If the legislature decides to fund the agricultural subsidy program, national radio, and the small business loan program, what two other programs could they fund?

Explanation

The given answer states that if the legislature decides to fund the agricultural subsidy program, national radio, and the small business loan program, they could also fund harbor improvements and a school music program. This implies that these two programs are compatible with the other programs mentioned and can be funded together.

Submit
197. What will be output if you will compile and execute the following c code?void main(){int i=320;char *ptr=(char *)&i;printf("%d",*ptr);}

Explanation

The code declares a variable 'i' and assigns it the value of 320. It then declares a character pointer 'ptr' and assigns it the address of 'i'. The code then prints the value at the memory location pointed to by 'ptr', which is the least significant byte of 'i'. Since 'i' is a 4-byte integer, the least significant byte is 64. Therefore, the output will be 64.

Submit
198. What will be output if you will compile and execute the following c code?void main(){char c=125;c=c+10;printf("%d",c);}

Explanation

The code declares a variable 'c' of type char and assigns it the value 125. It then adds 10 to 'c'. Since 'c' is a char, it can hold values from -128 to 127. Adding 10 to 125 exceeds this range, causing an overflow. When an overflow occurs, the value wraps around to the opposite end of the range, resulting in -121. Therefore, the output of the code will be -121.

Submit
199. What will be output if you will compile and execute the following c code?void main(){printf("%d",sizeof(5.2));}

Explanation

The code is using the sizeof() function to determine the size in bytes of the constant value 5.2, which is a double data type. The sizeof(double) returns 8 bytes on most systems, so the output of the code will be 8.

Submit
200. A full binary tree with 2n+1 nodes contain

Explanation

A full binary tree is a tree in which every node has either 0 or 2 children. In this case, the tree has 2n+1 nodes. Since each non-leaf node has 2 children, there will be n non-leaf nodes in total.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 21, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Nov 17, 2015
    Quiz Created by
    VipulTyagi
Cancel
  • All
    All (200)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
 Join these parts to make a meaningful sentence. The correct...
The SQL command to create a table is:
Look at this series: 7, 10, 8, 11, 9, 12, ... What number should come...
Which of the following is not a type of constructor?
Find the synonym for below:-Raju was exhausted after a long Journey
Look at this series: 53, 53, 40, 40, 27, 27, ... What number should...
What will be the next seriesCBA, WVU, IHG, TSR, ?
Which provides the mechanism to handle the runtime errors so that...
She wants to become ----- engineer
The term "push" and "pop" is related to the
............................ is the powerful language for working with...
DBMS provides?
Which SQL statement is used to update data in a database?
A is the mother of B and C. If D is the husband of C. What is A to D
To represent hierarchical relationship between elements, Which data...
When new data are to be inserted into a data structure, but there is...
The following Syntax is used for?class Subclass-name extends...
What will be the next valueFAG, GAF, HAI, IAH, ____
(Join these parts to make a meaningful sentence. The correct order of...
Join these parts to make a meaningful sentence. The correct order of...
Look at this series: 22, 21, 23, 22, 24, 23, ... What number should...
__________ used to make a copy of one class object from another class...
Two main measures for the efficiency of an algorithm are
It is ------ absurd story
A family consists of six members P, Q, R, S, T and U. There are two...
The memory address of the first element of an array is called
Which of these field types would be best to hold a .jpg image?
3. Consider the following code snippetString river = new...
Find the synonym for below:-GENIAL
Running at the same constant rate, 6 identical machines can produce a...
The complexity of merge sort algorithm is
The DROP TABLE statement:
Find the antonym for below:-Mala looks pretty.
Synonym for:- ACRIMONY
Among five boys, Vamsi is taller than Manohar, but not as tall as...
How many instances of an abstract class can be created?
These two ways are used to?...
Look at this series: 2, 1, (1/2), (1/4), ... What number should come...
If South-East becomes North, North-East becomes West and so on, what...
Which are used to produce a programming environment that supports the...
Synonym for:- FELICITY
Prepare the correct sequenceWhen heP : did not knowQ : he was nervous...
(Choose the correct meaning of Idioms and Phrases from options)At...
Which of the following approach is adapted by C++?
A class which cannot be instantiated is known as?
One of the major drawback of B-Tree is the difficulty of traversing...
Which of the following may be part of a class definition?
If it is possible to from a word with the first, fourth, seventh and...
Which is a perfect example of runtime polymorphism?
Prepare the correct sequence:-Since the beginning of historyP : have...
Q is as much younger than R as he is older than T. If the sum of the...
Class A has a higher enrollment than Class B.Class C has a lower...
A pointer is
(Join these parts to make a meaningful sentence. The correct order of...
What operator tests column for the absence of data?
Find the synonym for below:-REVAMP
All the trees in the park are flowering trees.Some of the trees in the...
(Join these parts to make a meaningful sentence. The correct order of...
(Choose the correct meaning of Idioms and Phrases from options)At the...
Ramesh walks 30 m towards south. Then turning to his right he walks...
Which is nothing but a blueprint or a template for creating different...
The primary key is selected from the:
(Choose the correct meaning of Idioms and Phrases from options)Above...
Which of the following gets called when an object goes out of scope?
Prepare the correct sequence:-It has been established thatP:Einstein...
(Choose the correct meaning of Idioms and Phrases from options)At one...
An attribute is a(n):
Which of the following concepts means determining at runtime what...
Which of the following is NOT available in MySQL?
Which SQL statement is used to return only different values?
Susan can type 10 pages in 5 minutes. Mary can type 5 pages in 10...
Introducing a man, a woman said, "His wife is the only daughter of my...
What will be the output of following code?#include...
A vendor bought toffees at 6 for a rupee. How many for a rupee must he...
There are five books A, B, C, D and E placed on a table. If A is...
Find the odd one out
Which variables are created when an object is created with the use of...
Find the antonym for below:-Angels descend from the heaven.
Find the antonym for below:-Nothing in life runs smooth.
Prepare the correct sequence:-I read an advertisement that saidP :...
The sum of the ages of Neelima and her father is 62 years. After four...
The present ages of three persons in proportions 4 : 7 : 9. Eight...
Running at the same constant rate, 6 identical machines can produce a...
Which of the following type of class allows only one object of it to...
Public static void main(String args[]) {int x = 42;double y =...
Find the antonym for below:-Whatever he writes is hazy
Joe is younger than Kathy.Mark was born after Joe.Kathy is older than...
Arrays are best data structures
The situation when in a linked list START=NULL is
----- lion is a ferocious animal
(Choose the correct meaning of Idioms and Phrases from options)At...
What is garbage collection in the context of Java?
I go to Madurai by ----- Vaigai Express
How many permutations of 3 different digits are there, chosen from the...
The operator used to get value at address stored in a pointer variable...
The quick sort algorithm exploit _________ design technique
1. Consider the following program:import myLibrary.*;public class...
Which of the following is TRUE?
10. You read the following statement in a Java program that compiles...
Find the antonym for below:-Raju was exhausted after a long Journey.
The best average behavior is shown by
Ayisha's age is 1/6th of her father's age. Ayisha 's father's age will...
39 persons can repair a road in 12 days, working 5 hours a day. In how...
Considerpublic class MyClass{public MyClass(){/*code*/} // more...
Find the antonym for below:-Rama is always logical in his thinking
Which of the following is NOT a type of SQL constraint?
1 monkey takes 3 min to eat 1 banana. How much time will 10 monkeys...
If a boat is moving in upstream with velocity of 14 km/hr and goes...
Finding the location of the element with a given value is:
A binary search tree whose left subtree and right subtree differ in...
What is byte code in the context of Java?
Find the synonym for below:-Humility always pays.
Find the number of ways in which one or more letter be selected from...
A walks 10 m in front and 10m to the right. Then every time turning to...
Stack is also called as
A father said to his son, "I was as old as you are at the present at...
Based on the following statements, which is the correct conclusion...
Blueberries cost more than strawberries.Blueberries cost less than...
In linear search algorithm the Worst case occurs when
Which of the following data structure can't store the non-homogeneous...
The following two rules are defined by?...
Find the synonym for belowSuddenly Rani heard the sound of water...
A man spends Rs. 750 on an average during first 8 months. During the...
Which of the following is an invalid visibility label while inheriting...
The operation of processing each element in the list is known as
What garbage collection in the context of java?
An adjacency matrix representation of a graph cannot contain...
In order for a source code file, containing the public class test, to...
Which class is used when a program does not want to handle exception?
In one hour, a boat goes 11 km/hr along the stream and 5 km/hr against...
What is (void*)0?
Which of the following is used to database security?
6 parallerl lines are intersected by 5 other parallel lines. The total...
The temperature on Monday was lower than on Tuesday.The temperature on...
What will be output if you will compile and execute the following c...
Which symbol Used to contain the values of automatically initialized...
Rahul ranks 17th in a class of 31. What is his rank from the last?
Which of the following is not a limitation of binary search...
The depth of a complete binary tree is given by
Which inheritance is not supported in java?
Vishal goes to a shop to buy a radio costing Rs 2568. The rate of...
A key:
Which of the following are unary operators in C?
What is an advantage of placing computations in SQL views?
Which of the following data structure is not linear data structure?
A binary tree whose every node has either zero or two children is...
The Exception class has two main subclasses?
New York is ----- large city
Find the antonym for below:Prasanna has a gruff voice.
Senators from urban areas are very concerned about assuring that there...
Find the antonym for below:-Humility always pays.
Which is proper subset designed to support views belonging to...
A train 125 m long passes a man, running at 5 km/hr in the same...
Anil wants to go the university. He starts from his house which is in...
A variable P is called pointer if
The file in DBMS is called as .................. in RDBMS.
Present ages of Sameer and Anand are in the ratio of 5 : 4...
In a family there are husband wife, two sons and two daughters. All...
Collection of record is known as?
What will you do to treat the constant 3.14 as a long double?
What will be output if you will compile and execute the following c...
Linked lists are best suited
B Trees are generally
What if we call run() method directly instead start() method?
A batsman has a certain average of runs for 25 innings. In the next...
Which letter will come exactly between the 10th letter from your left...
Identify the data structure which allows deletions at both ends of the...
Which of the following statement is false?
Which normal form is considered adequate for relational database...
Each side of a rectangle is increased by 100% .By what percentage does...
If we want to create our own exception class then we have to?
What will be output if you will compile and execute the following c...
Synonym for:- CORPULENT
In which header file is the NULL macro defined?
The maximum combined length of the command-line arguments including...
Which bitwise operator is suitable for turning on a particular bit in...
(Choose the correct meaning of Idioms and Phrases from options)At...
Which of the following is not proper state of transaction?
When determining the efficiency of algorithm, the space factor is...
One can convert a binary tree into its mirror image by traversing it...
Find the odd one out
The level of data abstraction which describes how the data is actually...
Which of the following sorting algorithm is stable
Find the antonym for below:-Suddenly Rani heard the sound of water...
What is stderr ?
When inorder traversing a tree resulted E A C K F H D B G; the...
(Choose the correct meaning of Idioms and Phrases from options)At...
A boat takes 90 minutes less to travel 36 miles downstream than to...
Which of the following sorting methods would be most suitable for...
Two dimensional arrays are also called
A train passes a station platform in 36 seconds and a man standing on...
What are the different types of real data type in C ?
What will be output if you will compile and execute the following c...
Which of the following data structures are indexed structures?
A motorboat, whose speed is 15 km/hr in still water goes 30 km...
If the legislature decides to fund the agricultural subsidy program,...
What will be output if you will compile and execute the following c...
What will be output if you will compile and execute the following c...
What will be output if you will compile and execute the following c...
A full binary tree with 2n+1 nodes contain
Alert!

Advertisement