Tag: technology

Questions Related to technology

  1. while(true){ }

  2. for(i=0;i>1;i--){ i++ }

  3. for ( ; ; ) { }

  4. while(false){ }


Correct Option: C
  1. 1 Use sigsend()

  2. 2 use kill()

  3. 3 use signal()

  4. 4 Only init can send signals


Correct Option: B

2 Does Linux supports multi-threading?

  1. 1 No

  2. 2 Yes

  3. 3

  4. 4


Correct Option: A

3 How to create devices/device files in Linux

  1. 1 mkdev

  2. 2 mknod

  3. 3 lndev

  4. 4 None


Correct Option: B
  1. 1 A dummy device to represent memory

  2. 2 A dummy device to represent the processor

  3. 3 A dummy device to provide infinite number of zeros

  4. 4 None


Correct Option: C
  1. 1 A device file to represent that the current file system is full

  2. 2 A device file to test scenarios of testing a /dev/full

  3. 3 Invalid device

  4. 4 None


Correct Option: B
  1. 1 A dummy device to represent swap

  2. 2 A dummy device to represent any device

  3. 3 A dummy device to provide infinite number of randon numbers

  4. 4 Invalid device


Correct Option: C