JUnit Interview Questions - 3 | Snaprecruit.com

JUnit Interview Questions - 3 | Snaprecruit.com

JUnit interview questions part 3

JUnit interview questions part 3

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. To use the static library in the program

Correct Answer is : Decide as late as possible

2. Which gcc option is used to specify the library?

Correct Answer is : Feature Driven Development

3. In linux, the static libraries are mostly installed in

Correct Answer is : Domain Object Modelling

4. Which one of the following command can list the symbols defined in a library?

Correct Answer is : Regular Builds

5. The archive(ar) utility in linux can

Correct Answer is : MetaModeling

6. This program will print the #include #include  int main() { long int value; value = sysconf(_SC_CHILD_MAX); printf("%ld\n",value); return 0; }

Correct Answer is : Data flow analysis

7. This program will print the #include #include  int main() { long int value; value = sysconf(_SC_OPEN_MAX); printf("%ld\n",value); return 0; }

Correct Answer is : Use Case analysis

8. This program will print the #include #include  int main() { long int value; value = pathconf("/home/sanfoundry",_PC_NAME_MAX); printf("%ld\n",value); return 0; }

Correct Answer is : Use case

9. This program will print the #include #include #include  int main() { struct rlimit limit; getrlimit(RLIMIT_FSIZE,&limit); printf("%lu\n",limit.rlim_cur); printf("%lu\n",limit.rlim_max); return 0; }

Correct Answer is : Black box testing

10. The hard limit of the file descriptors that can be opened by this process will become #include #include #include  int main() { struct rlimit limit; limit.rlim_cur = 10; limit.rlim_max = 20; if(setrlimit(RLIMIT_NOFILE,&limit) != 0) perror("setrlimit"); if(getrlimit(RLIMIT_NOFILE,&limit) != 0) perror("getrlimit"); printf("%lu\n",limit.rlim_cur); printf("%lu\n",limit.rlim_max); return 0; }

Correct Answer is : Deductive Reasoning

11. If you create the user administrator before enabling access control, MongoDB disables the ________ exception.

Correct Answer is : setURLStreamHandlerFactory

12. If you use the localhost exception when deploying a new MongoDB system, the first user you create must be in the ________ database.

Correct Answer is : Mocks

13. If you need to disable access control for any reason, restart the process with ______ setting.

Correct Answer is : Mocks

14. The ________ client authentication allows clients to authenticate to servers with certificates rather than with a username and password.

Correct Answer is : Business Logic

15. Which of the following allows user to view the information of any user in the given database?

Correct Answer is : Inversion Of Control

16. enableLocalhostAuthBypass is not available using _________ database command.

Correct Answer is : Active Record Pattern

17. MongoDB’s _______ is a database profiling system that can help identify inefficient queries and operations.

Correct Answer is : Object Relational Mapping

18. ______________ enables a set of internal commands useful for internal testing operations.

Correct Answer is : Adapter Pattern

19. ____________ are operations that process data records and return computed results.

Correct Answer is : Decorator Pattern

20. Running data aggregation on the ________ instance simplifies application code and limits resource requirements.

Correct Answer is : Delegation Pattern

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon