Sunday 28 July 2013

Intelligrape interview

Section 1
Q.1 WAP to print the sum of characters in a String. Assuming that A=1, B=2, C=3.....So DAD will be 4+1+4=9.
Q.2 Make a HashMap for the class Student.
class Student
{
String name;
Date dateOfBirth;
Integer fees;
}
Q.3 Given a series :
GGG
RRR
BBB
Convert it into:
GRB
GRB
GRB
Q.4 Given an array of positive, negative and zero's. Arrange the array such that all negative numbers are on the left, zeroes in the centre and positive numbers in the right.

Section - 2
Q.1 Create a database(tables) for the given relationship. Do not draw ER diagrams.
A group may have many challenges. A challenge can have many users. A user can have many challenges.



No comments:

Post a Comment