Unit 3 - Practice Quiz

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

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

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

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

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

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

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

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

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

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

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

7 Which command is used to list files and directories?

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

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

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

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

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

10 What command allows you to change your current directory?

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

11 Which command is primarily used to create an empty file or update the timestamp of an existing file?

A. cat
B. make
C. mkdir
D. touch

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

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

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

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

14 Which command is used to move or rename files?

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

15 Which command is used to remove an empty directory?

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

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

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

17 Which command is used to change the file permissions?

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

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

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

19 Which command displays information about currently running processes?

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

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. Repeats the last command
B. Moves one directory up (parent directory)
C. Moves to the root directory
D. Moves to the home directory

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

A. -d
B. -f
C. -r
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. Both use backslashes
D. Linux uses forward slashes (/), Windows uses backslashes ()

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

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

26 Unlike Windows, Linux file names are:

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

27 What is a Virtual Machine (VM)?

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

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

A. Host OS
B. Guest OS
C. Core 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. Compiler
B. Hypervisor
C. Bootloader
D. Kernel

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

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

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

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

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

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

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. Fast Access Table
B. Fixed Allocation Type
C. File Allocation Table
D. File Access Type

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

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

37 Which file system is primarily associated with macOS?

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

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

A. Extended File System (ext3/ext4)
B. HFS
C. NTFS
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 cannot store text files
B. Maximum file size is 4GB
C. It is not compatible with Windows
D. It is too slow

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

A. Lists only links
B. Lists in landscape mode
C. Lists last opened files
D. Lists in long format (details)

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. ls
C. rm
D. cp

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

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

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

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

46 In Windows, drives are labeled A:, C:, etc. In Linux, all storage devices are mounted under:

A. The Registry
B. The Drive Manager
C. The Root directory (/)
D. My Computer

47 Which command effectively 'renames' a directory?

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

48 What does the 'sudo' command enable a user to do?

A. Delete the OS
B. Execute a command with superuser (root) privileges
C. Sort files
D. Surf the web

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

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

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