Microsoft Placement Paper

Started by devi.naga, Dec 27, 2012, 09:46 PM

previous topic - next topic
Go Down

devi.naga

Microsoft Placement Paper

1.int i=~0;
uint j=(uint)i;
j++;
printf("%d",j);
The o/p is
(a)2^31 (b)0 (c)1 (d)2^32

2.num&(num-1)==0,indicates
  I.num is a power of 2
  II.num and (num-1) no 1's in common
  III.n=1
(a)only I (b)I and II (c)I,II and III (d)none

3.which of the following tests is not a functional testing
(a)black box testing
(b)Usability testing
(c)volume testing
(d)data validation testing

4."silly window syndrome" occurs in which of the following layer
(a)Internet layer
(b)Application layer
(c)Network layer
(d)Transport layer

5.Mr.X has a hotel with 50 floors.You are assigned as design engineer for                elevator system.All the guests should not go by the stairs also they should not wait for the elevator.Suggest a design solution which is cost effective and fulfills his requirements.

6.Write a method to fill all the spaces in a string with '%20'

7.Write a function to print all the combinations of a string both uppercase and lowercase without altering the position of each letter.
(example "THE",the o/p should be THE,tHE,ThE,THe,thE,etc.)

8.The DELHI airport during winter season is congested with the flights due to foggy environment.The flights that are going to arrive has to wait(keep flying) for the clearance .During this the fuel may be completed.You suggest a solution for the flights and also propose a long term solution for the problem.

9.Two 32-bit integers n and m are given and positions i,j,k,l are given.Write a method to copy the contents of m from position k to l into n from position i to j.
(example n=1010000000,m=10101010,i=3,j=5,k=5,l=7..output=10'101'00000)

10.Give all possible test cases to test the basic features of a mobile.

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:
Verification:
Please leave this box empty:

Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

shortcuts: alt+s submit/post or alt+p preview
IT Acumens Web Design Chennai | GinGly :: Mobile SMS Backup | CineBuzz :: Latest Cinema News | My Kids Diary :: Kids magical moment :: Book domain name @ 99 Rs monthly
Copyright 2005 - 2019 :: IT Acumens :: All Rights Reserved.
ITAcumens Forum with 2 lakhs post running for 14 years - Powered by IT Acumens Dedicated Server