Linux Memory Management-Question and Answer

Linux Memory Management-Question and Answer

Linux Memory Management-Question and Answer

در این مقاله به بررسی سوالات و جواب های مربوط به مدیریت حافظه در سیستم عامل لینوکس می پردازیم .


۱- On x86-32 Linux, at which address the code segment of the program starts?

a) 0x00000000

b) 0x08048000

c) 0x80000000

d) 0xbfff0000


۲- On x86-32 Linux, at which address the user stack resides normally?

a) 0x00000000

b) 0x3fff0000

c) 0x7fff0000

d) 0xbfff0000


۳- A system has 512MB of physical memory. Which among the following is not a suitable virtual memory size for this system architecture?

a) 512MB

b) 256M

c) 4GB

d) None of the mentioned


۴- LRU stands for

a) Last received Unit

b) Least recently Used

c) Least recently usable

d) Lost Recoverd unit

 

 


۵- Mm_struct maintains?

a) memory files

b) open files

c) pipe

d) active memory regions

  

  

 


۶-  Which sytem call can be used by a user process to lock a memory so that it cannot be swapped out?

a) memory files()

b) memlock()

c) pipe()

d) active memory regions

   


۷- Is page table per process entity?

a) Yes

b) No

   


 ۸- Among these files which has an ELF format

a) shared objects

b) core

c) executables

d) all of the mentioned

    


 ۹-  What is the use of strace command?

a) strace can be used to check the system calls called by the program. So, this can be used for debugging and benchmarking purposes

b) strace cannot be used to check the system calls called by the program

c) all of the mentioned

d) none of the mentioned

     

 


۱۰- If one of the thread in multithreaded process is blocked on an I/O, which of the following is true

a) The entire process with block if their is no kernel supported threads

b) Other threads of the process will continue to execute even if there is no kernel supported threads

c) It depends on specific implementatation

d) All of the mentioned

     


 ۱۱- Which one can be a real time schedule policy?

a) SCHED_FIFO

b) SCHED_SPF

c) SCHED_OTHER

d) SCHED_FILO

   


    برای مشاهده سوالات مربوط به AWK Programming  به این مقاله مراجعه کنید .

0 پاسخ

دیدگاه خود را ثبت کنید

تمایل دارید در گفتگوها شرکت کنید؟
در گفتگو ها شرکت کنید.

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *