NEW
Font size
WorksheetsRepaso Segundo Parcial Sistemas Operativos
Total questions: 55
Worksheet time: 9mins
What year was UNIX first developed?
1975
1969
1982
Which of the following is considered a core concept of UNIX-based operating systems?
Every application must run as an administrator
Graphical user interface (GUI) is the primary interface
Everything is a file
Which programming language was UNIX originally written in?
Assembly
C
Python
Which of the following is an advantage of UNIX-based operating systems over other systems?
Limited hardware support
Stability and security
High cost
Which type of operating system does macOS use?
DOS-based
Windows-based
UNIX-based
Which is a key benefit of UNIX's multi-user capability?
Multiple users can work simultaneously without interfering with each other.
All users share the same environment settings.
Only one user can be logged in at a time.
What is a significant disadvantage of UNIX operating systems?
No support for networking
Steep learning curve for new users
Lack of hardware compatibility
What is the minimal hardware requirement for most UNIX-based operating systems (e.g., Ubuntu)?
512 MB RAM and 2 GB of hard disk space
4 GB RAM and 25 GB of hard disk space
8 GB RAM and 100 GB of hard disk space
What does the installation process for a UNIX-based OS typically involve?
Partitioning the disk, selecting packages, and configuring settings
Only selecting the OS version to install
No need to select any partitions or file systems
During installation of a UNIX-based OS, which of the following must be selected?
Partition type and file system
Software updates only
Desktop background and screen saver
What is the primary characteristic of a primary partition?
It must be inside an extended partition.
It is a partition used only for data storage.
It is the first partition on the disk and can hold an operating system.
What is the key advantage of an extended partition?
It limits the number of partitions to 4.
It is used for system boot partitions only.
It allows for the creation of multiple logical partitions.
Which of the following is a disadvantage of logical partitions?
They are less flexible than primary partitions.
They require an extended partition to be created first.
They cannot be used to install an operating system.
What is the primary benefit of the ext4 file system?
Better support for large files than FAT32
Lower disk space usage than NTFS
Faster performance and improved reliability over ext3.
Which file system is commonly used in Linux distributions for its balance of performance and reliability?
ext4
FAT32
NTFS
What is the key feature of the XFS file system?
File system support only for macOS
Simple design for small files
High performance for large files and scalability
Which file system is known for its snapshots and is often used in enterprise environments?
FAT32
ZFS
NTFS
Which of the following is a key advantage of Btrfs over ext4?
Native support for snapshots and data checksums
Better compatibility with older Linux kernels
Superior performance with small files
What is a limitation of the FAT32 file system?
It cannot be used on any external drives.
It has a file size limit of 4 GB.
It is incompatible with UNIX-based operating systems.
Which file system is commonly used by Windows operating systems?
XFS
ext4
NTFS
What is the primary function of a repository in UNIX-based operating systems?
To provide a graphical user interface.
To handle hardware drivers.
To store and distribute software packages.
Which type of repository is most commonly used by Linux distributions?
Cloud storage repositories
Git repositories
Package repositories (e.g., APT, YUM)
How does a software repository improve system performance and usability?
By eliminating the need for hardware drivers
By reducing the number of users accessing the system
By providing an easy way to install and update software
Which of the following is a repository format used in Ubuntu Linux?
APT
YUM
RPM
What is the role of the /etc/apt/sources.list file in Ubuntu?
It lists the software repositories the system uses.
It controls the user permissions for repositories.
It tracks the hardware devices connected to the system.
What is a key feature of the ZFS file system?
It is only available for Windows systems
Lightweight design with minimal resource usage
Advanced data integrity, compression, and snapshot capabilities
What does the installation process for a UNIX-based OS typically require in terms of disk partitions?
Creation of at least one root partition and swap space
Only one partition for the root directory
A minimum of 3 partitions for system, data, and backup
What is the function of the mount command in UNIX-based systems?
To attach a storage device to a directory in the file system
To install the operating system
To create a new file system on a disk
What is a disadvantage of using a file system like NTFS in a UNIX-based operating system?
Slower performance compared to ext4
Lack of native support and compatibility issues
Limited support for large files
How do you open the terminal in Linux?
Ctrl + Shift + T
Ctrl + Alt + T
Ctrl + Alt + C
What command is used to shut down the system immediately?
sudo halt
sudo poweroff
sudo shutdown now
Which command restarts the system?
sudo restart
sudo reboot
sudo reboot now
Which command is used to list files and directories?
ls
dir
list
How can you list all files, including hidden ones?
ls -a
ls -l
dir -a
What command is used to change directories?
cd-to /path/to/directory
move /path/to/directory
cd /path/to/directory
How do you return to the home directory?
cd ~home
cd /home
cd ~
Which command is used to move up one directory level?
cd ../
cd ..
cd ~
What command is used to copy a file?
move myfile.txt myfile_copy.txt
cp myfile.txt myfile_copy.txt
copy myfile.txt myfile_copy.txt
Which command moves or renames a file?
mv myfile_copy.txt my_directory/
copy myfile_copy.txt my_directory/
rename myfile_copy.txt my_directory/
What command displays the content of a file?
view myfile.txt
less myfile.txt
cat myfile.txt
Which command is used to view file content page by page?
cat myfile.txt
more myfile.txt
less myfile.txt
How would you search for files in the current directory that have a .txt extension?
find . -ext "*.txt"
search . -name "*.txt"
find . -name "*.txt"
Which command shows system information?
sysinfo
uname -a
systeminfo
Which command shows disk usage?
df -h
diskusage
df -l
How would you create a new directory named Lab in your home folder?
create ~/Lab
make ~/Lab
mkdir ~/Lab
Which command lists the contents of the Lab directory?
ls ~/Lab
dir ~/Lab
list ~/Lab
How do you navigate to the Projects directory inside Lab?
cd ~/Lab/Projects
cd ~/Projects
cd Projects
Which command creates a new file named README.txt inside Project1?
make ~/Lab/Projects/Project1/README.txt
touch ~/Lab/Projects/Project1/README.txt
create ~/Lab/Projects/Project1/README.txt
Which command opens a file in the nano text editor?
edit ~/Lab/Projects/Project1/README.txt
nano ~/Lab/Projects/Project1/README.txt
open ~/Lab/Projects/Project1/README.txt
What command would you use to copy README.txt from Project1 to the Notes directory?
cp ~/Lab/Projects/Project1/README.txt ~/Lab/Notes/
move ~/Lab/Projects/Project1/README.txt ~/Lab/Notes/
copy ~/Lab/Projects/Project1/README.txt ~/Lab/Notes/
Which command renames README.txt in the Notes directory to NOTES.txt?
rename ~/Lab/Notes/README.txt ~/Lab/Notes/NOTES.txt
mv ~/Lab/Notes/README.txt ~/Lab/Notes/NOTES.txt
mv ~/Lab/Notes/README.txt NOTES.txt
Which command deletes the NOTES.txt file?
rm ~/Lab/Notes/NOTES.txt
del ~/Lab/Notes/NOTES.txt
delete ~/Lab/Notes/NOTES.txt
Which command checks the permissions of the README.txt file in Project1?
perm ~/Lab/Projects/Project1/README.txt
check ~/Lab/Projects/Project1/README.txt
ls -l ~/Lab/Projects/Project1/README.txt
Which command changes the permissions of README.txt so that only the owner can read and write?
chmod 400 ~/Lab/Projects/Project1/README.txt
chmod 600 ~/Lab/Projects/Project1/README.txt
chmod 777 ~/Lab/Projects/Project1/README.txt
Which command changes the ownership of README.txt to another user?
sudo changeowner username ~/Lab/Projects/Project1/README.txt
sudo chown username ~/Lab/Projects/Project1/README.txt
chown username ~/Lab/Projects/Project1/README.txt
