Microsoft software development engineer in test (SDET) interview questions

Category: Testing Questions    |    8 views    |    Add a Comment
  1. How would you deal with changes being made a week or so before the ship date?
  2. How would you deal with a bug that no one wants to fix? Both the SDE and his lead have said they won’t fix it.
  3. Write a function that counts the number of primes in the range [1-N]. Write the test cases for this function.
  4. Given a MAKEFILE (yeah a makefile), design the data structure that a parser would create and then write code that iterates over that data structure
    executing commands if needed.
  5. Write a function that inserts an integer into a linked list in ascending order. Write the test cases for this function.
  6. Test the save dialog in Notepad. (This was the question I enjoyed the most).
  7. Write the InStr function. Write the test cases for this function.
  8. Write a function that will return the number of days in a month (not using System.DateTime).
  9. You have 3 jars. Each jar has a label on it: white, black, or white&black. You have 3 sets of marbles: white, black, and
    white&black. One set is stored in one jar. The labels on the jars are guaranteed to be incorrect (i.e. white will not contain white). Which jar would you choose from to give you the best chances of identifying the which set of marbles in is in which jar.
  10. Why do you want to work for Microsoft?
  11. Write the test cases for a vending machine. (Those were the questions I was asked. I had a lot of discussions about how to handle situations. Such as a tester is focused on one part of an SDK. During triage it was determined that that portion of the SDK was not on the critical path, and the tester was needed elsewhere. But the tester continued to test that portion because it is his baby. How would you get him to stop testing that portion and work on what needs to be worked on? Other situations came up like arranging tests into the different testing buckets (functional, stress, perf, etc.).)

Share/Save/Bookmark

 

MCA Papers Questions

Category: General Question    |    3 views    |    Add a Comment

http://mcaexam.info

this is great site for MCA Exam, computer science,

Share/Save/Bookmark

 

Basic SAS interview questions

Category: General Question    |    3 views    |    1 Comment
  1. What is the effect of the OPTIONS statement ERRORS=1?
  2. What’s the difference between VAR A1 - A4 and VAR A1 — A4?
  3. What do the SAS log messages “numeric values have been converted to character” mean? What are the implications?
  4. Why is a STOP statement needed for the POINT= option on a SET statement?
  5. How do you control the number of observations and/or variables read or written?
  6. Approximately what date is represented by the SAS date value of 730?
  7. How would you remove a format that has been permanently associated with a variable??
  8. What does the RUN statement do?
  9. Why is SAS considered self-documenting?
  10. What areas of SAS are you most interested in?
  11. Briefly describe 5 ways to do a “table lookup” in SAS.
  12. What versions of SAS have you used (on which platforms)?
  13. What are some good SAS programming practices for processing very large data sets?
  14. What are some problems you might encounter in processing missing values? In Data steps? Arithmetic? Comparisons? Functions? Classifying data?
  15. How would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable?
  16. What is the different between functions and PROCs that calculate the same simple descriptive statistics?
  17. If you were told to create many records from one record, show how you would do this using arrays and with PROC TRANSPOSE?
  18. What are _numeric_ and _character_ and what do they do?
  19. How would you create multiple observations from a single observation?
  20. For what purpose would you use the RETAIN statement?
  21. What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
  22. What is the order of application for output data set options, input data set options and SAS statements?
  23. What is the order of evaluation of the comparison operators: + - * / ** ( ) ?
  24. How could you generate test data with no input data?
  25. How do you debug and test your SAS programs?
  26. What can you learn from the SAS log when debugging?
  27. What is the purpose of _error_?
  28. How can you put a “trace” in your program?
  29. Are you sensitive to code walk-throughs, peer review, or QC review?
  30. Have you ever used the SAS Debugger?
  31. What other SAS features do you use for error trapping and data validation?
  32. How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?
  33. How many missing values are available? When might you use them?
  34. How do you test for missing values?
  35. How are numeric and character missing values represented internally?

Share/Save/Bookmark

 

Interview questions for SAS expert

