1What is the core component of the Linux operating system that interacts directly with the hardware?
A.Compiler
B.Kernel
C.Shell
D.Desktop Environment
Correct Answer: Kernel
Explanation:
The Kernel is the core of the OS that manages hardware resources and allows software to interact with hardware.
Incorrect! Try again.
2Who is credited with creating the initial version of the Linux kernel?
A.Bill Gates
B.Linus Torvalds
C.Dennis Ritchie
D.Steve Jobs
Correct Answer: Linus Torvalds
Explanation:
Linus Torvalds released the first version of the Linux kernel in 1991.
Incorrect! Try again.
3Which of the following is a characteristic feature of Linux?
A.Open Source
B.Costly licensing fees
C.Closed Source
D.Single-user only
Correct Answer: Open Source
Explanation:
Linux is open-source software, meaning its source code is freely available for anyone to use, modify, and redistribute.
Incorrect! Try again.
4Which of the following is NOT a popular Linux distribution?
A.Fedora
B.macOS
C.Debian
D.Ubuntu
Correct Answer: macOS
Explanation:
macOS is a Unix-based operating system developed by Apple, not a Linux distribution. Ubuntu, Fedora, and Debian are Linux distros.
Incorrect! Try again.
5What program interprets commands typed by the user and sends them to the operating system?
A.The Kernel
B.The Desktop
C.The Swap
D.The Shell
Correct Answer: The Shell
Explanation:
The shell is the command-line interface that interprets user inputs and executes them.
Incorrect! Try again.
6Which command is used to display the current working directory?
A.pwd
B.dir
C.ls
D.cd
Correct Answer: pwd
Explanation:
The 'pwd' command stands for 'print working directory' and shows the full path of the current directory.
Incorrect! Try again.
7Which command is used to list files and directories?
A.list
B.ls
C.ps
D.show
Correct Answer: ls
Explanation:
The 'ls' command is used to list directory contents.
Incorrect! Try again.
8How do you display the manual page for a specific command, for example, 'ls'?
A.help ls
B.man ls
C.ls ?
D.info ls
Correct Answer: man ls
Explanation:
The 'man' command is used to display the user manual of any command.
Incorrect! Try again.
9Which command is used to create a new empty directory?
A.mkfile
B.newdir
C.touch
D.mkdir
Correct Answer: mkdir
Explanation:
The 'mkdir' command stands for 'make directory'.
Incorrect! Try again.
10What command allows you to change your current directory?
A.ch
B.mv
C.cp
D.cd
Correct Answer: cd
Explanation:
The 'cd' command stands for 'change directory'.
Incorrect! Try again.
11Which command is primarily used to create an empty file or update the timestamp of an existing file?
A.touch
B.make
C.cat
D.mkdir
Correct Answer: touch
Explanation:
The 'touch' command creates an empty file if it doesn't exist or updates the timestamp if it does.
Incorrect! Try again.
12Which command is used to remove (delete) a file?
A.rm
B.del
C.remove
D.erase
Correct Answer: rm
Explanation:
The 'rm' command is used to remove files.
Incorrect! Try again.
13What is the function of the 'cp' command?
A.Change path
B.Check process
C.Copy files or directories
D.Create program
Correct Answer: Copy files or directories
Explanation:
'cp' is the standard command used to copy files and directories.
Incorrect! Try again.
14Which command is used to move or rename files?
A.cp
B.mov
C.mv
D.rn
Correct Answer: mv
Explanation:
The 'mv' command moves files to a new location or renames them if the destination is the same directory.
Incorrect! Try again.
15Which command is used to remove an empty directory?
A.delete
B.clean
C.rmdir
D.rm
Correct Answer: rmdir
Explanation:
'rmdir' allows you to remove a directory only if it is empty.
Incorrect! Try again.
16To view the contents of a file on the standard output, which command is used?
A.see
B.cat
C.look
D.read
Correct Answer: cat
Explanation:
'cat' (concatenate) reads a file and outputs its content to the screen.
Incorrect! Try again.
17Which command is used to change the file permissions?
A.attrib
B.chmod
C.chown
D.perm
Correct Answer: chmod
Explanation:
'chmod' (change mode) is used to change the read, write, and execute permissions of files.
Incorrect! Try again.
18What does the command 'chmod 777 file.txt' do?
A.Makes the file hidden
B.Removes the file
C.Locks the file
D.Gives read, write, and execute permissions to everyone
Correct Answer: Gives read, write, and execute permissions to everyone
Explanation:
In octal notation, 7 represents Read(4) + Write(2) + Execute(1). 777 gives full permissions to User, Group, and Others.
Incorrect! Try again.
19Which command displays information about currently running processes?
A.ps
B.status
C.tasklist
D.proc
Correct Answer: ps
Explanation:
'ps' stands for 'process status' and displays active processes.
Incorrect! Try again.
20If a program is unresponsive, which command can be used to terminate it using its PID?
A.quit
B.end
C.stop
D.kill
Correct Answer: kill
Explanation:
The 'kill' command sends a signal (usually termination) to a process identified by its Process ID (PID).
Incorrect! Try again.
21What does the 'cd ..' command do?
A.Moves to the home directory
B.Moves to the root directory
C.Moves one directory up (parent directory)
D.Repeats the last command
Correct Answer: Moves one directory up (parent directory)
Explanation:
The '..' symbol represents the parent directory.
Incorrect! Try again.
22Which flag is used with 'rm' to delete a directory and its contents recursively?
A.-f
B.-a
C.-r
D.-d
Correct Answer: -r
Explanation:
The '-r' (recursive) flag is required to remove directories that contain files.
Incorrect! Try again.
23In the Linux file system, which character represents the root directory?
A./
B.C:
C.\
D.~
Correct Answer: /
Explanation:
Linux uses a single hierarchical tree structure starting at the root directory, represented by a forward slash (/).
Incorrect! Try again.
24What is a major difference between Linux and Windows regarding file paths?
A.Both use forward slashes
B.Linux uses forward slashes (/), Windows uses backslashes ()
C.Linux uses backslashes (), Windows uses forward slashes (/)
D.Both use backslashes
Correct Answer: Linux uses forward slashes (/), Windows uses backslashes ()
Explanation:
This is a fundamental syntax difference in file paths between the two operating systems.
Incorrect! Try again.
25Which user in Linux has unlimited privileges and is equivalent to the Administrator in Windows?
A.Admin
B.Master
C.SuperUser
D.Root
Correct Answer: Root
Explanation:
The 'root' user is the superuser in Linux with full administrative access.
Incorrect! Try again.
26Unlike Windows, Linux file names are:
A.Limited to 8 characters
B.Always ending in .txt
C.Case-insensitive
D.Case-sensitive
Correct Answer: Case-sensitive
Explanation:
In Linux, 'File.txt' and 'file.txt' are treated as two different files.
Incorrect! Try again.
27What is a Virtual Machine (VM)?
A.A type of virus
B.A physical robot
C.A software emulation of a physical computer
D.A web browser
Correct Answer: A software emulation of a physical computer
Explanation:
A VM behaves like a physical computer but runs as software on top of another operating system.
Incorrect! Try again.
28The operating system running inside a Virtual Machine is called the:
A.Main OS
B.Core OS
C.Host OS
D.Guest OS
Correct Answer: Guest OS
Explanation:
The OS running the VM software is the Host, and the OS inside the VM is the Guest.
Incorrect! Try again.
29Which software is commonly used to create and manage Virtual Machines?
A.Adobe Photoshop
B.VLC Player
C.Oracle VirtualBox
D.Microsoft Word
Correct Answer: Oracle VirtualBox
Explanation:
VirtualBox is a widely used hypervisor for x86 virtualization.
Incorrect! Try again.
30What is the layer of software that creates and runs virtual machines called?
A.Kernel
B.Compiler
C.Hypervisor
D.Bootloader
Correct Answer: Hypervisor
Explanation:
A hypervisor (or Virtual Machine Monitor) allows multiple guest OSs to run on a single host.
Incorrect! Try again.
31What is a key benefit of using a Virtual Machine?
A.Replaces the need for a monitor
B.Increases hardware speed
C.Requires no RAM
D.Isolation of the environment
Correct Answer: Isolation of the environment
Explanation:
VMs are isolated; if the guest OS crashes or gets a virus, it does not affect the host OS.
Incorrect! Try again.
32When creating a VM, what resources must be allocated from the host?
A.Internet bandwidth only
B.RAM and Storage
C.Keyboard layout
D.Monitor resolution
Correct Answer: RAM and Storage
Explanation:
The host must dedicate physical RAM and disk space for the guest OS to function.
Incorrect! Try again.
33What feature allows you to save the state of a VM at a specific point in time?
A.Snapshot
B.Pause
C.Clone
D.Screenshot
Correct Answer: Snapshot
Explanation:
Snapshots allow you to revert the VM to a previous state later.
Incorrect! Try again.
34What is a File System?
A.A method of storing and organizing files on a storage device
B.A protocol for internet browsing
C.A type of monitor display
D.A system to clean computer fans
Correct Answer: A method of storing and organizing files on a storage device
Explanation:
A file system controls how data is stored and retrieved on a disk.
Incorrect! Try again.
35What does FAT stand for in file systems?
A.Fixed Allocation Type
B.File Access Type
C.Fast Access Table
D.File Allocation Table
Correct Answer: File Allocation Table
Explanation:
FAT is an older but highly compatible file system architecture.
Incorrect! Try again.
36Which file system is the standard default for modern Windows operating systems?
A.FAT16
B.NTFS
C.ext4
D.HFS
Correct Answer: NTFS
Explanation:
NTFS (New Technology File System) is the default for Windows (often referred to incorrectly as NDFS in some older contexts/typos).
Incorrect! Try again.
37Which file system is primarily associated with macOS?
A.ext4
B.HFS/HFS+
C.FAT32
D.NTFS
Correct Answer: HFS/HFS+
Explanation:
HFS (Hierarchical File System) and HFS+ were standard for Mac before APFS.
Incorrect! Try again.
38What is the standard file system used by most modern Linux distributions?
A.NTFS
B.Extended File System (ext3/ext4)
C.HFS
D.FAT32
Correct Answer: Extended File System (ext3/ext4)
Explanation:
The ext (Extended) family, particularly ext4, is the standard for Linux.
Incorrect! Try again.
39What does UDF stand for?
A.User Data Format
B.Unified Data File
C.Universal Disk Format
D.Ultra Disk File
Correct Answer: Universal Disk Format
Explanation:
UDF is a vendor-independent file system used for optical media like DVDs and Blu-rays.
Incorrect! Try again.
40Which file system limitation makes FAT32 unsuitable for large video files?
A.It is too slow
B.Maximum file size is 4GB
C.It cannot store text files
D.It is not compatible with Windows
Correct Answer: Maximum file size is 4GB
Explanation:
FAT32 cannot handle individual files larger than 4GB.
Incorrect! Try again.
41In the context of Linux commands, what does the -l flag do in ls -l?
A.Lists last opened files
B.Lists only links
C.Lists in long format (details)
D.Lists in landscape mode
Correct Answer: Lists in long format (details)
Explanation:
ls -l shows detailed information like permissions, owner, size, and modification date.
Incorrect! Try again.
42Which symbol is used to represent the user's home directory in Linux?
A..
B./
C.~
D.@
Correct Answer: ~
Explanation:
The tilde (~) is a shortcut for the current user's home directory.
Incorrect! Try again.
43Which command creates a duplicate of a file?
A.rm
B.ls
C.mv
D.cp
Correct Answer: cp
Explanation:
cp copies the source file to a destination, creating a duplicate.
Incorrect! Try again.
44To create a hidden file in Linux, the filename must start with:
A.An underscore (_)
B.A hash (#)
C.A dot (.)
D.A dollar sign ($)
Correct Answer: A dot (.)
Explanation:
Files beginning with a dot (e.g., .config) are hidden by default in standard directory listings.
Incorrect! Try again.
45Which command would you use to check the version of the kernel?
A.ls -v
B.uname -r
C.ver
D.kernel -v
Correct Answer: uname -r
Explanation:
uname -r prints the kernel release version.
Incorrect! Try again.
46In Windows, drives are labeled A:, C:, etc. In Linux, all storage devices are mounted under:
A.The Root directory (/)
B.My Computer
C.The Registry
D.The Drive Manager
Correct Answer: The Root directory (/)
Explanation:
Linux uses a unified file system hierarchy where devices are mounted as directories within the root tree.
Incorrect! Try again.
47Which command effectively 'renames' a directory?
A.rn
B.cp
C.mv
D.name
Correct Answer: mv
Explanation:
The mv (move) command is used for renaming; moving a file to the same folder with a different name effectively renames it.
Incorrect! Try again.
48What does the 'sudo' command enable a user to do?
A.Sort files
B.Delete the OS
C.Surf the web
D.Execute a command with superuser (root) privileges
Correct Answer: Execute a command with superuser (root) privileges
Explanation:
Sudo stands for 'SuperUser DO'.
Incorrect! Try again.
49Which file system type is known as a 'Journaling File System' commonly used in Linux?
A.ext3/ext4
B.FAT12
C.ISO9660
D.CDFS
Correct Answer: ext3/ext4
Explanation:
ext3 and ext4 are journaling file systems, meaning they keep a log of changes to prevent corruption during crashes.
Incorrect! Try again.
50What happens if you run rmdir on a directory that contains files?
A.It fails and displays an error
B.It moves the files to trash
C.It deletes everything
D.It asks for a password
Correct Answer: It fails and displays an error
Explanation:
rmdir only removes empty directories. You must use rm -r for non-empty directories.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →