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