Category: General Question, HR Interview Questions    |    2 views    |    Add a Comment
  1. What has been your most common programming mistake?
  2. What is your favorite programming language and why?
  3. What is your favorite operating system? Why?
  4. Do you observe any coding standards? What is your opinion of them?
  5. What percent of your program code is usually original and what percent copied and modified?
  6. Have you ever had to follow SOPs or programming guidelines?
  7. Which is worse: not testing your programs or not commenting your programs?
  8. Name several ways to achieve efficiency in your program. Explain trade-offs.
  9. What other SAS products have you used and consider yourself proficient in using?
  10. How do you make use of functions?
  11. When looking for contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?
  12. What is the significance of the ‘OF’ in X=SUM(OF a1-a4, a6, a9);?
  13. What do the PUT and INPUT functions do?
  14. Which date function advances a date, time or date/time value by a given interval?
  15. What do the MOD and INT function do?
  16. How might you use MOD and INT on numerics to mimic SUBSTR on character strings?
  17. In ARRAY processing, what does the DIM function do?
  18. How would you determine the number of missing or nonmissing values in computations?
  19. What is the difference between: x=a+b+c+d; and x=SUM(a,b,c,d);?
  20. There is a field containing a date. It needs to be displayed in the format “ddmonyy” if it’s before 1975, “dd mon ccyy” if it’s after 1985, and as ‘Disco Years’ if it’s between 1975 and 1985. How would you accomplish this in data step code? Using only PROC FORMAT.
  21. In the following DATA step, what is needed for ‘fraction’ to print to the log? data _null_; x=1/3; if x=.3333 then put ‘fraction’; run;
  22. What is the difference between calculating the ‘mean’ using the mean function and PROC MEANS?
  23. Have you ever used “Proc Merge”? (be prepared for surprising answers..)
  24. If you were given several SAS data sets you were unfamiliar with, how would you find out the variable names and formats of each dataset?
  25. What SAS PROCs have you used and consider yourself proficient in using?
  26. How would you keep SAS from overlaying the a SAS set with its sorted version?
  27. In PROC PRINT, can you print only variables that begin with the letter “A”?
  28. What are some differences between PROC SUMMARY and PROC MEANS?
  29. Code the tables statement for a single-level (most common) frequency.
  30. Code the tables statement to produce a multi-level frequency.
  31. Name the option to produce a frequency line items rather that a table.
  32. Produce output from a frequency. Restrict the printing of the table.
  33. Code a PROC MEANS that shows both summed and averaged output of the data.
  34. Code the option that will allow MEANS to include missing numeric data to be included in the report.
  35. Code the MEANS to produce output to be used later.
  36. Do you use PROC REPORT or PROC TABULATE? Which do you prefer? Explain.
  37. What happens in a one-on-one merge? When would you use one?
  38. How would you combine 3 or more tables with different structures?
  39. What is a problem with merging two data sets that have variables with the same name but different data?
  40. When would you choose to MERGE two data sets together and when would you SET two data sets?
  41. Which data set is the controlling data set in the MERGE statement?
  42. How do the IN= variables improve the capability of a MERGE?
  43. Explain the message ‘MERGE HAS ONE OR MORE DATASETS WITH REPEATS OF BY VARIABLES”.
  44. How would you generate 1000 observations from a normal distribution with a mean of 50 and standard deviation of 20. How would you use PROC CHART to look at the distribution? Describe the shape of the distribution.
  45. How do you generate random samples?
  46. What is the purpose of the statement DATA _NULL_ ;?
  47. What is the pound sign used for in the DATA _NULL_?
  48. What would you use the trailing @ sign for?
  49. For what purpose(s) would you use the RETURN statement?
  50. How would you determine how far down on a page you have printed in order to print out footnotes?
  51. What is the purpose of using the N=PS option?
  52. What system options would you use to help debug a macro?
  53. Describe how you would create a macro variable.
  54. How do you identify a macro variable?
  55. How do you define the end of a macro?
  56. How do you assign a macro variable to a SAS variable?
  57. For what purposes have you used SAS macros?
  58. What is the difference between %LOCAL and %GLOBAL?
  59. How long can a macro variable be? A token?
  60. If you use a SYMPUT in a DATA step, when and where can you use the macro variable?
  61. What do you code to create a macro? End one?
  62. Describe how you would pass data to a macro.
  63. You have five data sets that need to be processed identically; how would you simplify that processing with a macro?
  64. How would you code a macro statement to produce information on the SAS log? This statement can be coded anywhere.
  65. How do you add a number to a macro variable?
  66. If you need the value of a variable rather than the variable itself, what would you use to load the value to a macro variable?
  67. Can you execute a macro within a macro? Describe.
  68. Can you a macro within another macro? If so, how would SAS know where the current macro ended and the new one began?
  69. How are parameters passed to a macro?

Share/Save/Bookmark