HELP with CPAB questions

This is a discussion on HELP with CPAB questions within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Here are the only ones I can type out. I can't type out the diagrams or math problems obviously....they have ...

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    15

    Unhappy HELP with CPAB questions

    Here are the only ones I can type out. I can't type out the diagrams or math problems obviously....they have these wierd word sequences:

    These are fun.

    fotgoshorio........jknqo
    bambumsamsumf.......uimpa
    monpqsrt............stubw
    efghiklm............nopqr
    aatwddqnggbe.........ghjik
    xyzuvwrst........nompl
    llmmllmnmllmnom........nopml
    bcadfgehjki.....pnmol
    bcdafghejkl.........mphiq
    ctcdndekefg.............defgh
    ffbnndppfyy...........gihfe
    aeimqu.......vyxzw
    adgxakptacny.........ajiul


    That's all I'm typing out. We'll see if your answers come out to the same as mine. Obviously the answers are onf of the letters after the dots.....

  2. #2
    Registered User
    Join Date
    Sep 2007
    Posts
    15
    Quote Originally Posted by scotty101 View Post
    Here are the only ones I can type out. I can't type out the diagrams or math problems obviously....they have these wierd word sequences:

    These are fun.

    1 fotgoshorio........jknqo q
    2 bambumsamsumf.......uimpa a
    3 monpqsrt............stubw u
    4 efghiklm............nopqr o
    5 aatwddqnggbe.........ghjik j
    6 xyzuvwrst........nompl o
    7 llmmllmnmllmnom........nopml o
    8 bcadfgehjki.....pnmo l
    9 bcdafghejkl.........mphiq i
    10 ctcdndekefg.............defgh f
    11 ffbnndppfyy...........gihfe h
    12 aeimqu.......vyxzw y
    13 adgxakptacny.........ajiul a


    That's all I'm typing out. We'll see if your answers come out to the same as mine. Obviously the answers are onf of the letters after the dots.....
    Anyway, here are MY answers in Bold.
    Last edited by scotty101; 10-03-2007 at 08:31 PM.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,851
    I think you've got most of them right.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Registered User
    Join Date
    Sep 2007
    Posts
    15

    Oops, wrong thread to post HELP questions

    I couldn't get these...atleast I don't know if I'm right!

    Q: What is the missing number in the following series?
    12, 144, 16, ?, 20, 324

    A)256 B)216 C)238 D)234

    Logically it looks to be A) 256, but then that doesn't fit with the 324??

    Q: Which number in the following series is incorrect?
    5, 13, 35, 73, 158?
    I picked 73, although not sure why.....

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    I think the answer is 234, as that is the sequence of 144, 234, 324 (and the next would presumably be 24, 414). I could be wrong, of course.

    I have no idea on the second one.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  6. #6
    Registered User
    Join Date
    Sep 2007
    Posts
    15
    Quote Originally Posted by matsp View Post
    I think the answer is 234, as that is the sequence of 144, 234, 324 (and the next would presumably be 24, 414). I could be wrong, of course.

    I have no idea on the second one.

    --
    Mats
    You are completely right on the 234. Makes total sense now. Duh.

  7. #7
    The larch
    Join Date
    May 2006
    Posts
    3,573
    Q: Which number in the following series is incorrect?
    5, 13, 35, 73, 158?
    158 is an even number unlike others, so I'd pick that.
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  8. #8
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Quote Originally Posted by scotty101 View Post
    Q: What is the missing number in the following series?
    12, 144, 16, ?, 20, 324

    A)256 B)216 C)238 D)234

    Logically it looks to be A) 256, but then that doesn't fit with the 324??
    256 fits with 324.
    P(n) = (n-1)*(n-2)*(n-3)*(n-4)*(n-5)/(-120) * 12 + (n)*(n-2)*(n-3)*(n-4)*(n-5)/24 * 144 + (n-1)*(n)*(n-3)*(n-4)*(n-5)/-12 * 16 + (n-1)*(n-2)*(n)*(n-4)*(n-5)/12 * 256+ (n-1)*(n-2)*(n-3)*(n)*(n-5)/(-24) * 20 + (n-1)*(n-2)*(n-3)*(n-4)*(n)/120 * 324.

    P(3) = 256.

    I really don't like questions like this.
    Last edited by Sang-drax; 10-04-2007 at 11:32 AM.

  9. #9
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,851
    That's one hell of an expression to come up with in the few seconds you typically have to answer these kinds of questions
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  10. #10
    Registered User
    Join Date
    Oct 2008
    Posts
    1
    Quote Originally Posted by scotty101 View Post
    Here are the only ones I can type out. I can't type out the diagrams or math problems obviously....they have these wierd word sequences:

    These are fun.

    fotgoshorio........jknqo
    bambumsamsumf.......uimpa
    monpqsrt............stubw
    efghiklm............nopqr
    aatwddqnggbe.........ghjik
    xyzuvwrst........nompl
    llmmllmnmllmnom........nopml
    bcadfgehjki.....pnmol
    bcdafghejkl.........mphiq
    ctcdndekefg.............defgh
    ffbnndppfyy...........gihfe
    aeimqu.......vyxzw
    adgxakptacny.........ajiul


    That's all I'm typing out. We'll see if your answers come out to the same as mine. Obviously the answers are onf of the letters after the dots.....
    q
    a
    u
    n
    j
    o
    l
    l
    i
    f
    h
    y
    a

    errr.. i like this kind of test, do you mind to tell me where did you get it? thanks. n_n

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 09:47 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 06:36 AM
  3. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 08:42 AM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 09:44 AM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 08:22 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21