0% found this document useful (0 votes)
25 views39 pages

MS School Comp. Material 11EM (1)

The document consists of a series of questions and answers related to basic Ubuntu Linux commands, covering topics such as command line interfaces, shell types, command syntax, and various Linux commands. It includes multiple-choice questions that test knowledge on how to use the terminal, different shells, and command functionalities. The content serves as a study guide for individuals learning Linux command line operations.

Uploaded by

hingrajiyaanshu
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)
25 views39 pages

MS School Comp. Material 11EM (1)

The document consists of a series of questions and answers related to basic Ubuntu Linux commands, covering topics such as command line interfaces, shell types, command syntax, and various Linux commands. It includes multiple-choice questions that test knowledge on how to use the terminal, different shells, and command functionalities. The content serves as a study guide for individuals learning Linux command line operations.

Uploaded by

hingrajiyaanshu
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/ 39

11 Sci.

EM
25

CH.6 Basic Ubuntu Linux Commands


(1) Which tool is needed to create multimedia presentation using building blocks?
a) Test window b) Term window c) Terminal window d) Term shell window
(2) Which window provides the look and response of a dedicated text monitor a graphical
display?
a) Term window b) Terminal window c) Term shell window d) Test window
(3) To open a terminal window, select _________.
a) Start/ Accessories/ Terminal b) Application/ Accessories /Term window
c) Application/ Terminal window d) Applications / Accessories / Terminal
(4) To open a terminal window, press ________.
a) Ctrl + Alt + t b) Ctrl + Alt + p c) Alt + Ctrl + e d) Ctrl + Alt + k
(5) _______ types of interfaces are important.
a) Command & Graphical b) command & file
c)Graphical & user d) Graphical & folder
(6) What is the full form of CLI?
a) Command line interline b) command line interface
c)Command line interaction d) command line interchange
(7) What is the full form of GUI?
a) Graphical used interface b) Graphical user interchange
c) Graphical user interface d) Graphical user interface
(8) Which approach, allows us to access the real power of Linux with great understanding,
uniformity and efficiency ?
a) Command line interface b) Graphical user interface
c) Both (a) & (b) d) none of these
(9) In Linux, $ and # symbols are known as _________ .
a) Command line b) command interface c) command user d) command prompt
(10) In command prompt, the first word in the string of character is ________.
a) Password b) username c) directory name d) all of these
(11) In command prompt, the first word in the string of characters is username followed by
the symbol _______.
a) # b) @ c) ! d) $
(12) Home directory represented by a _______ symbol.
a) # b) ~ c) ! d) $
(13) ______ is a program that accomplishes certain task.
a) Algorithm b) shell c) Flowchart d) commands
(14) ______ is a user program or an environment provided for user interaction.
a) Commands b) Graphical c) shell d) Algorithm
(15) Which of the following is a command language interpreter ?
a) algorithm b) shell c) Flow chart d) command

KD SIR
11 Sci. EM
26

(16) Command language interpreter shell performs ______.


a) Accept / issues command b) understands command
c) talks to the kernel to execute it d) all of these
(17) Which shells are available on command line interface ?
a) Text b) character c) Numerous d) Financial
(18) Which popular shells available on command line interface ?
a) Bourne shell (sh) b) C shell (csh and tcsh)
c) korn shell (ksh) & bash shell (sh) d) all of these
(19) Which shell is the earliest unix shell used as command line interface ?
a) C shell (csh and tcsh) b) Bourne shell (sh) c) Bash shell d) korn shell (ksh)
(20) Which shell provides basic mechanisms for shell script programming ?
a) Korn shell (ksh) b) Bash shell (sh) c) Bourne shell (sh) d) C shell (csh and tcsh)
(21) Which shell allows us to write a program based solely on commands ?
a) Bourne shell (sh) b) Korn shell (ksh) c) C shell (csh and tcsh) d) Bash shell (sh)
(22) What is the acronym of Bourne shell ?
a) Ksh b) sh c) csh d) tcsh
(23) What is the acronym of C shell ?
a) tcsh b) csh c) sh d) ksh
(24) what is the acronym of C shell ?
a) Csh b) tcsh c) Both (a) and (b) d) sh
(25) What is the acronym of Base shell ?
a) tcsh b) sh c) csh d) ksh
(26) Which shell was developed to use C programming syntax?
a) Korn shell (ksh) b) Bash shell (sh) c) Bourne shell (sh) d) C shell (csh)
(27) Shell programming can be done using ________ programming syntax .
a) C b) HTML c) java script d) all of these
(28) Which is the newer version of csh ?
a) bcsh b) kchs c) tchs d) dchs
(29) Which shell provides additional shell script programming features to add the limitations of
csh ?
a) Ksh b) tchs c) sh d) pdksh
(30) Which shell was developed to combine the features of the sh and csh ?
a) Korn shell (ksh) b) Bash shell (sh) c) Bourne shell (sh) d) C shell (csh)
(31) Which is the newer version of bourne shell ?
a) Bosh shell b) C shell c) Korn shell d) Bash shell
(32)Bash shell allows ______.
a) Account configuration b) For easier and sophisticated command
c) Shell scripted command d) All of these
(33) Which is considered to be the standard shell for Linux systems ?
a) Bash shell b) Korn shell c) C shell d) Bourne shell
(34) Which shell is commonly used and available on all Linux operating system ?
a) Bourne shell b) C shell c) Korn shell d) Bash shell
(35) ______ is to execute it and display result as per given instruction.
a) Kernel b) shell c) command d) Bash shell
KD SIR
11 Sci. EM
27

(36) Which command used to find all available shells in system ?


a) Cat / etc / shell b) cat / etc /shells c) cat / atc / shell d) cat / atc / shells
(37) Linux is _______ sensitive.
a) Case b) command c) user d) line
(38) Linux operating system comes with certain _______.
a) Algorithm b) program c) variable d) all of these
(39) In Linux, the value of current default shell is stored in environment variable named _____.
a) SHALL b) SHELL c) SHOW d) SOURCE
(40) Which command is use to determining the default shell ?
a) echo SHELL b) echo $SHELL c) echo $shell d) SHELL
(41) Which command used to display the value of any variable ?
a) echo b) path c) man d) cat
(42) To return default shell, type exit or press ________ at the command prompt of new shell.
a) Ctrl + d b) ctrl + p c) ctrl + s d) ctrl + r
(43) The syntax of Linux commands consists of ________ parts.
a) Two b) three c) four d) five
(44) What is the syntax of Linux commands ?
a) Name b) options c) Argument d) All of these
(45) In Linux, command name followed by necessary ________.
a) Options b) arguments c) both a & c d) none of these
(46)Which key execute the command in Linux ?
a) ESC b) Enter c) Tab d) Ctrl + Enter
(47) Option when present starts with a ______ and are usually a single letter or a digit.
a) # b) $ c) % d) -
(48) Linux command can be classified into ________.
a) 1 b) 2 c) 3 d) 4
(49) Linux command as _______ or ________.
a) Internal b) external c) (a) and (b) d) binary
(50) The command that have a binary file explicitly stored either
a) /sbin,/usr/sbin b) /usr/bin ,/bin c) /usr/local/bin d) All of these
(51) Binary file are generally executed by the kernel and will generate a ________ at the time
of execution.
a) Binary id b) process id c) command id d) All of these
(52) Commands directly executed by the shell are called ________.
a) Internal b) external c) (a) and (b) d) binary
(53) Most of the command that we use in Linux are ________ command.
a) Internal b) external c) (a) and (b) d) binary
(54) To know whether a command is internal or external we can use the ________ command.
a) Type b) cat c) mkdir d) cd
(55) Which command is use to know internal or external we can use the _______ command.
a) Type info b) cat info c) mkdir info d) All of these
(56) Which is the best way to start with learning Linux commands ?
a) General purpose commands b) General property command
b) General public commands d) Graphical user commands
KD SIR
11 Sci. EM
28

(57) By pressing _______ key after typing first few letters of a command, shell automatically
provides the remaining information.
a) Enter Key b) Shift Key c) Ctrl Key d) Tab key
(58) Which command used to displays the calendar of any specific month or entire year ?
a) calendar b) cale c) cal d) calc
(59) which command displays the calendar of june 2013 ?
a) Cal 2013 06 b) cal 06 2013 c) cal june 2013 d) cal 2013 june
(60) Which command displays the calendar of entire year of 2013 ?
a) Cal latest b) cal year c) cal 09 d) cal 2013
(61) Which command displays the entire year of 2013’s calendar view as single screen page at
a time ?
a) cal 2013 | more b) cal 2013 | display c) cal 2013 | view d) cal 2013 | show
(62) which command takes input from the cal command in Linux ?
a) Date b) more c) base d) sqrt
(63) In Linux, which command displays current system date and time ?
a) current b) now c) latest d) date
(64) which command can be used with suitable format specification as arguments ?
a) pwd b) man c) current d) date
(65) in date command, each format is preceded by ______ symbol.
a) + b) - c) % d) #
(66) ______ operator and a single character describing the format.
a) + b) % c) $ d) #
(67) in Linux, date command display only the current date in _______ format.
a) dd/mm/yy b) mm/dd/yyyy c) dd/mm/yyyy d) mm/dd/yy
(68) which command displays only the current date ?
a) date +%D b) date +d c) date + “$d” d) date +$d
(69) Which command in Linux is a command line calculator performs ________ .
a) ac b) dc c) bc d) nc
(70) in Linux, command line calculator performs _______.
a) Number of scientific math functions b) conversions between diff. number system
c) run programs d) all of these
(71) Which type of math functions performs bc command ?
a) Addition, subtraction b) multiplication, division, modulus
c) exponents, sine, cosine, logarithm d) All of these
(72) Which command used to find out the natural logarithm of 2013?
a) l(2013) b) log(2013) c) nlog(2013) d) naturallog(2013)
(73) which function allows user to set numbering system to use for input ?
a) Inputbase b) iputbase c) ibase d) inbase
(74) Which function allows user to set numbering system to use for output ?
a) outbase b) obase c) outputbase d) oputbase
(75) which function used to find out the square root of 9 ?
a) s(9) b) sq(9) c) sqrt(9) d) sqroot
(76) the importance of be calculator over graphical calculator ________.
a) Speed b) flexibility c) power to perform math operation d) all of these
KD SIR
11 Sci. EM
29

(77) Which command used to return the command prompt ?


a) Ctrl + d b) ctrl + e c) ctrl + c d) ctrl + r
(78) Which command used to display a message on the terminal ?
a) echo b) each c) print d) shell
(79) which command used to display value of variable.
a) echo b) each c) print d) shell
(80) which symbol represents a variable.
a) $ b) @ c) ! d) *
(81) Which command used along with other commands to give meaningful output ?
a) echo b) each c) print d) shell
(82) Back quotes available on key with _______ sign.
a)$ b) ~ c) ! d) *
(83) Which command used to change the password of the current login account ?
a) Password b) pword c) passwd d) psd
(84) Which command used to change the password of other user of the system by specifying
the nimesh(username) after the passwd ?
a) password nimesh b) pword nimesh c) passwd nimesh d) passwd nimesh
(85) Which command used to remove data on the screen?
a) clear b) delete c) remove d) clear screen
(86) Linux provide two inbuilt command namely ________ and ________ to assist the user
while working on the command line interface.
a) Help, get b) help, man c) help, assist d) get, man
(87) Which is correct to get help on the mv command using linux online manuals ?
a) mv --help b) mv --get c) mv help d) mv --helps
(88) _______ command gives us exhaustive information of a command and may run into
multiple screen.
a) man b) help c) --man d) --helps
(89) Press ______ key to scroll down the content.
a) f b) shift c) Enter d) q
(90) Which command activates manual corresponding to a specific command?
a) Look b) Locate c) search d) man
(91) Which key is used to take you to the command prompt?
a) f b) shift c) Enter d) q
(92) Which command is used to get small description of a command?
a) whatis b) man c) helpr d) all of these
(93) Which command is used to get one line explanation of the command and omits any
additional information ?
a) whatis b) man c) helpr d) all of these
(94) In a situation when exact command is not known, _______ command can be used.
a) apropos b) man c) helpr d) all of these
(95) Who represent an information entity, which can be used for variety of purpose ?
a) folder b) command c) file d) all of these
(96) In Linux, ______ is a special type of file that contains files and other directories.
a) folder b) directory c) file d) command
KD SIR
11 Sci. EM
30

(97) When user log on the system, Linux automatically places in which directory ?
a) base b) right c) recent d) home
(98) ______ directory is created by the system when user account is opened.
a) Home directory b) Base directory c) Recent directory d) working directory
(99) ______ is the default working directory at the time of log on in system variable.
a) BASE b) POWER c) HOME d) MAIN
(100)______ path name is simply a sequence of directory names separated by slash.
a) user b) Absolute c) Base d) Home
(101)In absolute path name, directory names are separated by ________.
a) \ b) | c) # d) /
(102)Which type of information display an absolute path name ?
a) file’s location with reference b) files’s location with detail
c) file’s location with area d) file’s location with account
(103)Which command used to display the current working directory ?
a) pswd b) pword c) pwd d) passvvd
(104)Directories in Linux can be created using _______ command.
a) make b) mkdir c) makedir d) mdir
(105)Mkdir command can be followed with the names of the directories to be ________.
a) modify b) edited c) group d) created
(106)which command can be used to create a directory named dave ?
a) mkdir dave b) mk dave c) dir dave d) md dave
(107)To create multiple directory named dave, patel, shah, which commad can be used ?
a) md dave patel shah b) mk dave patel shah
c) mkdir dave patel shah d) dir davepatel shah
(108)which command used to change directory ?
a) cd b) cd .. c) change d) cdir
(109)which command used to comeback to previous directory ?
a) change b) cdir c) cd d) cd ..
(110)In cd.. command, double dot (..) stands for the ______ directory.
a) child b) parent c) base d) main
(111) If your current working directory is home/data/nimesh/dhatri and to change it to home
directory, which command used ?
a) cd .. b) cd ../../ c) cd ../../../ d) cd ../../../../
(112)which command used for change directory to /home/username/Desktop, from any
current path ?
a) cd ~/Desktop b) cd /Desktop c) cd */Desktop d) cd &/Desktop
(113)which symbol refer to home directory of the user ?
a) * b) / c) ~ d) &
(114)Which command is used to change directory to the root directory from any current path?
a) cd/ b) cd c) cd - d) cd ..
(115)Which command is used to change directory to the home directory from any current
path?
a) cd/ b) cd c) cd - d) cd ..
**********
KD SIR
11 Sci. EM
31

CH.7 Vim Editor And Basic Scripting


1. Shell scripts are commonly used by............
(a)operators (b)programmers (c)designer (d)accountants
2. Computer programmers commonly use shell scripts for.........
(a)Routine individual tasks (b)System administration tasks
(c)Both (a) and (b) (d)None of these
3. Which types of text editors available to serve the purpose of writing shell scripts.
(a)vi & vim (b)emacs , nano (c)pico, ed (d)All of these
4. Which types of graphical editors available to serve the purpose of writing shell scripts.
(a)Gedit (b)Kwriter (c)Both (a) and (b) (d)None of these
5. Gedit is a graphical editor available wih _____desktop environment.
(a)GNOME (b)GNORM (c)GNAME (d)GNOMES
6. To execute a command , user types it on _____prompt and press the Enter key.
(a)command (b)graphics (c)Both (a) and (b) (d)None of these
7. In Linux the output of the command available is displayed on the________
(a)editor (b)graph (c)screen (d)shell script
8. Who will execute all the command available in the text file in a sequence?
(a)source (b)shell (c)editors (d)user
9. All the command available in the text file in a sequence is called as_________
(a)shell writer (b)shell editor (c)shell scripts (d)shell sequence
10. _______can be defined as series of command writ ten in a plain text file.
(a)shell editor (b)shell writer (c)shell sequence (d)shell script
11. Gedit is a graphical editor available with _______desktop environment.
(a)KED (b)KAD (c)KDE (d)GNOME
12. Kwriter is a graphical editor available with _______desktop environment.
(a)KED (b)KAD (c)KDE (d)KOD
13. vim is__________editor.
(a)option display (b)visual display (c)form display (d)graphical display
14. The Vim is a text editor written by________
(a)Bram Moolenaar (b)Brain Moolenaar (c)Mram Mool (d)None of these
15. The Vim text editor released publicity in...............
(a)1992 (b)1995 (c)1991 (d)1990
16. Into how many ways vim can be open?
(a)1 (b)2 (c)3 (d)4
17. It is a good option to start the vim editor by specifying a............
(a)path name (b) file name (c)drive name (d)byte name
18. To open vi editor, type....................
(a)vi and press Enter key (b)vi < filename> and press Enter
(c)vi < dir name> press Enter key (d) (a) or (b)
19. vi screen filled with ..............sign on the left side of the screen.
(a) ˜ (b) # (c) | (d) $

KD SIR
11 Sci. EM
32

20. Wha s the name of ˜ sign


(a) hash (b) turtle (c) tilde (d) tones
21. The last line is known as...................
(a) command line (b)GUI (c)Both (a) and (b) (d)None of these
22. Command line display the..............
(a) name of the file (b) total number of file
(c) total number of column (d) all of these
23. The Vim editor function in ......................different modes.
(a) 1 (b)2 (c)3 (d)4
24. Which of the following is the mode of Vim.
(a) command mode (b) insert mode (c) last mode (d)all of these
25. An extension to the command mode is.............
(a)command mode (b) visual mode (c) (a) and (b) (d) none of these
26. ...............mode is a flexible and easy way t select a piece of text from file.
(a)command mode (b) visual mode (c) (a) and (b) (d) none of these
27. ...........command is used to switch to the visual mode.
(a)v (b) K (c) ctrl +v (d) none of these
28. ..........command is used to switch to the visual mode.
(a) v (b)(a) and (c) (c) V (d) none of these
29. ........command is use for switch to the block-visual mode.
(a) v (b)V (c) ctrl + v (d) none of these
30. 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
31. To toggle between the command mode and the insert mode , press..........key.
(a) Enter (b)Shift (c) Esc (d) Home key
32. Which command will be used to insert text before the current cursor position?
(a) a (b) i (c) A (d) I
33. Which command will be used to append text at the end of the current line?
(a) a (b) i (c) A (d) I
34. Which command will be used to append text at the end of the current line?
(a) a (b) i (c) A (d) I
35. Which command will be used to insert from the beginning of a line?
(a) a (b) I (c) A (d) I
36. Which command will be used to insert in a new line above the current cursor position?
(a) O (b) o (c) A (d) I
37. Which command will be used to insert in a new line below the current cursor position?
(a) O (b) o (c) A (d) I
38. The.........mode normally is used for operations like quitting the Vim session or saving a file.
(a)command (b) insert (c) last line (d)none of these
39. In command mode , we can go to last line mode by pressing the..........key.
(a) $ (b) ? (c): (d) *
40. Which command is used to create a file using Vim editor?
(a) vi filename (b)vi_filename (c)(a) and (b) (d)none of these

KD SIR
11 Sci. EM
33

41. By default , editor will start in the........mode.


(a) command (b) insert (c) last line (d)none of these
42. The most commonly used command to get into insert mode are...........
(a) a and y (b) a and i (c) a and o (d) a and u
43. To save the file , switch to the.............from the insert mode.
(a) command mode (b) last line mode (c) (a) and (b) (d)none of these
44. What is the use of : wq command in vi editor?
(a) write and quit (b)wait and quit (c)write and quick (d) work and quit
45. Which command will be used to save file and remain in editing mode?
(a):w (b):wq (c) :x (d):q
46. Which command will be used to save file and quit editing mode?
(a):wr (b) :wy (c) :wq (d):wp
47. Which command will be used to save file and quit editing mode?
(a) :w (b) :x (c) :!q (d):q
48. Which command will be used to quit editing mode when no changes are made.
(a) :q (b) :q! (c) :x (d) :x!
49. Which command will be used to quit editing mode without saving change made in the file?
(a):x (b) :x! (c) :q (d) :q!
50. Which command will be used to save existing file new name and continue editing it under
the new file name.
(a) :x (b) :x! (c) :q (d):saveas
51. When vim editor is opened without typing file name , the text will be directly stored in
the......
(a) system buffer (main memory) (b) local disk (c) binary disk (d) none of these
52. To transfer the contents from the buffer to a hard disk we need to tyoe the file name along
with the ......command.
(a) :x (b) :x! (c) :q (d):wq
53. 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 & I (d) u, V , w & x
54. Which command is used to move cursor in up direction?
(a) h (b) j (c) k (d) I
55. Which command will be used to move cursor in down direction?
(a) j (b)k (c)I (d)h
56. Which command will be used to move cursor left direction?
(a) I (b) j (c) k (d) h
57. Which command will be used to move cursor right direction?
(a) j (b)k (c)I (d)h
58. Which command will be used to move cursor right one space?
(a) j (b)k (c) spacebar (d) h
59. Which command will be used to move cursor down up in first column?
(a)-/+ key (b) ctrl + d (c) ctrl + u (d) ctrl + f
60. Which command will be used to scroll down one half of a page?
(a)-/+ key (b) ctrl + d (c) ctrl + u (d) ctrl + f
KD SIR
11 Sci. EM
34

