Page 1 :
F.Y.B.Sc.(CS)-LINUX Operating System(USCS103) SEM-I Question Bank, Unit-I, 1., , Who started Linux?, A. ⚪ Linus Torvalds, B. ⚪ Steve Jobs, C. ⚪ Tim Berners-Lee, D. ⚪ Steve Wozniak, , 2. What is the core of Linux, ⚪ Shell, ⚪ cmd, ⚪ Terminal, ⚪ Kernel, , operating system?
Page 3 :
⚪ Debian, ⚪ FreeBSD, ⚪ MS Windows 10, , 4., , A Linux distro is..., ⚪ A terminal, ⚪ The bash shell, ⚪ An update to the Linux OS, ⚪ The kernel and suite of tools that are packaged with it, , 5., , What is open source software?, ⚪ Software that is expensive, ⚪ Software that is owned by a company, ⚪ Software where the code is available, ⚪ Software where the code is available, , 6., , An example of an open source OS is, , ., , ⚪ Windows, ⚪ DOS, ⚪ MAC OS, ⚪ Linux, , 7., , Which of the following commands will show you the current directory that you are in?, ⚪ ls, ⚪ cd, ⚪ pwd, ⚪ where, , 8., , Which Linux command can be used to create a blank file in the current directory?
Page 4 :
⚪ cat, ⚪ vi, ⚪ touch, ⚪ man, , 9., , Lists the contents of the current directory., ⚪ md, ⚪ rm, ⚪ ls, ⚪ cd, , 10., , Deletes the specified file in your current directory., ⚪ delete, ⚪ rmdir, ⚪ rm, ⚪ removed, , 11., , Linux command used to copy files, ⚪ mv, ⚪ copy, ⚪ rm, ⚪ cp, , 12., , Search inside files in Linux., ⚪ find, ⚪ gfc, ⚪ grape, ⚪ grep, , 13., , Which redirection operator redirects output to a file?
Page 5 :
⚪>, ⚪;, ⚪<, ⚪|, , 14., , Which redirection operator redirects output to a file?, ⚪ Grep, ⚪ Piping, ⚪ Echo, ⚪ su, , 15., , To change passwords in Linux, you use the, ⚪ passwd, ⚪ chpassword, ⚪ pwd, ⚪ chngpasswd, , 16., , What is the default shell in Linux called?, ⚪ SH, ⚪ CSH, ⚪ BSH, ⚪ BASH, , 17., , BASH Shell stands for, ⚪ all the above, ⚪ bourne-again shell, ⚪ basic access shell, ⚪ basic to advanced shell, , command
Page 6 :
18., , GNU stands for, ⚪ GNU Image Manipulation Programme, ⚪ GNU Not Unix, ⚪ GNU Lesser General Public License, ⚪ GNU General Public License, , 19., , Linux command removes given directory., ⚪ rm, ⚪ rmdir, ⚪ ls, ⚪ chmod, , 20., , Linux command displays contents of text file on screen., , ⚪ banner, ⚪ find, ⚪ cat, ⚪ rm, , 21., , In Linux,, , command takes user to super user mode., , ⚪ cal, ⚪ bc, ⚪ cron, ⚪ su, , 22., , mv command can be used for-⚪ None of these, ⚪ 2. Move the file to different directory, ⚪ 1.Renaming a file
Page 7 :
⚪ Both 1 & 2, , 23., , Hidden file can be viewed using---⚪ ls -k, ⚪ ls -a, ⚪ ls -l, ⚪ ls -h, , 24., , Which command is used to display the operating system name?, ⚪ os, ⚪ uname, ⚪ kernel, ⚪ unix, , 25., , The top level directory on a linux system is represented as---⚪$, ⚪/, ⚪*, ⚪#, , 26., , What command is used to count the total number of lines,words,characters contained the given, file?, ⚪ countw, ⚪ count, ⚪ wc, ⚪ cout p, , 27., , Which command is/are used to get help about a command in Linux?, ⚪ none, ⚪ hlp
Page 8 :
⚪ commandinfo, ⚪ man, , 28., , Which one provide command interpreter environment?, ⚪ CPU, ⚪ Hardware, ⚪ Shell, ⚪ Kernel, , 29., , How many types of permissions a file has in LINUX?, ⚪1, ⚪3, ⚪2, ⚪4, , 30., , command is used to display the environment variables only., ⚪ env, ⚪ set, ⚪ var, ⚪ sh, , 31., , Which one of the following is not an environment variable?, ⚪ USER, ⚪ env, ⚪ HOME, ⚪ PATH, , 32., , Linux command helps user to change current working directory., ⚪ mv, ⚪ cd
Page 9 :
⚪ ln, ⚪ cp, , 33., , Linux command sorts the input, ⚪ halt, ⚪ reboots, ⚪ sleep, ⚪ sort, , 34., , Linux command displays full information about files and directories., ⚪ ls -l, ⚪ tar, ⚪ ls, ⚪ ls -a, , 35., , In Linux,, , command displays the current date and time., , ⚪ date, ⚪ cat, ⚪ man, ⚪ time, , 36., , PWD stand for?, ⚪ Parent working directory, ⚪ print working directory, ⚪ past working directory, ⚪ None of the above, , 37., , Which command gives the first byte where the difference is in the file1 & file2?, ⚪ diff
Page 10 :
⚪ cmp, ⚪ comm, ⚪ ls-a, , 38., , which is the command could you use to show one page of output at a time, ⚪ less, ⚪ sed, ⚪ pause, ⚪ grep, , 39., , which command is used for basic calculation, ⚪ wc, ⚪ bc, ⚪ pid, ⚪ who, , 40., , Everything in Linux is a, ⚪ group, ⚪ file, ⚪ directory, ⚪ user, , UNIT-II, 41., , The numeric value of read permission is, ⚪0, ⚪4, ⚪2, ⚪1, , 42., , _ Linux command changes the access mode of a file.
Page 12 :
⚪ chmod, ⚪ mkdir, ⚪ rmdir, , 43. The numeric value of write permission is, , ., , ⚪1, ⚪2, ⚪0, ⚪4, , 44. In Linux, the numeric value of execute permission is, , ., , ⚪3, ⚪2, ⚪4, ⚪1, , 45. In Linux, first value of permission provided to chmod command is meant for, , ., , ⚪ other, ⚪ group, ⚪ user, ⚪ world, , 46. In Linux, second value of permission provided to chmod command is meant for ., , ⚪ user, ⚪ world, ⚪ group, ⚪ all of them
Page 13 :
47. In Linux, third value of permission provided to chmod command is meant for, ⚪ world, ⚪ user, ⚪ all of them, ⚪ group, , 48. What are the three permissions in Linux?, ⚪ WMD, ⚪ WDS, ⚪ RWX, ⚪ XWS, , 49. How many layers in TCP/IP model?, ⚪6, ⚪5, ⚪4, ⚪7, , 50. IPV4 address is of. .............. bits long, ⚪ 16, ⚪ 128, ⚪ 32, ⚪ 64, , 51. Which protocol is transport layer protocol?, ⚪ UDP, ⚪ HTTP, ⚪ ARP, ⚪, , .
Page 14 :
IP, , 52., , In Linux,, , command changes ownership of a file to specified owner and group., , ⚪ which, ⚪ tr, ⚪ chown, ⚪ file, , 53., , In Linux,, , command creates group having specified name., , ⚪ addgroup, ⚪ groupadd, ⚪ groupdel, ⚪ grep, , 54., , What is SSH?, ⚪ Solid Shell, ⚪ Super Secure, ⚪ Secure Shell, ⚪ Super Shell, , 55., , FTP stands for .., ⚪ File Take Protoco, ⚪ File Transfer Protocol, ⚪ File Transferring Protocol, ⚪ File Time Protocol, , 56., , This FTP port number is the FTP control port, ⚪ 20, ⚪ 21
Page 15 :
⚪ 143, ⚪ 80, , 57. In Linux, User accounts are listed file named:, ⚪ /etc/passwd, ⚪ /users/passwd, ⚪ \users\passwd, ⚪ \etc\passwd, , 58. File has permissions that appear as rwxr-x---, what is the octal permission mode of the file?, , ⚪ 760, ⚪ 750, ⚪ 650, ⚪ 740, , 59. The most common file type is, ⚪ ordinary file and directory file, ⚪ device file, ⚪ directory file, ⚪ ordinary file, , 60. What is the default mode of vi editor?, ⚪ Execute Mode, ⚪ Read Mode, ⚪ Write Mode, ⚪ Command mode, , 61., , In vi editor ctrl-l is used to?, ⚪ to delete one line from file, , .
Page 16 :
⚪ to edit the file, ⚪ clear the screen, ⚪ to save the file, , 62., , The process of verifying the identity of a user., ⚪ Verification, ⚪ Validation, ⚪ Identification, ⚪ Authentication, , 63., , which command read user input from the terminal and assign in specific in command line, ⚪ read, ⚪ declare, ⚪ get, ⚪ set
Page 17 :
64., , Which of the following is not the layer of TCP/IP protocol., ⚪ Network layer, ⚪ Physical layer, ⚪ Transport layer., ⚪ Session layer, , 65., , Ping stands for--⚪ Public Internet Gateway, ⚪ Packet Internet Gropher, ⚪ Primary Internet Gateway, ⚪ None, , 66., , ICMP stands for---⚪ Internet control Maintain Protocol, ⚪ Internet Control Message Protocol, ⚪ Internet Control Mass Protocol, ⚪ Internet Control Medial Protocol, , 67., , HTTP stands for--⚪ Hypertext Transport Protocol, ⚪ Hypertext Transfer Protocol, ⚪ Hypertext Transmission Protocol, ⚪ None, , 68., , DNS stands for---⚪ Domain Name System, ⚪ Debain Name System, ⚪ Dual Node Switch, ⚪ None of these, , 69., , Shell is the interface between user and, , ⚪
Page 18 :
Hardware, ⚪ Application software, ⚪ System, ⚪ Unix, , UNIT-III, , •, , What does GRUB stand for?, A., , Grand Unified Bootloader, , B. ⚪ Grand Unification Bootloader, C. ⚪ Great Unique Bootloader, D. ⚪ Gum Removal Under Boot
Page 19 :
70., , Which Run Level provides “Full multiuser mode with network and X display manager”?, ⚪ Run Level 4, ⚪ Run Level 5, ⚪ Run Level 1, ⚪ Run Level 3, , 71., , Run Level Zero (0)” stands for, , ., , ⚪ Single User Mode, ⚪ Multi User Mode, ⚪ Halt, ⚪ Reboot, , 72., , Total no of run levels in a Linux system?, ⚪6, ⚪7, ⚪5, ⚪8, , 73., , BIOS is used for ?, ⚪ Updating system information on network, ⚪ Loading operating system, ⚪ It helps in routing, ⚪ It take inputs from keywords and other devices
Page 20 :
74., , BIOS stands for, ⚪ Basic Input Output system, ⚪ Binary Input output system, ⚪ Basic Input Off system, ⚪ all the above, , 75., , What is full form of MBR ?, ⚪ Mini Boot Record, ⚪ Master Break Record, ⚪ Master Boot Race, ⚪ Master Boot Record, , 76., , GRUB STANDS FOR, ⚪ grand unified boot loader, ⚪ Grand unique bootloader, ⚪ grand unit bootloader, ⚪ none of above, , 77., , GUI stands for, ⚪ Graphical user interface, ⚪ Graphical user information, ⚪ Graphical user internet, ⚪ None of these, , 78., , The expression expr -9 % 2 evaluates to:, ⚪0, ⚪1, ⚪ -1
Page 21 :
⚪2, , 79., , What symbol is used in front of variable names in bash scripting?, ⚪#, ⚪⚪$, ⚪!, , 80., , A (bash) shell script begins with the line, ⚪ #/bin/bash, ⚪ !/bin/bash, ⚪ !#/bin/bash, ⚪ #!/bin/bash, , 81., , We have to make it executable first by using, ⚪ chmod +w, ⚪ chmod +r, ⚪ chmod +x, ⚪ None of these, , 82., , do and the done keyword is used by which loop statements?, ⚪ for, ⚪ while, ⚪ for and while, ⚪ case, , 83., , What is a shell script?, ⚪ a file containing special symbols, ⚪ group of commands, ⚪ a file containing a series of commands, , , to run a script
Page 22 :
⚪ group of functions, , 84., , Which command is used for making the scripts interactive?, ⚪ read, ⚪ write, ⚪ input, ⚪ ip, , 85., , Which of the following operators are used for logical execution?, ⚪ %%, ⚪ &&, ⚪ ||, ⚪ && and ||, , 86., , The syntax for using && is, ⚪ cmd1 cmd2 &&, ⚪ cmd1 & cmd2&, ⚪ cmd1, ⚪ cmd1 && cmd2, , 87., , To perform decision depending on the fulfillment of certain criteria,, used., ⚪ if, ⚪ else, ⚪ for, ⚪ if and else, , 88., , Every if is closed with a corresponding, ⚪ else if, ⚪ fi, , is
Page 23 :
⚪ if, ⚪ else, , 89., , To check more than two conditions,, , is used with if-else statements., , ⚪ while, ⚪ for, ⚪ if, ⚪ elif, , 90., , test command can be used to check which of the following?, ⚪ Compare two strings, ⚪ Check attributes of a file, ⚪ Compare two numbers, ⚪ All of the mentioned, , 91., , Which of the following operators is used with test for comparison of numeric values?, ⚪ -eq, ⚪ –eq and -ne, ⚪ -gg, ⚪ -ne, , 92., , implies greater than and, , implies less than., , ⚪ gt, le, ⚪ gt, lt, ⚪ ge,lt, ⚪ ge,le, , 93., , Which of the following operator is used as a shorthand for test?, ⚪&&
Page 24 :
⚪%%, ⚪(), ⚪[], , 94., , Which of the following option is used for checking if the file is readable or not?, ⚪ -z, ⚪ -n, ⚪ -r, ⚪ -f, , 95., , Which of the following option is used for checking if the file is writable or not?, , 96., , ⚪ -n, ⚪ -w, ⚪ -f, ⚪ -e, , 97., , statement matches an expression for more than one alternative., ⚪ elif, ⚪ case, ⚪ while, ⚪ for, , 98., , Every pattern in case statement in terminated with a, ⚪;, ⚪ ;;, ⚪ //, ⚪ :, , 99., , Which command is used for computation and string handling?, ⚪
Page 25 :
read, ⚪ case, ⚪ expr, ⚪ if, , 100., , What is the prompt for system administrator/super user?, , ⚪#, ⚪&, ⚪$, ⚪%