Explore topic-wise MCQs in Technical Programming.

This section includes 746 Mcqs, each offering curated multiple-choice questions to sharpen your Technical Programming knowledge and support exam preparation. Choose a topic below to get started.

701.

Which command creates an empty file if file does not exist?

A. cat
B. touch
C. ed
D. read
Answer» C. ed
702.

Which command is used to perform backup in unix?

A. backup
B. cpio
C. zip
D. gzip
Answer» C. zip
703.

Which command is used to display disk consumption of a specific directory

A. du
B. ds
C. dd
D. dds
Answer» B. ds
704.

Which command is used to extract a column from a text file

A. paste
B. get
C. cut
D. tar
Answer» D. tar
705.

Which command is used to extract intermediate result in a pipeline

A. tee
B. extract
C. exec
D. none of the mentioned
Answer» B. extract
706.

Which command changes a file’s group owner

A. cgrp
B. chgrp
C. change
D. group
Answer» C. change
707.

Which command is used to view compressed text file contents

A. cat
B. type
C. zcat
D. print
Answer» D. print
708.

Which command is used to display the octal value of the text

A. octal
B. text_oct
C. oct
D. od
Answer» E.
709.

Find / -name ‘*’ will

A. List all files and directories recursively starting from /
B. List a file named * in /
C. List all files in / directory
D. List all files and directories in / directory
Answer» B. List a file named * in /
710.

Which option of ls command used to view file inode number

A. –l
B. -o
C. -a
D. –i
Answer» E.
711.

Using which command you find resource limits to the session?

A. rlimit
B. ulimit
C. setrlimit
D. getrlimit
Answer» C. setrlimit
712.

Which command is used to print a file

A. print
B. ptr
C. lpr
D. none of the mentioned
Answer» D. none of the mentioned
713.

Which command is used to display the unix version

A. uname -r
B. uname -n
C. uname -t
D. kernel
Answer» B. uname -n
714.

Which command is used to display the operating system name

A. os
B. unix
C. kernel
D. uname
Answer» E.
715.

Which command is used to record a user login session in a file

A. macro
B. read
C. script
D. none of the mentioned
Answer» D. none of the mentioned
716.

Which command is used to set terminal IO characteristic?

A. tty
B. ctty
C. ptty
D. stty
Answer» E.
717.

The command “mknod myfifo b 4 16”

A. Will create a block device if user is root
B. Will create a block device for all users
C. Will create a FIFO if user is not root
D. None of the mentioned
Answer» B. Will create a block device for all users
718.

The dmesg command

A. Shows user login logoff attempts
B. Shows the syslog file for info messages
C. kernel log messages
D. Shows the daemon log messages
Answer» D. Shows the daemon log messages
719.

How do you get help about the command “cp”?

A. help cp
B. man cp
C. cd ?
D. none of the mentioned
Answer» C. cd ?
720.

What control character signals the end of the input file?

A. ctrl + a
B. ctrl + b
C. ctrl + c
D. ctrl + d
Answer» E.
721.

Which among the following is used to write small programs to control Unix functionalities?

A. Shell Commands
B. Shell Script
C. Filters
D. C Language
Answer» C. Filters
722.

What are the sizes of (Integer/Long/Pointer) in LP64 programming model?

A. 8/8/8
B. 4/4/8
C. 4/8/8
D. 4/8/4
Answer» D. 4/8/4
723.

x86-32 uses which programming model?

A. IP16
B. IP32
C. ILP16
D. ILP32
Answer» E.
724.

Which of the following UNIX flavor is from IBM?

A. BSD
B. Solaris
C. HP-UX
D. AIX
Answer» E.
725.

Which of these is not a Unix Flavor?

A. BSD
B. MAC
C. AIX
D. IRIX
Answer» C. AIX
726.

SVR4 was developed by

A. Sun Microsystems
B. AT&T
C. University of Berkeley
D. Sun and AT&T jointly
Answer» E.
727.

Syntax of any Unix command is:

A. command [options] [arguments].
B. command options [arguments].
C. command [options] [arguments].
D. command options arguments
Answer» B. command options [arguments].
728.

Lp0 device file is used to access:

A. Floppy
B. Cdrom
C. Printer
D. Tape drive
Answer» D. Tape drive
729.

SVR4 stands for?

A. Standard Version Release 4
B. System Version Release 4
C. Standard Five Release 4
D. System Five Release 4
Answer» E.
730.

Unix is which kind of Operating System?

A. Multi User
B. Multi Processes
C. Multi Tasking
D. All of the mentioned
Answer» E.
731.

Which of the following is considered as the super daemon in Unix?

A. sysinit
B. init
C. inetd
D. proc
Answer» C. inetd
732.

Which of the following enables multi-tasking in UNIX?

A. Time Sharing
B. Multi programming
C. Multi user
D. Modularity
Answer» B. Multi programming
733.

The system calls in UNIX is written using which language

A. C
B. C++
C. Assembly Language
D. Fortran
Answer» B. C++
734.

Which of the following is “NOT” a UNIX variant ?

A. Solaris
B. AIX
C. IRIX
D. AS400
Answer» E.
735.

Solaris is the name of a flavor of UNIX from

A. HP
B. IBM
C. Digital Equipment Corp
D. Sun Microsystems
Answer» E.
736.

Applications communicate with kernel by using:

A. System Calls
B. C Programs
C. Shell Script
D. Shell
Answer» B. C Programs
737.

Which among the following interacts directly with system hardware?

A. Shell
B. Commands
C. Kernel
D. Applications
Answer» D. Applications
738.

Under UNIX the key board is the default input device and the monitor is the default output device

A. True
B. False
Answer» B. False
739.

Single Unix Specification Version 2 provides enhanced support for

A. 16 bit Unix
B. 32 bit Unix
C. 64 bit Unix
D. 8 bit Unix
Answer» D. 8 bit Unix
740.

ILP32 stands for

A. 32 bit Integer, Long & Pointer
B. 32 bit Integrated Long & Pointer
C. 32 bit Intelligent Long & Pointer
D. 32 bit Long & Pointer
Answer» B. 32 bit Integrated Long & Pointer
741.

Which is the core of the operating system?

A. Shell
B. Kernel
C. Commands
D. Script
Answer» C. Commands
742.

wtmp and utmp files contain:

A. Temporary system data
B. User login-logout log
C. The user’s command execution log
D. The user’s su and sudo attempts
Answer» C. The user’s command execution log
743.

At start of process execution, STDOUT & STDERR

A. Point to current terminal device
B. Are closed
C. Point to special files on the system
D. None of the mentioned
Answer» B. Are closed
744.

To increase the response time and throughput, the kernel minimizes the frequency of disk access by keeping a pool of internal data buffer called

A. Pooling
B. Spooling
C. Buffer cache
D. Swapping
Answer» D. Swapping
745.

Linux __________ the use of multiple swap spaces.

A. allows
B. does not allow
C. may allow
D. none of the mentioned
Answer» B. does not allow
746.

Linux uses a time-sharing algorithm

A. to pair preemptive scheduling between multiple processes
B. for tasks where absolute priorities are more important than fairness
C. all of the mentioned
D. none of the mentioned
Answer» B. for tasks where absolute priorities are more important than fairness