Interview Question


Country: India
Interview Type: Written Test




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

These are typical test cases, Don't see anything challenging here.

Functional TC
is it adding the file, how large file it can accommodate, will it accommodate any type of file, What if the server is unreachable, What happens when server fails etc.

Boundary
Check the time of addition and deletion of file etc

Performance
How long will it takes to add / delete etc

- hprem991 April 09, 2016 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

1. .txt file , file size and valid file name less than 5 kb should not be picked up.
2. non .txt file with size less 5 kb and valid file name should not be picked up.
3. non .txt file with size more than 20 kb and valid file name should not be picked up.
4. .txt file with size within boundary values and valid file name should be picked up.
5. .txt file within boundary value size and valid file name is not picked up because server is non-reachable.
6. .txt file within boundary value size and valid file name is not picked up because server is down.
7. If user is adding a file on the Shared Network drive without Admin Rights, then the drive should deny the access.
8. If a Cron job is run to delete a file and simultaneously user is trying to add a file, then system should deny it.
9. If user is trying to run multiple Cron jobs at a time , then delete Failure should occur and Error should be logged.
10. If user ran a Cron job for deleting files, and the last file in the list of the files is deleted manually, then Delete
failure should occur.
11. When the Cron job is interrupted, then Delete failure should occur.

- IshaJajoo September 11, 2017 | 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