Tip 1: Focus on Fundamentals – Ensure you thoroughly understand key principles before tackling complex problems.
Tip 2: Stay Regular – Consistent practice sharpens your skills and builds confidence over time.
Tip 3: Embrace Challenges – View difficulties as opportunities to learn and grow, not as obstacles to avoid.
Tip 1: Match your resume to the job – Highlight skills and experiences relevant to the role you are applying for.
Tip 2: Be clear and results-oriented – Use simple language and demonstrate what you achieved with numbers or outcomes.
Article A was sold at a 20% profit, and Article B was sold at a 60% profit. The selling price of Article B was 150% higher than that of Article A. By what percent is the cost price of Article B more than that of Article A?
Options:
How many pairs of integers (x, y) exist such that the product of x, y and HCF (x, y) = 1080?
Options:
A prime number p greater than 100 leaves a remainder q when divided by 28. How many values can q take?
Options:
The difference between the compound interest and the simple interest on a certain sum at 12% p.a. for two years is Rs. 90. What will be the value of the amount at the end of 3 years?
Options:
Two persons A and B start moving at each other from point P and Q, respectively which are 1400 Km apart. The speed of A is 50 Km/hr and that of B is 20 Km/hr. How far is A from Q when he meets B for the 22nd time?
Options:
A and B take part in a duel. A can strike with an accuracy of 0.6. B can strike with an accuracy of 0.8. A has the first shot, post which they strike alternately. What is the probability that A wins the duel?
Options:
If log2X + log4X = log0.25√6 and x > 0, then x is?
Traders A and B buy two goods for Rs. 1000 and Rs. 2000 respectively. Trader A marks his goods up by x%, while trader B marks his goods up by 2x% and offers a discount of x%. If both make the same non-zero profit, find x
Options:
Let the nth term of AP be defined as tn, and sum up to 'n' terms be defined as Sn. If |t8| = |t16| and t3 is not equal to t7, what is S23?
Options:
Two circles are placed in an equilateral triangle as shown in the figure. What is the ratio of the area of the smaller circle to that of the equilateral triangle.
Options:
π:27√3
π:36√3
π:18√3
π:42√3
Choose the option in which the usage of the word is incorrect or inappropriate:
Run
→ “I must run fast to catch up with him”
→ “Our team scored a goal against the run of play”
→ “You can’t run over him like that”
→ “This film is a run-of-the-mill production”
Choose the option in which the usage of the word is incorrect or inappropriate:
File
→ “You will find the paper in the file under C”
→ “I need to file an insurance claim”
→ “The cadets were marching in a single file”
→ “When the parade was on, a soldier broke the file”
Choose the suitable substitute for the expression in quotes:
“The marriage of the princess with the commoner” caused a furore among the royalty.
Options: mesalliance / misalliance / elopement / romance
Rearrange the following in order:
(A) In this spirit, Xenophanes dismisses the Olympian gods outright.
(B) It was inevitable that philosophy’s debt to politics be repaid.
(C) Aristotle intimates that Anaximander … espoused monotheism.
(D) From speculation about the natural world …
(E) This was in keeping with their presumption …
Options: BDCEA / CABED / DEABC / BCADE / ABCDE
Find the error and correct the sentence:
Though disposing of nuclear waste remains a concern, nuclear plants are often subsidized…
Options: Include variations with “off/of” and correct phrasing.
Find the error and correct the sentence:
I have met the director yesterday, and he assured me that he will help if you will ask him.
Find the error and correct:
Had it not been for the chieftain’s tireless efforts, the dispute will not have resolved.
Which one of the following is NOT a divide-and-conquer approach?
Which of the following is false about a circular linked list?
Options:
A sum becomes ₹13,310 in 3 years and ₹14,641 in 4 years at compound interest. Find the rate of interest.
Options:
If log₁₀2 = 0.3010, find log₁₀5.
Options:
A man sells two articles at ₹1200 each. On one he gains 20%, on other he loses 20%. Overall?
Options:
In code language,
“SMART” → “TNBSU”
Then “PLANE” → ?
Options:
Six friends A, B, C, D, E, F sit in a row facing north.
C is between A and F. B is immediate right of A. D is left of F. Who sits at the extreme right?
Options:
Find missing term: 3, 8, 15, 24, 35, ?
Options:
If ALL PENS ARE BOOKS. SOME BOOKS ARE PAGES. Conclusion?
Options:
Find next: AZ, BY, CX, DW, ?
Options:
If South-East becomes North, what is West?
Options:
Find the next number in the series: 1, 4, 9, 16, 25, ?
Options:
Coding: BOOK = 2664, LOOK=?
Options:
What is the worst-case time complexity of QuickSort?
Options:
Which traversal gives a sorted output in a BST?
Options:
What happens if a destructor is private?
Options:
Which normalization form removes transitive dependency?
Options:
Which conditions are required for a deadlock?
Options:
Pointer arithmetic: If ptr points to an int array, what does ptr++ do?
Options:
Find the missing term in the series: 3, 8, 15, 24, 35, ?
Options:
What is the time complexity of inserting at the head of a singly linked list?
Options:
How does inheritance relate to abstraction?
If South-East becomes North, what is West?
Options:
Identify the error in the following sentence:
He do not like coffee.
Options:
Which of the following is the correct spelling of the word Accommodate?
Options:
Change the following sentence from Active Voice to Passive Voice:
She wrote a letter.
Options:
One-word substitution: A person who works for hire.
Options:
A function in the base class is redefined in the derived (inherited) class. What is the term used to describe this situation?
Options:
A programmer writes a program to search for an element in the array A[5] with elements: 8, 30, 40, 45, 70.
The program runs a binary search to find a number X, and the element is found in the first iteration of the search.
What is the value of X?
Options:
Which of the given statements is TRUE about a breadth-first search?
Options
What will be the output of the following pseudocode?
Integer a = 456, b, c, d = 10
b = a / d
c = a - b
print c
Options:
Essay Writing: The Impact of Artificial Intelligence on Future Employment Opportunities.
Print the Statement [Java Programming]
Debug the Error:
The code below is commented out. Uncomment the code and fix the errors to make the program run correctly.
import java.io.*;
class Main { /*
public static main (String[] args) {
System.out.println("CTS Automata");
} */
}
Sample Output:
CTS Automata
Case 1
Input (stdin):
No input
Output (stdout):
CTS AutomataArray Matrix of Dimension [Java Programming]
The function calculateMatrixSum(int matrix[][], int m, int n) accepts a two-dimensional array matrix of dimensions m × n as input and returns the sum of odd elements whose row and column indices are the same. The function compiles successfully but fails to return the correct result for some test cases.
The code below has been commented out. Uncomment the code and debug it.
import java.util.*;
class Main {
static int calculateMatrixSum(int matrix[][], int m, int n)
{ int sum=0;
/* int i,j,row=m, column=n;
if((row>0)&&(column>0))
{
for(i=0;i<row;i++)
{
for(j=0;j<column;j++)
{
if(i==j)
{
if( matrix[i][j] % 2 == 0)
sum+=matrix[i][j];
}
}
}
} */
return sum;
}
public static void main (String[] args) {
Scanner sc=new Scanner(System.in);
int rows=sc.nextInt();
int columns=sc.nextInt();
int twoD[][]=new int[rows][columns];
for(int i=0; i<rows;i++)
{
for(int j=0; j<columns;j++)
{
twoD[i][j]=sc.nextInt();
}
}
System.out.println(calculateMatrixSum(twoD,rows,columns));
}
}
Sample Input:
2
2
7 2
2 3
Output:
10
Case 1
Input (stdin):
2
2
7 2
2 3
Output (stdout):
10
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?