-->

EveryBrickMatters

Shell Script to add the digits of a number

Write script to print given numbers sum of all digit, For eg. If no is 123 it's sum of all digit will be 1+2+3 = 6. #!/bin/ksh n=12...


Shell Script to reverse given no

Write script to print given number in reverse order, for eg. If no is 123 it must print as 321. #!/bin/ksh n=123 num=0 while [ n -gt...


Shell Script to find the greatest of three number provided as command line arguments

Write Script to find out biggest number from given three nos. Nos are supplies as command line argument. Print error if sufficient argument...


MindTree Interview Experience Set 1

MindTree conducted a placement drive where 160 appeared written test but only 30 selected for technical HR round and finally 18 got selecte...


Find loop in a Linked List

Que : Write a program to check whether there is a loop in linked list . For example see in the following figure we have loop : Method 1...


Joins in Database

Explain all the Joins ? An SQL join clause combines records from two or more tables in a database. It creates a set that can be saved as ...


Aricent Group Interview Experience Set 1

Aptitude Test The aptitude test was conducted online and consisted of 4 parts 1. English 2. Mathematical Aptitude 3. Computers( pseudo...


MAQ Software Interview Experience Set 1.

Aptitude Test The first round was conducted on 15th November 2012,Ist round held on 14:00 and of 50 minutes.first round consists of 75 mu...


Measure 45 minutes using two candles

Que :  You are given a match-box and two candles of equal size, which can burn 1 hour each. You have to measure 45 minutes with these candl...


SQL Complex Queries Interview Question Set 1

Que : You are given a table named Employee with columns EmployeeId, Name , ManagerId in it. Write an SQL statement to find out all the mana...


One Rupee Mystery Puzzle

Que : Three friends rent a room for Rs.30 by paying Rs.10 each. The owner decides to give them a discount Rs.5 and gives it to the broker. ...


Heavy or Light Weight Ball Puzzle

Que : You have eight balls: seven are the same weight, and one is heavier or lighter than the rest. Given a scale that only tells you which...