CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 6 1234 ... LastLast
Results 1 to 15 of 85

Thread: Simple Quiz

  1. #1
    Join Date
    Jul 2004
    Location
    Chennai, India
    Posts
    1,064

    Question Simple Quiz

    What is it that happens once in a year, twice a week but never in month?
    Madhivanan

    Failing to plan is Planning to fail

  2. #2
    Join Date
    Jun 2001
    Location
    Switzerland
    Posts
    4,443

    Re: Simple Quiz

    An 'e'. Next please
    Gabriel, CodeGuru moderator

    Forever trusting who we are
    And nothing else matters
    - Metallica

    Learn about the advantages of std::vector.

  3. #3
    Join Date
    Jul 2004
    Location
    Chennai, India
    Posts
    1,064

    Re: Simple Quiz

    Which number's square root is equivalent to its cubic reciprocal?
    Madhivanan

    Failing to plan is Planning to fail

  4. #4
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869

    Re: Simple Quiz

    Quote Originally Posted by Madhi
    Which number's square root is equivalent to its cubic reciprocal?
    1? And then a miracle occurs.....
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  5. #5
    Join Date
    Jul 2004
    Location
    Chennai, India
    Posts
    1,064

    Re: Simple Quiz

    Yes you are correct Tom
    Madhivanan

    Failing to plan is Planning to fail

  6. #6
    Join Date
    Feb 2003
    Location
    India
    Posts
    232

    Re: Simple Quiz

    One small and easy question.

    a*b*c*d = 12

    a, b, c and d are integers with diffrent values.

    What are the values of a, b, c and d.

    (There may be more than one correct answer)
    Sarve Bhavantu Sukheenah,
    Sarve Santu Niramayah,
    Sarve Bhadrani Pashyantu,
    Ma Kashchit dukh bhag bhavet.

  7. #7
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: Simple Quiz

    Code:
    int a, b, c, d;
    
    a = 1;
    b = 2;
    c = 3;
    d = 4;
    
    if ( (a*b*c*d) == 12 )
    {
       printf("Easy...\n");
    }
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  8. #8
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869

    Re: Simple Quiz

    Quote Originally Posted by NoHero
    Code:
    int a, b, c, d;
    
    a = 1;
    b = 2;
    c = 3;
    d = 4;
    
    if ( (a*b*c*d) == 12 )
    {
       printf("Easy...\n");
    }
    error error sterilize......

    1*2*3*4=24???
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  9. #9
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869

    Re: Simple Quiz

    (-1)*1*(-2)*6
    or
    (-1)*1*(-3)*4

    etc...
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  10. #10
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: Simple Quiz

    Quote Originally Posted by Tom Frohman
    error error sterilize......

    1*2*3*4=24???
    ...*scratching* ... Man, I just blamed myself... Sorry guess I do not know what confuses me that bad the last days. No it's not beer... It might be the women... . Thanks Tom...
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  11. #11
    Join Date
    Jun 2001
    Location
    Switzerland
    Posts
    4,443

    Re: Simple Quiz

    We had the question and answer thread, you know...
    Gabriel, CodeGuru moderator

    Forever trusting who we are
    And nothing else matters
    - Metallica

    Learn about the advantages of std::vector.

  12. #12
    Join Date
    Sep 2002
    Location
    Philadelphia ***Epoch: Timeless***
    Posts
    560

    Re: Simple Quiz

    Quote Originally Posted by Gabriel Fleseriu
    We had the question and answer thread, you know...
    Not to mention the Math Homework Thread.
    SolarFlare

    Those who cling to life die and those who defy death live. -Sun Tzu

    cout << endl;
    return 0;
    }

  13. #13
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Simple Quiz

    Quote Originally Posted by NoHero
    ...*scratching* ... Man, I just blamed myself... Sorry guess I do not know what confuses me that bad the last days. No it's not beer... It might be the women... . Thanks Tom...
    No, no... that was just a regular programmer error. That's why we have debuggers.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  14. #14
    Join Date
    Jul 2004
    Location
    Chennai, India
    Posts
    1,064

    Re: Simple Quiz

    What is the biggest number that you can produce using four 1's?
    Madhivanan

    Failing to plan is Planning to fail

  15. #15
    Join Date
    Feb 2003
    Location
    India
    Posts
    232

    Re: Simple Quiz

    Won't that be 1,111 ? If the number of digits is more than 4 keep adding 9 at the start !!
    Sarve Bhavantu Sukheenah,
    Sarve Santu Niramayah,
    Sarve Bhadrani Pashyantu,
    Ma Kashchit dukh bhag bhavet.

Page 1 of 6 1234 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured