Contents

Which of the following function is used to map files into virtual memory regions?
a) mmap()                            
b) munmap()
c) msync()                            
d) all of these


d

Which of the following function is used to add or remove swap files for the system?
a) swapon()                          
b) swapoff()
c) both a & b                       
d) none of these


c

Which of the following function is used to allocate and free memory for use by the kernel?
a) kmalloc()                         
b) kfree()
c) both a & b                       
d) swapon()


c

Which of the following function is used to verify that a region of user memory is mapped with required permissions?
a) verify_area() 
b) kmalloc()
c) kfree()                                               
d) sawpon()


a

Which of the following function is used to allocate and free physical memory pages?
a) get_free_page()              
b) free_page()
c) both a & b                       
d) none of these

c

Which of the following command is used to count the total number of lines, words, and characters contained in a file?
a) wc                                     
b) wcount
c) countw                             
d) none of these

a

Explanation: wc stand for word count