61. Which command will be used to


(a)-/+ key (b) ctrl + d (c) ctrl + u (d) ctrl + f
62. Which command will be used to scroll forward one page?
(a)-/+ key (b) ctrl + d (c) ctrl + u (d) ctrl + f
63. Which command will be used to scroll back one page?
(a) Ctrl + b (b) M (c)H (d) L
64. Which command will be used to move the cursor to middle of the page?
(a) Ctrl + b (b) M (c)H (d) L
65. Which command will be used to move the cursor top of the page?
(a) Ctrl + b (b) M (c)H (d) L
66. Which command will be used to move the cursor bottom of the page?
(a) Ctrl + b (b) M (c)H (d) L
67. Which command will be used to move the cursor to end of line?
(a)$ (b) ) (c) ( (d) G
68. Which command will be used to move the cursor to beginning of next sentence ?
(a)$ (b) ) (c) ( (d) G
69. Which command will be used to move the cursor beginning of current sentence ?
(a)$ (b) ) (c) ( (d) G
70. Which command will be used to move the cursor end of file?
(a)$ (b) ) (c) ( (d) G
71. Which command will be used to move the cursor one word at a time?
(a) W (b) Nw (c) B (d) b
72. Which command will be used to move the cursor ahead by N number of words?
(a) W (b) Nw (c) B (d) b
73. Which command will be used to move the cursor back a word at a time ?
(a) W (b) Nw (c) B (d) b
74. Which command will be used to move the cursor back a word at time ?
(a) b (b) Nw (c) B (d)(a) and (c)
75. Which command will be used to move the cursor back by N number of words
(a) Nb (b) e (c) gg (d) 0
76. Which command will be used to move the cursor to end of word?
(a)Nb (b) e (c) gg (d)0
77. Which command will be used to move the first line of file?
(a)Nb (b) e (c) gg (d)0
78. Which command will be used to move the begining of the line?
(a)Nb (b) e (c) gg (d)0
79. Which command will be used to edit the document?
(a) vi filename (b) :wq filename (c) :x filename (d) :x filename
80. 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

**********

KD SIR
11 Sci. EM
35

CH.8 Advance Scripting


1. In linux , all programs are executed as..........
(a) process (b)data (c) information (d) all of these
2. Each process when started has a unique number associated with it know as............
(a) memory id (b) process id (PID) (c)harddisk id (d) all of these
3. Which command is use to see the processes associated with the current shell without any
parameters?
(a) ps (b) Is (c) id (d) sp
4. Which command is used to view the process of all the user ?
(a)ps –ef (b) ps –If (c) ps – er (d) ps -er
5. Which column name shows name or number of the user who owns the process ?
(a) UID (b) PID (c) PPID (d) STIME
6. Which column name shows a unique numeric process assigned to each process ?
(a) UID (b) PID (c) PPID (d) STIME
7. Which column name show the start time for the current process ?
(a) UID (b) PID (c) PPID (d) STIME
8. Which column name identifies the parent id, the process that created the current process ?
(a) UID (b) PID (c) PPID (d) STIME
9. Which column name identifies the terminal that controls the current process ?
(a) TTY (b) TIME (c) CMD (d) STIME
10. Which column name identifies the amount of CPU time accumulated by the current
process ?
(a) TTY (b) TIME (c) CMD (d) STIME
11. Which column name identifies command used to invoke the process ?
(a) TTY (b) TIME (c) CMD (d) STIME
12. Which command reads the data from the standard input device ?
(a) read (b) translate (c) convert (d) interpret
13. To remove the process from memory we use the...........command.
(a)kill (b) remove (c) delete (d)all of these
14. Which command is used to remove PID=101 ?
(a) kill -9 101 (b) kill 101 (c) kill -1 101 (d) none of these
15. Linux stores the value provided through command line in........variable.
(a)* (b)$ (c)# (d)&
16. Which command assigns the string to be read from keyboard to variable ‘name’ ?
(a)read name (b) readkey name (c)assign name (d) none of these
17. $1 to $9 these arguments are known as.................
(a)command line command (b) command line variable
(c) command line parameter (d) command line arguments
18. .........construct shell scripts allows to perform decision making.
(a) loop (b) if-then-fi (c) while (d) for
19. The if statement of linux is concerned with the........of a expression.
(a) exit status (b) entry status (c) (a) and (b) (d) none of these

KD SIR
11 Sci. EM
36

20. The exit status of command is...........if it has been executed successfully.
(a)1 (b) 0 (c) 3 (d) 4
21. The exit status of command is............if it has been not executed successfully.
(a)1 (b) 0 (c) 3 (d) 4
22. In if statement........bracket is use for opening and closing statement.
(a) * * (b) [ ] (c) ( ) (d) {}
23. There should be......... space after opening square bracket and one before closing bracket.
(a)1 (b) 0 (c) 3 (d) 4
24. If the condition is evaluated to true the statements typed inside.......block will be executed
otherwise not.
(a)if (b) while (c) for (d) then
25. The end of the if statements is indicated by......statements.
(a) fii (b)fi (c)then (d)if
26. Then keyword should be typed......if statements else we will get error.
(a)before (b) up (c)below (d)after
27. We can use the..........decision making instruction while creating a shell script in Linux.
(a)1 (b) 0 (c) 3 (d) 4
28. Which decision making instruction does Linux offers ?
(a)if-then-fi (b)if-then-else-fi (c)if-then-elif-else-fi & case-esac (d) all of these
29. Which command will be used to compare two files passed to it as argument ?
(a) com (b) cmp (c) cam (d) comp
30. Linux provides..........command, which can be used in place of square brackets.
(a) if (b)test (c)then (d)else
31. The test command can carry out......types of tests.
(a)numerical tests (b) string tests (c)file tests (d)all of these
32. Which tests are used when comparison between values of two numbers is to be done ?
(a) string tests (b) file tests (c) numerical tests (d) none of these
33. Which operator can be used for numerical test for greater than ?
(a) –gt (b)-lt (c)-ge (d)-le
34. Which operator can be used for numerical test ‘less than’ ?
(a) –le (b) –ne (c)-lt (d)-ges
35. Which operator can be used for numerical test ‘greater than or equal to’ ?
(a) –gt (b)-ge (c)-gq (d)-gi
36. Which operator can be used for numerical test ‘less than or equal to ‘ ?
(a) –la (b) –lq (c)-el (d)-le
37. Which operator can be used for numerical test ‘not equal to’ ?
(a)-n (b)-not (c)-ne (d)-no
38. Which operator can be used for numerical test ‘equal to’ ?
(a)-e (b)-eq (c)-ea (d)-et
39. How many relational operators are used to compare two numeric operands ?
(a) 4 (b) 6 (c)3 (d) 4
40. To combine conditions we make use of.........operators.
(a)relational (b)file (c) logical (d) all of these

KD SIR
11 Sci. EM
37

41. Shell allows usage of...........logical operators while testing a condition.


(a)two (b) three (c) four (d) five
42. Which logical operator allows in shell for testing a condition ?
(a)-a (AND) (b) –o (OR) (c) ! (NOT) (d) all of these
43. Logical operator AND is displayed with............sign.
(a) –a (b)-e (c)-0 (d) !
44. Logical operator OR is displayed with............sign.
(a) –a (b)-e (c)-o (d) !
45. Logical operator NOT is displayed with............sign.
(a)-a (b) –c (c) –o (d) !
46. Which operator allows two or more conditions to be combined in a test ?
(a)-a (b)-0 (c)Both (a) & (b) (d)none of these
47. Which operator is used to converts true to false and vice versa ?
(a) AND (b) NOT (c) OR (d) None of these
48. Which operator is used to check the status of a file ?
(a) relational (b)file (c) logical (d) all of these
49. Which condition return True if a file with the specified name exists and has size greater
than 0 ?
(a)-s name (b)-f name (c)-d name (d)-r name
50. Which condition return True if a file with the specified name exists and is not a directory ?
(a)-s name (b)-f name (c)-d name (d)-r name
51. Which condition return True if a directory with the specified name exists ?
(a)-s name (b)-f name (c)-d name (d)-r name
52. Which condition return True if a file with the specified name exists and the user has read
permission on it?
(a)-s name (b)-f name (c)-d name (d)-r name
53. Which condition return True if a file with the specified name exists and the user has write
permission on it ?
(a) –w name (b) –x name (c) –d name (d) –r name
54. Which condition return True if a file with the specified name exists and the user has
execute permission on it ?
(a) –w name (b) –x name (c) –d name (d) –r name
55. Which statements allows to test limited set of condition ?
(a) if-then-fi (b) if-then-else-fi (c) (a) and (b) (d) none of these
56. Which statements is used to perform more number of tests ?
(a)if-then-elif-then-else-fi (b) case (c) (a) and (b) (d) none of these
57. The alternate option for checking if-then-elif-then-else-fi conditions is to use
a........statements.
(a) for (b) case (c) (a) and (b) (d) none of these
58. All the statements written within that section are executed till.........are encountered.
(a) ? (b) ; ; (c) : : (d) <>
59. Once the semicolons are encountered the control is transferred to the line.......the end of
the case statement.
(a) after (b) before (c) top (d) bottom
KD SIR
11 Sci. EM
38

60. The end of case statement is specified by..........keyword.


(a)esac (b)easc (c) case (d) none of these
61. The shell starts executing statements written..........the end of case statement.
(a)before (b) after (c) end (d) none of these
62. If user enter any value that does not match any of case value specified then the control is
transferred to the section that has.......as its value.
(a) ? (b) & (c) * (d) $
63. The syntax of case statement is ………..
(a) case variablename in
Value1)
Command1
Command2
………….
;;
Value2)
Command1
Command2
…………..
;;
*)
Command1
Command2
……………
;;
esac
(b) case variablename in
Value1}
Command1
Command2
………….
;;
Value2}
Command1
Command2
…………..
;;
*)
Command1
Command2
……………

KD SIR
11 Sci. EM
39

(c) case variablename in


Value1)
Command1
Command2
………….
::
Value2)
Command1
Command2
…………..
::
*)
Command1
Command2
……………
::
(d) case
Value1)
Command1
Command2
………….
;;
Value2)
Command1
Command2
…………..
;;
*)
Command1
Command2
……………
;;
64. We can assign.......value to the variable that accepts the choice
(a) numeric (b) character (c)string (d)all of these
65. In case we assign value then within the case it should be enclosed between.........quotes.
(a) “ ” (b) {} (c) ‘ ’ (d) **
66. Cleaning of disk space is a normal operation that the.........needs to perform.
(a) user (b) group (c)administrator (d) all of these
67. Linux shell facilitates the same command at given number of times is known as..........
(a)looking (b) rounding (c)looping (d)repeating
68. Linux shell facilitates........types of loop statements.
(a)two (b) three (c) four (d) five

KD SIR
11 Sci. EM
40

69. Which type of loop statements Linux shell provides ?


(a) for statements (b) while statements (c)until statements (d) all of these
70. Which loop allows us to specify a list of values in its statement ?
(a) for loop (b) while loop (c) until loop (d) do while loop
71. Which loop is executed for each value mentioned in the list ?
(a) while loop (b) do while loop (c) for loop (d) until loop
72. The syntax of for loop is …………
(a) for control-variable in value1,value2,value3
do
command1
command2
done
(b) for control-variable in value1,value2,value3
command1
command2
done
(c) for control-variable in value1,value2,value3
do
command1
command2
(d) for in value1,value2,value3
do
command1
command2
done
73. Which another activity that administrator regularly performs is taking........ of files.
(a) delete (b) remove (c) backup (d)all of these
74. Once all files are copied, the backup directory is compressed (packed)using........command.
(a) tar (b) zip (c) gz (d) all of these
75. Which command is used to backup directory in compressed (packed) ?
(a) tar-cfz (b) tar –czf (c) tar –vxf (d) tar -fvx
76. Which command is used to uncompress the tar file ?
(a) tar –xvf (b) tar –abc (c) tar –vxf (d) tar -fvx
77. Which loop repeats block of commands number of times ?
(a) for loop (b)while loop (c)until loop (d)do while loop
78. Which loop is used to repeats the set of command specified between keyword do and
done statement as long as the condition specified as an expression is true?
(a) for loop (b) while loop (c)until loop (d) do while loop
79. The syntax of while loop is ………….
(a) while [ test_condition ]
do
command
done

KD SIR
11 Sci. EM
41

(b) while {test_condition }


do
command
done
(c) while ( test_condition )
do
command
done
(d) while [ test_condition ]
done
command
do
80. The........loop is similar to the while loop.
(a) for (b)until (c) (a) and (b) (d) none of these
81. ..........lop executes till the condition is false.
(a)for (b) until (c) while (d) none of these
82. ............loop executes till the condition is true.
(a)for (b) until (c) while (d) none of these
83. ..........are small subscripts within a shell script.
(a)Statement (b) Loop (c) Function (d) None of these
84. Using the function we can improve the overall......of the script.
(a)readability (b) writing (c) oral (d) none of these
85. The function used in shell script do not return a value, they return a...........
(a) binary (b) exit code (c) status code (d) all of these
86. ..........after a variable name indicate that it is function.
(a) {} (b) [ ] (c) ( ) (d) “ ”
87. Which of the following command is used to set the file permission as executable?
(a) grep (b) chmod (c) ls (d) x
88. Which of the following symbol is used to break the flow of control in the case statements.
(a)* * (b) ; ; (c) ++ (d) >>
89. Which of the following keyword specifies the end of the case statement ?
(a) end-case (b) end case (c)esac (d)stop case
90. Which loop iterates till the condition evaluates to true ?
(a) while (b) until (c) for (d) case
91. Which off the following allows us to specifi a list of values in its statement ?
(a) while (b) until (c) for (d) if
92. In case structure, which of the following character denote default case ?
(a) * (b) + (c) d (d) all of the above
93. Which of the following statement is true for testing whether the file is read only or not?
(a) test –read filename (b) check –read filename
(c)test –r filename (d) check –r filename
94. Which of the following indicate the end of if condition in shell script ?
(a) end-if (b) fi (c) }(closing curly bracket) (d) It does not have any end statement
**********
KD SIR
11 Sci. EM
42

CH.9 Introduction to Database Management System


1. In current scenario with the advent and reach of digital technologies , almost all data is
stored and managed....................
A)electronically B) magnetically C)diagonally D) none of them
2. Day to day transactions in small and medium enterprises are recorded in systems termed
as.................
A) information system B) manual system C) transaction system D) expert system
3. ....................are examples of systems used by millions of users simultaneously.
A)Search engines B)Reservation systems C) Online banking D) All of them
4. Information systems today has also become a strong helping hand in taking............
A) data B) information C) decisions D) (a) and (b)
5. To take best possible decision , everyone needs.................................
A)correct information B)precise information
C) relevant information on time D)all of them
6. Users expect..............in accessing data irrespective of the places they are at and irrespective
of where the data is stored.
A) touchability B)flexibility C) eligibility D) none of them
7. Perfect decision depends on the................of information available.
A) imprecision B) accuracy C) inaccuracy D) appooximation
8. .................is the output generated through processing of raw data.
A) Data B) Information C) (a) and (b) both D) None of them
9. All kinds of facts, figures and details related people places , things or an event is known
as...............
(A)Data B) Information C) (a) and (b) both D) None of them
10.Data may be..........
A) written B) oral C) computerized or non computerized D) all of them
11.Which of the following must be processed in proper way to generate the useful and
meaningful information?
A) Data B) Information C) (a) and (b) both D) none of them
12..................can be described as the required result obtained from processing of the data.
A) Data B) Information C) (a) and (b) both D) none of them
13...............is nothing but “ The Processed Data”.
A) Data B) Information C) (a) and (b) both D) none of them
14.................. is important because it forms the foundation for Decision Making.
A) Data B) Information C) Flowchart D) assessment
15.Taking decision based on incomplete or incorrect information may badly affect the...........
A) business B) program C) flowchart D) none of them
16. School maintains details of all the...................enrolled in the school.
A) students B) customer C) passengers D)none of them
17. Under which project Indian Government is issuing unique identity numbers to each
citizen?
A)Unique B)Exclusive C) Distinctive D) Adhar
KD SIR
11 Sci. EM
43

18.Which office maintain details of the issued passports ?


A) Passport B)Visa C) Mastercard D)Maestro
19.................. maintains medical history of each patient.
A)Inspector B)Doctor C)Lawyer D)Medical Representative
20. Which department maintains details of passengers ?
A) Railway B)Medical Department C) Teacher D)None of them
21.....................is a collection of related data items stored in an organized manner.
A) Database B) Table C)Record D)Field
22.......................arrangement of thing always makes searching easier as and when required.
A)Logical B) Attractive C)Data D) Informative
23.The underlying structure of database is known as...................
A)Data model B) Data arrangement C)Data manipulation D)Encapsulation
24.Which of the following describes way of storing and retrieving the data ?
A)Data model B) Data arrangement C)Data manipulation D)Encapsulation
25.Which of the following are data models ?
A)hierarchical data model B) network data model
C) relational data model D) all of them
26.To work with computerized database , one must first define and create a..............
A) table B) row C)column D) database
27.What basic tasks are expected to be performed regularly to keep the database ready with
latest up-to-date data ?
A)Adding data into the database as and when transaction takes place
B) Editing the content of the database with the corrections required as and when noticed
C) Removing unnecessary data from the database if any
D) All of them
28. All tasks related to database handling is known as......................
A)Database Management B) Database Manipulation
C) Database Organization D) Database Creation
29.Database Management System can perform-
A) Retrieval of data as per user requirement
B) Securing data and Maintaining backup of database
C) Allowing multiple users to access database simultaneously
D) All of them
30.Software required for Database Management is known as..................
A) Database Management Systems B) Database Management Integration
B) Database Manager D) Database Programming
31.DBMS can be defined as system designed for.
A) efficient of data B) maintenance of data
C)retrieval of data D) all of them
32.Which of the following are popular DBMS software available in the market ?
A) Oracle , Ingress B) SQL server, MYSQL
B) C) DB2 , MS Access , Base D) all of them

KD SIR
11 Sci. EM
44

33.Which of the following is not DBMS software ?


A)DB2 B)Base C)Ingress D)Python
34.Base Database is a part of........................
A)Open Office Suits B) MS- Office C)SQL D) none of them
35. Base is based on a .........................
A)Relational data model B) Hierarchical data model
C) Network data model D) None of them
36. .............. is Relational Database Management System.
A) Base B) Writer C) Table D) Python
37. RDBMS stands for -
A) Relational Database Management System
B) Relative Database Management System
C) Relational Database Migration System
D) Relational Database Management Software
38. The simplest but most versatile way to organize information is to store it in ................
A) file B) tables C) program D) none of them
39.The organization of data into collections of two dimensional tables called ...................
A) relations B) cross section C) array D) multiple array
40. Relational model is based on the theory of sets and relations of mathematic which is
designed by ..................
A) E.F.Codd B) F.E. Codd C) E.E Codd D) F.F. Codd
41. A DBMS that is based on relational model is called as..................
A) ADBMS B) CDBMS C) RDBMS D)EDBMS
42.Base is a collection of related data objects known as........
A)Tables B) Queries C) Report and Application Modules D) All of them
43.Being RDBMS,............. is the basic unit for storing data in database designed
A) Record B) Field C) Table D) none of these
44. Tables are organized in the form of .................
A) rows B) columns C) (a) and (b) D) none of them
45. .............. are real world objects about which information is to be stored in database.
A) Entities B) Objects C) Data D) Attributes
46. Each entity generally has collection of ................ associated to it.
A) attributes B) database C) table D) none of them
47. Attributes of an entity are also termed as ..............
A) fields B) record C) table D) database
48. .............. is an object which allows entering the data in the table and editing or
deleting existing data in the table.
A) Query B) Form C) Report D) (a) and (b)
49. Which of the following consists of format, style and widgets like radio button, list
boxes that provides easy and systematic way to populate table with data?
A) Table B) Query C) Form D) Report
50. A question asked within the database environment is known as ...............
A) Table B) Form C) Query D) Report

KD SIR
11 Sci. EM
45

51. who displays subset of data contained in various tables of a database ?


A) Table B) Form C) Query D) Report
52. The output of ............ in Base is displayed in the form of rows and columns.
A) Table B) Form C) Query D) Report
53. The presentation of information in an organized and readable format as per the user
requirement is known as .................
A) Query B) Table C) Report D)Data
54.Which of the following is the first step for creating a sample database for an application?
A)about whom data is to be stored
B)what attributes of each entity is to be stored
C) what kind of data we want to enter into each attribute
D)a key field of the table designed
55.Which of the following is the second step for creating a sample database for an
application?
A)about whom data is to be stored
B)what attributes of each entity is to be stored
C)what kind of data we want to enter into each attribute
D)a key field of the table designed
56.Attributes (fields ) can be defined as characteristics of an ___________.
A)entity B)table C)database D)DBMS
57._________ names are used at the time of designing the data model.
A) Physical B) Logical C) both (a) and (b) D) none of them
58.Base allows naming a field as
A) First Name B) First_Name C) F_Name D) All of them
59.What conventions to name the attributes will facilitate porting of database
(Base database)design to other database software ?
A)start of all attribute names with a letter and for subsequent characters use either
letters, numbers or the underscore character
B)Do not use special characters and a space between words instead separate them with
the underscore.
C)Use abbreviations if needed to keep the length of attribute names short
D)all of them
60.What do you mean by camel back notation ?
A) each word in field name starts with capital letter
B) each word in field name ends with capital letter
C) each word in field name starts with small letter
D)each word in field name ends with small letter
61.Which of the following is the third step for creating a sample database for an application?
A) about whom data is to be stored
B) what attributes of each entity is to be stored
C) what kind of data we want to enter into each attribute
D) a key field of the table designed

KD SIR
11 Sci. EM
46

62.It is compulsory to define the..........of each field.


A) field B) data type C)record D) Database
63..................is a way to define storage structure of the field.
A) Field B) Data Type C) Record D) Database
64. Computation that require more accuracy tend to be...............and use more memory.
A) slower B) faster C) very slow D) stop
65.When building tables with Base, a _____________ of options will be presented asking to
choose the kind of attributes to store.
A) drop-down menu B) check box C) combo box D) radio button
66.Into how many categories the datatypes in Base divided ?
A) one B) two C)three D) four
67.Which of the following is the part of data type category in Base?
A) Alphanumeric type B) Calendar type C) Binary type D) All of them
68.To enter a data that consists of letter, number as well as special character then we can
select one of the data types_________.
A) Long Var Char B) Char C) Var Char Ignore Case D) All of them
69.The Number of byes to be allocated to ________ data type depends on the number of
characters entered by the user.
A) Var Char B) Boolean C) Text D) All of them
70. For which data type maximum length is 2 GB ?
A) Var Char Ignore Case B) Var Char C) Char D) All of them
71. Which data type stores up to the maximum legth or number indicated by user and accept
any UTF 8 character?
A) Long Var Char B) Var Char C) Var Char Ignore case D) None of them
72. Which data type stores exactly the length specified by user and pads with trailing spaces
for shorter strings?
A) Long Var Char B) Char C) Var Char Ignore case D) None of them
73.Which data type stores up to the specified length and no padding is done?
A) Var Char B) Char C) Var Char Ignore case D) None of them
74.In which data type, data is stores as typed by the user?
A) Var Char B) Char C) Var Char Ignore case D) None of them
75._______ data type is used when we are aware of exact number of character to be entered
in the field.
A) Character B) Numeric C) Calendar Type D) None of them
76. Which data type can be used for license number, passport number as they have fixed
number of characters?
A) Character B) Numeric C) Calendar Type D) None of them
77.The character data type has ______ on number of character that can be used.
A) limitation B) allowance C) permit D) authorize
78. To store some descriptive data which may have more than 255 characters, the ______
data type up to 64000 characters?
A) Character B) Memo C) Desc D) Long Character
79.Which data type allows us to store any text data up to 64000 characters?
A) Character B) Memo C) Desc D) Long Character
KD SIR
11 Sci. EM
47

80.______is efficient when the fields are used for searching and it is unsure that whether user
will enter searching text in lower case or upper case.
A) Text(Var Char)Ignore case B) Text (Var Char) C) Text (Long Var Char) D) None of them
81. ______ code that needs only one byte to store a character.
A) ASCII B) ANSI C) DBMS D) RDBMS
82.Standard that allow for larger numbers of characters have been developed, like ______
that use more bytes per character.
A) Unicode B) Barcode C) Unique code D) Standard Code
83. Base will store alphanumeric characters using _______, which is a code that is compatible
with both ASCII and Unicode.
A) UTF-5 B) UTF-8 C) UTF-1 D) UTF-2
84.Base will use ______ bytes for each character according to internal calculations.
A) one or more B) two only C) eight only D) four only
85. Which data type is used to store numerical information like marks of a student, salary of
an employee, quantity on hand or balance in the bank account of a person?
A) Character B) Numeric C) Memo D) Data/Time
86.______ data type attributes are described by the number of bytes they use and whether
they are signed or unsigned.
A) Character B) Numeric C) Memo D) Date/Time
87.Which two factore determine the range of possible values they can hold ?
A) number of bytes they use B) whether they are signed or unsigned
C) (a) and (b) D) none of them
88.______ use the least memory consuming side of number storage.
A) Boolean numbers B) Character C) Data/Time D) Memo
89.A Boolean number or YES/NO data type is in fact uses just _______ bit.
A) one B) two C) four D) eight
90. Which data type is useful to store answer to the question whether the mobile is Wi-Fi
enabled or not?
A) Yes/No B) Integer C) Memo D) Var Char
91. The attributes called _______ that allow us to store numbers that have decimal places like
1.715249.
A) Floating point numbers B) Character C) memo D) boolean
92. Byte(s) occupied by Tiny Integer is _______.
A) 16 B) 8 C) 4 D) 1
93. How much bytes are occupied by Tiny Integer is ________.
A) 1 B) 2 C) 4 D) 8
94.______ bytes are occupied by Integer.
A) 1 B) 2 C) 4 D) 8
95. How much bytes are occupied by Bit Integer?
A) 1 B) 2 C) 4 D) 8
96.How much bytes are occupied by Number or Decimal?
A) 1 B) 2 C) 4 D) No limit

KD SIR
11 Sci. EM
48

97. How much bytes are occupied by Real ?


A) 1 B) 2 C) 4 D) No limit
98. What is range of Tiny Integer ?
A) 0-255 B)-32768 to 32768 C) 0-1 D) none of them
99.What is range of Small Integer ?
A) 0-255 B) -32768 to 32768 C) 0-1 D) none of them
100.What is range of Integer data type?
A) 0-255 B) -32768 to 32768 C) 0-1 D) -2.14x109 to 2.14x109
101.What is range of Big Integer data type ?
A) 0-255 B) -32768 to 32768 C) -2.3x1018 to 2.3x1018 D) -2.14x109 to 2.14x109
102.What is range of Real data type ?
A) 0-255 B) -32768 to 32768 C) -2.3x1018 to 2.3x1018 D) 5x10(-324) to 1.79x10(308)
103.Range of Decimal and Number data type is _______.
A)0.255 B) -32768 to 32768 C) Unlimited D) 0-1
104.______ data type is used to store calendar information like year, month, day, hour,
minute, second and fraction of a second.
A) Integer B) Calendar C) Real D) Yes/No
105.______ data type allows storing year, month and days as it is stored in the system
through which data is entered.
A) Date B) Time C) Timestamp D) Integer
106._____ type attributes stores the time of the day: hour, minute and second.
A) Date B) Time C) Timestamp D) Integer
107.______ has been designed for recording of both the time and day of an event at once.
A) Date B) Time C) Timestamp D) Integer
108.The ______ type attributes allow us to store any information that comes as a long string
of zeros and ones.
A) Binary B) Character C) Number D) Memo
109.Digitized images and sounds use ______ format.
A) Binary B) Character C) Number D) Memo
110.Base will make no attempt to identify the kind of ______ you have stored.
A) Folder B) File C) Paint D) Program
111.Which data type stores any array of bytes for images, sounds, etc?
A) Long var Binary B) Var Binary C) Binary D) None of them
112.Base sorts numbers in a Text field from _______
A) left to right B) right to left C) top to bottom D) bottom to top
113.What is the 4th step while designing database?
A) about whom data is, to be stored?
B) what attributes of each entity is to be stored
C) what kind of data we want to enter into each attribute
D) a key field of the table designed
114.The terms of database, a field or combination of field capable of identifying each record
uniquely is known as _______
A) primary B) secondary C) Tertiary D) Main

KD SIR
11 Sci. EM
49

115.The field that has unique importance in the table is known as _______
A) key Field B) key Row C) key Table D) Key Database
116.In RTO Office, driving license number can serve as ______ key
A) primary B) secondary C) Tertiary D) Main
117.A _____ value means unknown or missing value.
A) junk B) null C) litter D) refuse
118.Primary key values cannot contain _______
A) Duplicate values B) Null values C) (a) or (b) D) None of them
119.In a table, combination of more than one field can serve as _______ key.
A) primary B) secondary C) Tertiary D) Main
120.A primary key designed by combining more than one field is known as _______ primary
key.
A) Composite B) Secondary C) Tertiary D) Main
121.Start Base by selecting-
A) select Applications -> Office -> OpenOffice.org 3.2 Base
B) select Applications -> OpenOffice.org 3.2 Base
C) select Applications -> OpenOffice.org 3.2 Base -> Base
D)none of them
122.To work with any of the database created earlier can be open by choosing an option.........
A)Open an existing database file B) Open database
C) Open existing file D) Open database file
123.Which option is selected to create new database ?
A)Create a new database B) Create new
C) Create database D) Create database table
124. An option to register our database in OpenOffice.org web site to make the database.......
A) private B) public C) both (a) and (b) D) none of them
125.In Database wizard, ........... don’t make database public.
A) No , do not register the database B) Yes , register the database for me
C) No, make it private D) none of them
126.Which two option are provided by Base to create tables ?
A) Design View and Wizard B) Wizard view and Manual view
C) Wizard view and Automatic view D) None of them
127.In Database Wizard dialog box , by default .......... option would be checked.
A) Open the database for editing B) Create tables using the table wizard
C) (a) and (b) D) none of them
128. In Database Wizard dialog box, which option should be selected to created tables using
wizard ?
A) Open the database for editing B) Create tables using the table wizard
C) (a) and (b) D) none of them
129.Base will automatically assign ............. extension to the database file .
A) .obd B) .odb C) .bas D) .bdo
130.Which button should be clicked to select all the fields that are visible under Available
fields list ?
A) >> B) > C) << D) <
KD SIR
11 Sci. EM
50

131.Which key should be hold to select the desired fields one by one ?
A) Alt B) Ctrl C) Shift D)Caps
132.In the ........... pane, you can see Database Objects, viz., Tables, Queries, Forma and
Reports.
A) Top B)Bottom C)Left D)Right
133.Which Database Objects would be the default selection ?
A) Tables B) Queries C) Forms D) Reports
134.Each field is associated with ............ terms .
A) one B) two C) three D) four
135.In Table design view , which of the following allows to assign a data type to each field ?
A) Field Name B) Field Type C) Description D) Field Properties
136.It is good practice to enter ............ for each of the field , through it is not compulsory to
write for each field of the table .
A) Field Name B) Field Type C) Description D) Field Properties
137.The ............. helps the user to understand what the purpose of each field is.
A) Field Name B) Field Type C) Description D) Field Properties
138.In Table design view , which of the following used to control and validate the data that is
to be entered ?
A) Field Name B) Field Type C) Description D)Field Properties
139.To delete any object created in Base, ............ the object icon and click on Delete option.
A) left click B) right click C) double click D) triple click
140.Table Design View is grid structure with .............columns.
A) one B) two C)three D) four
141.which three columns are displayed in Table Design View?
A) field Name, field Type and Description
B) field Name, field Type and Properties
C) field Name, field Properties and Description
D) field properties, field Type and Description
142.In Table Design View ,Field Properties pane displayed at the .........half of the window.
A) top B)bottom C) left D) right
143.To designate a field as primary key,.................click on the required field and select
primary key option.
A) left click B) right click C) a or b D) none of them

**********

KD SIR
11 Sci. EM
51

CH.10 Working with Tables


1. To get the correct information at right time; database have to prepare and perform
various operations like-
A) inserting data B) editing the previously and wrong data
C) delete unnecessary and wrong data D) all of them
2. To insert records into the tables, open the...........first.
A) table B) report C) label D) data type
3. To open the table name in tables,on the icon that has the required table name in Tables
Pane of Database Window.
A) double click B) right click C) triple click D) dragging
4. To open the table, right click on the desired table and select the..........option from the sub
menu visible.
A)New B) Open C)Existing database D) Create
5. In Base, the line consisting of field names is known as..................
A)Heading line B)Title line C) Main line D) Description line
6. In Database view limited fields are seen and to see the remaining fields,..........is used
given at the bottom of the screen.
A)Title bar B) Menu bar C)Scroll bar D)Tool bar
7. In Base, below the Title Line, there is a row consisting of empty boxes which should be
filled with appropriate data is known as..................
A)Data Entry B) Title Entry C)Information Entry D)Fill ups
8. In front of the first field there is a small box that contain a pointing arrow sign . This box is
known as......................
A) Record Selector Box B) Record Deletion Box C) Record Icon D) Record Filling Box
9. The sign in ‘ Record Selector Box’ is referred as...................
A) Record Selector Bar B) Record Selector Menu
C) Record Selector Icon D) Record Selector Box
10. The black pointing arrow icon is known as the .............that indicate current record of the
table at any given moment of time.
A) record pointer B) record mover C) record selector D) record hider
11.The..........icon with flash is the end of the table mark.
A) Black B)Green C) Red D) Yellow
12.What is the total number of record in the table if 4 of 54 is written in navigation bar?
A) 54 B) 4 C) 58 D) none of them
13.ESC stands for.
A)Escape key B) Enter key C) Shift key D) none of them
14.The pencil icon is an...........Icon.
A)Edit B) Add C) Insert D) Delete

KD SIR
11 Sci. EM
52

15.Clicking on any of the field to edit the data, the black pointing arrow icon will be replaced
with this................like icon.
A)Pen B)Pencil C) Eraser D) Arrow
16.In Base, if we move the cursor to another record, then correction will be saved, and if we
press..........key then the correction will be cancelled and the original contents will be
restored.
A)Alt B) Ctrl C) Esc D) Shift
17.Which bar helps to
A)Navigation Bar B) Menu bar C) Title bar D)Tool bar
18.Navigation bar helps to
A)know the current position of the record pointer B) insert new record
C) move to first or last record D)all of them
19.In case of the Boolean type field a square box will be shown in the field and if box is
marked with tick mark sign it means that the value of the field is..........otherwise...........
A) false , true B) true , false C)false , false D) true , true
20.Why there is a requirement to edit entered data?
A) Data entered during data entry is incorrect.
B)After correct data entry, there is a change in the value of the data
C) (a) and (b)
D) none of them
21.The process of correcting the data entered previously is known as............
A) Editing B) Inserting C) Deleting D) None of them
22.To keep our database precise and meaningful , it is very much necessary to.....
unnecessary or incorrect record from the table.
A)delete B) edit C) insert D) none of them
23.To delete a record press.............key after selecting the record.
A) Del B)Esc C)Ctrl D) Alt
24.To delete a record, select Delete option from..........menu.
A) File B) Edit C) Update D)Format
25.By right clicking the selected record and choosing..........Option from the sub menu.
A)Delete Record B)Update Record C)Insert Record D)Add Record
26. While deleting the record, Base will display a dialog box with a ...........message.
A)warning B)update C) upload D)save
27.In warning message , clicking on which button will delete the selected record
permanently?
A)Yes B) No C) Ok D)Cancel
28.To short the field , select the required field and then click on .......... button.
A) Sort Ascending B) Sort Descending C)(a) or (b) D) none of them
29.What is the name of (pg 211) button?
A) Sort Button B) Sort Ascending C) Sort Descending D) None of them
30..............is a term used for unnecessary duplication or repetition of data.
A) Data Redundancy B) Data Encapsulation C) Data Abstraction D) Polymorphism

KD SIR
11 Sci. EM
53

31.Database designers attempt to criminate redundant data as far as possible by using a


technique
A)Data Normalization B) Data Abstraction C) Polymorphism D)None of them
32. ............ is a process that suggests decomposition of single table into multiple tables, thus
creating a parent-child relationship.
A) Normalization B) Abstraction C) polymorphism D) None of them
33. The table which contains primary key is known as ............... table.
A) Master B) Transaction C) Multiple D) Main
34................key can be defined as field or combination of fields whose values are borrowed
from another table.
A)Primary B) Foreign C)Composite D) Master
35.................key can be defined as combination of fields whose values are borrowed from
another table.
A)Primary B) Foreign C)Composite foreign D) Master
36.When a Master table has composite primary key , tables related with it will holld..............
A) primary B) Foreign C)Composite foreign D) Master
37.Establishing............between table will restrict the user from entering garbage data in the
referenced fields.
A)relationship B)primary key C)composite primary key D) data redundancy
38.Under which menu Relationship option is available ?
A)File B) Relation C) Create D) Tools
39.Select.........to open Add Tables dialog box in relationship window.
A)Insert -> Add Tables B) Add-> Tables C) Add Tables -> Insert D) Edit-> Add Tables
40.What operation should be carried out to create relationship ?
A)drag and drop B) right click C)double click D) none of them
41.In relationship window , what text table is displayed on the foreign key side ?
A) 1 B) m C) n D) p
42.In relationship window , what text label is displayed on the foreign key side ?
A) 1 B) m C) n D) p
43.Each unique value stored in primary key field may be repeated a number of times in.....key.
A)composite primary B) foreign C) master D) primary
44.In what type of relationship , one value of referred table is associated with multiple values
in referencing table ?
A) One to many B) One to One C) Many to Many D) Many to One
45. Once the relationship between two tables, the.........of referencing field and referenced
field must be same.
A)data type B) description C) (a) and (b) D) none of them
46.Once the relationship between two tables is created, .......the line depicting relationship to
open relations dialog box.
A) Single click B) double click C) right click D) drag and drop
47...........principle can be stated as, “No unmatched foreign key values should exist in the
database.”
A) Referential Integrity B)Relationship C) Database Integrity D) None of hem

KD SIR
11 Sci. EM
54

48. Which option states that a user should not be allowed to delete or update any record
exists in some other table ?
A) No action B) Update cascade C) Set null D) set default
49.Which option states that if user is allowed to delete or update referenced values , all the
related records will hold null value in the related field ?
A) No action B) Update cascade or Delete cascade
C) Set null D) set default
50.Which option states if user deletes or updates the referenced field , all the related records
will hold null value in the related field ?
A) No action B) Update cascade C) Set null D) set default
51.Relationship established between any two tables can be-
A) edited B) deleted C) (a) and (b) D) none of them
52.How many types of relationship can be created between tables of the database ?
A) one B) two C) three D) four
53. Which of the following is not a part of relationship ?
A) One to One B) One to Many C) Many to one D) Many to Many
54................relationship indicates that one specific record of a particular table has one and
only one corresponding record in the other table of the database.
A) One to One B) One to Many C) Many to one D) Many to Many
55.Which type of relationship is created between Chair and Person ?
A) One to One B) One to Many C) Many to one D) Many to Many
56.Which type of relationship is created between class and class teacher or library card
issued to a student ?
A) One to One B) One to Many C) Many to one D) Many to Many
57.In which type of relationship one specific record of a particular table may have many
corresponding records in the other related table of the database ?
A) One to One B) One to Many C) Many to one D) Many to Many
58.Which type of relationship is created between class teacher and student ?
A) One to One B) One to Many C) Many to one D) Many to Many
59.Which type of relationship is created between state and city ?
A) One to One B) One to Many C) Many to one D) Many to Many
60.In...........relationship occurs in the case or some specific record , which has to be stored
more than once in both the tables.
A) One to One B) One to Many C) Many to one D) Many to Many
61.Which of the following is not an example of One to One relationship ?
A) Class and Class Teacher B) Chair and Person
C) Library cad issued to a student D)Class Teacher and Student
62.In the field of information technology , the data in the raw material used to produce
finished goods known as..............
A) Data B) Information C) Table D) Row
63.To prevent mistakes , base provides a special facility called.................
A)Row Level Validation B) Field Level Validation
C) Table Level Validation D) Database Level Validation

KD SIR
11 Sci. EM
55

64....................is the important aspect of the processing.


A)Data validation B) Data Addition C) Data Deletion D)Data Insertion
65...............determines how the values is the field are stored and displayed.
A)Field Properties B) Field Validation C) Field Name D) Field Description
66.Field Properties can be decided at the time of .......... the structure of the table.
A)data entry B) designing C) deleting D)updating
67.Which field properties set to ‘Yes’ so that user cannot left that field empty?
A)Auto Value B) Entry Required C) Auto Increment D)Default Value
68.Which field properties set to ‘Yet’ so that user cannot left that field empty?
A)Auto Value B) Entry Required C) Auto Increment D)Default Value
69.Which property determines whether the user must enter a value for a particular field to
complete a record entry ?
A)Auto Value B) Entry Required C) Auto Increment D)Default Value
70.What is the default length for Text data type ?
A) 8 B) 16 C) 32 D) 50
71.Which field properly allow to specify field size as per requirement?
A)Auto Value B) Size C) Length D) Default Size
72.Which field property store some predefined default value automatically in a particular
field at the time of entering a new record in the table?
A)Auto Value B) Size C) Length D) Default Size
73.Which field properly specifies the format for displaying and printing the data entered in
the field ?
A)Format B)Display C) Show D) None of them
74.What is the format code for displaying date in the format ‘ Dec 31 , 99 ‘ ?
A) MMM D , YY B)MMM DD , YY C) MM DD , YY D) Mmm DD , YYYY

**********

KD SIR
11 Sci. EM
56

CH.11 Retrieving Data Using Queries


1. ................ is a huge collection of data.
A) Database B) Data File C) Data Model D) None of them
2. ........... is the feature of Base , which can be used to retrieve specific set of information
from database.
A) Table B) Query C) Form D) Report
3. The user can retrieve data according to his ......... irrespective of how it is stored in the
database.
A) choice B) criteria C) format D) all of them
4. What is the reason behind using Database Management System ?
A) ability to design query B) storage purpose
C) use the queries as and when required D) all of them
5. .............. basically means asking question , doing inquiry or performing analysis.
A) Table B) Form C) Query D) Report
6. In Base, to ........ is to ask a question about the information in the database .
A) Table B) Form C) Query D) Report
7. What do you mean by Query ?
A) asking question B)doing inquiry C) performing analysis D)all of them
8. Through a ............. one can tell Base to display exactly which fields and records a person
would like to view from the database.
A) Table B) Form C) Query D) Report
9. Query is a set of ........ for fetching information from a table , or from several tables at once.
A) tables B) form C) rules D) reports
10.The result of a query is itself in the form of a .................
A) table B) query C) label D) report
11.The result of query is in form of table which consists of a set of ..........
A) row B) column C) report D)(a) and (b) both
12.If some queries already created then it will be listed under the pane titled .........
A) Tables B)Queries C) Form D) Report
13.Different ways to create a query will be shown in the ............
A)Task bar B) Task Pane C) Status bar D) Navigation bar
14.How many ways are there to create a query in Base ?
A)one B) two C) three D) four
15.In base, which of the following option are available in task pane to create query ?
A) Create Query in Design View B) Use Wizard to Create Query
C) Create Query in SQL View D) All of them
16.In Base, which view provides a minimal amount of guidance to create a query ?
A) Create Query in Design View B) Use Wizard in Create Query
(C)Create Query in SQL View D) None of them
17. Which view guides through the process of query creation ?
A) Create Query in Design View B) Use Wizard in Create Query
C) Create Query in SQL View D) None of them
KD SIR
11 Sci. EM
57

18. Which of the following provides no guidance at all while creating Query ?
A) Create Query in Design View B) Use Wizard in Create Query
C) Create Query in SQL View D) None of them
19.Users need to have knowledge about fourth generation computer language called.........
A) Structure Query Language B) Structure Query Like
C) Standard Query Language D) Standard Query Language
20.Base’s .......... has the advantage of helping us to organize our through while requiring no
previous knowledge .
A) Design View B) Query Wizard C) SQL View D)Table View
21.How many steps are there to create a query using wizard ?
A) four B) eight C) ten D) eleven
22. What is the first step of query wizard ?
A) Field Selection B)Sorting order C) Grouping D)Aliases
23.In Query wizard, which steps field is selected ?
A) first B) second C) third D) fourth
24.In Query wizard. which button is used to move the field from ‘ Available fields’ list box to
‘Fields in the Query’ List box ?
A) left and right arrow B) up and down C) in and out D) none of them
25. Fields in ‘Fields in the Query ‘ list box can be arranged in the required order by using
the............buttons.
A) left and right arrow B) up and down C) in and out D) none of them
26.Which of the following helps in identifying the fields that is to be displayed in output ?
A) Field Selection B) Sorting order C) Grouping D) Aliases
27.What is the second step of query wizard ?
A) Field Selection B) Sorting order C) Grouping D) Aliases
28.Base allows to select up to ........... fields for deciding the sorting order of the output.
A) one B) two C) three D) four
29.What is the third step of query wizard ?
A) Field Selection B) Search condition C) Grouping D) Aliases
30.How many search conditions can be defined in one query while creating Query using
Query Wizard ?
A) one B) two C) three D) four
31.In which step we have to select appropriate values of Fields, the Conditions and Value
parameters ?
A) first B) second C) third D) fourth
32.If multiple search condition are to be set like last name may be ‘Shah’ or ‘Patel’ then
choose ..................
A) Match all of the following B) Match any of the following
C) Match any one D) No Match
33.What is the seventh step in query wizard ?
A) Field Selection B) Search condition C) Grouping D) Aliases

KD SIR
11 Sci. EM
58

34.What is the purpose of the seventh step ?


A) display the field in human readable form
B) store the field names in machine language
C) display the field names as in table
D) none of them
35.In the ............ step, Base expects aliases for selected field names .
A) Fifth B) Sixth C) Seventh D) Eighth
36.In Query wizard,...allows space between words and writing full forms of short field names.
A) Alias B) Full form C) Similar D) None of them
37.In Query wizard , the step of Aliases is ...........
A) optional B) compulsory C) both (a) and (b) D) none of them
38.Which step is compulsory in query wizard ?
A) Field Selection B) Grouping C) Detail or summary D) Alias
39.In which step desired name can be assigned to query ?
A) Fifth B) Sixth C) Seventh D) Eighth
40. Once the query is created , the only way to make changes is through the .......
A) SQL B) Wizard C) Show Query D) Design View
41.What is the eighth step of query wizard ?
A) Field Selection B) Search condition C) Grouping D) Overview
42.Which option is selected in eighth step of query wizard to view the query result
immediately ?
A) Display Query B) Modify Query C) Show Query D) Design View
43.Which option is selected in eighth step of query wizard to open the Design view ?
A) Display Query B) Modify Query C) Show Query D) Design View
44.What will be shown is ‘ Display Query’ is selected in eighth step of Query Wizard ?
A) Result of query B) Design View C) Report D) None of them
45.The limitation of Query Wizard is allowing ....... table to be selected.
A) Only one B) two C) three D)multiple
46.Which Aggregate function allows to do sum of the required field ?
A) sum to get B) get the sum of C) sum of D) add of sum
47.Which step allows doing Grouping of required field ?
A) third B) fourth C) fifth D) sixth
48.There is no limitation of including multiple .......... in Query Design View.
A)Tables B) Form C) Report D) None of them
49.In ‘ Add Table or Query ‘ dialog box , which button is clicked to add table in Query
Design View ?
A) + B) Add C) Add All D) Include
50.The ‘Add Table or Query ‘ button available in ........ toolbar.
A) Query Design B) Standard C) Formatting D) None of them
51.In Query Design View, what is the default value for visible option for each field ?
A) True B) False C) True or false D) None of them
52.In query design view, there are rows with heading ............
A) Alias , Criterion B) Sort, or C)Function, Visible D) All of them

KD SIR
11 Sci. EM
59

53. What is the limitation of creating a query using wizard ?


A) allows single table to create query B) not allowing to specify condition
C) not able to perform sorting D) none of them
54.Which dialog box will appear after clicking on ‘ Create Query in Design View...’ ?
A) Add Table dialog box B) Add Query dialog box
C) Add Table or Query dialog box D) Add Report
55.Select Ascending/Descending from drop down box visible after the row heading .......
under the required column .
A) Arrange B) Sort C) Order D) (a) and (b)
56.Which option is selected to save a query ?
A) File-> Save B) File -> Store C) File -> Save Query D) File -> Query
57.Run Query button is present on......... toolbar.
A) Query Design B) Table Design C) Wizard D) None of them
58. To make changes in Query ,select...........options from the popup menu by right clicking on
the query.
A) Add B) Edit C) Design D) Alias
59.Specifying a ............ will limit the records.
A) field B) criterion C) sort D) table
60.Applying criteria means to display a subset of ............
A) selected records B) single records C) any random records D) none of them
61.Which of the following delimiter is used in criterion cell if there is a Text?
A) ‘ ’ B) # C) $ D) “ “
62.Which of the following delimiter is used in criterion cell if there is a date ?
A) asterisk B) hash C) double quotes D) colon
63.Which of the following is hash Symbol ?
A) % B) # C) @ D) $
64.Which of the following delimiter is used in criterion cell if there is a Number
A) quotes B) delimiter not required C)double quotes D) asterisk
65.What Base will do if delimiter is not used ?
A) report error B) apply delimiters automatically C) exit from base D) none of them
66.what should be done to get desired result of query ?
A) Run query B) Show query C) Display query D) Delete query
67.How many logical operators are available in Base?
A) one B) two C) three D) four
68.Which of the following symbols are special operator ?
A) And B) Or C) Is D) Not
69.Which of the following symbols are special operator ?
A) Like B) Is C) Between D) all of them
70.Which of the following is comparison operator ?
A) < , > B) <=, >= C) <> , = D) all of them
71.Base allows design .......... for defining criteria using different types of operators .
A) report B) form C) expression D) query

