Home > Linux > Quizzes > Linux Basics Practice Test: Static Libraries
Linux Basics Practice Test: Static Libraries
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 78% Most missed: “To use the static library in the program”
Static libraries in Linux are collections of object files that are copied into the final executable image during compilation. The linker links static libraries as the last step in the compilation process.  Static libraries are reusable in multiple programs, but are locked into a program at compile time. Each process gets its own copy of the code and data. The final executable has no dependencies on the library at run time, so you don't need to carry along a copy of the library that is being used.    Static libraries are created using the ar (archiver) program. For example, ar rcs... Show more
Linux Basics Practice Test: Static Libraries
Time left 00:00
10 Questions

1. To use the static library in the program
2. The library contains the
3. In linux, the static libraries are mostly installed in
4. Libraries can be linked with ____ to create executables.
5. Which gcc option is used to specify the library?
6. The archive(ar) utility in linux can
7. In Linux, the static libraries can be created by
8. If a program is linked against a static library then
9. Which one of the following command can list the symbols defined in a library?
10. In Linux, the static library has the extension of