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. Kernel
B. Shell
C. Desktop Environment
D. Compiler

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

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

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

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

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

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

5 What program interprets commands typed by the user and sends them to the operating system?

A. The Kernel
B. The Swap
C. The Desktop
D. The Shell

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

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

7 Which command is used to list files and directories?

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

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

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

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

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

10 What command allows you to change your current directory?

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

11 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

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

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

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

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

14 Which command is used to move or rename files?

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

15 Which command is used to remove an empty directory?

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

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

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

17 Which command is used to change the file permissions?

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

18 What does the command 'chmod 777 file.txt' do?

A. Makes the file hidden
B. Gives read, write, and execute permissions to everyone
C. Removes the file
D. Locks the file

19 Which command displays information about currently running processes?

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

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

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

21 What does the 'cd ..' command do?

A. Moves to the root directory
B. Moves to the home 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. -d
B. -r
C. -f
D. -a

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

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

24 What is a major difference between Linux and Windows regarding file paths?

A. Linux uses backslashes (), Windows uses forward slashes (/)
B. Both use forward slashes
C. Linux uses forward slashes (/), Windows uses backslashes ()
D. Both use backslashes

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

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

26 Unlike Windows, Linux file names are:

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

27 What is a Virtual Machine (VM)?

A. A web browser
B. A software emulation of a physical computer
C. A physical robot
D. A type of virus

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

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

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

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

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

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

31 What is a key benefit of using a Virtual Machine?

A. Isolation of the environment
B. Replaces the need for a monitor
C. Increases hardware speed
D. Requires no RAM

32 When creating a VM, what resources must be allocated from the host?

A. Internet bandwidth only
B. Monitor resolution
C. RAM and Storage
D. Keyboard layout

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

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

34 What is a File System?

A. A system to clean computer fans
B. A method of storing and organizing files on a storage device
C. A type of monitor display
D. A protocol for internet browsing

35 What does FAT stand for in file systems?

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

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

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

37 Which file system is primarily associated with macOS?

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

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

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

39 What does UDF stand for?

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

40 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

41 In the context of Linux commands, what does the -l flag do in ls -l?

A. Lists only links
B. Lists last opened files
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. mv
B. cp
C. ls
D. rm

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

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

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. My Computer
B. The Registry
C. The Root directory (/)
D. The Drive Manager

47 Which command effectively 'renames' a directory?

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

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. FAT12
B. ext3/ext4
C. CDFS
D. ISO9660

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