Os Quiz
Os Quiz
Total points70/75
28 of 30 points
Student ID*
Select your TNU ID
TNU2022053200055
Which of the following command is used to count the total number of lines, words,
and characters contained in a file?*
1/1
wc
wcount
ls -w
ls -lw
rw
rm
dm
erase
Among the following command which is used with vi editors to delete a single
character?
*
1/1
a
i
x
w
Identify the command which is used to remove files and empty folder.
*
1/1
rd
rm
rmdir
rmd
fsk
mkfs
make filesystems
fdisk
!
@
#
Generic Unix
GNU's NOT Unix
Terminal
Shell
Kernel
bash
In which of the following directory does the configuration files are present?
*
1/1
/bin
/root
/etc
/dev
/etc/passwd file
/etc/password file
/etc/shadow file
/etc/info
ext3
NTFS
ext2
ext4
whoami
hostname
cat
ls
print
lp
-I
-i
-- inode
-a
uname -a
uname -r
uname -i
uname -n
ls -a
ls -h
ls -ivh
ls -l
Which of the following is used to represent the top-level directory?
*
1/1
@
$
#
Which of the following command is used to sort the lines of data in a file in
alphabetical order?
*
1/1
ls -ls
sort
sort -r
flag -k
Identify this script which is run for setting a global defaults for users
*
1/1
/etc/profile file
/etc/profilerc file
/etc/bashrc file
/etc/profiles file
Linus Torvalds
Dennis Ritchie
Ken Thompson
Ben Thomas
Which of the following command can force all buffers to disk?
*
1/1
flush
fflush
sync
buffer
To create a swap partition by using fdisk, which partition’s system ID type should be
used?
*
1/1
1
82
5
83
chdir
chdr
cd
change
Shell
Commands
Kernel
Applications
uname -r
uname -n
uname -t
kernel
du
ds
dd
dds
paste
get
cut
tar
33 of 35 points
Round Robin
FCFS
Priority
Cache Paging
Long-Term Scheduling
Preemptive Scheduling
Non-Preemptive Scheduling
Short-Term Scheduling
Batch Processing OS
Time Sharing OS
Real Time OS
Multiple Time OS
Thread is a ____________________
*
1/1
I/O Process
Batch Scheduling Process
Library
System calls
Assembly instructions
API
kernel is the first part of the operating system to load into memory during booting
kernel is the program that constitutes the central core of the operating system
If a process fails, most operating system write the error information to a ______
*
1/1
new file
another running process
log file
crash dump
RTLinux
Palm OS
QNX
VxWorks
Suspended state
Terminated state
Ready state
Blocked state
When a process is in a “Blocked” state waiting for some I/O service. When the
service is completed, it goes to the __________
*
1/1
Ready state
Terminated state
Suspended state
Running state
operating systems
multiprocessor systems
time-sharing systems
multiprogramming systems
The operating system and the other processes are protected from being modified by
an already running process because ____________
*
1/1
every address generated by the CPU is being checked against the relocation and limit
registers
Using transient code, _______ the size of the operating system during program
execution.
*
1/1
maintains
changes
increases
decreases
To obtain better memory utilization, dynamic loading is used. With dynamic loading,
a routine is not loaded until it is called. For implementing dynamic loading
____________
*
1/1
Device drivers
I/O systems
Devices
Buses
If the sum of the working – set sizes increases, exceeding the total number of
available frames ____________
*
1/1
operating system
memory
separate directory structure
swap space
The operating system keeps a small table containing information about all open files
called ____________
*
1/1
file table
directory table
open-file table
system table
On systems where there are multiple operating system, the decision to load a
particular one is done by _____________
*
1/1
bootstrap
The two steps the operating system takes to use a disk to hold its files are _______
and ________
*
0/1
The _______ program initializes all aspects of the system, from CPU registers to
device controllers and the contents of main memory, and then starts the operating
system.
*
1/1
bootstrap
bootloader
kernel
system call
In SCSI disks used in high end PCs, the controller maintains a list of _________ on
the disk. The disk is initialized during ________ formatting which sets aside spare
sectors not visible to the operating system.
*
1/1
Which of the following system calls does not return control to the calling point, on
termination?
*
1/1
fork
exec
ioctl
longjmp
an orphan process
a zombie process
only once
twice
four times
eight times
getpid
fork
ioctl
open
0
nothing
1
9 of 10 points
10
garbage value
segmentation fault
program will give an error because variable “a” is not defined in child process
0
1
2
10
20
30
50
a part of
the creator of
unaware of
aware of
the kernel can schedule another thread in the application for execution
the kernel cannot schedule another thread in the same application for execution
the kernel must schedule another thread of a different application for execution
the kernel must schedule another thread of the same application on a different processor
linux 0.1
linux 1.0
linux 1.2
linux 2.0
Which one of the following linux file system does not support journaling feature?
*
1/1
ext2
ext3
ext4
system libraries
kernel code
compilers
utility programs
Rn4DDp2O
This form was created inside of The Neotia University.
Forms