0% found this document useful (0 votes)
28 views3 pages

Ak-11-A-Computer Answer Key

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

Ak-11-A-Computer Answer Key

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Standard : XI-Eng. Med.

ACADEMIC YEAR : 2024-25 Date : 01-01-2025


Curriculum : NCERT CHAPTER TEST : 03 (TERM-II) Total : 50 Marks
Group : A SUBJECT : COMPUTER Time : 1 Hour

PART - A
 Select the appropriate option from the given multiple choice. (50 x 01 = 50)
1. Shell script are commonly used by ___________.
A) operators B) programmers C) designer D) accountants
2. Gedit is a graphical editor available with __________ desktop environment.
A) GNOME B) GNORM C) GNAME D) GNOMES
3. In Linux, the output of the command is displayed on the ___________.
A) editor B) graph C) screen D) shell script
4. Into how many ways vim can be open?
A) 1 B) 2 C) 3 D) 4
5. vi screen filed with __________ sign on the left side of the screen.
A) - B) # C) | D) $
6. In an __________ mode we can type text into our file or navigate within the file.
A) insert mode B) command mode C) last mode D) all of these
7. To toggle between the command mode and the insert mode, press __________ key.
A) Enter B) Shift C) Esc D) Home key
8. Which command will be used to insert text after the current cursor position?
A) a B) i C) A D) I
9. Which command will be used to insert in a new line above the current cursor position?
A) O B) o C) A D) I
10. The ___________ mode normally is used for operation like quitting the Vim session or saving a file.
A) command B) insert C) last time D) none of these
11. In command mode, we can go to last line mode by pressing the __________ key.
A) $ B) ? C) : D) *
12. By default, the editor will start ion the ____________ mode.
A) command B) insert C) last time D) none of these
13. To save the file, switch to the ___________ from the insert mode.
A) command mode B) last time mode C) both ‘a’ and ‘b’ D) none of these
14. Which command will be used to save file and remain in editing mode ?
A) :w B) :wq C) :x D) :q
15. Which command will be used to save existing file with new name and continue editing it under the new
file name.
A) :x B) :x! C) :q D) :saveas
16. When vim editor is opened without typing file name, the text will be directly stored in the ___________.
A) system buffer (main memory) C) binary disk
B) local disk D) none of these
17. To transfer the contents from the buffer to a hard disk we need to type the file name along with the
__________ command.
A) :x B) :x! C) :q D) :wq
18. In vi editor, which key will be used as a command to move the cursor in the four directions ?
A) a, b, c, & d B) h, I, j & k C) h, j, k & l D) u, v, w & x
19. Which command will be used to move cursor in right direction ?
A) j B) k C) l D) h
20. Which command will be used to move cursor right one space?
A) j B) k C) spacebar D) h
21. Which command will be used to edit the document ?
A) vi filename B) :wq filename C) :x filename D) :x filename
22. A user needs to toggle between the command and the __________ mode while editing.
A) command mode B) last line mode C) insert mode D) none of these
23. Which command will be used to undo last change ?
A) u B) U C) dd D) Ndd
24. Which command will be used to delete line ?
A) u B) U C) dd D) Ndd
25. Which command will be used to delete N number of line ?
A) u B) U C) dd D) Ndd
26. Which command will be used to delete contents of line after cursor ?
A) D B) d C) dw D) Ndw
27. Which command will be used to search for text in a forward direction ?
A) / B) ? C) n D) shift + n
28. Which command will be used to search for text in backward direction ?
A) / B) ? C) n D) shift + n
29. Which command will be used to search again in the opposite direction ?
A) / B) ? C) n D) shift + n
30. To execute any Linux command we need to type the ___________ symbol before the command.
A) ! B) $ C) & D) ^
31. ___________ will add the current date in a new line from the current cursor position.
A) r *date B) r !date C) r %data D) r *data
32. All the command available in the text file in a sequence is call as __________.
A) shell writer B) shell editor C) shell script D) shell sequence
33. We can create the shell script using __________.
A) text editor B) browser C) word processer D) all of these
34. The extension ___________ is basically used to specify that file is a shell script.
A) .script B) .sh C) .shell D) none of these
35. In shell script, the first line begins with ___________.
A) # B) $ C) @ D) !
36. The value stored in the ………….. can also be reused or change as per user need.
A) value B) Statement C) variable D) none of these
37. Which command will clear the screen in vi editor?
A) clear B) cis C) clrscr D) clean
38. Which command will be used to assign execution permission to the file Nimesh ?
A) $chmod u-x nimesh B) $chmod x+u nimesh C) $chmad u+x nimesh D) $chmod u+x nimesh
39. The back quotes are printed on the key with ___________ sign on the keyboard.
A) & B) ~ C) * D) $
40. Shell script variable like any other programming language variable are ____________ part of shell script.
A) internal B) external C) both D) none of these
41. ___________ symbol extract the value store or assigned in the variable.
A) # B) $ C) % D) @
42. There should be ___________ space on either side of the equal to (=) symbol at the time of assigning a value.
A) one B) two C) no D) four
43. No special character other than ………. allowed as part of variable name.
A) , B) - C) _ D) &
44. The ___________ command expects the user to key in the data on the standard input device.
A) read B) write C) printf D) echo
45. The contents written after ____________ are assumed to be operands and operators of an expression.
A) expr B) echo C) read D) none of these
46. Which command will be used to squeezed to single space?
A) tr - f B) tr -s C) tr -a D) tr -q
47. To force one operation to be performed earlier than the other, we can enclose the operation in _________.
A) ( ) B) { } C) “ ” D) [ ]
48. Which of the following statement is true for Gedit?
A) It is a command line editor. C) It is not an editor.
B) It is a Graphical editor. D) It is available with KDE Desktop environment.
49. Which of following keys are used to go into insert mode of the Vim editor ?
A) o B) i C) a D) cw
50. We can also display the value assigned to variable on the screen using ___________command.
A) print B) echo C) statement D) none of these.

Best of Luck

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy