Microsoft Interview Question for Software Engineer in Tests


Team: Bing
Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
1
of 1 vote

(NULL, NULL) returns false
(NULL, Valid String) returns false
(Valid String, Valid String with dest already exists) returns false
(Valid String, Valid String with dest doesn't exist) returns true
(Valid string with src doen't exist. *) returns false
(Empty src file, Non-existing dest file ) returns true
(Large file, Non-existing dest file ) returns true
(Source File with different format, Non-existing dest file ) returns true

- Suriya November 09, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

In Addition:
(Valid String,Valid String with dest doesn't exist without write permission) return false;
(Valid String,Valid String with dest doesn't exist with write permission) return true;
(Valid String, Valid String with dest already exists with Override permission) return true;
(Valid String, Valid String with dest already exists without Override permission) return false;

- pradegup November 10, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

In addition to all this, I came up with little more

network path to local computer and vice versa
verify all file attributes like filename, extension, size, etc.,
file shouldn't be corrupted

but he was expecting more...

- siva November 10, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

I think these are negative test cases:
(NULL, NULL) returns false
(NULL, Valid String) returns false

- Pom December 05, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Here a case like:

(Large file, Non-existing dest file), should return false,
as destination will not have the copy space for the large src file

Few more test cases could be:
(User doesn't have access right to the src, but only to the destination)

(Valid src access right, Valid Dest) - Returns True
(Valid src with no access right, Valid Dest) - Returns false

-

- Mrinal November 10, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Here a case like:

(Large file, Non-existing dest file), should return false,
as destination will not have the copy space for the large src file

Few more test cases could be:
(User doesn't have access right to the src, but only to the destination)

(Valid src access right, Valid Dest) - Returns True
(Valid src with no access right, Valid Dest) - Returns false

- Mrinal November 10, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Could we include a test case for verifying date/time of copy ?

- Anonymous April 14, 2013 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More