Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Device DriversLinux OS ManagementLinux MakefileLinux EnvironmentLinux OS Shell Interviews Quizzes

Accounts

AccountingAccounts PayableAuditJunior AccountantSenior Accountant

Analysis

Data AnalystFinancial AnalystGISGIS AnalysisStatistics

Banking

ICICI Bank LtdLoan OfficerRecovery OfficerTreasuryUnderwriter

Basic Job

BehavioralBusiness intelligenceFreshers GraduatePuzzlesTargeted Selection

Best Engineering

Automobile EngineeringChemical EngineeringCivil EngineeringElectrical EngineeringMechanical Engineering

Best Multimedia

3D AnimationCoreldrawDesign EngineerGraphics DesignerInterior Design

Community

Cable OperatorFirefighter SpecialistFuneral DirectorSpeech PathologistTranslator

New Artist

Art DirectorAstrologistInternational RelationshipSociologyVisual Arts

9th Class

9th Class Biology9th Class Chemistry9th Class Computer Studies9th Class Pakistan StudiesEnglish Grammar Section 9th Class

Accounting

Accounting ManagementBank Probationary Officer (PO)Financial Accounting Exam MCQsManagerial Accounting Exam MCQs

Civil Engineering

Building ConstructionRailwaysRCC Structures DesignSoil Mechanics and Foundation EngineeringSurveying

Engineering

Electrical EngineeringElectronic DevicesElectronics EngineeringEngineering MechanicsSoftware Engineering

Information Technology (IT)

Basics of ComputerComputer KnowledgeComputer OrganizationFundamentals Of ComputerWireless Communication

Soft Skills Quizzes MCQs

Communication Skills Exam MCQsCorporate Communication Exam MCQsLeadership Skills Exam MCQsNegotiation Skills Exam MCQsTime Management Exam MCQs

Linux OS Interviews

Awk Programming IQBash Arithmetic Expressions IQDevice Drivers IQGCC Compiler IQLinux Administrator IQLinux Commands IQLinux Debugging IQLinux Environment IQLinux General IQLinux IPC IQLinux Makefile IQLinux OS IQLinux OS Editors IQLinux OS Management IQLinux OS Shell IQLinux Proc Filesystem IQLinux Search Pattern IQLinux Shared & Static Libraries IQLinux Socket Programming IQLinux Startup and Shutdown IQLinux Sysfs IQLinux Systems IQLinux Threads IQLinux Ubuntu IQSignal Handling IQSystem Calls IQ

Behavioral Linux Shared & Static Libraries Interview Questions & Answers:

Download Interview PDF

1. After using the shared library, memory can be done free by calling:
a) dlclose
b) slclose
c) lclose
d) none of the mentioned?

a) dlclose

2. After using the shared library, memory can be done free by calling:
a) dlclose
b) slclose
c) lclose
d) none of the mentioned?

a) dlclose

3. In Linux, the static library has the extension of:
a) .a
b) .b
c) .c
d) .d

a) .a

4. Which option of GCC compiler provides the linking with shared libraries?
a) -lmylib
b) -lib
c) -mylib
d) none of the mentioned

a) -lmylib

5. 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

6. Which command can be used to update the shared library system?
a) lconfig
b) ldconfig
c) slconfig
d) none of the mentioned

b) ldconfig

7. 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

8. 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 GCC compiler, "-shared" option is given to create the shared library with:
a) source files
b) object files
c) executables
d) none of the mentioned

b) object files

10. In linux, shared library is a:
a) text file
b) binary file
c) device file
d) none of the mentioned

b) binary file

Download Interview PDF

11. 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

12. In linux shared libraries has the extension of:
a) .so
b) .si
c) .sl
d) none of the mentioned

a) .so

13. 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

14. In Linux, the static libraries can be created by:
a) ar command
b) as command
c) ap command
d) aq command

a) ar command

15. 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

17. To use the static library in the program:
a) header file must be provided to in the source code
b) path for the library must be specified
c) both (a) and (b)
d) none of the mentioned

c) both (a) and (b)

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)

20. Which one of the following command can list the symbols defined in a library?
a) mn
b) nm
c) nn
d) mm

b) nm



SHARE




FORUM
PRIVACY
TERMS & CONDITIONS
FEED BACK

Submit Your Feedback:


×

Thank You For Your Feedback!

Your message has been sent successfully.

Disclaimer
Interview Questions Answers .ORG is responsive and optimized web portal for individuals to get preparation for their job interviews, learning and training. Content at Interview Questions Answers .ORG might be simplified to improve our users experience. We constantly review our content to avoid errors and copyright violations, but we cannot warrant full correctness of all the content. While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.

Interview Questions Answers .ORG
Face Book Twitter Linkedin