Unix/Lunux/LINUX MCQ QUESTIONS AND ANSWER Sample Test,Sample questions

Question:
 How do you display the last ten lines of a file in Linux?

1.bottom

2.last

3.tail

4.end


Question:
 If the page size increases, the internal fragmentation is also?..?

1.Decreases

2.Increases

3.Remains constant

4.None of these


Question:
 When you delete a file in your computer, where does it go?

1.Recycle bin

2.Hard disk

3.Taskbar

4.None of these


Question:
 Which command displays a file's type?

1.showtype

2.displaytype

3.cattype

4.file


Question:
 Which is the Linux operating system?

1.Private operating system

2.Windows operating system

3.Open-source operating system

4.None of these


Question:
Banker's algorithm is used?

1.To prevent deadlock

2.To deadlock recovery

3.To solve the deadlock

4.None of these


Question:
BIOS is used?

1.By operating system

2.By compiler

3.By interpreter

4.By application software


Question:
How do you display your Linux system information?

1.info

2.uname -a

3.version

4.details


Question:
How do you list the hidden files in a directory?

1.ls

2.ls -a

3.dir /hidden

4. ls -h


Question:
How do you print the first 10 lines of a file named 'file.txt'?

1.head -10 file.txt

2.first -10 file.txt

3.cat -10 file.txt

4. print -10 file.txt


Question:
How do you search for a specific word within a file?

1.lookup

2.grep

3.seek

4.findword


Question:
How would you compress files using the Linux command line?

1.compress

2.minify

3.gzip

4.squeeze


Question:
If you want to repeat the last command in Linux, what would you type?

1.replay

2.!!

3.repeat

4.redo


Question:
The size of virtual memory is based on which of the following?

1.CPU

2.RAM

3.Address bus

4.Data bus


Question:
What command can replace characters in a file?

1.rep

2.change

3.sed

4.swap


Question:
What does the command chmod 777 filename do?

1.Changes the owner of the file

2.Deletes the file

3.Gives read, write, and execute permissions to everyone for that file

4.Hides the file


Question:
What does the man command do?

1.Manages directories

2.Provides documentation or manual pages

3.Manages users

4.Monitors system performance


Question:
What else is a command interpreter called?

1.prompt

2.kernel

3.shell

4.command


Question:
What is bootstrapping called?

1.Cold boot

2.Cold hot strap

3.Hot boot

4.Cold hot strap


Question:
What is the command to search for a pattern in a file?

1.search

2.find

3.grep

4.locate


Question:
What is the default shell in Linux?

1.bash

2.sh

3.ksh

4.csh


Question:
What is the fence register used for?

1.To disk protection

2.To CPU protection

3.To memory protection

4.None of these


Question:
What is the full name of FAT?

1.File attribute table

2.File allocation table

3.Font attribute table

4.Format allocation table


Question:
What is the full name of the DSM?

1.Direct system module

2.Direct system memory

3.Demoralized system memory

4.Distributed shared memory


Question:
What is the full name of the IDL?

1.Interface definition language

2.Interface direct language

3.Interface data library

4.None of these


Question:
What is the mean of the Booting in the operating system?

1.Restarting computer

2.Install the program

3.To scan

4.To turn off


Question:
What is the primary role of the sudo command?

1.To run processes in the background

2. To provide manual pages for commands

3.To execute a command as another user, typically the superuser

4.To search for files in a directory


Question:
What is the purpose of the ls command?

1.To list the processes running on the system

2. To show the file size of a given file

3. To display the contents of a file

4.To list files in a directory


Question:
When does page fault occur?

1.The page is present in memory.

2.The deadlock occurs.

3.The page does not present in memory.

4.The buffering occurs.


Question:
When were MS windows operating systems proposed?

1.1994

2.1990

3.1992

4.1985


Question:
Which command can you use to change the permissions of a file?

1.chown

2.chmod

3.chgroup

4.chperm


Question:
Which command is used to create a symbolic link?

1.symb

2.link

3.ln

4.connect


Question:
Which command is used to display the contents of a file?

1.show

2.display

3.print

4.cat


Question:
Which command is used to find files in a directory?

1.locate

2.search

3.find

4.list


Question:
Which command is used to see the running processes in Linux?

1.process

2.run

3.top

4.exec


Question:
Which command is used to stop a process in Linux?

1.stop

2.halt

3.kill

4.terminate


Question:
Which command shows disk usage?

1. du

2.disk

3.space

4.usage


Question:
Which command will display the current working directory?

1.pwd

2.cwd

3.dir

4.list


Question:
Which of the following is a condition that causes deadlock?

1.Mutual exclusion

2.Hold and wait

3.Circular wait

4.All of these


Question:
Which of the following is a single-user operating system?

1.Windows

2.MAC

3.Ms-Dos

4.None of these


Question:
Which of the following is the extension of Notepad?

1..txt

2.xls

3.ppt

4.bmp


Question:
Which of the following is the Linux command to change directories?

1.chdir

2.move

3.cd

4.dirchg


Question:
Which of the following operating systems does not support more than one program at a time?

1.Linux

2.Windows

3.MAC

4.DOS


Question:
Which of the following supports Windows 64 bit?

1.Window XP

2.Window 2000

3.Window 1998

4.None of these


Question:
Which of the following windows does not have a start button?

1.Windows 7

2.Windows 8

3.Windows XP

4.None of these


More MCQS

  1. Unix MCQS Set 1
  2. Unix MCQS Set 2
  3. Unix MCQS Set 3
  4. Unix MCQS Set 4
  5. Linux Mcqs Questions Set 1
  6. Linux Mcqs Questions Set 2
  7. Linux Mcqs Questions Set 3
  8. Linux Mcqs Questions Set 4
  9. Linux Mcqs Questions Set 5
  10. Linux Mcqs Questions Set 6
  11. Linux Mcqs Questions Set 7
  12. Linux Mcqs Questions Set 8
  13. Linux Mcqs Questions Set 9
  14. Linux Mcqs Questions Set 10
  15. Linux Mcqs Questions Set 11
  16. Linux Mcqs Questions Set 12
  17. Linux Mcqs Questions Set 13
  18. Linux Mcqs Questions Set 14
  19. Unix MCQ Set 01
  20. Unix MCQ Set 02
  21. UNIX SYSTEM Mcq
  22. Unix MCQ
  23. Linux MCQ Unit 1
  24. Linux MCQ Unit 2
  25. LINUX MCQ QUESTIONS AND ANSWER
  26. Linux File Permissions MCQ Questions Answers
  27. Linux Administration MCQ question and answer
  28. Linux MCQ QUESTIONS AND ANSWER
Learn LINUX MCQ QUESTIONS AND ANSWER,Learn Unix/Lunux Objetive choice questions and answers,Unix/Lunux Multiple choice questions and answers,Unix/Lunux objective, Unix/Lunux questions , Unix/Lunux answers,Unix/Lunux MCQs questions and answer
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!