PlacementPapers.asia

Placement Papers 2008,2009,2010 for Freshers.Largest Collection of IT Companies Placement Papers and Interview Questions in india. Latest Placement Papers of IT and Non-IT Companies.




Categories

Links

  • DSQ placement paper (
    technical )
    Questions 1 -5 are reference to the followig psedo code
    {
    input m,n,z
    TEST:if ((m+n)/3>5)z=z+1 else z =z-1
    printf m,n,z
    {
    (m-m+1;n=n-3)
    if (m+n+2)>14 then goto test
    print m,n,z
    end
    }
    1. what is the final output of the if the input is 2,14,12 (m,n,z)
    a)1,8,4 b)1,4,8 c)4,8,1 d)8,4,2
    ans=C.
    2. what is the final output if the input is 1,18,2? (m,n,z)
    ans) 5,6,2 i.e ans [...]

    1 Comment