Friday, July 5, 2013

LINUX MCQ Test – 2

Que.1. /temp is a type of filesystem directory

A: True
B: False

Right Answer: B

Que.2. Which of the following commands delete the files from the /tmp directory, issued by non-root user?

A: rmdir -rf /tmp/*
B: rm -rf /tmp/* -su
C: su -c "rm -rf /tmp/*"
D: su "rm -rf /tmp/*"

Right Answer: C

Que.3. Echo is used to Display message on screen. Which of the following options below should be used with echo to not output the trailing newline?

A: /e
B: /n
C: -n
D: both b and c

Right Answer: C

Que.4. The basic function of ______________ is to search files for lines (or other units of text) that contain a pattern.

A: awk
B: search
C: %awk
D: cat

Right Answer: A

Que.5. What is the content of /etc directory?

A: Configuration files for your system.
B: Contains the system startup scripts
C: Both a and b
D: User specific settings for programs like IRC, X etc.

Right Answer: C

Que.6. What is the difference between linux file system and windows file system?

A: Under Linux, the various partitions are detected at boot and assigned a drive letter whereas Under windows, unless you mount a partition or a device, the system does not know of the existence of that partition or device.
B: Under Windows, the various partitions are detected at boot and assigned a drive letter whereas Under Linux, unless you mount a partition or a device, the system does not know of the existence of that partition or device.
C: Under Windows, the various partitions are detected at reboot and assigned a drive letter whereas Under Linux, unless you mount a partition or a device, the system does not know of the existence of that partition or device.
D: Under Windows, the various partitions are detected at reboot and assigned a drive letter whereas Under Linux, you mount a partition or a device.

Right Answer: B

Que.7. Which of the following below is/are true for Date command?

A: It can work w/o arguments
B: It always needs an argument
C: It always need to have a+ as an argument
D: None of the above

Right Answer: A

Que.8. What is the default number of shell commands saved in the history list of .cshrc file?

A: 200
B: 100
C: 150
D: 175

Right Answer: A

Que.9. mount -r is used to mount a file in read only mode

A: True
B: False

Right Answer: A

Que.10. The advantage of using NFS rather than Samba for file sharing in Linux is

A: files saved as .tar extension
B: compressed files
C: compatibility with Windows file sharing
D: None of the above

Right Answer: C

Que.11. Which of the following supports for creating a Linux VPN (Virtual Private Network)?

A: RC2
B: 3DES
C: chap
D: NTLMv2

Right Answer: B

Que.12. Find command can search for files by

A: date
B: size
C: name
D: all of above

Right Answer: D

Que.13. How can we find the current value for shell variables?

A: Set command
B: Display command
C: val command
D: Currval command

Right Answer: A

Que.14. CWD is a type of shell variable

A: True
B: False

Right Answer: A

Que.15. Which framework is provided for the programs to interchange information about Linux OS?

A: Resource Sharing Framework
B: Resource Security Framework
C: Information Sharing Framework
D: Resource Definition Framework

Right Answer: D

Que.16. What is the difference between PATH and path?

A: PATH and path specify directories to search for commands and programs
B: Both variables always represent the same directory list
C: altering either automatically causes the other to be changed
D: All choices are correct.

Right Answer: D

Que.17. How much usable space is available, when a Linux system is configured with a RAID 5 array that consists of six 20 GB hard disk drives?

A: 80
B: 100
C: 120
D: 60

Right Answer: C

Que.18. Which of the following below are environmental variables?

A: USER
B: HOME
C: both a and b
D: VARHOST

Right Answer: C

Que.19. Applications written to provide a GUI shell for Unix and Linux are called

A: DOS
B: x windows
C: OS/2
D: Vista

Right Answer: B

Que.20. Which of the following commands can be used to check for file corruption?

A: md5sum
B: checkfile
C: cat -vet
D: tar --checksum

Right Answer: A

Computer Basics MCQ Test – 2

Que.1. Access time is

A: seek time + latency time
B: seek time
C: seek time - latency time
D: latency time

Right Answer: A

Que.2. Floppy disks are available in

A: Single side single density
B: Single side double density
C: Both of above
D: None of above

Right Answer: C

Que.3. What type of control pins are needed in a microprocessor to
regulate traffic on the bus, in order to prevent two devices from trying
to use it at the same time?

A: Bus control
B: Interrupts
C: Bus arbitration
D: Status

Right Answer: C

Que.4. The brain of any computer system is

A: Control Unit
B: Arithmetic Logic Unit
C: Central Processing Unit
D: Storage Unit

Right Answer: C

Que.5. The data recording format in most of the modern magnetic tape is

A: 7-bit ASCII
B: 7-bit EBCDIC
C: 8-bit ASCII
D: 8-bit EBCDIC

Right Answer: D

Que.6. Daisy wheel printer is a type of

A: Matrix primer
B: Impact printer
C: Laser printer
D: Manual printer

Right Answer: B

Que.7. Who built the world's first electronic calculator using telephone relays, light bulbs and batteries/

A: Claude Shannon
B: Konrard Zues
C: George Stibits
D: Howard H Aiken

Right Answer: C

Que.8. Magnetic disks are the most popular medium for

A: Direct access
B: Sequential access
C: Both of above
D: None of above

Right Answer: C

Que.9. Which operation is not performed by computer

A: Inputting
B: Processing
C: Controlling
D: Understanding

Right Answer: D

Que.10. Digital devices are

A: Digital Clock
B: Automobile speed meter
C: Clock with a dial and two hands
D: All of them

Right Answer: A

Que.11. Interface electronic circuit is used to interconnect I/O devices to a computer's CPU or

A: ALU
B: Memory
C: Buffer
D: Register

Right Answer: B

Que.12. the storage capacity of a disk system depends on the bits per inch of track and the tracks per inch of

A: Cylinder
B: Hum
C: Cluster
D: Surface

Right Answer: D

Que.13. EEPROM stand for

A: Electrically Erasable Programmable Read Only Memory
B: Easily Erasable Programmable Read Only Memory
C: Electronic Erasable Programmable Read Only Memory
D: None of the above

Right Answer: A

Que.14. Microprocessors as switching devices are for which generation computers

A: First Generation
B: Second Generation
C: Third Generation
D: Fourth Generation

Right Answer: D

Que.15. EBCDIC stands for

A: Extended Binary Coded Decimal Interchange Code
B: Extended Bit Code Decimal Interchange Code
C: Extended Bit Case Decimal Interchange Code
D: Extended Binary Case Decimal Interchange Code

Right Answer: A

Que.16. IBM 1401 is

A: First Generation Computer
B: Second Generation Computer
C: Third Generation Computer
D: Fourth Generation Computer

Right Answer: B

Que.17. Which of the following is first generation of computer

A: EDSAC
B: IBM-1401
C: CDC-1604
D: ICL-2900

Right Answer: A

Que.18. The first computer introduced in Nepal was

A: IBM 1400
B: IBM 1401
C: IBM 1402
D: IBM1402

Right Answer: B

Que.19. CAD stands for

A: Computer aided design
B: Computer algorithm for design
C: Computer application in design
D: All of the above

Right Answer: A

Que.20. which chips using special external equipment can reprogram

A: ROM
B: PROM
C: SAM
D: RAM

Right Answer: B