Computer Science Set-1By Apu Patra / March 6, 2026 All Computer Science Quiz Sets Hide Sets Set 1 Computer Science Set-1 Current Set 2 Computer Science Set-2 Set 3 Computer Science Set-3 Set 4 Computer Science Set-4 Set 5 Computer Science Set-5 Set 6 Computer Science Set-6 Set 7 Computer Science Set-7 Set 8 Computer Science Set-8 Set 9 Computer Science Set-9 Set 10 Computer Science Set-10 ✕📝Computer Science QuizSet 1📋15Questions⏱10Minutes⚡40sPer Question✔ Read each question carefully✔ Navigate freely with Next / Previous✔ Timer starts when you click Start✔ Submit before time runs out 🚀 Start Quiz Question 1 of 15 ⏱ 10:00 ✕ Q1 / 15Which of the following is used to set the number of arguments specified in command line? A $1 B $# C $0 D $* Next →Q2 / 15Which of the following program is used for email and internet news? A pine B mailx C finger D mail ← Prev Next →Q3 / 15How to quit the file without saving the data in the VI editor? A :q B :wq C :q! D 😡 ← Prev Next →Q4 / 15Which command is used to create a list of the current user in a currentuser.lst ? A who > currentuser.lst B ls > currentuser.lst C who >> currentuser.lst D ls >> currentuser.lst ← Prev Next →Q5 / 15The sh uses which shell A Korn Shell B Bourne Shell C C Shell D Bash Shell ← Prev Next →Q6 / 15How we can copy the file with the user response ? A cp B cp –i C cp –c D cp –s ← Prev Next →Q7 / 15How can we check the last access time of the file A ls –l B ls –la C ls –lu D ls –lc ← Prev Next →Q8 / 15How can we change the permission of the file and show the result in a single line command? A chmod 643 file1| ls –l file1 B chmod 643 file1| cat file1 C chmod 643 file1; cat file1 D chmod 643 file1; ls –l file1 ← Prev Next →Q9 / 15Which command is used to copy files to and from a backup devices A cpio B df C format D du ← Prev Next →Q10 / 15How can we change file ownership for a particular group? A chown B creat C xload D chgrp ← Prev Next →Q11 / 15Two different lines combines to a single A u B G C x D J ← Prev Next →Q12 / 15Which command is used to create a shortcut called linkname ? A ln –s filename linkname B ln –h filename linkname C ln –l filename linkname D None of the above ← Prev Next →Q13 / 15Which is variant of grep that supports more sophisticated regular expressions ? A sgrep B rgrep C egrep D ngrep ← Prev Next →Q14 / 15How to call the last argument of previous command? A $# B $_ C $1 D $* ← Prev Next →Q15 / 15History command shows the ________ last commands in the Korn shell. A 18 B 14 C 16 D 12 ← Prev Submit ✓ ✕ 0 /15Quiz Complete! 📊 Summary 📋 Review✅0Correct ❌0Wrong ⏭0Skipped 🔄 Retry ✖ Close🎯 Try another set: All Computer Science Quiz Sets Hide Sets Set 1 Computer Science Set-1 Current Set 2 Computer Science Set-2 Set 3 Computer Science Set-3 Set 4 Computer Science Set-4 Set 5 Computer Science Set-5 Set 6 Computer Science Set-6 Set 7 Computer Science Set-7 Set 8 Computer Science Set-8 Set 9 Computer Science Set-9 Set 10 Computer Science Set-10