• Wednesday, July 5, 2017

    Tricky Aptitude Questions #1

    Syed Masoom Rizvi
    How many months during this year can have twenty eight days ?

    12 months because all months are have 28 days but feb only have total 28 days in this mnth remaining all months have 28th day and more
    (Answered By: Thooti Santosh)

    The product of two numbers is 2025 and their HCF is 15 their LCM is?

    The formula known to me is LCM*HCF=a*b (a and b are the numbers in çonsideration) Thus, LCM*15=2025 LCM=2025/15 LCM=135. Correct me if I am wrong!!
    (Answered by: Shantanu Sikdar)

    Why is a manhole cover round?

    A round manhole cover cannot fall through its circular opening, whereas a square manhole cover could fall in if it were inserted diagonally in the hole. Circular covers don't need to be rotated or precisely aligned when placing them on the opening. A round manhole cover is easily moved and rolled.
    (Answered by: Rakesh Sharma)

    A man can enter or get out of it in any position, The lid will not fall inside the hole.The lid can be opened or closed without much difficulty, Even preparing the hole or its lid is easy.
    (Answered by: Abdul Azeez)

    Calculate the angle of two clock pointers when time is 11:50?

    Angle Between every Number = 360/12 = 30 Degrees 11.50 Means, as a general view... Angle between Minute & Hour Needle is 30 Degrees. But, When Hour Needle will slightly reach to 12 to become 12 O'Clock. It moves 30/12 = 2.5 Degrees for every 5 Minutes.. 50 minutes means 25 Degrees.

    So Totally, 30 + 25 = 55 Degrees is the distance between Hours & Minutes Needle in in the clock at 11.50
    (Answered by: Satish Kumar)

    How many basketballs would fit in this room?

    In a ROOM I think can fit only 2 basket balls. Becoz in the word 'ROOM' the 'OO' only spaces to fit balls. In R,M we can't fit balls
    (Answered by: Devadas A N)

    Read here craziest interview questions.

    Carziest Question For HR Round Interview 2017 #1

    Syed Masoom Rizvi
    What will you do if our competitor offered you a higher salary?

    Salary is not the bottom line. My professional growth in the present company and the faith my employer has in me is more important. Jumping jacks do not go far
    (Answered by: Pyarali Bhimani)

    This shows that they got scared from our companies employee n their talent and th most imp thing s they dont trust thier employees,so why wud i join it may be in near future they heir some1 else in place of me.Their is no surity of stability n trust.Organizations' head shud trust their employees n respect their talent n motivate them.
    (Answered by: Radha Rani)

    If I gave you a billion dollars, what would you do with it?

    what is your salary expctation
    (Answered by: Sanjib Karmakar)

    It's like a dream but if i will have billions dollar first of all i will spend this money to make companies and factories. The benifits of company is that many people can get jobs from there and rest of amount i will spend on the poor child for higher education and food after get education they can work for me and i can make from billion to trillion and more child can get education for free and definately i will return your bilions dollar thanks
    (Answered by: Simarjeet Singh)

    If I were to hire you for this job and I granted you three promises with regard to working here, what would they be?

    1st. Don't make promise get me authentic letter. Rest a good salary package in what i am convinced to work for you mentioned in the authentic job offer letter.
    (Answered by: Mohin Shah)

    Salary in Time. Freedom to work. regular appraisal
    (Answered by: Stanley Susai)

    There are many instance in a day when minute needle and hour needle of a clock comes in a straight line?

    24 time's
    (Answered by: Rupali Kale)

    22 times. 11 times in every 12 hours.
    (Answered by: Ankita Garg)

    #src: timesjob.com

    Saturday, May 6, 2017

    9. Java Operators

    Syed Masoom Rizvi
    Java Operators Flow Chart

    What is Java Operators?
    Operators are special symbols that perform specific operations on one, two, or three operands, and then return a result. As we explore the operators of the Java programming language, it may be helpful for you to know ahead of time which operators have the highest precedence.
    Java provides rich set of  operators to manipulates variable. Operators can be divided into following groups:-

    • Arithmetic Operator
    • Relational Operator
    • Bitwise Operator
    • Logical Operator
    • Assignment Operator
    • Misc Operator

    Monday, March 20, 2017

    Android - New and easy way to handle findViewById.

    Syed Masoom Rizvi
    Field and Method binding method for android.

    A very easy method to bind your views to class.  It uses annotate fields @BindView and a view ID that automatically cast your view to field. 

    Old codes:

    class MyActivity extends Activity{
        Textview m1, m2;

        protected void onCreate(.......){
          m1 =(TextView) findViewById(R.id.tv_m1);
          m2 =(TextView) findViewById(R.id.tv_m2);

    New way to write this code:

    class MyActivity extends Activity{
        @BindView(R.id.tv_m1) TextView m1;
        @BindView(R.id.tv_m2) TextView m2;
        protected void onCreate(.....){