image not found

Oops! That page can't be found.


Q1: When 0.232323..... is converted into a fraction, then the result is:

A
23
99

B
23
100

C
1
5

D
2
9

Directions to Solve

In questions below, each passage consist of six sentences. The first and sixth sentence are given in the begining. The middle four sentences in each have been removed and jumbled up. These are labelled as P, Q, R and S. Find out the proper order for the four sentences.

Q2:
S1: The city is almost a slum and stinks most of time.
P : The slush on the road did not deter them.
Q : The occasional slips and falls were considered a small price to pay for the trip.
R : They were excited, fascinated by the sight of fresh snow on the roads.
S : Even so, it looked beautiful to tourists of various categories.
S6: But some visitors came away with the unforgettable sight of young labours scantily clad.
The Proper sequence should be:

A RQPS

B QPRS

C SPQR

D RSQP

Q3: In which order do the following gets evaluated
1. Relational
2. Arithmetic
3. Logical
4. Assignment

A 2134

B 3214

C 4321

D 1234

Q4:
Which of the following statements are correct about JIT?
  1. JIT compiler compiles instructions into machine code at run time.
  2. The code compiler by the JIT compiler runs under CLR.
  3. The instructions compiled by JIT compilers are written in native code.
  4. The instructions compiled by JIT compilers are written in Intermediate Language (IL) code.
  5. The method is JIT compiled even if it is not called

A 1, 2

B 1, 2, 3

C 2, 4

D 3, 4, 5

Q5:
Which of the following are parts of the .NET Framework?
  1. The Common Language Runtime (CLR)
  2. The Framework Class Libraries (FCL)
  3. Microsoft Published Web Services
  4. Applications deployed on IIS
  5. Mobile Applications

A All of the above

B Only 1, 2

C Only 1, 2, 4

D Only 4, 5

E Only 1, 2, 3

Q6:
What does the following C#.NET code snippet will print?
int i = 0, j = 0; 

label:
    i++;
    j+=i;
if (i < 10)
{
    Console.Write(i +' ');
    goto label; 
}

A Prints 2 to 9

B Prints 2 to 8

C Prints 0 to 8

D Compile error at label:.

E Prints 1 to 9

Q7:
Which of the following is the correct output for the C#.NET program given below?
int i = 20 ;
for( ; ; )
{
    Console.Write(i + ' '); 
    if (i >= -10)
        i -= 4; 
    else 
        break;
}

A 20 16 12 8 4 0 -4 -8 -12

B 20 16 12 8 4 0

C 20 16 12 84 0 -4 -8

D 16 12 8 4 0

E 16 8 0 -8

Q8: Which of the following statements is correct?

A It is not possible to extend the if statement to handle multiple conditions using the else-if arrangement.

B The switch statement can include any number of case instances with two case statements having the same value.

C A jump statement such as a break is required after each case block excluding the last block if it is a default statement.

D The if statement selects a statement for execution based on the value of a Boolean expression.

E C# always supports an implicit fall through from one case label to another.

Q9:
What is the output of the C#.NET code snippet given below?
namespace AptitudeCrackConsoleApplication
{
    public enum color
    { red, green, blue };
    
    class SampleProgram
    {
        static void Main (string[ ] args)
        {
            color c = color.blue;
            switch (c)
            {
                case color.red:
                    Console.WriteLine(color.red); 
                    break; 
                
                case color.green: 
                    Console.WriteLine(color.green); 
                    break; 
                
                case color.blue: 
                    Console.WriteLine(color.blue); 
                    break; 
            } 
        } 
    } 
}

A blue

B 2

C red

D 0

E 1

Q10:
Which of the following is the correct way to rewrite the following C#.NET code snippet given below?
int i = 0; 
do
{
    Console.WriteLine(i);
    i+ = 1; 
} while (i <= 10);

A
int i = 0; 
do
{
    Console.WriteLine(i);
} until (i <= 10);

B int i = 0; while (i <= 11) { Console.WriteLine(i); i += 1; }

C
int i;
for (i = 0; i <= 10 ; i++)
    Console.WriteLine(i);

D
int i = 0;
do until (i <= 10)
{
    Console.WriteLine(i);
    i+=1; 
}

E
int i = 0;
do while ( i <= 10)
{
    Console.WriteLine(i); 
    i += 1;
}