Linux quizz :

1-2)
Open Source Software is computer software whose ________ code is
available under a _______ (or arrangement such as the public domain)
that permits users to use, change, and improve the software, and to
redistribute it in modified or unmodified form.

3)
Are we software vendors ? Most software is not _____.
It is developed directly for its customer, by the customer's own employees
or by consultants who bill for the service of software creation

4-5-6)
Open Source software is an enabling technology
________ of Linux to any HW system (embedded)
Platforms are _________ and provide the same view of data and services
Value is no more in HW but in content and service ________ (WEB2.0)

7-8) How to compile a module
 [ ]: make -C ~/lib/module/kernel-xxx/build M=`pwd` kernel
 [ ]: gmake -C ~/lib/module/kernel-xxx/build M=`pwd` modules
 [ ]: gcc -C ~/lib/module/kernel-xxx/build M=`pwd` kernel
 [ ]: make -C ~/lib/module/kernel-xxx/build M=`pwd` modules

9-10) How to install a module:
 [ ]: instmod mymodule.o
 [ ]: insmodule mymodule.ko
 [ ]: insmod mymodule.ko
 [ ]: instalmod mymodule.o

11-12) Charater device is accessible to userspace application by creating a device node:
 [ ]: mknod /dev/demo c major_num minor_num
 [ ]: mkernalnod /dev/demo c major_num 
 [ ]: makenod /dev/demo c major_num minor_num
 [ ]: mknod /dev/demo c minor_num

13-14) Linux kernel semaphore: which statment is WRONG 
 [ ]: down -> create unkillable processes
 [ ]: down_interruptible -> allow the user-space process that is waiting on a semaphore to be interrupted by the user
 [ ]: down_trylock -> returns immediately with a nonzero return value when sema is not available 
 [ ]: up -> create a unkillable mutex from the user-space process

15-16) This excelent Linux device driver book you all read is from
 [ ]: OReilly
 [ ]: OR'eilly
 [ ]: Relly
 [ ]: OR'elly

17-18) Which items are executed out of ATOMIC context ?
 [ ]: spinlock, atomic variables, wait_event_interruptible, tasklet
 [ ]: spinlock, wait_event_interruptible, jiffies, work_queue
 [ ]: atomic variables, jiffies, tasklet, work_queue
 [ ]: spinlock, tasklet, wait_event_interruptible, jiffies, work_queue

19-20) What is the Linux memory model ?
 [ ]: 1 virtual in kernel, 1 virtual in user-space and 1 physical in user-space
 [ ]: 1 virtual in user-space and 1 physical in kernel
 [ ]: 1 virtual in kernel, 1 physical in user-space and 1 physical in kernel
 [ ]: 1 virtual in kernel, 1 virtual in user-space and 1 physical in kernel


_________________________________________

Rponses :

1-2) source, licence
3) sold
4-5-6) Scalabililty, virtualize, access
7-8) 4
9-10) 3
11-12) 1
13-14) 4
15-16) 1
17-18) 2
19-20) 4