KD SIR
11 Sci. EM
60

72. What is the expression to display the list of employees who joined after 1st June 2011 ?
A) >01/06/2011 B)> =#01/06/2011# C) >#01/06/2011# D)<01/06/2011
73.To hide any field used in the query output ,clear the check mark shown in the ..........
property of that field.
A) Visible B) show C) Display D) Hide
74.Base offers............. operator to specify the criteria like>=#1/6/2009# and <= #11/1/2006#
A) Like B) In C) Between D) Is
75. What should be written in criteria to display the employees list that joined between 1st
June 2005 and 1st Nov 2012 ?
A) >=1/6/2005 and <1/11/2012 B) ># 1/6/2005# and < #1/11/2012#
C) >=#1/6/2005# and <=#1/11/2012# D) <=1/6/2005 and >= 1/11/2012
76. What should be written in criteria to display the employees list that joined between 1st
June 2005 and 1st Nov 2012 ?
A) >=# 1/6/2005 # and <=#1/11/2012# B) ># 1/6/2005 # and < #1/11/2012 #
C) Between #1/6/2005# and <=#1/11/2012# D) a and c
77.What is the criteria using special operator to retrieve those record whose city is
Ahmedabad or patan?
A) ‘Ahmedabad patan’ B) =’Ahmedabad’, ‘patan’
C) In (‘Ahmedabad’,’patan ‘) D) None of them
78.What does NULL signifies ?
A) not empty B) empty C) both a and b D) none of them
79.What criteria should to send discount coupons only to card holders of Modern Electronic
Store residing in Ahmedabad or Patan?
A)City column=Between( Ahmedabad ‘,’patan’ ) and CardHolder column = Is Not Empty
B) City column = “In(‘ Ahmedabad ‘,’patan’ ) and CardHolder column = Is Not Empty ‘
C) City column = In( Ahmedabad ,patan) and CardHolder column = ‘Is Not Empty ‘
D) City column = “ In( ‘Ahmedabad’ ,’patan’) and CardHolder column = ‘Is Not Empty ‘
80.Which logical operator ensures that all the given conditions must be true?
A) AND B) OR C) NOT D) None of them
81.Which logical operator ensures that any one of all of given conditions must be true?
A) AND B) OR C) NOT D)None of them
82. Which logical operator ensures that given condition must not be true ?
A) AND B) OR C) NOT D)None of them
83.What is the criteria to retrieve records of customers from all other places except
Ahmedabad or Patan?
A) In(‘Ahmedabad’,’Patan’) B) Not In(Ahmedabad,Patan)
C) In(Ahmedabad,Patan) D) Not In (‘Ahmedabad’,’Patan’)
84.In Base two or more expressions are in same row means ............condition applied fields.
A) AND B) OR C) NOT D) BETWEEN
85.In Base two or move expessions are in separate rows means ................condition applied
between fields.
A) AND B) OR C) NOT D) BETWEEN

KD SIR
11 Sci. EM
61

86.What expression to see the list of products with their model names starting with character
set ‘hp’ ?
A) hp B) hp* C) *hp D) h*p
87.A................ Wildcard represents any character or combination of characters.
A) hash B) quotes C) asterisk D) caret
88.Which operator must include with the wildcard character ?
A) Is B) Like C) Between D) And
89.In how many ways , calculation within a query can be performed ?
A) 1 B) 2 C) 3 D) 4
90.Calculation within a query in Base can be performed using.
A) Custom calculation B)Complex calculation
C) Predefined calculation D) (a) and (c)
91............. includes performing numeric , date and text calculations on each record using data
form one or more fields.
A) Custom calculation B)Complex calculation
C) Predefined calculation D) (a) and (c)
92..............includes operation like addition multiplication subtraction or division between
different fields.
A) Addition B) Deletion C) Calculation D) Expressions
93.To perform custom calculation we need to add an extra field known as............
A) custom field B) expression field C) new field D) added field
94.What expression should be written in calculated field to multiply ‘ Quantity’ and
‘SalePrice’?
A)Quantity * SalePrice B) Quantity x SalePrice
C) Quantity * Sale_Price D) Quantity % SalePrice
95.To perform calculation on group of records rather than on fields, Base provides..........
A)Custom calculation B) Complex calculation
C) Predefined calculation D) (a) and (c)
96.Calculated fields applied on multiple records within a table resulting in a single.........
A)count B) standard deviation C) variance D) summation
97.Calculated fields applied on multiple records within a table resulting in a single.........
A) record B) value C) text D) all of them
98............. is applied on multiple records within a table resulting in a single value.
A)Custom calculation B) Complex calculation
C) Predefined calculation D) (a) and (c)
99.The results of a calculation in a field are only for ............ purpose.
A) edit B) display C) delete D) update
100.Base perform the calculation each time you ....... the query.
A) create B) run C) delete D) edit
101.Which of the following statement is true for Predefined Calculations ?
A) only for display purpose B) result are not stored in the table
C)calculation performed each time query run D) all of them
102.Which function help to find total number customers residing in each city ?
A) Group B) Collect C) Fusion D) Intersection
KD SIR
11 Sci. EM
62

103........... queries are designed to accept values from the user at run time.
A) Structure B) Parameter C) Wizard D) Table
104............. query will display a dialog box asking the user to enter the values.
A) Structure B) Parameter C) Wizard D) Table
105.To create a ............. , the design of the query will remain same but parameter needs to
enter rather than specifying the actual value in the criterion cell.
A) Wizard Query B) Parameter Query C) Cross-tab Query D) none of them
106.The ........... queries are in form or statements .
A) Design View B) Wizard view C) SQL D) none of them
107.Which option should be selected to open Execute SQL Statement dialog box ?
A) Tools -> SQL ` B) Tools -> SQL Statements
C) Tools -> Execute SQL D) None of them
108.Under which label , instruction has to type to perform different operations related to
table or a query ?
A) Command to execute B) Execute Command
(C)Execute SQL Command D)None of them
109.Which of the following is the correct statement to create ‘Scheme’ table with ‘SchemeID’
, ‘StartDate’ and ‘ EndDate’ fields ?
A) CREATE TABLE “Scheme”
(‘SchemeID’ INTEGER NOT NULL PRIMARY KEY, ‘StartDate’ DATE, ‘EndDate DATE )
B) CREATE TABLE ‘Scheme’
(“SchemeID” INTEGER NOT NULL PRIMARY KEY, ‘StartDate’ DATE, ‘EndDate DATE )
C) CREATE TABLE “Scheme”
(“SchemeID” INTEGER NOT NULL PRIMARY KEY, ‘StartDate’ DATE, ‘EndDate DATE )
D) None of them
110.Which button will run the SQL command ?
A) Run B) Execute C) Implement D)None of them
111.Which of the following are written in the form of statements?
A)SQL queries B) Queries in Design View C) Queries using Wizard D) None of them
112.Which of the following can be done using SQL ?
A)Create a table B) Insert a data into table
C) Edit and Delete data D) All of them
113.What care must be taken to avoid errors in execution of SQL queries ?
A) quote signs B) capitalization C) syntax D) all of them
114.Which button gets highlighted when instructions entered?
A) Execute B) OK C) Help D) Close
115.Which of the following SQL statements helps to create table ?
A) CREATE TABLE B)ON TABLE C) NEW TABLE D) SAVE TABLE
116.Under which option ‘Refresh Tables’ option is available ?
A) View B) File C) Tables D) Edit
117.The........................ statement is used to remove a table.
A)DROP TABLE B)DELETE TABLE C) REMOVE TABLE D)DROP DATABASE

KD SIR
11 Sci. EM
63

118.Which is the correct statement to delete ‘Scheme ‘ Table?


A) DROP TABLE Scheme IF EXISTS; B) DELETE TABLE Scheme IF EXISTS;
B) REMOVE TABLE Scheme IF EXISTS; D) None of them
119.Which option should be clicked to create query using SQL view ?
A) Create Query in SQL view B) Create Query in Design view
C) Using SQL and Wizard D)None of them
120.The SQL statements starts with..................keyword to retrieve information and are also
known as SQL Queries.
A) SELECT B)RETRIEVE C) CREATE D) SELECTION
121.What is the data type in “ Description” Varchar (25)?
A) var B)Varchar C) Description D) 25
122.What is the size in in “ Description” Varchar (25)?
A) var B)Varchar C) Description D) 25
123.Which of the following statements retrieve FirstName and LastName from Employee
Table ?
A)SELECT FirstName, LastName from Employee:
B) SELECT FirstName, LastName from Employee;
C) SELECT FirstName, LastName from Employee
D) None of them
124.Query created using Design View can be open in SQL view by right click on the related
query and selecting....................
A) Edit in SQL View B) Show in SQL View
C) Display in SQL view D) SQL View
125.The keyword............................ is used to indicate that output needs to be sorted on field.
A) ORDER BY B) SORT BY C) ARRANGE BY D)None of them
126.The keyword ......... mentions that data should be sorted in ascending order of given field.
A) ASC B) DSC C) ASCEND D) INCRE
127.Query created using ............. can be seen in SQL .
A) Wizard B) Design View C) Select D) both (a) and (b)
128.In SQL, the word after the keyword ......... are aliases.
A)ASC B) AS C) ALIAS D)None of them
129.Which of the following SQL statements helps to view all the fields of employee table.
A) Select *from Employee B) Select Employee from *
C) Select from Employee D) None of them

**********

KD SIR

You might also like