Unit 3: Linux Operating System - Practice Quiz

CSE111 — Orientation To Computing-I 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 What is the core component of the Linux operating system that interacts directly with the hardware?

A. Compiler
B. Kernel
C. Shell
D. Desktop Environment

2 Who is credited with creating the initial version of the Linux kernel?

A. Bill Gates
B. Linus Torvalds
C. Dennis Ritchie
D. Steve Jobs

3 Which of the following is a characteristic feature of Linux?

A. Open Source
B. Costly licensing fees
C. Closed Source
D. Single-user only

4 Which of the following is NOT a popular Linux distribution?

A. Fedora
B. macOS
C. Debian
D. Ubuntu

5 What 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

6 Which command is used to display the current working directory?

A. pwd
B. dir
C. ls
D. cd

7 Which command is used to list files and directories?

A. list
B. ls
C. ps
D. show

8 How do you display the manual page for a specific command, for example, 'ls'?

A. help ls
B. man ls
C. ls ?
D. info ls

9 Which command is used to create a new empty directory?

A. mkfile
B. newdir
C. touch
D. mkdir

10 What command allows you to change your current directory?

A. ch
B. mv
C. cp
D. cd

11 Which 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

12 Which command is used to remove (delete) a file?

A. rm
B. del
C. remove
D. erase

13 What is the function of the 'cp' command?

A. Change path
B. Check process
C. Copy files or directories
D. Create program

14 Which command is used to move or rename files?

A. cp
B. mov
C. mv
D. rn

15 Which command is used to remove an empty directory?

A. delete
B. clean
C. rmdir
D. rm

16 To view the contents of a file on the standard output, which command is used?

A. see
B. cat
C. look
D. read

17 Which command is used to change the file permissions?

A. attrib
B. chmod
C. chown
D. perm

18 What 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

19 Which command displays information about currently running processes?

A. ps
B. status
C. tasklist
D. proc

20 If a program is unresponsive, which command can be used to terminate it using its PID?

A. quit
B. end
C. stop
D. kill

21 What 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

22 Which flag is used with 'rm' to delete a directory and its contents recursively?

A. -f
B. -a
C. -r
D. -d

23 In the Linux file system, which character represents the root directory?

A. /
B. C:
C. \
D. ~

24 What 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

25 Which user in Linux has unlimited privileges and is equivalent to the Administrator in Windows?

A. Admin
B. Master
C. SuperUser
D. Root

26 Unlike Windows, Linux file names are:

A. Limited to 8 characters
B. Always ending in .txt
C. Case-insensitive
D. Case-sensitive

27 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

28 The operating system running inside a Virtual Machine is called the:

A. Main OS
B. Core OS
C. Host OS
D. Guest OS

29 Which software is commonly used to create and manage Virtual Machines?

A. Adobe Photoshop
B. VLC Player
C. Oracle VirtualBox
D. Microsoft Word

30 What is the layer of software that creates and runs virtual machines called?

A. Kernel
B. Compiler
C. Hypervisor
D. Bootloader

31 What 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

32 When 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

33 What feature allows you to save the state of a VM at a specific point in time?

A. Snapshot
B. Pause
C. Clone
D. Screenshot

34 What 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

35 What does FAT stand for in file systems?

A. Fixed Allocation Type
B. File Access Type
C. Fast Access Table
D. File Allocation Table

36 Which file system is the standard default for modern Windows operating systems?

A. FAT16
B. NTFS
C. ext4
D. HFS

37 Which file system is primarily associated with macOS?

A. ext4
B. HFS/HFS+
C. FAT32
D. NTFS

38 What is the standard file system used by most modern Linux distributions?

A. NTFS
B. Extended File System (ext3/ext4)
C. HFS
D. FAT32

39 What does UDF stand for?

A. User Data Format
B. Unified Data File
C. Universal Disk Format
D. Ultra Disk File

40 Which 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

41 In 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

42 Which symbol is used to represent the user's home directory in Linux?

A. .
B. /
C. ~
D. @

43 Which command creates a duplicate of a file?

A. rm
B. ls
C. mv
D. cp

44 To create a hidden file in Linux, the filename must start with:

A. An underscore (_)
B. A hash (#)
C. A dot (.)
D. A dollar sign ($)

45 Which command would you use to check the version of the kernel?

A. ls -v
B. uname -r
C. ver
D. kernel -v

46 In 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

47 Which command effectively 'renames' a directory?

A. rn
B. cp
C. mv
D. name

48 What 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

49 Which file system type is known as a 'Journaling File System' commonly used in Linux?

A. ext3/ext4
B. FAT12
C. ISO9660
D. CDFS

50 What 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