Professional Linux Shared & Static Libraries Interview Preparation Guide Download PDF
Linux Shared & Static Libraries frequently Asked Questions in various Static and Shared Libraries job Interviews by interviewer. The set of questions here ensures that you offer a perfect answer posed to you. So get preparation for your new job hunting
20 Static and Shared Libraries Questions and Answers:
Table of Contents:
![Professional Static and Shared Libraries Job Interview Questions and Answers](https://globalguideline.com/public/images/interview/26.png)
3 :: Shared libraries are linked with the program:
a) at the time of creation of executable
b) at the run time
c) both (a) and (b)
d) none of the mentioned
b) at the run time
5 :: For a shared library, version number is changed when:
a) changes done in code make the shared library incompatible with the previous version
b) changes done in code does not make the shared library incompatible with the previous version
c) when minor number is changed
d) none of the mentioned
a) changes done in code make the shared library incompatible with the previous version
6 :: When a program is linked with a shared library:
a) only a small table is created in the executable
b) executable contains the whole content of respective .so file
c) executable contains nothing related with the shared libraries
d) none of the mentioned
a) only a small table is created in the executable
9 :: In linux, shared library is a:
a) text file
b) binary file
c) device file
d) none of the mentioned
b) binary file
10 :: Shared libraries can be shared between:
a) various running programs
b) only 2 running programs
c) only 8 running programs
d) none of the mentioned
a) various running programs
11 :: In linux shared libraries has the extension of:
a) .so
b) .si
c) .sl
d) none of the mentioned
a) .so
12 :: The library contains the:
a) pre-compiled object files
b) source files
c) header files
d) none of the mentioned
a) pre-compiled object files
13 :: In Linux, the static libraries can be created by:
a) ar command
b) as command
c) ap command
d) aq command
a) ar command
14 :: Libraries can be linked with ____ to create executables.
a) other libraries
b) other object files
c) both (a) and (b)
d) none of the mentioned
c) both (a) and (b)
16 :: If a program is linked against a static library then:
a) machine code of the used function is copied in the executable
b) used function definition is copied into the preprocessd code
c) used function definition is provided at the time of compiling
d) none of the mentioned
a) machine code of the used function is copied in the executable
18 :: The archive(ar) utility in linux can:
a) create a new static library
b) insert the object files into the static library
c) replace the object files into the static library
d) all of the mentioned
d) all of the mentioned
19 :: In linux, the static libraries are mostly installed in:
a) /usr/lib
b) /usr/local/lib
c) both (a) and (b)
d) none of the mentioned
c) both (a) and (b)
![Static and Shared Libraries Interview Questions and Answers](https://globalguideline.com/public/images/interview/8.png)