Which system library is considered the most important in the Linux system?
Which system library is considered the most important in the Linux system?
लिनक्स सिस्टम (Linux system) में निम्नलिखित में से कौन-सी सिस्टम लाइब्रेरी सबसे महत्वपूर्ण मानी जाती है?
Detailed Solution & Logic
Libc
Explanation (व्याख्या):
Libc is considered the most important system library in a Linux system.
Libc Linux सिस्टम की सबसे महत्वपूर्ण system library मानी जाती है।
Libc stands for C Standard Library.
Libc का पूरा नाम C Standard Library है।
It provides core functions that are used by most programs.
यह ऐसे core functions प्रदान करती है जिनका उपयोग अधिकांश programs करते हैं।
Examples of functions provided by Libc:
Libc द्वारा प्रदान किए जाने वाले functions के उदाहरण:
Input/Output operations such as printf and scanf.
Input/Output operations जैसे printf और scanf।
Memory allocation functions such as malloc and free.
Memory allocation functions जैसे malloc और free।
String manipulation functions such as strcpy and strlen.
String manipulation functions जैसे strcpy और strlen।
Process control functions such as fork and exit.
Process control functions जैसे fork और exit।
Most programs and applications in Linux depend on Libc.
Linux में अधिकांश programs और applications Libc पर निर्भर होते हैं।
Why other options are wrong (अन्य विकल्प क्यों गलत हैं):
Libutils ❌
It is used for utility functions but is not the core system library.
यह utility functions के लिए उपयोग होती है, लेकिन core system library नहीं है।
Libconfig ❌
It is mainly used for configuration file parsing.
यह मुख्य रूप से configuration files को parse करने के लिए उपयोग होती है।
Libnet ❌
It provides networking functions for programs but is not the core library.
यह networking programs के लिए functions प्रदान करती है, लेकिन core system library नहीं है।
Extra Facts (अतिरिक्त तथ्य):
Libc works as a bridge between programs and the kernel in Unix-like systems.
Unix-जैसे systems में Libc programs और kernel के बीच bridge की तरह काम करती है।
Programs → Libc → Kernel
Programs → Libc → Kernel
Common versions of Libc used in Linux distributions include:
Linux distributions में Libc के मुख्य versions शामिल हैं:
GNU C Library (glibc) – The most commonly used implementation.
GNU C Library (glibc) – सबसे अधिक उपयोग किया जाने वाला implementation।
uClibc – Used mainly for embedded systems.
uClibc – मुख्य रूप से embedded systems के लिए उपयोग होता है।
📌 Exam Tip (परीक्षा टिप):
Core library of Linux → Libc (C Standard Library).
Linux की core library → Libc (C Standard Library)।
Almost every Linux program uses Libc during execution.
लगभग हर Linux program execution के दौरान Libc का उपयोग करता है।
Similar Practice Questions
Which of the following is not an operating system?
Which of the following is not an operating system? निम्न में से कौन-सा ऑपरेटिंग सिस्टम...
Which of the following measures is essential for securing a PC and protecting it from cyber threats?
Which of the following measures is essential for securing a PC and protecting it from...
Which of the following best describes the role of a system software in relation to application software?
Which of the following best describes the role of a system software in relation to application...
What happens when you select the Run option for an executable file in the File Download dialog box?
What happens when you select the Run option for an executable file in the File Download...
Which of the following operating systems is also called single user operating system?
Which of the following operating systems is also called single user operating system? निम्न में...
Which of the following tasks is performed by the root directory in a computer system?
Which of the following tasks is performed by the root directory in a computer system? ...
Which antivirus feature allows users to run potentially harmful files in a controlled environment to check for malicious behaviour?
Which antivirus feature allows users to run potentially harmful files in a controlled environment to...