You are on page 1of 65

1.

Creating HTML Forms Using KompoZer


(1) Which of the following is a container used to collect different kinds of inputs from the user?
(A) Form (B) Webpage (C) Text (D) Input
(2) Which of the following element is used to create an HTML form ?
(A) Textarea (B) Form (C) Select and Option (D) Input
(3) Which of the following is the tag used to implement form element ?
(A) <form> ..... </form> (B) <form> ..... <form>
(C) </form> ..... </form> (D) <frm> ..... </frm>
(4) Which of the following attribute of form is used to specify where to send the form data when the
form is submitted ? (A) method (B) action (C) submit (D) input
(5) Which of the following attribute of form specifies the HTTP method to be used when sending the
data ?
(A) submit (B) action (C) method (D) input
(6) Which of the following values are used by method attribute ?
(A) GET and POST (B) GET and SET (C) GET and PUT (D) SET and POST
(7) Which of the following method allows only a limited amount of information to be sent at a time ?
(A) GET (B) POST (C) SET (D) PUT
(8) Which of the following method sends the data as a block through the HTTP transaction?
(A) GET (B) SET (C) PUT (D) POST
(9) Which of the following attribute of the input element specifies the field that is to be
created in the form ?
(A) Input (B) Type (C) Name (D) Value
(10) Which of the following element allows multi-line text input ?
(A) Textarea (B) Input (C) Select and Option (D) Form
(11) Which of the following element is used in form to create dropdown list or menu ?
(A) Input (B) Textarea (C) Select (D) Form
(12) Which of the following is a free open source web development IDE ?
(A) HTML (B) KompoZer (C) SciTE (D) Base
(13) Which of the following stands for “WYSIWYG” ?
(A) When You See Is When You Get (B) What You See Is When You Get
(C) What You See Is What You Get (D) When You See Is What You Get
(14) In HTML, which of the following element is not used to create a form ?
(A) Form (B) Input (C) Image (D) Textarea
(15) What is the default value for method attribute of <form> element ?
(A) GET (B) POST (C) Both (A) and (B) (D) None of these
(16) Which attribute is used to specify the default value of the text filed in the HTML form ?
(A) Name (B) Value (C) Type (D) Initial value
(17) Which of the following attribute is used with the <textarea> element ?
(A) size (B) height (C) width (D) cols
(18) Which of the following is an example of open source IDE ?
(A) KompoZer (B) Eclipse (C) JBuilder (D) All of these
(19) In KompoZer, which menu – option is used to view the different toolbars and status bar
(A) View Show/Hide (B) Tools Show/Hide (C) Format View tools (D) Insert Show/Hide
(20) In KompoZer, which key is used to close site manager ?
(A) F2 (B) F5 (C) F7 (D) F9
(21) In KompoZer, which toolbar is used to create a new file, open a file, save a file or public a web
page ?
(A) Composition toolbar (B) Format Toolbar – 1 (C) Format Toolbar – 2 (D) All of these

G:\Mithu\Chap_1.docx     1 
(22) In Edit mode toolbar of KompoZer, which of the following viewing mode is not available
(A) Preview (B) Web page (C) HTML tags (D) Normal
(23) In KompoZer, which tab of page pane is used to design the web page ?
(A) Design (B) Split (C) Source (D) None of these
(24) In KompoZer, which menu – option is used to insert an input text field in the form ?
(A) Insert Form field (B) Form Format field (C) Insert Form Form field (D) Insert Text field
(25) In KompoZer, generally file is saved with which extension ?
(A) .html (B) .htm (C) (A) or (B) (D) None of these
(26) In KompoZer, we want any option of the radio button selected when the form is loaded then,
the checkbox infront of which text should be selected in form field property dialog box?
(A) Initial value (B) Default value (C) Prime value (D) Initially selected
(27) In HTML form, which element allows multi-line text input ?
(A) <text> (B) <area> (C) <multiarea> (D) <textarea>
(28) In KompoZer, which menu-option is used to give a background color in the form ?
(A) Insert Page color and Background (B) Format Page color and Background
(C) View Page color and Background (D) File Page color and Background
(29) Which of the following software are the example of open source IDE’s ?
(A) KompoZer (B) Eclipse (C) JBuilder (D) All of these
(30) Which of the following method sends the data as a block through the HTTP transaction?
(A) GET (B) POST (C) FTP (D) HTTPS
(31) Which of the following element allows multi-line text input in HTML KompoZer form ?
(A) Textarea (B) Multiline (C) Insert Row (D) Insert Column
(32) Which attribute is used to indicate the field specify default value in HTML form ?
(A) type (B) name (C) value (D) All of these
(33) Which of the following file name is the home page of the website saved as ?
(A) first.html (B) index.html (C) home.html (D) main.html
(34) Which tab is used to design/format the web page in KompoZer ?
(A) Design (B) Split (C) Source (D) All of these
(35) Which element is used to create a drop down list or menu in a form of HTML ?
(A) <select> ..... </select> (B) <option> ..... </option>
(C) <pulldown> ..... </pulldown> (D) <body> ..... </body>
(36) Which option is used to check box to keep the option checked when the form loads in web
page?
(A) Select Initially (B) Initially Selected (C) Show Initially (D) Display Initially
(37) In HTML, which of the following is a container used to collect different kinds of inputs from the
user ?
(A) Form (B) Frame (C) Database (D) Both (A) and (B)
(38) Which of the following attribute can be used in <form> element of HTML ?
(A) GET and POST (B) Action and Method (C) Both (A) and (B) (D) None of these
(39) In HTML, which of the following attribute of form specifies the HTTP method to be used when
sending the data ? (A) Value (B) Action (C) Type (D) Method
(40) Which of the following is an attribute of <input> tag of HTML form ?
(A) Type (B) Name (C) Value (D) All of these
(41) In HTML form, clicking on which of the following button, the value of data entered in the form
are cleared and set back to default values ?
(A) Reset (B) onSubmit (C) Submit (D) onClick
(42) Which of the following is a software application that provides complete facilities to
programmer to develop software ?

G:\Mithu\Chap_1.docx     2 
(A) Internet Development Environment (B) Internet Development Active
(C) Interface Development Environment (D) Integrated Development Environment
(43) KompoZer software can be downloaded from which of the following website ?
(A) http://www.kompozer.in (B) https://www.kompozer.org
(C) htts://www.kompozer.edu (D) http://www.kompozer.net
(44) What is the full form of CSS ?
(A) Cascading Standard Sheet (B) Copy Standard Style
(C) Cascading Style Sheet (D) Copy Style Sheet
(45) In KompoZer, which toolbar is used to create, open and save a file or publish a web page?
(A) Composition Toolbar (B) Format Toolbar - 1
(C) Format Toolbar – 2 (D) None of these
(46) In KompoZer, which of the following tab is available on the left side of the page pane ?
(A) Design (B) Split (C) Source (D) All of these
(47) How many viewing modes are there on the edit mode toolbar of KompoZer ?
(A) 6 (B) 3 (C) 4 (D) 2
(48) In KompoZer, which menu option is used to open a file that has been opened recently?
(A) File Web pages (B) File Recent pages (C) File Page list (D) File Form list
(49) In KompoZer, which menu option is used to insert a label in form ?
(A) Form Form Field (B) Format Label (C) Form Define Label (D) Insert Label
(50) Which of the following is not a section of ‘Form field properties’ dialog box of KompoZer?
(A) Field type (B) Field setting (C) Form name (D) None of these
(51) In KompoZer, which menu option is used to create a selection list of form ?
(A) Form Selection list (B) Form Textarea (C) Form Option list (D) Form List
(52) In HTML form which tag is used to implement input element ?
(A) <form> ..... </form> (B) <input> ..... </input>
(C) <execute> ..... </execute> (D) <type> ..... </type>
(53) Which value are used to specify method attribute of form ?
(A) GET and SET (B) GET and POST (C) GET and PUT (D) SET and GOT
(54) Generally, in HTML form which input element is used to select multiple items from a given group
of items ?
(A) Textbox (B) Radio button (C) Check box (D) Password
(55) What is the full form of IDE ?
(A) Integrated Development Environment (B) International Development Environment
(C) Indian Development Environment (D) Integrated Document Environment
(56) Which website is used to download KompoZer free of cost ?
(A) www.kompozer.com (B) www.kompozer.net
(C) www.kompozer.co.in (D) www.kompozer.org
(57) Which tool of KompoZer is used to give rapid access of the files on both local machine and
remote servers ?
(A) Site Manager (B) Page Manager (C) Document Manager (D) None of these
(58) Which toolbar is used to format text, add bullets, numbering and perform similar
formatting operations ?
(A) Format Toolbar-1 (B) Format Toolbar-2 (C) Composition Toolbar (D) Both (A) and (B)
(59) Which extension is used to save website file made in KompoZer ?
(A) .html (B) .src (C) .c (D) .komp
(60) How many attributes are used by <form> elements ?
(A) 2 (B) 3 (C) 4 (D) 5

G:\Mithu\Chap_1.docx     3 
(61) Which of the following method value allows only a limited amount of information to be sent at a
time by form on KompoZer ? (A) POST (B) GET (C) HTTP (D) FTP
(62) Which of the following element is used to insert various fields like radio button, textbox
and checkbox in the form ?
(A) <insert> ..... </insert> (B) <input> ..... </input>
(C) <field> ..... </field> (D) <button> ..... </button>
(63) Which of the following button is clicked in form to clear the value of data entered in the
form and set back to default value ?
(A) Submit (B) Restore (C) Reset (D) Back
(64) Which of the following is not an example of Open Source IDEs ?
(A) Netchain (B) Eclipse (C) Netbeans (D) JBuilder
(65) Which of the following attributes are used in textarea element in HTML form ?
(A) cols, rolls (B) rows, codes (C) rows, cols (D) codes, rolls
(66) Which of the following menu is clicked in KompoZer to view the different toolbars and status
bar?
(A) View Hide/Status (B) View Show/Hide (C) View Tools/Shows (D) View Tools/Status
(67) Which of the following viewing modes are there in Edit mode toolbar of KompoZer ?
(A) Normal, HTML Tag, Preview (B) Normal, Source, Split
(C) Normal, CSS tag, View (D) Design, Split, Source code
(68) Which of the following is a key to close the site manager pane in KompoZer ?
(A) F8 (B) F9 (C) F10 (D) F11
(69) Which by default name of webpage is shown when user starts KompoZer first time ?
(A) Document1 (B) kompozer1 (C) Untitled (D) File1
(70) Which of the following menu is used to insert a label for the name field in KompoZer ?
(A) Insert Form Create Label (B) Insert Form Define Label
(C) Insert Form Label Assign (D) Insert Form Insert Label
(71) Which of the following are viewed when user open form properties dialog box in KompoZer ?
(A) Form Name, Action URL, Method (B) Field Name, Method URL, Label
(C) Action URL, Method, Field (D) Field Name, Action URL, Method
(72) Which of the following icon is shown on Composition toolbar in KompoZer ?
(A) Bold (B) Save (C) Body Text (D) Auto Number
(73) To create dropdown menu through KompoZer which menu – option is clicked ?
(A) Form Selection List (B) Form Select (C) Form Dropdown list (D) Form Option
(74) Where does the page title displayed in the browser window, When it is viewed in the browser ?
(A) Menu bar (B) Status bar (C) Main document (D) Title bar
(75) From the following who allows more interactivity and control in data entry ?
(A) HTML Form (B) HTML Table (C) HTML Report (D) All of these
(76) Which attribute of form element is used to specify where to send the form data when the form
is submitted ?
(A) method (B) action (C) name (D) type
(77) Generally, which input element is used to select a single item from a given group of item?
(A) Textbox (B) Checkbox (C) Radio button (D) Password
(78) In form, which input element can be used to enter comment, report or a long description of a
product ?
(A) <select> ..... </select> (B) <option> ..... </option>
(C) <longtext> ..... </longtext> (D) <textarea> ..... </textarea>
(79) From the following which are the example of open source IDEs ?
(A) KompoZer (B) Eclipse (C) JBuilder (D) All of these

G:\Mithu\Chap_1.docx     4 
(80) KompoZer incorporates with whom that gives rapid access to file on both local machines and
remote servers ?
(A) Site Manager (B) Page Manager (C) Document Manager (D) Web Manager
(81) Which tab shows all details of HTML code, that helps in editing the source code on the left side
of page pane of KompoZer ?
(A) Design (B) Split (C) Source (D) All of these
(82) From the following which option is not in Form Properties dialog box of KompoZer ?
(A) Form Name (B) Action URL (C) Method (D) Field value
(83) In HTML, which element is used to insert various fields like radio button, textbox and checkbox
in the form ?
(A) <Select> (B) <Area> (C) <Input> (D) <Radio button>
(84) In KompoZer, which menu – option is used to view the different toolbars and status bar ?
(A) View Show/Hide (B) Edit Shot/Hide (C) Insert Menu (D) Edit Display
(85) In KompoZer, which of the following viewing mode Edit mode toolbar offers the page view as
seen in a browser ?
(A) Normal view (B) HTML Tags view (C) Preview mode (D) Print view
(86) In KompoZer, which tab of the page pane is used to design the web page ?
(A) Design (B) Source (C) Split (D) View
(87) In KompoZer, which menu – option is used to create a form ?
(A) Insert Form Create Form (B) Insert Form Define Form
(C) Edit Form (D) Format Form Create Form
(88) When webpage viewed in the browser, where the page title will be displayed ?
(A) Title bar (B) Status bar (C) Navigation pane (D) Menu bar
(89) In HTML, which of the following attribute of form specifies the HTTP method to be used when
sending the data ?
(A) Input (B) Submit (C) Action (D) Method
(90) Which of the following is a free open source web development IDE ?
(A) HTML (B) KompoZer (C) SciTE (D) Base
(91) Which attribute of <form> element takes a filename as value in HTML form ?
(A) method (B) action (C) reset (D) value
(92) Which element allows multiline text input in HTML form ?
(A) longtext (B) checkbox (C) textarea (D) select
(93) Which menu – option is used to view different toolbars (if not visible) in KompoZer ?
(A) View Show/Hide (B) Format Toolbar (C) Edit Show/Hide (D) Insert Toolbar
(94) Which colored outline is seen in form when inserted in KompoZer ?
(A) Green colored (B) Yellow colored (C) Light blue colored (D) Red colored
(95) To insert input “Text Field” in form of KompoZer which option is selected in field type
menu of “Form Field Properties” ?
(A) Submit (B) Check Box (C) Radio Button (D) Text
(96) Which shortcut key is used to close the Site Manager pane in KompoZer ?
(A) F12 (B) F5 (C) F9 (D) F10
(97) To keep the ‘Checkbox’ checked, which option is selected when the form load in KompoZer ?
(A) Initially Checked (B) Selection List (C) Initially Load (D) By default
(98) Which menu – option is used to give a background color in form of KompoZer ?
(A) Edit Page Colors and Background (B) Format Page Colors and Background
(C) View Page Colors and Background (D) Insert Background

*****

G:\Mithu\Chap_1.docx     5 
2. Cascading Style Sheets and Java Script
(1) Which of the following allows specifying styles for the visual elements of the website ?
(A) Cascading Style Sheets (B) Webpage (C) Form (D) Animation
(2) Which of the following is known as special symbol in the syntax of CSS ?
(A) Rules (B) Selector (C) Declaration (D) Input
(3) Which of the following are two main parts of CSS rule ?
(A) Selector, Declaration (B) Select, Declaration (C) Selector, Declare (D) Selection, Declaration
(4) Which of the following is an HTML element on which style can be applied ?
(A) Declaration (B) Selector (C) Select (D) Declare
(5) Which of the following is the syntax of CSS ?
(A) select {property : value} (B) selector {value : property}
(C) selector {property : value} (D) selection {property : value}
(6) Which of the following has developed JavaScript ?
(A) Yahoo (B) Google (C) Wikipedia (D) Netscape
(7) Which of the following is a scripting language that allows adding programming to web pages ?
(A) Action script (B) Java Script (C) HTML (D) CSS
(8) Which of the following is a scripting language that is simple, lightweight programming
language that does not contain advanced programming functionalities ?
(A) Java Script (B) HTML (C) C (D) Java
(9) Which of the following tag is used to insert JavaScript code into an HTML page ?
(A) <script> ..... <script> (B) <script> .... </script>
(C) <script> ..... <//script> (D) </script> ..... </script>
(10) Which of the following symbol signifies the start and end of a JavaScript block ?
(A) Semicolon (B) Square bracket (C) Curtly bracket (D) Round bracket
(11) Which of the following is a reusable block of code that performs a particular task ?
(A) Array (B) Code (C) Program (D) Function
(12) Which of the following statement is used to return a value in a function ?
(A) return (B) function (C) select (D) send
(13) Which of the following is generated by the browser due to interaction between the user and the
web page ?
(A) Function (B) Response (C) Event (D) Value
(14) Which of the following is not an event ?
(A) Abort (B) MouseOver (C) Set (D) Load
(15) Which of the following is a container for storing data ?
(A) Variable (B) Integer (C) Event (D) Event handler
(16) Which of the following stands for BOM ?
(A) Browser Of Model (B) Browser Object Model
(C) Browser Object Modeling (D) Browser Object Model
(17) Which of the following is the top level object in the browser object model ?
(A) Window (B) Document (C) Page (D) Location
(18) Which of the following stands for NaN ?
(A) Not a Numeric (B) Not a Number (C) Not a Noun (D) Not an Numeric
(19) In website, which of the following can be controlled using CSS ?
(A) Font types (B) Pad spaces (C) Margin and Position (D) All of these
(20) A CSS rules has how many parts ?
(A) 2 (B) 3 (C) 4 (D) 5
(21) In the following CSS syntax which is a selector ? | H1 {color : green}
(A) H1 (B) color (C) green (D) All of these
(22) In KompoZer, Cascade button for CSS is available on which toolbar ?
(A) Composition Toolbar (B) Format Toolbar – 1 (C) Format Toolbar – 2 (D) None of these
(23) Which of the following option is not available in the Text tab of CSS stylesheet dialogbox ?
(A) Font family (B) Font size (C) Color (D) Font type
(24) Which of the following is not an advantage of CSS ?
(A) The CSS has less code compared to that in HTML.
(B) Using CSS makes website designing quick and efficient.
(C) The CSS compatibility varies with different browsers. (D) None of these
(25) Which of the following statement is true for JavaScript ?

G:\Mithu\Chap_2.docx     1 
(i) The JavaScript code can be put directly inside the web page code as separate section.
(ii) JavaScript is a case sensitive language.
(A) Only (i) (B) Only (ii) (C) Both (i) and (ii) (D) None of these
(26) In JavaScript, what is a reusable block of code that performs a particular task ?
(A) Variable (B) Function (C) Procedure (D) Event
(27) In JavaScript function, the block of code is written inside which braces ?
(A) ( ) (B) { } (C) [ ] (D) < >
(28) In JavaScript, which event would occur when document or image is loaded ?
(A) focus (B) abort (C) load (D) change
(29) In JavaScript, which keyword is used to declare a variable ?
(A) v (B) ver (C) var (D) variable
(30) Which of the following statement is true for if statement in JavaScript ?
(i) The conditional statement if is used to change the flow of the program.
(ii) If the condition is false, then the program enters in block and executes the statement
inside it.
(A) Only (i) (B) Only (ii) (C) Both (i) and (ii) (D) None of these
(31) In document object model, all the element of webpage like form, images, link etc. are contained
within which object ?
(A) document (B) browser (C) background (D) webpage
(32) In JavaScript, following function returns what ? | isNaN(123)
(A) true (B) false (C) Both (A) and (B) (D) 123
(33) Which of the following is not a built-in function of JavaScript ?
(A) isNaN() (B) alert() (C) validateForm() (D) None of these
(34) In the JavaScript, which number is used for first element from the checkbox of three array
element ?
(A) 0 (B) 1 (C) 2 (D) 3
(35) In JavaScript, which of the following statement is used to return a value in a function ?
(A) send (B) display (C) function (D) return
(36) In JavaScript, which method is used to apply focus on a particular element of the form ?
(A) select (B) focus (C) move (D) blur
(37) In JavaScript, which of the following is used as ‘OR’ operator ?
(A) && (B) == (C) || (D) ##
(38) In the following JavaScript statement which is a method ?
document.write(“Hello Students”);
(A) document (B) write (C) Hello Students (D) All of these
(39) Which of the following allows specifying styles for the visual elements of the website ?
(A) Cascading Style Sheets (B) Web Page (C) Animation (D) Form
(40) What is called when all browsers are split in to different parts or objects that can be accessed
using JavaScript ?
(A) Browser Object Model (B) Browser Object Menu
(C) Browser Oriented Model (D) Browser Oriented Menu
(41) Which of the following statement indicates the method in JavaScript ?
document.write(“Computer with Tejas Thakkar”)
(A) document (B) write (C) Hello Students (D) (“Hello Students”)
(42) How is the general syntax of CSS defined ?
(A) Selector {Property : Value} (B) Selector [Property : Value]
(C) Selector (Value : Property) (D) Selector <Property : Value>
(43) Which of the following is a scripting language that allows adding programming to web pages ?
(A) Action Script (B) Java Script (C) HTML (D) CSS
(44) Which of the following statements isn’t a disadvantage of CSS ?
(A) It can’t be displayed as per users design. (B) Not supported by browser
(C) Both (A) and (B) (D) Less code compared to that in HTML
(45) In Java, what can be controlled by using the method and properties of document object ?
(A) Web Page (B) Web Browser (C) Document (D) All of these
(46) What is called a reusable block of code that performs a particular task ?
(A) Function (B) Code (C) Programming (D) All of these
(47) Which option consists of a property associated with the HTML element and corresponding
value in CSS rule ?

G:\Mithu\Chap_2.docx     2 
(A) General (B) Aural (C) Lists (D) All of these
(48) Which Java Script element is executed when element such as a radio button becomes in active ?
(A) blur() (B) abort() (C) unload() (D) load()
(49) Which of the following statement is not true for CSS ?
(A) A CSS describes the style of the element in the document.
(B) CSS describes the information content of the document.
(C) Using CSS, we can control font type, margin and element position in our website.
(D) None of these
(50) Which of the following is a general syntax of CSS ?
(A) select (property : value) (B) select {property : value}
(C) selector (property : value) (D) selector {property : value}
(51) Which of the following tab is available in CSS style sheet dialog box of KompoZer ?
(A) Background (B) Borders (C) Box (D) All of these
(52) Which of the following option is available in text tab of CSS style sheets dialog box of KompoZer?
(A) Font family (B) Color (C) Case (D) All of these
(53) In KompoZer, which button of image option of background tab of CSS style sheets dialog
box is used to insert an image in the background of webpage ?
(A) Format picture (B) Choose file (C) Insert picture (D) Insert file
(54) In KompoZer, which tab of CSS style sheet dialog box is use to view CSS code ?
(A) Box (B) Text (C) Background (D) General
(55) Which of the following is not an advantage of CSS ?
(A) Less code compare to the HTML.
(B) CSS makes website designing quick and efficient.
(C) CSS compatibility varies with different browser.
(D) The web pages will load faster.
(56) Which of the following is used in web pages to improve the design and validate the form ?
(A) Text Editor (B) CSS (C) JavaScript (D) HTML
(57) Which of the following browser does not support JavaScript ?
(A) Mozilla Firefox (B) Chrome (C) Safari (D) None of these
(58) Using which tag, the JavaScript code is inserted into an HTML page ?
(A) <java> ..... </java> (B) <text> ..... </text>
(C) <script> ..... </script> (D) <style> ..... </style>
(59) JavaScript block starts and ends with which brackets ?
(A) [ ] (B) { } (C) < > (D) ( )
(60) In JavaScript, which keyword is used to define a function ?
(A) Define (B) Function (C) Func (D) Fnc
(61) Which of the following is not an example of user defined function of JavaScript ?
(A) addnos() (B) validateForm() (C) validForm() (D) alert()
(62) In JavaScript, which event occurs when loading of image is cancelled ?
(A) abort (B) focus (C) error (D) upload
(63) In JavaScript, which statement is used to stop the function execution and return the specified
value ?
(A) reset (B) back (C) submit (D) return
(64) In JavaScript which of the following type value can be stored in the variable ?
(A) numbers (B) string (C) text (D) All of these
(65) In Browser Object Model, method and properties of which object is used to control the
web browser window ?
(A) option (B) document (C) window (D) location
(66) In JavaScript, isNaN() function returns what when the value passed is not a number ?
(A) 10 (B) false (C) 11 (D) true
(67) In KompoZer form, the radio button for gender field are grouped by the name ‘gender’
and gender is an array of two elements, so how this two elements will be declared ?
(A) gender [2] and gender [1] (B) gender [1] and gender [2]
(C) gender [0] and gender [2] (D) gender [0] and gender [1]
(68) In Java Script, which type of condition in ‘if’ statement allows program to enter the ‘if’ statement
block and execute the statements under it ?
(A) else (B) false (C) if (D) true
(69) From the following what is used to describe the style of elements in the documents ?

G:\Mithu\Chap_2.docx     3 
(A) Selector (B) Declaration (C) Cascading Style Sheet (D) Animation
(70) H1{color : green} : In this CSS statement which is selector ?
(A) H1 (B) color (C) green (D) All of these
(71) From the following which is the advantage of CSS ?
(A) To change only needs to make modifications. (B) Less codes compared to HTML.
(C) Website designing quick and efficient. (D) All of these
(72) Using which language, a webpage no longer remains static, but can include coding that allows
interactivity with the user, control the browser and dynamically create content ?
(A) HTML (B) JavaScript (C) CSS (D) Animation
(73) From the following which tag is inserted to JavaScript code in HTML webpage ?
(A) <style> ... </style> (B) <script> ... </script>
(C) <js> ... </js> (D) <title> ... </title>
(74) In JavaScript, which event handler is used to event click ?
(A) byClick() (B) onClick() (C) ofClick() (D) onClicking()
(75) In JavaScript, which method is used to display content in browser ?
(A) document.write() (B) browsr.write() (C) script.write() (D) method.write()
(76) Which keyword is used to declare variable in JavaScript ?
(A) variable (B) var (C) Var (D) Java Var
(77) What is a reusable block of code that performs a particular task in JavaScript ?
(A) function (B) if statement (C) variable (D) method
(78) In JavaScript, which object is on the top of the level in browser object model ?
(A) document (B) window (C) form (D) button
(79) In CSS, property and value are separated by which symbol ?
(A) Semicolon (B) Colon (C) Comma (D) Space
(80) From given example below of CSS B {color : red} Which of the following is selector in CSS ?
(A) red (B) B (C) color (D) { }
(81) How many tabs will come in CSS style sheets dialog box in KompoZer ?
(A) 5 (B) 6 (C) 7 (D) 8
(82) Which of the following is not a tab of CSS style sheets dialog box ?
(A) Orals (B) General (C) Borders (D) Lists
(83) Which of the following tab of CSS style sheets dialog box shows the CSS code ?
(A) Lists (B) Code (C) General (D) Source
(84) Which of the following web program provide static web page ?
(A) JavaScript (B) HTML (C) Both (A) and (B) (D) None of these
(85) In following example of JavaScript document.write(“Computer with Tejas Thakkar”);
Which is known as method ?
(A) (); (B) . (dot) (C) write (D) document
(86) JavaScript statements can be grouped together in a block and block starts and end with
which brackets ?
(A) < > (B) [ ] (C) ( ) (D) { }
(87) Which of the following is inbuilt function provided by JavaScript ?
(A) alert() (B) newForm() (C) ValidateForm() (D) All of these
(88) Which of the following is not an example of Event in JavaScript ?
(A) focus (B) load (C) take (D) error
(89) Which of the following event occurs when element such as a radio button becomes inactive?
(A) blur (B) select (C) unload (D) deselect
(90) Which is the top level object in the browser object model ?
(A) document (B) form (C) location (D) window
(91) Which of the following object comes under document object in the browser object model ?
(A) Form, Parent (B) Form, History (C) Form, Self (D) Form, Link
(92) In following JavaScript statement var x = document.exam.Computer.Value; is given, where which
of the following indicates ?
(A) value (B) exam (C) Computer (D) document
(93) Which of the following is used for “OR” in JavaScript statement ?
(A) ;; (B) ** (C) && (D) ||
(94) Which of the following function in JavaScript determines whether the value is number or not ?
(A) isNoN() (B) isNaN() (C) isNot() (D) IsNaN()

G:\Mithu\Chap_2.docx     4 
(95) Which of the following is generated by the browser due to interaction between the user and the
webpage ?
(A) Value (B) Response (C) Event (D) Function
(96) Which of the following is a container for storing data in JavaScript ?
(A) Event handler (B) Integer (C) Event (D) Variable
(97) How many tabs are shown in Advanced property Editor dialog box in KompoZer ?
(A) 2 (B) 3 (C) 4 (D) 5
(98) Which of the following is an example of Event Handler in JavaScript ?
(A) onSubmit() (B) SubintOn() (C) onSubmitClick() (D) SubmitClickON()
Std. 12 (General) | March – 2017
(99) What is the full form of CSS ?
(A) Cascading Style Sheet (B) Cascading Super Sheet
(C) Cascading Short Sheets (D) Cascading Simple Sheet
(100) A CSS rule has how many parts ?
(A) 1 (B) 2 (C) 3 (D) 4
(101) To add CSS in HTML webpage what is to be used as a selector ?
(A) Information (B) Color (C) HTML element (D) All of these
(102) Which kind of webpage is created using HTML ?
(A) Static (B) Could not be changed (C) Both (A) and (B) (D) Dynamic
(103) What is used in web pages to improve the design and validate the forms ?
(A) C language (B) Java (C) Oracle (D) JavaScript
(104) Which of the following statement is used in JavaScript to return a value in a function ?
(A) Event (B) Program (C) Return (D) Function
(105) From the following which is not an event in JavaScript ?
(A) Abort (B) Alert (C) Click (D) Submit
(106) var x = document.js1.name.value In above statement, which is a variable ?
(A) x (B) document (C) js1 (D) name.value
(107) Which is the most commonly used numeric function in JavaScript ?
(A) validateForm() (B) isNaN() (C) alert() (D) number()
(108) What should be used to control the web browser window or the web page in JavaScript ?
(A) OMG (B) BOM (C) BOD (D) UML
(109) Which of the following is an HTML element on which style can be applied ?
(A) Select (B) Declare (C) Selector (D) Declaration
(110) In KompoZer, Cascade button is available on which toolbar ?
(A) Composition Toolbar (B) Format Toolbar – 1 (C) Format Toolbar – 2 (D) Menu bar
(111) In the CSS Stylesheets dialog box of KompoZer, a style rule for each element we have added
will appear below which of the following heading ?
(A) External Style (B) Internal Stylesheet (C) New Stylesheet (D) Public Stylesheet
(112) In CSS Stylesheets dialog box of KompoZer, which tab shows the CSS code which is
generated?
(A) Text (B) Background (C) General (D) Aural
(113) In JavaScript, which sign is used as a mark of separation ?
(A) ; (Semi colon) (B) : (Colon) (C) . (Full stop) (D) , (Comma)
(114) In JavaScript, which keyword is used to define a function ?
(A) fun (B) FUNC (C) Func (D) function
(115) Which of the following is an example of inbuilt JavaScript function ?
(A) hello() (B) validateForm() (C) alert() (D) myFun()
(116) Which of the following statement is true for JavaScript variable ?
(i) Variables in JavaScript are case sensitive.
(ii) JavaScript variable can store numbers, strings or text.
(iii) In JavaScript, variables can be declared using VAR keyword.
(A) Only (i) and (ii) (B) Only (ii) and (iii) (C) Only (i) and (iii) (D) (i), (ii) and (iii)
(117) In JavaScript, which event occurs when a document or image is loaded ?
(A) click (B) focus (C) load (D) abort
(118) In JavaScript, isNaN(123) function returns what ?
(A) 123 (B) –1 (C) true (D) false
(119) Which part of CSS syntax consists of a property associated with the HTML element used in
selector and its corresponding value ?

G:\Mithu\Chap_2.docx     5 
(A) Value (B) Property (C) Selector (D) Declaration
(120) From the following, which is a disadvantage in CSS ?
(A) Set the style for each element only once.
(B) CSS compatibility varies with different browsers.
(C) Website designing quick and efficient using CSS.
(D) CSS has less code compared to that in HTML.
(121) Which application is used to validate the data entered in the HTML forms on the client side
before sending it to the server ?
(A) KompoZer (B) HTML Tag (C) JavaScript (D) CSS
(122) What is the use of Semicolon (;) sign in JavaScript ?
(A) Statement termination (B) Statement separation
(C) Each statement making bold (D) None of these
(123) What kind of alert() function in JavaScript ?
(A) Inbuilt function (B) User defined (C) Modular (D) Both (A) and (B)
(124) Which event occurs when document or image is loaded in JavaScript ?
(A) load (B) blur (C) change (D) focus
(125) Which is the top level object in the Browser Object Model ?
(A) Location (B) History (C) Document (D) Window
(126) While filling forms in Internet, some fields are marked with a red colour asterisk mark “*”.What
does it mean ?
(A) Enter only character in field. (B) Enter only number in field.
(C) It is a compulsory field. (D) It is a not compulsory field.
(127) If the value is not a number then what is return by isNaN() in JavaScript ?
(A) False (B) True (C) No (D) Yes
(128) Which of the following symbol signifies the start and end of a JavaScript block ?
(A) Round bracket (B) Curly bracket (C) Square bracket (D) Semicolon

*****
 

G:\Mithu\Chap_2.docx     6 
3. Designing Simple Website using KompoZer
(1) Which of the following helps in promoting the business, selling the products and attracting a large
number of customers ?
(A) Website (B) Webpage (C) Form (D) CSS
(2) Which of the following is not an important point to be considered for developing a good website as
part of planning process ?
(A) Purpose (B) Audience (C) Content (D) Input
(3) Which of the following information should a website contain ?
(A) Complete, Relevant (B) Complete, Irrelevant
(C) Incomplete, Irrelevant (D) Incomplete, Relevant
(4) Which of the following content provides an overview of the size, organization, products and
services, and other items ?
(A) Detailed (B) Long (C) General (D) Short
(5) Which of the following is a collection of interlinked web pages ?
(A) Webpage (B) Form (C) KompoZer (D) Website
(6) Which of the following is the first page that opens when the user enters the URL address in the
address bar of the browser ?
(A) Home page (B) Last page (C) Web page (D) First page
(7) Which of the following filename is the home page of the website saved as ?
(A) first.html (B) index.html (C) home.html (D) one.html
(8) Which of the following is a variable that is stored on the user’s computer ?
(A) Integer (B) HTML (C) Cookie (D) Java
(9) Which of the following stands for FTP ?
(A) File Truncate Protocol (B) File Transfer Process
(C) Fine Tune Protocol (D) File Transfer Protocol
(10) Which of the following is an important point which should be considered for developing a good
website as part of planning process ?
(A) Purpose (B) Audience (C) Content (D) All of these
(11) What is a collection of inter linked web pages for a specific purpose ?
(A) Document (B) Form (C) Website (D) Application
(12) Which point of planning process, provides users with the detailed information on the site like
products and services description ?
(A) Purpose (B) Medium (C) Content (D) Audience
(13) Which of the following is the first page the opens when the user enters the URL address in the
address bar of the browser ?
(A) First page (B) Home page (C) Main page (D) URL page
(14) The title of web page displayed in which bar of the web browser ?
(A) Status bar (B) Web bar (C) Title bar (D) Menu bar
(15) Which of the following is not an option of Table properties dialog box of KompoZer ?
(A) Size (B) Borders and Spacing (C) Color (D) Table alignment
(16) In KompoZer, which option of Table properties dialog box is used to give caption of the table ?
(A) Title (B) Caption (C) Heading (D) Table title
(17) In KompoZer, which menu – option is used to insert an image ?
(A) Format Picture (B) Insert Image (C) View Image (D) Tools Picture
(18) In KompoZer, which menu – option is used to insert a horizontal line ?
(A)Format Horizontal line (B) View Horizontal line (C) Tools Horizontal line(D) Insert Horizontal line
(19) In KompoZer, which menu – option is used to change the page title ?
(A) Format Page Title and Properties (B) Insert Page Title and Properties
(C) View Page Title and Properties (D) File Page Title and Properties
(20) In JavaScript, which of the following can be done with cookies ?
(A) Cookies can be read. (B) Cookies can be modified.
(C) Cookies can be deleted. (D) All of these
(21) What is the full form of ISP ?
(A) Internet Server Provider (B) Interne Source Provider
(C) Internet Section Provider (D) Internet Service Provider

D:\Chap_3 1.docx     1 
(22) Which of the following is the means by which we can transfer the web pages from user’s
computer to the web host ?
(A) HTTP (B) URL (C) FTP (D) SSL
(23) Using which of the following Aptana used Studio 2.0.5 is currently to develop web applications ?
(A) HTML (B) CSS (C) JavaScript (D) All of these
(24) Which of the following is a variable that is stored on the user’s computer ?
(A) Integer (B) HTML (C) Cookie (D) Java
(25) Which of the following option Aptana Studio provides complete web development environment
for language support ?
(A) HTML (B) CSS (C) PHP (D) All of these
(26) How can we separate the product name, price, quantity and amount save as string in variable ?
(A) : (Colon) (B) ; (Semi colon) (C) , (Comma) (D) . (full dot)
(27) Which of the following is a collection of interlinked web pages ?
(A) Web page (B) Form (C) Web server (D) Website
(28) What is another kind of Blue Griffon HTML editor in open source ?
(A) WYSIWYG (B) GYWSIY (C) YSIWYG (D) IWYGSYW
(29) By using which option in table properties dialog box a title is given in KompoZer ?
(A) Table Handling (B) Caption (C) Table Name (D) Create Table Name
(30) Which of the following is a variable that is stored on the user’s computer ?
(A) Real (B) Integer (C) Cookie (D) Temp file
(31) Which menu – option is used to insert a horizontal line in KompoZer ?
(A) Insert Horizontal Line (B) Table Vertical Line
(C) Format Horizontal Line (D) View Horizontal Line
(32) Which menu – option is used to add input text field in form field properties dialog box ?
(A) Format Form Form Field (B) View Form Field
(C) Insert Form Form Field (D) Table Form Field Form
(33) Which of the following helps in promoting the business, selling the products and attracting a
large number of customers ?
(A) ASP (B) Webpage (C) PHP (D) Website
(34) In the planning process of website, after deciding what the content and layout of the website can
be properly developed ?
(A) Audience (B) Content (C) Medium (D) Purpose
(35) The website content should be classified into which of the following category ?
(A) General (B) Detailed (C) Both (A) and (B) (D) Medium
(36) In KompoZer, which menu is used to insert a table ?
(A) Insert (B) Table (C) Both (A) and (B) (D) Format
(37) In KompoZer, which option of borders and spacing option of table properties dialog box is used
to specify gap between cells ?
(A) Alignment (B) Padding (C) Spacing (D) Size
(38) In KompoZer, which tab of image properties dialog box is used to change the size of image?
(A) Link (B) Dimensions (C) Appearance (D) Location
(39) In KompoZer, which menu-option is used to change the title of web pages ?
(A) Format Page Title and Properties (B) Edit Page Title
(C) View Page Title and Properties (D) Insert Page Title
(40) In JavaScript, which function is used to change data into number ?
(A) int() (B) value() (C) parseFloat() (D) isNumber()
(41) Which protocol is use to transfer the web pages from user’s computer to the web host ?
(A) FTP (B) SMTP (C) POP (D) HTTPS
(42) Which of the following is an open source IDE provides language support for Rails, Python etc. as
complete web development environment ?
(A) Text editor (B) Blue Griffon (C) Amaya (D) Aptana Studio
(43) Which website is sued to download Blue Griffon easily ?
(A) www.editorbluegriffon.edu (B) www.bluegriffon.org
(C) www.bluegriffon.in (D) www.bluegriffoneditor.edu
(44) Amaya is developed by which of the following ?

D:\Chap_3 1.docx     2 
(A) Word Wide Web Consortium (B) World Web Company
(C) World Wide Web (D) World Wide Web Corporation
(45) Which page of the website is the first page that opens when user enters the URL address
in the address bar of the browser ?
(A) Index page (B) Home page (C) URL page (D) First page
(46) In KompoZer, which option of ‘Image properties’ dialog box is used to display the text in
case the image is not displayed in the browser ?
(A) Tool tip (B) Picture text (C) Alternate text (D) Display text
(47) Blue Griffon supports which of the following language ?
(A) English (B) Dutch (C) Chinese (D) All of these
(48) From the following which is the purpose of developing website ?
(A) To provide information to a group of people (B) To attract new customers
(C) To sell the products online (D) All of these
(49) What should be the information of website ?
(A) Incomplete, Relevant (B) Incomplete, Irrelevant
(C) Complete, Relevant (D) Complete, Irrelevant
(50) In insert a table in webpage of KompoZer which menu is used ?
(A) Format Table (B) Insert Table (C) View Table (D) Modify Table
(51) In KompoZer, which menu is used to change the page title of web pages ?
(A) Format Page Title and Properties (B) Format Heading
(C) Insert Heading (D) Insert Heading and Subheading
(52) Which is a variable that is stored on the user’s computer, that is useful as they provide feature to
remember and track preferences, purchases and commissions ?
(A) Boolean (B) Integer (C) Cookie (D) Float
(53) Which process means to transfer the web pages, images and style sheets related to the site, to a
web server from which they be accessed by the users ?
(A) Downloading (B) To publish a website (C) Website Processing (D) None of these
(54) From the following which is a powerful open source IDE that provides multiple language
support to HTML, CSS, JavaScript, Ruby, Rails, PHP, Python ?
(A) Amaya (B) Aptana Studio (C) Blue Griffon (D) JavaScript
(55) From the following which is free open source WYSIWYG web editor and it was initially started as
an HTML/CSS editor ?
(A) Amaya (B) Aptana Studio (C) Blue Griffon (D) JavaScript
(56) Which of the following satisfy users and sustain their interest in the website ?
(A) Content with Excessive use & unknown information. (B) Excessive use of irrelevant information
(C) Massive and irrelevant data (D) Placing appropriate and relevant content
(57) Which of the following is a collection of interlinked web pages for specific purpose ?
(A) Website (B) Table (C) Checkbox (D) Form
(58) Which three tabs are shown in Insert Table dialog box of KompoZer ?
(A) Cell, Rows, Columns (B) Quickly, Rows, Columns
(C) Cell, Precisely, Quickly (D) Table, Rows, Columns
(59) Which of the following menu is used to create table in KompoZer ?
(A) View Insert Table (B) Insert Table (C) Create Table (D) Tools Table
(60) How many tabs are shown in Table property dialog box of KompoZer ?
(A) 2 (B) 3 (C) 4 (D) 5
(61) Which of the following gives a gap between the edge of the cell and the text within it in table
properties dialog box ?
(A) Caption (B) Spacing (C) Padding (D) Border
(62) Which of the following is used to specify gap between cells in table properties dialog box ?
(A) Caption (B) Spacing (C) Padding (D) order
(63) Height and Width of table can be specified in which of the following ways ?
(A) Pixels (B) % of the windows
(C) Both (A) and (B) (D) None of these
(64) Which of the following radio button is clicked in image properties dialog box if you do not want to
give alternate text ?

D:\Chap_3 1.docx     3 
(A) Hide alternate text (B) Alternate text
(C) Don’t user alternate text (D) Show alternate text
(65) Which of the following tabs are shown in image properties dialog box of KompoZer ?
(A) Location, Dimensions, Appearance, List (B) Locate, Dimension, Apply, Link
(C) Locate, Dimension, Apply, List (D) Location, Dimensions, Appearance, Link
(66) Which of the following offers limited free space on the web server ?
(A) Internet Space Provider (B) Internet Service Protocol
(C) Internet Service Provider (D) Indian Service Provider
(67) Which of the following menu is selected to publish a site in KompoZer ?
(A) File Publish (B) Edit Publish (C) View Publish (D) Tools Publish
(68) Which of the following can be done on Cookies ?
(A) Create, Read, Modify, Delete (B) Read, Create
(C) Only Read, Write (D) Only Create, Read
(69) Which of the following is a variable that is stored on the user’s computer ?
(A) Integer (B) Function (C) Cookie (D) Code
(70) Which of the following filename is the home page of the website saved as ?
(A) first.html (B) index.html (C) file.html (D) webpage.html
(71) From the following what is the purpose for developing website ?
(A) To provide information to a group of people. (B) To attract new customers.
(C) To sell the products online. (D) All of these
(72) What should be the information of website ?
(A) Incomplete, Relevant (B) Incomplete, Irrelevant
(C) Complete, Relevant (D) Complete, Irrelevant
(73) From the following which menu – option is used to insert table in webpage made in KompoZer ?
(A) Format Table (B) Insert Table (C) View Table (D) Modify Table
(74) Which menu – option is used to change page title in website created in KompoZer ?
(A) Format Page Title and Properties (B) Format Heading
(C) Insert Heading (D) Insert Heading and Title
(75) Which method can be applied on the variable that is stored on user’s computer cookie ?
(A) Cookies can be read. (B) Cookies can be created.
(C) Cookies can be modified. (D) All of these
(76) From the following who offers limited free space on the web server ?
(A) ISP (B) FTP (C) BOM (D) OMG
(77) From the following which are powerful open source IDEs for building web application like Java ?
(A) Aptana Studio (B) BlueGriffon (C) Amaya (D) All of these
(78) Who developed Amaya, which is free open source WYSIWYG ?
(A) W3C (B) WWW (C) Netscape (D) Apple
(79) In Table properties dialog box of KompoZer, which value of table tab is used to give caption to
the table ?
(A) Caption (B) Title (C) Row Title (D) Column Title
(80) In KompoZer, which menu – option is used to give a color to the text ?
(A) Font Color (B) Format Font Color (C) Format Text Color (D) Edit Font Color
(81) In KompoZer webpage, which menu – option is used to insert a horizontal line ?
(A) Insert Line (B) Insert Horizontal Line
(C) Edit Horizontal Line (D) Format Line
(82) Which of the following is used to transfer web pages from user computer to the web host ?
(A) FTP (B) SMTP (C) PPT (D) STTP
(83) Aptana Studio open source software can be easily downloaded from which of the following
website ?
(A) www.aptana.org (B) www.aptana.edut (C) www.aptana.net (D) www.aptana.com
(84) Which of the following free open source WYSIWYG HTML editor supports languages like English,
Dutch, German, Chinese and many more ?
(A) Aptana Studio (B) Blue Griffon (C) Amaya (D) KompoZer
(85) Which of the following is not an important point of website development planning process ?
(A) Purpose (B) Audience (C) Content (D) Input

D:\Chap_3 1.docx     4 
(86) Using which of the following inbuilt JavaScript function data can be converted into number ?
(A) isNaN() (B) isNumber() (C) parseNumber() (D) parseFloat()
(87) Which of the following file name is the home page of the website saved as ?
(A) firstpage.html (B) first.html (C) index.html (D) home.html
(88) To give caption to table if requires, which option is used in table properties ?
(A) Page Title (B) Caption (C) Title (D) Heading
(89) Which option of image properties dialog box will display the text in case the image is not
displayed in the browser in KompoZer ?
(A) Alternate text (B) Don’t use alternate text (C) Text (D) Tool tip
(90) Which menu – option is used to change the page title of web page in KompoZer ?
(A) Format Page Title and Properties (B) View Page Title Properties
(C) Insert Page Title Properties (D) Edit Page Title Properties
(91) Which of the following is a variable that is stored on the users computer ?
(A) Java (B) HTML (C) Integer (D) Cookie
(92) From the following, who offers limited free space on the web server ?
(A) SSL (B) ISP (C) FTP (D) IDE
(93) What is the full form of FTP ?
(A) File Tool Process (B) File Transfer Property
(C) File Transfer Protocol (D) File Transfer Process
(94) From the following which are the open source web development tools ?
(A) Aptana Studio (B) BlueGriffon (C) Amaya (D) All of these

*****

D:\Chap_3 1.docx     5 
4. Introduction to E-Commerce
(1) Which of the following is an example for online bookstore ?
(A) Amazon (B) IRCTC (C) Gmail (D) Yahoo
(2) Which of the following is newspaper that exists on the Internet in digital form ?
(A) I – Newspaper (B) Internet Newspaper (C) WWW – Newspaper (D) E – Newspaper
(3) Which of the following is the process of buying and selling products by offering the customers to
bid the price ?
(A) Marketing (B) Auction (C) Bookshop (D) Booking
(4) Which of the following is known as the process of conducting the banking transactions over the
Internet ?
(A) Auction (B) Bidding (C) Net banking (D) WWW banking
(5) Which of the following is a feature of traditional commerce ?
(A) Operates within a certain period of time or during business hours.
(B) Advertising of the product is done electronically.
(C) E-payment systems are used for receiving payment.
(D) Customers can browse through products and offers.
(6) Which of the following is a feature of E-Commerce ?
(A) Operates within a certain period of time or during business hours.
(B) No sharing of information with competitors.
(C) Location renting or purchasing.
(D) Advertising of the product is done electronically.
(7) Which of the following is not an advantage of E-Commerce ?
(A) Lower cost (B) Conduct business 24 x 7 (C) Security (D) No geographical limitations
(8) Which of the following is a disadvantage of E-Commerce ?
(A) Privacy (B) Improved customer service (C) Speed (D) Conduct business 24 x 7
(9) Which of the following E-Commerce business model refers to business and organizations
that sell products or services to consumers over the Internet using websites ?
(A) Business to Consumer (B2C) (B) Business to Business (B2B)
(C) Consumer to Business (C2B) (D) Government to Business (G2B)
(10) Which of the following E-Commerce business model refers to activities between different
business partners ?
(A) Government to Business (G2B) (B) Consumer to Business (C2B)
(C) Business to Business (B2B) (D) Business to Consumer (B2C)
(11) Which of the following is a good example of C2C model ?
(A) Auction sites (B) E – Newspaper (C) Online purchasing (D) Information services
(12) Which of the following E-Commerce business model refers to E-Commerce activities involving
transactions between and among the consumers ?
(A) Government to Business (G2B) (B) Consumer to Consumer (C2C)
(C) Business to Business (B2B) (D) Business to Consumer (B2C)
(13) Which of the following E-Commerce business model involves reverse auctions where the
consumers determine the prices of the products or services ?
(A) Consumer to Business (C2B) (B) Business to Business (B2B)
(C) Consumer to Consumer (C2C) (D) Government to Business (G2B)
(14) Which of the following E-Commerce business model is also a part of E-Governance ?
(A) Business to Business (B2B) (B) Consumer to Business (C2B)
(C) Consumer to Consumer (C2C) (D) Government to Citizen (G2C)
(15) Which of the following E-Commerce business model refers to online non-commercial
communication between the Government agencies, organizations and departments with
other Government agencies, organizations and departments ?
(A) Business to Business (B2B) (B) Consumer to Business (C2B)
(C) Government to Government (G2G) (D) Consumer to Consumer (C2C)
(16) Which of the following is large online bookstore website ?
(A) www.amazon.com (B) www.bookshopofindia.com (C) shopping.indiatimes.com (D) All of
these
(17) Which of the following is not a popular website for online auction ?

D:\Chap_4 1.docx     1 
(A) www.eBay.com (B) www.onlineauction.com (C) www.ubid.com (D) www.ibid.com
(18) In which type of service of E-Commerce, the notices and reminders sent to the customer by the
companies or banks ?
(A) Information services (B) Support services (C) Both (A) and (B) (D) Net
Banking
(19) Which of the following service is provided to the customer by online banking ?
(A) Check account balance at any time.
(B) Obtain statements for any credit or debit.
(C) Pay various bills online like telephone, electricity etc. without going to the bank.
(D) All of these
(20) Which of the following is not an advantage of E-Commerce ?
(A) Lower cost (B) Privacy (C) Team work (D) Speed
(21) In E-Commerce, which of the following is the process of buying and selling products by offering
the customers to bid the price ?
(A) Marketing (B) Auction (C) Net banking (D) Booking
(22) Which of the following is an example of E-Commerce business model B2C website ?
(A) amazon.com (B) fabmart.com (C) rediff.com (D) All of these
(23) What is refers to E-Commerce activities between different business partners ?
(A) Customer to Business (B) Customer to Customer
(C) Business to Business (D) Government to Business
(24) Which of the following is an example of C2B website ?
(A) bidstall.com (B) jeetLe.in (C) Both (A) and (B) (D) amazon.com
(25) What refers to the services and information provided by the government to the business
organization through vast network of government websites ?
(A) G2B (B) G2C (C) G2G (D) B2C
(26) The Gujarat Government has developed its own network called GSWAN is available online on
which website ?
(A) www.gswan.gov.in (B) www.gswan.com (C) www.gswan.gov (D) www.gswan.org
(27) Which of the following statement is true for E-Commerce models ?
(i) In B2B model, the customers are other companies.
(ii) In B2C model, the customers are individuals.
(A) Only (i) (B) Only (ii) (C) Both (i) and (ii) (D) None of these
(28) Which of the following is a feature of traditional commerce ?
(A) Advertising of the product is done electronically.
(B) E-payment system are used for receiving payment.
(C) Operates within a certain period of time or during business hours.
(D) Customers can browse through products and offers.
(29) Which of the following is famous website for online auction ?
(A) www.eBay.com (B) www.mybids.in (C) www.ubid.com (D) All of these
(30) Which of the following E-Commerce business model refers to activities between different
business partners ?
(A) G2B (B) C2B (C) B2B (D) B2C
(31) How can you identify this facility in E-Commerce when software vendors (Seller) also allow their
licensed customers to download the recent update of the software ?
(A) Information Services (B) Support Services (C) Online Services (D) Online Support
Services
(32) In E-Commerce, which of the following is the process of buying and selling products by offering
the customers to bid the price ?
(A) Marketing (B) Auction (C) Book shop (D) All of these
(33) Which of the following E-Commerce business model refers to online non-commercial
communication between the government agencies, organizations and departments with other
government agencies, organizations and departments ?
(A) B2B (B) C2B (C) G2G (D) C2C
(34) What do you need first to sell an item through an online auction site ?
(A) Document (B) Agreement (C) Register (D) Database

D:\Chap_4 1.docx     2 
(35) Which online stores in India is becoming quite popular of E-Commerce from the following?
(A) PayTM (B) Domino (C) Flipkart (D) All of these
(36) Which of the following is the process of buying and selling products by offering the customers to
bid the price ?
(A) E-marketing (B) Marketing (C) E-selling (D) Auction
(37) Which of the following is not an example of online bookstore website ?
(A) www.bookshopofindia.com (B) www.mybookacc.com
(C) www.buybooksindia.com (D) shopping.indiatimes.com
(38) Education institutes provides examination result, online enrolment forms etc. through internet is
an example of which type of online services ?
(A) Educational board services (B) Support services (C) Educational services (D) Information
services
(39) Which of the following factor is playing role for the growth of e-commerce in India ?
(A) Increase in use of mobiles devices (B) Available of much wider product range
(C) Lack of time for traditional shopping (D) All of these
(40) E-Commerce provides which of the following benefit to the society ?
(A) Buy from home, office or any place (B) Health care services
(C) Distance learning and education (D) All of these
(41) Which of the following website is not an example of E-Commerce business model B2C ?
(A) flipkart.com (B) fabmart.com (C) tradeindia.com (D) rediff.com
(42) Which of the following E-Commerce business model refers to E-commerce activities between
different business partners ?
(A) C2B (B) C2C (C) B2C (D) B2B
(43) eBay.com, OLX.com and Quikr.com website are example of which E-Commerce business model ?
(A) C2B (B) C2C (C) B2C (D) B2B
(44) Which of the following is an advantage of E-Commerce ?
(A) Security (B) Privacy (C) Teamwork (D) All of these
(45) On the website of Indian Railways after reservation, e-ticket is sent via which of the following ?
(A) E-mail (B) SMS (C) Both (A) and (B) (D) None of these
(46) Software companies provide which type of online services to their customers for any problem in
installation, configuration or use ?
(A) Information services (B) Support service (C) Payment service (D) None of these
(47) Which of the following is not a common feature of traditional commerce ?
(A) Hiring of sales persons, sales manager and many more. (B) Reduces the per transaction
cost.
(C) No sharing of information with competitor. (D) Operates within a certain
period of time.
(48) Which of the following is referred as online non commercial communication between the
government agencies, organizations and departments with other government agencies, organizations
and departments ?
(A) G2B (B) G2C (C) G2G (D) All of these
(49) Which is a famous online bookstore ?
(A) www.amazon.com (B) www.irctc.com (C) tradeindia.com (D) bidstall.com
(50) From the following which are the example of B2C E-commerce business models ?
(A) fabmart.com (B) flipkart.com (C) amazon.com (D) All of these
(51) From the following which is a limitation of E-Commerce ?
(A) Conduct Business 24 x 7 (B) Speed
(C) No boundaries of geographical limitations (D) Security
(52) Which model refers to E-commerce activities between different business partners ?
(A) Government to Business (B) Consumer to Consumer
(C) Business to Business (D) Business to Consumer
(53) From the following who represents B2B E-commerce business model ?
(A) www.tradeindia.com (B) www.comodity.com (C) Both (A) and (B) (D) JeetLe.in
(54) From the following which E-commerce business model involves reverse question where the
consumers determine the prices of the product or services ?

D:\Chap_4 1.docx     3 
(A) Online auction (B) Register (C) Shop of books (D) Sales and Marketing
(55) Which network developed by the Gujarat Government provides information regarding various
government departments, different application forms to be used to citizens ?
(A) GSWAN (B) MSWAN (C) ASWAN (D) PSWAN
(56) Which of the following is not a property of E-Commerce ?
(A) Spreads across many other developing area for doing business and other activities.
(B) Auction of goods. (C) Spreads to limited area only. (D) Trading of goods.
(57) E-newspaper is a newspaper that exists on the internet in which of the following form ?
(A) Traditional form (B) Hard form (C) Digital form (D) Text form
(58) Which of the following banking is the process of conducting the banking transaction over the
internet ?
(A) Online (B) Offline (C) Mainline (D) Interlink
(59) Which of the following factors is not playing an important role for the growth of E-Commerce in
India ?
(A) Electronic devices without Internet like computer, mobile and tablet.
(B) Availability of much wider product range.
(C) Busy lifestyles for traditional shopping.
(D) Increase in use of mobile devices.
(60) Which of the following is not an advantage of E-Commerce ?
(A) Eliminate travel time and cost (B) Lack of trust
(C) Speed (D) Conduct business 24 x 7
(61) Which of the following Business model refers to business and organization that sells products or
services to consumers over the internet using websites ?
(A) C2B (B) B2B (C) C2C (D) B2C
(62) Which of the following is example of B2C website ?
(A) fabmart.com (B) tradeindia.com (C) commodity.com (D) bidstall.com
(63) Which of the following business model enables the business to form E-Relationship with their
suppliers, distributors and other agents ?
(A) C2B (B) B2B (C) G2B (D) B2B
(64) Which of the following network is developed by Gujarat Government ?
(A) GSWEN (B) GSWWW (C) GSWON (D) GSWAN
(65) Which of the following is also a part of E-Governance ?
(A) C2B (B) B2B (C) G2C (D) C2C
(66) Which of the following business model refers to E-Commerce activities involving transaction
between and among the consumers ?
(A) C2C (B) B2C (C) G2C (D) G2G
(67) Which of the following is an example for online bookstore ?
(A) amazon.com (B) flipkart.com (C) irctc.co.in (D) fabmart.com
(68) Which of the following is the process of buying and selling products by offering the customers to
bid the price ?
(A) Marketing (B) Auction (C) Bookshop (D) Action
(69) Which were the first applications of E-Commerce website on Internet ?
(A) E-Newspaper (B) Book shops (C) Online Auctions (D) Marketing and Selling
(70) From the following which are the examples of B2C e-commerce business model ?
(A) fabmart.com (B) flipkart.com (C) amazon.com (D) All of these
(71) From the following which is a limitation of E-Commerce ?
(A) Conducts Business 24 x 7 (B) Speed (C) No boundaries or geographical limitations (D) Security
(72) Which E-Commerce business model refers to E-commerce activities involving transactions
between and among the consumers ?
(A) Government to Business (B) Consumer to Consumer
(C) Business to Business (D) Business to Consumer
(73) From the following which is the example of Consumer to Business model ?
(A) bidstall.com (B) JeetLe.in (C) Both (A) and (B) (D) flipkart.com
(74) Which of the following is the process of buying and selling products by offering and customers
to bid the price ?

D:\Chap_4 1.docx     4 
(A) Auction (B) Registration (C) Book store (D) Marketing and Selling
(75) Which network is developed by the Gujarat Government to provide information regarding
various government departments, different application forms to be used by citizens ?
(A) GSWAN (B) GSWEN (C) GSMAN (D) GSLAN
(76) Which of the following is not a popular website for online auction ?
(A) www.eBay.com (B) shopping.indiatimes.com
(C) www.mybids.in (D) www.onlineauction.com
(77) In E-commerce, notices and reminders sent to the customer by companies or banks is an
example of which of the following services ?
(A) Online billing (B) Information services (C) Support services (D) Online banking
(78) Which of the following is an advantage of E-Commerce ?
(A) Initial cost (B) Privacy (C) Security (D) Conduct business 24 x 7
(79) Which of the following E-Commerce business model refers to business and organizations that
sell products or services to consumers over the Internet using websites ?
(A) Business to Consumer – B2C (B) Business to Business – B2B
(C) Consumer to Business – C2B (D) Government to Business – G2B
(80) commodity.com and tradeindia.com websites are examples of which of the following E-
commerce business model ?
(A) Business to Consumer – B2C (B) Business to Business – B2B
(C) Consumer to Consumer – C2C (D) Consumer to Business – C2B
(81) Which of the following website is not an example of customer to customer (C2C) E-commerce
business model ?
(A) eBay.com (B) rediff.com (C) OLX.com (D) Quikr.com
(82) On which of the following website GSWAN is online available ?
(A) www.gswan.com.in (B) www.gswan.org.in (C) www.gov.gswan (D) www.gswan.gov.in
(83) Which was the one of the first application of E-Commerce on Internet ?
(A) Internet bookshops (B) Online billing (C) Online auction (D) Electronic newspaper
(84) From the following which is the example of online auctions ?
(A) www.bookshopofindia.com (B) www.buybooksindia.com
(C) www.indiatimes.com (D) www.mybids.in
(85) Notices and reminders sent to the customer by the companies or bank is example of which
service ?
(A) Marketing (B) Auction (C) Information service (D) Support service
(86) From the following, which is not a feature of traditional commerce ?
(A) Hiring of sales persons, sales manager and many more.
(B) No sharing of information with competitors.
(C) E-payment systems are used for receiving payment.
(D) Operates within certain period of time.
(87) From the following, in which E-Commerce model sellers can sell products directly to consumers
and buyers are individual customers ?
(A) C2B (B) B2C (C) B2B (D) C2C
(88) From the following which are the example of B2B model ?
(A) commodity.com (B) Quikr.com (C) OLX.com (D) eBay.com
(89) All the rules related to tax, different forms and facility for submission of online tax returns
services are provided in which type of model ?
(A) C2C (B) C2B (C) B2C (D) G2B

*****

D:\Chap_4 1.docx     5 
5. Introduction to M-Commerce
(1) Which of the following refers to buying and selling of goods or services through the use of Internet
enabled wireless devices ?
(A) Internet (B) M – Commerce (C) M – Banking (D) WWW
(2) Which of the following is the use of technologies which provide the location information for
business purpose ?
(A) E – Commerce (B) M – Commerce (C) L – Commerce (D) Traditional Commerce
(3) Which of the following stands for GPS ?
(A) Global Positioning System (B) Global Postal System
(C) Grand Positioning System (D) Google Positioning System
(4) Which of the following security aspect refers to the secrecy of the information so that unauthorized
user cannot read it ?
(A) Confidentiality (B) Integrity (C) Non – repudiation (D) Authorization
(5) Which of the following security aspect ensures that the information must not be accidentally or
maliciously altered or tampered in transit ?
(A) Confidentiality (B) Integrity (C) Non-repudiation (D) Authorization
(6) Which of the following security aspect ensures that only authentic users are allowed to use the
system ?
(A) Authorization (B) Confidentiality (C) Non-repudiation (D) Integrity
(7) Which of the following security aspect ensures that the sender of the message cannot deny that
he/she has sent the message ?
(A) Authorization (B) Confidentiality (C) Non-repudiation (D) Integrity
(8) Which of the following is a program that uses Internet to record information that passes through a
computer or router in transit from sender to receiver ?
(A) Sniffer (B) Denial of service attack (C) Malicious code (D) Spoofing
(9) Which of the following is an attack used to shut down a machine or network, making it inaccessible
to its intended users ?
(A) Malicious code (B) Denial of service (C) Spoofing (D) Cyber vandalism
(10) Which of the following is known as electronic defacing of an existing website page ?
(A) Cyber vandalism (B) Denial of service (C) Spoofing (D) Malicious code
(11) Which of the following is pretending to be someone you are not, or representing a website as
authentic when it is actually a fake ?
(A) Cyber vandalism (B) Malicious code (C) Denial of service (D) Spoofing
(12) Which of the following is a computer program that detects, prevents and takes action to remove
the malicious codes like viruses, worms and trojan horses from the infected system ?
(A) Antivirus software (B) Digital certificate (C) Firewall (D) Cryptography
(13) Which of the following is the transformation of normal text known as “plain text” into unreadable
or secret text known as “chipper text” using encryption algorithm ?
(A) Firewall (B) Encryption (C) Antivirus software (D) Digital certificate
(14) Which of the following is the transformation of encrypted text back into normal text ?
(A) Firewall (B) Digital certificate (C) Decryption (D) Virus
(15) Which of the following is a protocol used for securing web transactions on the Internet ?
(A) TCP/IP (B) HTTP (C) Bluetooth (D) SSL
(16) Who developed SSL protocol ?
(A) Google (B) Netscape (C) Yahoo (D) Firefox
(17) Which of the following starting address indicates that site is secured by SSL protocol ?
(A) http:// (B) ssl:// (C) https:// (D) http-ssl://
(18) Which of the following provides the author with a tool to protect his/her original work from being
used or taken by others without permission ?
(A) Trademark (B) Copyright (C) Digital watermarking (D) Steganography
(19) Which of the following is a specific logo, mark, word, symbol, design, phrase or image which is
used by an individual or a company to distinguish a product or service from that of others in the
market ?
(A) Trademark (B) Copyright (C) Digital watermarking (D) Steganography
(20) Which of the following is the symbol for trademark ?
(A) TM, MT and (B) TM, MS and (C) TM, SM and (D) TM, SM and (C)

G:\Mithu\Chap_5.docx     1 
(21) Which of the following is the process of hiding information within other information ?
(A) Squatting (B) Steganography (C) Name changing (D) Copyright
(22) Which of the following is a digital code inserted into a digital image, audio or video file which can
identify the file’s copyright information ?
(A) Image mark (B) Digital mark (C) Code mark (D) Water mark
(23) Who issues the credit card and guarantees the payment to the merchant ?
(A) Merchant (B) Issuing bank (C) Acquiring bank (D) Customer
(24) Which of the following payment card has a microchip embedded in its surface ?
(A) Smart card (B) Debit card (C) Credit card (D) Charge card
(25) Which of the following service is included in mobile information services ?
(A) News services (B) Financial records (C) Stock market data (D) All of these
(26) Which of the following is the most accurate in determining a mobile device’s position ?
(A) GSP (B) GPS (C) GAP (D) GEP
(27) Which of the following location based application is used for plotting route from one place to
another ?
(A) Tracking services (B) Mapping (C) Navigation (D) Information and Directory services
(28) There are how many important aspects for the E-Commerce/M-Commerce security ?
(A) 2 (B) 3 (C) 4 (D) 5
(29) Which security aspect of E-Commerce/M-Commerce ensures that the information must not be
accidentally or maliciously altered or tempered in transit ?
(A) Confidentiality (B) Integrity (C) Authorization (D) All of these
(30) Which of the following is a security measure on Internet ?
(A) Antivirus software (B) Firewall (C) Cryptography (D) All of these
(31) Which of the following symbol is used for trademark ?
(A) TM (B) SM (C) (D) All of these
(32) Which of the following entity pay role in online payment ?
(A) Payment gateway (B) Payment Processor (C) Both (A) and (B) (D) None of these
(33) While making payment through which the customer is not required to provide the credit/debit card
number ?
(A) Credit card (B) Debit card (C) E-Wallet (D) ETF
(34) Which of the following launched a new card payment mechanism RuPay ?
(A) NPCI (B) NICP (C) NCPI (D) NRCP
(35) Which of he following is an attack used to shutdown a machine or network, making it inaccessible
to its intended users ?
(A) Malicious code (B) Denial of service attack (C) Spoofing (D) Cyber vandalism
(36) Which of the following protocol is used to securing web transactions on the Internet ?
(A) TCP/IP (B) HTTP (C) SSL (D) FTP
(37) In M-Commerce, which of the following starting address indicates that site is secured by SSL
protocol ?
(A) http:// (B) ssl:// (C) https:// (D) https-ssl://
(38) Which of the following is not a limitation of M-Commerce ?
(A) Limited computing power, memory, storage (B) Operates over wireless networks
(C) High cost of establishing (D) Contacted at virtually any where
(39) Which aspect in M-Commerce security ensure that the information must not be accidently or
maliciously alerted or tampered in transit ?
(A) Confidentiality (B) Integrity (C) Authorization (D) Non-repudiation
(40) In which part is the online payment through credit card on internet divided ?
(A) Authorization (B) Settlement (C) Both (A) and (B) (D) Smart card
(41) In M-Commerce, who issues the credit card and guarantees the payment to the merchant?
(A) Merchant (B) Issuing bank (C) Acquiring bank (D) Customer
(42) What is called the most commonly used network protection barrier between the company’s
network and the outside world ?
(A) Firewall (B) Antivirus software (C) Digital certificate (D) Cryptography
(43) Which of the following is an example of M-Commerce application ?
(A) Mobile Marketing and Advertising (B) Mobile Ticketing
(C) Mobile Entertainment (D) All of these
(44) Which of the following refers to the stock market services offered via mobile devices ?
G:\Mithu\Chap_5.docx     2 
(A) Mobile investment (B) M - share (C) M - transaction (D) Mobile brokerage
(45) Which of the following is not an example of location based services ?
(A) Tracking services (B) Navigation (C) Directory services (D) None of these
(46) Major credit card companies use which security system to make online transaction secure?
(A) SFTP (B) SET (C) SHTP (D) HTPS
(47) Which of the following is known as electronic defacing of an existing website page ?
(A) Malicious code (B) Denial-of-service (C) Spoofing (D) Cyber vandalism
(48) Which of the following is the network protection barrier most commonly used between the
company’s network and the outside world ?
(A) Cryptography (B) Antivirus (C) Digital Certificate (D) Firewall
(49) Which of the following is an art of protecting the information by transforming it into an unreadable
form ?
(A) Hidden text (B) Decryption (C) Cryptography (D) Digital text
(50) Which of the following symbol is not used for trademark ?
(A) SM (B) TM (C) (D) C
(51) What is known as the process of hiding information within other information ?
(A) Watermarking (B) Steganography (C) Copyright (D) Cryptography
(52) The payment cards can be classified into which of the following type ?
(A) Credit card (B) Debit card (C) Smart card (D) All of these
(53) Which of the following entity pay role in online payment ?
(A) Payment gateway (B) Processor (C) Both (A) and (B) (D) Customer
(54) Which making payment through which the customer is not required to provide the credit/debit
card number ?
(A) Debit card (B) E-wallet (C) Charge card (D) Smart card
(55) What refers to buying and selling by mobile phone ?
(A) M-Shop (B) M-Business (C) M-Commerce (D) Phone-Shop
(56) Which of the following security aspects of E-commerce/M-commerce ensures that the information
must not be accidentally or maliciously altered or tampered in transit ?
(A) Confidentiality (B) Integrity (C) Non-repudiation (D) Authorization
(57) From the following which is internet security threat in which there is electronic detaching of an
existing web page ?
(A) Malicious code (B) Sniffing (C) Cyber Vandalism (D) Denial of service attach
(58) What is an art of transformation of normal text known as “plain text” into unreadable or secret
text known as “Cipher text” ?
(A) Firewall (B) Encryption (C) Decryption (D) Digital certificate
(59) Who developed SSL protocol which is used to securing web transaction on the Internet ?
(A) Firefox (B) Yahoo (C) Netscape (D) Google
(60) Who provides the author with a tool to protect his/her original work from being used or taken by
others without permission ?
(A) Copyright (B) Trademark (C) Steganography (D) Digital Watermarking
(61) Who issues the credit card and guarantees the payment to the merchant ?
(A) Issuing bank (B) Acquiring bank (C) Both (A) and (B) (D) Master bank
(62) Which of the following card stores 100 times more information than the normal card ?
(A) Credit card (B) Debit card
(C) Smart card (D) Charge card
(63) Which of the following is not a symbol for trademark ?
(A) TM (B) SM (C) PM (D)
(64) Which of the following is the process of hiding information with in other information ?
(A) Copyright (B) Steganography (C) Squatting (D) Cyber vandalism
(65) Which of the following means transferring money from one bank account to another
electronically?
(A) Electronic Fund Travelers (B) Electronic Fund Transaction
(C) Electronic Fund Tracer (D) Electronic Fund Transfer

G:\Mithu\Chap_5.docx     3 
(66) Which of the following protocol is used for securing web transactions on the internet ?
(A) SSA (B) SSP (C) SSL (D) SST
(67) Which of the following is the transaction of normal text known as “plain text” into
unreadable or secret text known as “cipher text” using encryption algorithm ?
(A) Encryption (B) Decryption (C) Digital Certificate (D) Firewall
(68) Which of the following is the transformation of encrypted text back into normal text ?
(A) Digital Certificate (B) Firewall (C) Encryption (D) Decryption
(69) Which of the following is the most accurate in determine a mobile device’s position ?
(A) GPS (B) GSP (C) GAP (D) GSA
(70) Which of the following software program detects & prevents and takes action to remove
the malicious codes from the infected system ?
(A) Anti worm (B) Anti Trojan (C) Anti virus (D) Anti nibble
(71) Which of the following has launched new card payment mechanism RuPay ?
(A) NPIC (B) NPCI (C) NPIA (D) NPCL
(72) Which of the following card is not required to provide the credit/debit card number while
making payment ?
(A) D-Wallet (B) E-Wallet (C) L-Wallet (D) X-Wallet

(73) What refers to buying and selling of goods or services through the uses of internet
enabled wireless device ?
(A) M – Banking (B) Multimedia Shopping(C) M - Commerce (D) Modern Commerce
(74) What are the limitations of Mobile Commerce ?
(A) Limited screen size.
(B) Virtually can contact a user anytime and anywhere.
(C) Provides global reach.
(D) Customized alerts can be easily received on the mobile device.

(75) Which is a program that uses internet to record information that passes through a
computer or router in transit from sender to receiver ?
(A) Cyber vandalism (B) Sniffing (C) Malicious code (D) Spoofing
(76) Which is a computer program that detects, prevents and takes action to remove the
malicious codes like viruses, worms and trojan horses from the infected computer ?
(A) Firewall (B) Cryptography (C) Antivirus software (D) Digital certificate
(77) Which protocol is used for securing web transactions on the Internet ?
(A) HTTP (B) FTP (C) STP (D) SSL

(78) Which is the most popular and widely accepted method of payment on internet in E-
Commerce / M-Commerce ?

(A) Credit card (B) Cash card (C) Electronic wallet (D) RuPay card

(79) Stock market services offered via mobile devices are known as ?
(A) Mobile Banking (B) M-Banking (C) Mobile Brokerage (D) Mobile Transaction
(80) Which of the following is not an important security aspect of E-commerce/M-commerce
security ?
(A) Confidentiality (B) Integrity (C) Authorization (D) Navigation
(81) Which of the following is a computer program that detects, prevents and takes action to
remove the malicious code from the infected system ?
(A) Digital Certificate (B) Cryptography (C) Antivirus software (D) Firewall
(82) Which of the following is not a symbol of trademark ?
(A) TM (B) SM (C) @ (D)
(83) Which of the following is a digital code inserted into a digital image, audio or video file
which can identify the file’s copyright information ?
(A) Image Mark (B) Digital Mark (C) Code Mark (D) Water Mark
(84) Which of the following is a new card payment mechanism launched by National Payment
G:\Mithu\Chap_5.docx     4 
Corporation of India (NPCI) ?
(A) Rupy (B) PayRupy (C) Rudeb (D) RuPay

(84) Which of the following is a new card payment mechanism launched by National Payment
Corporation of India (NPCI) ?
(A) Rupy (B) PayRupy (C) Rudeb (D) RuPay
(85) From the following location based services, which service provides “tracking of assets
locating friends in a geographic location, tracking stolen cars” services ?
(A) Mapping (B) Emergency services(C) Tracking services (D) Navigation
(86) From the following who ensures that the information must not be accidentally or
maliciously altered or tampered in transit ?
(A) Non-repudiation (B) Authorization (C) Integrity (D) Confidentiality
(87) In which internet security threat, electronic defacing of an existing website page found
and an attacker replaces the website’s original content with his/her own content ?
(A) Denial of service attack (B) Cyber vandalism (C) Spoofing (D) Sniffing
(88) Trademark is designated by which symbol ?
(A) (B) SM (C) TD (D) Both (A) and (B)
(89) From the following which bank issues the credit card and guarantees the payment to the
merchant ?
(A) Acquiring bank (B) Issuing bank (C) PayPal (D) Both (A) and (B)
(90) Which of the following is a computer program that dete cts, prevents and takes action to
remove the malicious codes like viruses, worms and trojan houses from the infected
system ?
(A) Antivirus software (B) Encryption
(C) Cryptography (D) Digital Certificate

*****

G:\Mithu\Chap_5.docx     5 
6. Object Oriented Concepts
(1) In Object-oriented methodology, the focus in on which of the following entities ?
(A) Data (B) Functions (C) Object (D) All of these
(2) Which of the following best suits to Java ?
(A) A procedural programming language (B) An Object-oriented programming lang.
(C) A Query language (D) All of these
(3) Which of the following is used to distinguish objects from each other ?
(A) Attributes (B) State (C) Behavior (D) All of these
(4) Which of the following is used to define common features of similar objects ?
(A) Class (B) Object (C) Methods (D) All of these
(5) Which of the following is not a visibility symbol ?
(A) ~ (B) * (C) # (D) –
(6) Which of the following is provided using encapsulation ?
(A) Data protection (B) Data sharing (C) Separation of data and methods (D) All of these
(7) Which of the following is enabled by data abstraction ?
(A) Data protection (B) Data hiding
(C) To hide implementation details of method manipulating the data (D) All of these
(8) With which of the following options polymorphism cannot be achieved ?
(A) Method overloading (B) Operator overloading (C) Data hiding (D) All of these
(9) An aggregation model refers to which of the following relationships ?
(A) ‘is –a’ relationship (B) ‘is – like’ relationship
(C) ‘a – part – of’ relationship (D) All of these (* has-a relationship)
(10) An inheritance model refers to which of the following relationships ?
(A) ‘is –a’ relationship (B) ‘is – like’ relationship
(C) ‘a – part – of’ relationship (D) All of these
(11) In class diagram, composition is represented using which of the following symbols ?
(A) Empty diamond symbol (B) Filled diamond symbol
(C) Empty triangle symbol (D) All of these
(12) Which of the following is a way of programming ?
(A) Structure / Procedural programming (B) Object oriented programming
(C) Both (A) and (B) (D) None of these
(13) How many specific properties must be supported by an object oriented computer
language ?
(A) 2 (B) 3 (C) 4 (D) 5
(14) In Object oriented concept, the behaviour is known as which of the following ?
(A) Attribute (B) State (C) Method (D) All of these
(15) In Object oriented programming, which of the following attribute describes the object ?
(A) method (B) behaviour (C) state (D) data field
(16) What is the full form of UML ?
(A) Unified Modern Language (B) Unified Model Language
(C) Unified Modelling Language (D) Unified Modern Language
(17) In class diagram, which of the following icon is not used to represent a class ?
(A) name (B) value (C) attribute (D) behaviour
(18) In UML rotation, using which of the following syntax an attribute is declared ?
(A) [ ( visibility ) ] <attribute name> [: <attribute datatype> [= <initial value> ] ]
(B) [ <visibility> ] <attribute name> [: <attribute datatype> [= <initial value> ] ]
(C) [ {visibility} ] <attribute name> [: <attribute datatype> [= <initial value> ] ]
(D) [ visibility ] <attribute name> [: <attribute datatype> [= <initial value> ] ]
(19) In Object-oriented concept, which symbol is used to represent aggregation ?
(A) Empty diamond (B) Filled diamond (C) Rectangle (D) Square
(20) Which of the following enables to represent data in which the implementation details are hidden ?
(A) Encapsulation (B) Abstraction (C) Both (A) and (B) (D) Inheritance
(21) What is known as a feature in object oriented programming allows defining more than one method
having same name but different signature in single class ?
(A) Function or Method overloading (B) Messaging

G:\Mithu\Chap_6.docx     1 
(C) Encapsulation (D) Polymorphism
(22) Polymorphism is achieved using how many types of overloading ?
(A) 2 (B) 3 (C) 4 (D) 5
(23) Aggregation represents which type of relationship between two classes ?
(A) Non exclusive (B) Exclusive (C) is-a-kind-of (D) None of these
(24) The class that is contained in owner class is known as ?
(A) Subject class (B) Part class (C) Aggregated class (D) All of these
(25) In Object-oriented terminology, which of the following statement is true for class ?
(i) New class is called sub class or child class or derived class.
(ii) Existing class is called super class or parent class or base class.
(A) Only (i) (B) Only (ii) (C) Both (i) and (ii) (D) None of these
(26) Which of the following is not a visibility symbol ?
(A) ~ (B) # (C) * (D) +
(27) Which of the following is not visibility sign in class diagram ?
(A) ~ (B) * (C) # (D) –
(28) Which of the following is the part of object oriented class diagram ?
(A) Data Encapsulation (B) Data Abstraction (C) Polymorphism (D) All of these
(29) In Object oriented methodology, the focus is on which of the following entity ?
(A) Data (B) Functions (C) Object (D) All of these
(30) An inheritance model refers to which of the following relationships ?
(A) is-a relationship (B) has-a relationship (C) a-part-of relationship (D) All of these
(31) What enables to represent and protect data in which the implementation details are hidden ?
(A) Data Encapsulation (B) Data Abstraction (C) Both (A) and (B) (D) Polymorphism
(32) What is called new class in object oriented terminology ?
(A) Sub class (B) Child class (C) Derived class (D) All of these
(33) What can be used to create models of object oriented software to help with design of an
application ?
(A) Unified Modelling Language (B) Unified Modelling Linux
(C) Unified Manufacturing Linux (D) Unified Manufacturing Language
(34) What object oriented program, attribute that describe the object are known ?
(A) Behaviour (B) Method (C) Data field (D) State
(35) Which of the following programming language does not support object-oriented programming ?
(A) asp.net (B) Java (C) PHP (D) C
(36) The way of programming can be divided into how many categories ?
(A) 2 (B) 3 (C) 4 (D) 5
(37) Which of the following is used to define common feature of similar objects ?
(A) Class (B) Method (C) Object (D) Messaging
(38) In Class diagram, a class is represented using which of the following ?
(A) name (B) behavior (C) attributes (D) All of these
(39) In UML, visibility can be represented using which of the following symbols ?
(A) +, /, ~, * (B) –, #, +, _ (C) –, #, *, $ (D) _, #, +, –
(40) In Object oriented programming, which of the following property keeps the data safe from
unintended actions and inadvertent access by outside objects ?
(A) Messaging (B) Polymorphism (C) Encapsulation (D) Data abstraction
(41) In Object oriented programming, which of the following property enables to represent data in
which the implementation details are hidden ?
(A) Composition (B) Aggregation (C) Abstraction (D) Messaging
(42) Which feature of object oriented programming allows defining more than one method having same
name but different signature in single class ?
(A) Messaging (B) Method overloading
(C) Aggregation (D) Encapsulation
(43) Polymorphism is achieved using how many types of overloading ?
(A) 6 (B) 3 (C) 4 (D) 2
(44) When objects of one class are composed of objects of other class is called what ?
(A) Aggregation (B) Encapsulation (C) Inheritance (D) Polymorphism

G:\Mithu\Chap_6.docx     2 
(45) Aggregation represents which type of relationship between two classes ?
(A) exclusive (B) non-exclusive (C) same (D) None of these
(46) What is known as the class that is contained in owner class ?
(A) Subject class (B) Part class (C) Aggregated class (D) All of these
(47) In Object oriented terminology, sub class or child class or derived class indicated what for
inheritance ?
(A) Base class (B) Existing class (C) Super class (D) New class
(48) In class diagram, which of the following symbol is used to represent inheritance ?
(A) Empty diamond symbol (B) Filled diamond symbol (C) Arrow symbol (D) Empty triangle symbol
(49) In inheritance, which type of relationship exists between super class and sub class ?
(A) a kind of (B) exclusive (C) is-like (D) non-exclusive
(50) When did object-oriented programming start ?
(A) 1950 (B) 1960 (C) 1970 (D) 1980
(51) From the following what is best suited for Java ?
(A) Procedural programming language (B) Query language
(C) Object oriented programming language (D) Structured oriented language
(52) From the following what is a template for multiple objects with similar features ?
(A) Attribute (B) Behaviour (C) Class (D) Method
(53) Unified Modelling Language (UML) defined and maintained by whom ?
(A) IMG (B) PMG (C) OMG (D) CMG
(54) Which of the following is enabled by data abstraction ?
(A) Data protection (B) Data hiding (C) To hide implementation details of method (D) All of these
(55) In object oriented programming, data and methods that manipulate data are guarded against
modification or misuse by other components of program are known as what ?
(A) Abstraction (B) Encapsulation (C) Messaging (D) Polymorphism
(56) In class diagram, Aggregation is represented using which of the following symbols ?
(A) Empty diamond symbol (B) Filled diamond symbol (C) Empty triangle symbol (D) All of these
(57) In object oriented terminology, existing class is also known as which class in inheritance ?
(A) Super class (B) Parent class (C) Sub class (D) (A) or (B)
(58) In which year, object oriented programming concepts started originating ?
(A) 1960 (B) 1970 (C) 1980 (D) 1990
(59) The way of programming is divided into how many categories ?
(A) 2 (B) 3 (C) 4 (D) 5
(60) A computer language is object oriented, if they support which of the following object properties ?
(A) Abstract, Extract, Concept, Inheritance
(B) Abstraction, Encapsulations, Polymorphism, Inheritance
(C) Abstraction, Extract, Polymorphism, Inheritance
(D) Abstraction, Capsulation, Polymorphism, Heritance
(61) Which of the following presents a collection of classes, constraints and relationship among classes?
(A) Object diagram (B) Group diagram (C) Model diagram (D) Class diagram
(62) In UML notation, visibility can be private, protected, public and package, where protected
is represented using which symbol ?
(A) + (B) – (C) # (D) ~
(63) Which of the following members of the class are not available directly to outside world ?
(A) Public (B) Private
(C) Protected (D) Package
(64) Which of the following is the mechanism of providing protection to data and methods of a
program?
(A) Abstraction (B) Messaging (C) Encapsulation (D) Polymorphism
(65) Which of the following is a concept that hides the complexity, it says what it does, but not how it is
done ?
(A) Abstraction (B) Messaging (C) Polymorphism (D) Encapsulation
(66) Which of the following feature of object oriented programming allows defining more than one
method having same name but different signature in a single class ?
(A) Method underloading (B) Method overloading (C) Method uploading (D) Method downloading

G:\Mithu\Chap_6.docx     3 
(67) Which of the following represents non-exclusive relationship between two classes ?
(A) Aggregation (B) Composition (C) Encapsulation (D) Messaging
(68) Aggregation represents which type of relationship between classes ?
(A) is-a (B) is-a-kind-of (C) have-a (D) has-a
(69) In Object oriented terminology new class is called sub class or child class or derived class, whereas
the existing class is called as what ?
(A) User class (B) Top class (C) Upper class (D) Super class
(70) Which of the following refers to the capability of defining a new class of objects that inherits the
characteristics of another existing class ?
(A) Encapsulation (B) Inheritance (C) Messaging (D) Abstract
(71) What is the full form of ADT ?
(A) Absolute Data Type (B) Above Data Types (C) Abstract Data Types (D) Abstract Data Transfer
(72) Which of the following power of programming language who enables the programmer to create
modular, reusable and extendable code ?
(A) Procedure language programming (B) Object oriented programming
(C) Object open programming (D) Procedure programming
(73) Java programming language uses which type of methodology to analysis, design and
implementation of software ?
(A) Structure/Procedural programming language (B) Object oriented programming language
(C) Both (A) and (B) (D) System oriented programming language
(74) A computer language is object oriented if it supports which type of object properties ?
(A) Abstraction, Inheritance (B) Polymorphism, Encapsulation (C) Both (A) and (B) (D) None of these
(75) Unified Modeling Language is defined by whom ?
(A) IMG (B) PMG (C) OMG (D) CMG
(76) What is to be represented on the top section of class diagram, which is a representation of class ?
(A) Name of the class (B) Attributes or properties of class
(C) Behaviour or operations or methods of class (D) All of these
(77) Which of the following is enabled by data abstraction ?
(A) Data protection (B) Data hiding
(C) To hide implementation details of method manipulating the data. (D) All of these
(78) What is the mechanism of providing protection to data and methods of a program in object
oriented programming language ?
(A) Data Abstraction (B) Encapsulation (C) Messaging (D) Both (A) and (B)
(79) Inheritance is generally referred as which type of relationship between two classes ?
(A) Partial relationship (B) Full relationship (C) Exclusive relationship (D) is-a kind of relationship
(80) In object oriented terminology, the existing class is known as what ?
(A) Super class (B) Parent class (C) Sub class (D) Both (A) and (B)
(81) Which of the following statement is true for object oriented programming language ?
(i) It uses object as its fundamental building block.
(ii) Similar objects are classified using a concept of class.
(iii) Abstraction, Encapsulation, Polymorphism and Inheritance is its basic properties.
(A) Only (i) and (ii) (B) Only (ii) and (iii)
(C) Only (i) and (iii) (D) (i), (ii) and (iii)
(82) Which of the following best suits to Java ?
(A) Procedural programming language (B) Object-oriented programming language
(C) Query language (D) Editor
(83) Which of the following is not a section of the icon that is used to represent a class in class
diagram?
(A) Name (B) Attribute (C) Behavior (D) Data Type
(84) In a class diagram, which symbol is used for public visibility ?
(A) – (B) # (C) + (D) ~
(85) Which of the following refers to representation of data in which the implementation details are
hidden ?
(A) Encapsulation (B) Abstraction (C) Polymorphism (D) Composition
(86) Polymorphism is achieved using how many types of overloading ?

G:\Mithu\Chap_6.docx     4 
(A) Two (B) Three (C) One (D) Four
(87) Which of the following represents non-exclusive relationship between two classes ?
(A) Aggregation (B) Composition (C) Inheritance (D) Polymorphism
(88) In Inheritance, what is called an existing class ?
(A) Sub class (B) Super class (C) Child class (D) Derived class
(89) In which way of programming, the focus is on writing functions or procedures which operate on
data ?
(A) Object oriented programming (B) Procedural programming
(C) Query language (D) All of these
(90) In object oriented programming, attributes that describe the object are known as what ?
(A) Object (B) Data Field (C) Method (D) Behaviour
(91) What is the middle section of class diagram ?
(A) Method of class (B) Attribute or properties of the class
(C) Behaviour or operation of class (D) Name of the class
(92) Which sign is used for ‘Package’ visibility ?
(A) ~ (B) + (C) # (D) –
(93) In which feature, object oriented programming allows defining more than one method having same
name but different signature in class ?
(A) Aggregation (B) Data abstraction (C) Function or Method overloading (D) Encapsulation
(94) Inheritance is generally referred to which kind of relationship between two classes ?
(A)not is – a relationship (B)‘a – part – of’ relationship (C)‘is – like’ relationship (D)‘is – a’ relationship
(95) Composition model refers to which of the following relationship ?
(A) Non exclusive (B) Exclusive
(C) ‘a-kind-of’ relationship (D) None of these
(96) From the following which mechanism providing protection to data and methods of a program ?
(A) Aggregation (B) Composition (C) Polymorphism (D) Encapsulation

*****

G:\Mithu\Chap_6.docx     5 
7. Java Basics
(1) How many basic (primitive) data types are supported in Java ?
(A) 2 (B) 4 (C) 8 (D) 16
(2) What is the default data type of floating point literal ?
(A) int (B) long (C) float (D) double
(3) Which character set is used for char data type in Java ?
(A) Unicode (B) ASCII (C) EBCIDIC (D) All of these
(4) Which of the following is compiled error free ?
(A) for (;;) {int i=7} (B) while (1) {int i=7} (C) while (True) {int i = 7} (D) All of these
(5) Which of the following is not allowed as first character in valid variable name ?
(A) Underscore (_) (B) Digit (C) Letter (D) Dollar ($)
(6) Which of the following is not a basic data type in Java ?
(A) char (B) long (C) byte (D) string
(7) What is the default value of boolean type data ?
(A) null (B) true (C) false (D) 0
(8) What will be the result of arithmetic expression 7/2 ?
(A) 3 (B) 3.5 (C) 1 (D) 0
(9) What will be the result of arithmetic expression –7%2 ?
(A) –3 (B) –1 (C) 1 (D) –3.5
(10) What will be the result of arithmetic expression –7.5%2 ?
(A) –3 (B) –1.5 (C) 1.5 (D) Error
(11) What sign is used for creating API documentation form the code ?
(A) // (B) /* ..... */ (C) /** ..... */ (D) \\
(12) In Java, which of the following looping is exist controlled ?
(A) for (B) while (C) do.....while (D) if.....then.....else
(13) In Java, which of the following is not allowed as first character in valid variable name ?
(A) _ (Underscore) (B) Digit (C) Letter (D) $ (Dollar)
(14) What is known as when program written in Java are compiled in to machine language for
a computer ?
(A) Java Visible Machine (B) Java Virtual Machine (C) Java View Modifier (D) Java Visible
Modifier
(15) What is known as post decrement in Java when operator is used after variable name ?
(A) ++ (B) – – (C) == (D) =<
(16) By using which extension file java interpreter byte code executes ?
(A) .java (B) .class (C) .txt (D) .html
(17) In Java, which statement is used when there are many alternative actions to be taken
depending upon the value of a variable or expression ?
(A) Switch (B) Nested if (C) Contro l (D) Repeat
(18) What kind of the primitive data types are provided in Java from the following ?
(A) Boolean (B) double (C) char (D) All of these
(19) What is the value of float data type in Java ?

(A) Integer (B) Real (C) Character (D) Boolean


(20) In Java what will be the result of arithmetic expression –7.5%2 ?
(A) –3 (B) –1.5 (C) 1.5 (D) Error
(21) Java language is developed by which company ?
(A) Sun Microsystem (B) Sun Java System (C) Sun system (D) Sun Microsoft
(22) The machine language for the Java Virtual Machine is called what ?
(A) Code Byte (B) Type code (C) Java Bytecode (D) Java code
(23) While creating Java what must be the same ?
(A) folder name, file name (B) class name, extension
(C) class name, folder name (D) class name, file name
(24) When the program gets compiled without error, compiler creates a file with which
extension ?
(A) .comp (B) .txt (C) .java (D) .class

G:\Mithu\Chap_7.docx     1 
(25) The process of compiling and executing a Java application is as follows. What is missing
from given chart ?
Java source file (.java) Java compiler (javac) ? JVM – Java Interpreter (java)
(A) Java class (*.exe) (B) Java textcode (*.txt) (C) Java Bytecode (*.class) (D) Java typecode
(*.obj)
(26) Which of the following is right way to define variable ?
(A) $age (B) discount rate (C) 4youpeople (D) %discount
(27) String literals is a sequence of characters enclosed in which quotes ?
(A) ‘ ’ (B) “ ” (C) ( ) (D) { }
(28) Which of the two symbols are used in the conditional operator in Java ?
(A) : and * (B) # and ? (C) ? and : (D) / and ?
(29) While using shorthand version of assignment, if it is defined as a+ =b, where a is 7 and b is
8, then what will result of a ?
(A) 8 (B) 49 (C) 14 (D) 15
(30) When two operators are having different priority, then an operator with higher
precedence is operated .....
(A) first (B) last (C) second (D) middle
(31) What will be output of following program ?
class abc
{
public static void main (string [] S)
{
for (int i=0; i<10; i++)
{
SYSTEM.out.println(i);
}
}
}
(A) Error (B) i (C) Display 1 to 10 (D) 1, 2, 3, ..... 10
(32) Control structure branches are used to choose among two or more possible courses of
action, is called as what ?
(A) More structure (B) Loop structure (C) Addition structure (D) Selective structure
(33) Switch statement can be stopped using which statement ?
(A) break (B) run (C) loop (D) error
(34) do..... while loop is which type of loop ?
(A) Loop controlled (B) Break controlled (C) Exit controlled (D) Entry controlled
(35) To use a labeled loop, which symbol is added before the loop ?
(A) * (B) $ (C) : (D) #
(36) In Java, the text written in /* ..... */ is considered as what ?
(A) Method (B) Comment (C) Function (D) Variable
(37) User can create Java source file by using ..... application.
(A) SciTE editor (B) ASCII text editor (C) Both (A) and (B) (D) None of these
(38) The definition of the method (function) in Java consists of function header and the
sequence of statement enclosed in which bracket ?
(A) { } (B) < > (C) ( ) (D) [ ]
(39) Java supports how many primitive data types ?
(A) 3 (B) 8 (C) 4 (D) 7
(40) Which of the following data type is used for real numbers ?
(A) short (B) char (C) long (D) double
(41) From the following which is considered as one of the ideal language for distributing
executable program and also general purpose programming language for developing
programs that are easily usable and portable across different platforms ?
(A) C language (B) Java (C) Visual Basic (D) JavaScript
(42) Which extension is used to source file of Java language, written in a text editor ?
(A) .class (B) .html (C) .jpg (D) .java

G:\Mithu\Chap_7.docx     2 
(43) From the following which methods are used to display results ?
(A) System.out.print() (B) System.out.println() (C) Both (A) and (B) (D) System.print.display()
(44) In Java, the program is compiled without any error, which command is used to execute it?
(A) Tools Go (B) Tools Run (C) Tools Build (D) Tools Compile
(45) How many primitive data types are there in Java ?
(A) 5 (B) 6 (C) 7 (D) 8
(46) From the following which are the examples of reserved words in Java ?
(A) class (B) public (C) static (D) All of these
(47) A name used for a constant value is known as what in Java ?
(A) String (B) Array (C) Literal (D) Class
(48) Which sign is used to insert single line comment in Java ?
(A) /* and */ (B) /** and */ (C) // (D) #
(49) From the following which is not logical operator in Java ?
(A) AND (B) OR (C) NOT (D) Equal to
(50) From the following which is true syntax of conditional operator ?
(A) <exp>=<exp1>=<exp2> (B) <exp>?<exp1>:<exp2>
(C) <exp>;<exp1>?<exp2> (D) <exp>=<exp1>:<exp2>
Std. 12 (Science) | March – 2016
(51) In Java, at which level platform – independence is possible due to bytecode interpreter ?
(A) Browser (B) Source (C) Machine (D) Binary
(52) In Java, the machine language for Java Virtual Machine is known as which code ?
(A) Java filecode (B) Java bytecode (C) Java intcode (D) Java sourcecode
(53) To compile the java program we have to type what in front of source file name ?
(A) javac filename.java (B) javac filename
(C) javac filename.html (D) javac filename.java
(54) If Java program is compiled without any error we can execute it in SciTE editor by which
menu - option ?
(A) Compile Run Go (B) Edit Go (C) Tools Go (D) File Go
(55) Java supports how many primitive data types ?
(A) 2 (B) 4 (C) 6 (D) 8
(56) What is the storage space for datatype float in Java ?
(A) 1 byte (B) 2 byte (C) 4 byte (D) 8 byte
(57) Real numbers in Java are compliant with which of the following ?
(A) IEE 36 (B) IEE 16 (C) IEEE 780 (D) IEEE 754
(58) In Java, variable name should begin with which of the following ?
(A) Alphabet (B) Underscore (_) (C) Dollar sign ($) (D) All of these
(59) In Java, a name used for constant value is known as what ?
(A) String return (B) Literal (C) Unicode Quote (D) ASCII
(60) Java 7 also supports binary numbers, using digits 0 and 1 but it should be prefix by which
of the following ?
(A) 0b or 0B (B) B (C) B1 (D) B0
(61) In Java, for type boolean there are precisely two literals, which are they ?
(A) Y and N (B) 0 and 1 (C) True and False (D) Yes and No
(62) In Java, characters are stored by how many bit Unicode characters ?
(A) 4 - bit (B) 8 - bit (C) 16 - bit (D) 32 - bit
(63) String literals in Java is a sequence of characters which can be enclosed in which of the
following ?
(A) $ ..... $ (B) “ ” (C) ` ` (D) ‘ ’
(64) In Java, documentation comments begins and ends with which of the following ?
(A) /** ..... */ (B) /* ..... */ (C) /* ..... / (D) //
(65) Arithmetic operators in Java, can be applied on which numeric data ?
(A) short (B) float (C) byte (D) All of these
(66) In Java, which of the following is known as unary operators for increment and decrement
operators ?
(A) >== and <= (B) + and – (C) == and != (D) + + and - -

G:\Mithu\Chap_7.docx     3 
(67) Which of the following is considered as comparison operator in Java ?
(A) = (B) / (C) % (D) !=
(68) In Java, logical operators are also called which of the following operators if they operate
on Boolean operands ?
(A) Assignment operator (B) Boolean operator
(C) Increment operator (D) Relational operator
(69) In Java, conditional uses which two symbols in expression to delimit three operands ?
(A) ? and * (B) . and : (C) ? and : (D) : and ;
(70) In Java, a block statement is a group of statements enclosed between which pair of braces ?
(A) [/ ..... /] (B) { } (C) ( ) (D) [ ]
(71) Java language was developed by whom ?
(A) Sun Microsystems (B) Oracle (C) Netscape (D) Microsoft
(72) When Java program created Java source file using text editor, which file extension should
be given ?
(A) .class (B) .html (C) .obj (D) .java
(73) What is the full form of JVM ?
(A) Java Visibility Machine (B) Java Visual Machine
(C) Java Virtual Machine (D) Java Vocal Machine
(74) Which menu – option is used to compile source program in SciTE ?
(A) Edit Compile (B) Format Compile (C) Tools Compile (D) File Compile
(75) What is he default value of Boolean data type of Java ?
(A) False (B) True (C) 0 (D) 1
(76) From the following which is the illegal name of variable in Java ?
(A) 4me (B) result (C) amount$ (D) prise$
(77) The name used for a constant value is known as what in Java ?
(A) String (B) Array (C) Literal (D) Class
(78) Which sign indicates single line comment in Java ?
(A) /* ..... */ (B) /** ..... */ (C) // (D) #
(79) From the following which is not a comparison operator in Java ?
(A) > (B) < (C) >= (D) +
(80) Which operator can be used to concatenate a string in Java ?
(A) = (B) + (C) & (D) *
(81) Most of the Java syntax is very similar to which language ?
(A) Fortran (B) SQL (C) C (D) FoxPro
(82) At which level platform – independence is possible due to bytecode interpreter ?
(A) Bottom level (B) Binary level (C) Source level (D) High level
(83) The alphabet D in JDK stands for which of the following ?
(A) Department (B) Development (C) Design (D) Desktop
(84) Which of the following company is best known for its high-end Unix workstations ?
(A) Sun Microsoft (B) Sun Microchip (C) Sun Microsystems (D) Sun Microsource
(85) Programs written in Java are compiled into machine language for a computer that doesn’t
really exists. This type of computer is known as what ?
(A) Java Virtual Model (B) Java Verifier Machine (C) Java Vertical Machine (D) Java Virtual Machine
(86) The only disadvantage of using bytecode is which of the following ?
(A) High execution speed (B) Fast execution speed
(C) Slow execution speed (D) Random execution speed
(87) In Java, Java source files name and class they define name should be what ?
(A) Totally different (B) Same (C) Different (D) Vice Versa
(88) What is the extension of Java Source file?
(A) .j (B) .java (C) .class (D) .jav
(89) Which of the following way user can run “abc.java” source program through the
application using Java interpreter ?
(A) java ABC (B) java abc.obj (C) java abc.class (D) java abc
(90) In Java, the text written in which of the following are comments ?
(A) \* ..... *\ (B) /* ..... */ (C) /* ..... *\ (D) \* ..... */

G:\Mithu\Chap_7.docx     4 
(91) Which of the following editor is used to create Java source program in Ubuntu ?
(A) Jedit (B) Notebook (C) WordPad (D) SciTE
(92) Java consists of function header and the sequence of statements enclosed between which
braces ?
(A) < > (B) [ ] (C) { } (D) ( )
(93) Java supports how many primitive data type ?
(A) 6 (B) 7 (C) 8 (D) 9
(94) Which of the following data type hold real numbers ?
(A) long (B) double (C) char (D) byte
(95) A name used to refer to the data stored in memory is called what ?
(A) Value (B) Object (C) Variable (D) Function
(96) Which of the following is illegal way to define variable name in Java ?
(A) $Price (B) %Sale (C) B4U (D) Amount$
(97) Which of the following is not a reserved word in Java ?
(A) class (B) else (C) static (D) rate
(98) Control structures in Java is divided in two types : Loops and what ?
(A) Message (B) Function (C) Branches (D) Alerts
(99) In Java, which statement is used to exit from the loop structure ?
(A) Stop (B) Exit (C) Out (D) Break
(100) Which of the following is exit – controlled loop in Java ?
(A) for (B) do ..... while (C) while (D) loop
(101) When the program gets compiled without errors, compiler created which type of file
extension in Java ?
(A) .class (B) .java (C) .c++ (D) .c
(102) From the following which is not compiled or interpreted in Java ?
(A) if statement (B) Function (C) Comment (D) Varibale
(103) Which command is used if the program is compiled without any error ?
(A) Tools Execute (B) Edit Go (C) Tools Go (D) Tools Compile
(104) In Java, boolean data type hold which logical values ?
(A) Y, N (B) 0, 1 (C) True, False (D) Yes, No
(105) From the following which legal name of variable ?
(A) birth date (B) birth_date (C) %discount (D) 4balance
(106) Which numeric digits are used for Hexadecimal numbers (16 digits) in integer literals in
Java ?
(A) 0 to 8 and A to F (B) 0 to 9 and A to F (C) 0 to 15 (D) 0 to 16
(107) What is the symbol for multi-line comment in Java program ?
(A) /* and */ (B) //* and *// (C) * and * (D) //
(108) In Java, what will be the result of arithmetic expression 8 % 3 ?
(A) 8 (B) 3 (C) 4 (D) 2
(109) Which sign is used for “A not equal to B” in comparison operator of Java ?
(A) A ≠ B (B) A != B (C) A not equal B (D) A == B
(110) Which of the following statement is true for Java Language ?
(i) Java language was developed by Sun Microsystem.
(ii) Java is an object-oriented language.
(iii) Java is not platform-independent at both the source and binary level.
(A) Only (i) and (ii) (B) Only (ii) and (iii) (C) Only (i) and (iii) (D) (i), (ii) and (iii)
(111) In Java, float data type takes how many bytes of storage space ?
(A) 2 bytes (B) 4 bytes (C) 8 bytes (D) 16 bytes
(112) In Java, variable name must begin with which of the following ?
(A) % (B) Digits (C) Space (D) Alphabet
(113) Which of the following statement is right for boolean literals in Java ?
(i) 0 is treated as false and 1 is treated as true.
(ii) Literals are to be typed without quotes.
(iii) For the boolean type, there are two literals : true and false
(A) Only (i) and (ii) (B) and (ii) and (iii) (C) Only (i) and (iii) (D) (i), (ii) and (iii)

G:\Mithu\Chap_7.docx     5 
(114) Which of the following is not a basic arithmetic operator of Java ?
(A) + (B) – (C) * (D) \
(115) Which of the following is not a comparison operator in Java ?
(A) <= (B) >= (C) = (D) !=
(116) How many types of control structures are there in Java ?
(A) One (B) Two (C) Three (D) Four
(117) In the switch statement of Java, the test expression should be of which of the following
type ?
(A) float (B) double (C) byte (D) boolean
(118) In Java, which of the following loop is a exit-controlled or post-test loop construct ?
(A) for loop (B) while loop (C) do ... while loop (D) switch
(119) After execution of which statement in the loop of Java, all the following statements in a
body of the loop are skipped and no further iteration take place ?
(A) continue (B) go (C) break (D) loop

*****

G:\Mithu\Chap_7.docx     6 
8. Classes and Objects in Java
(1) Which of the following defines attributes and methods ?
(A) Class (B) Object (C) Instance (D) Variable
(2) Which of the following keyword is used to declare Class variables and class methods ?
(A) static (B) private (C) public (D) package
(3) Which of the following operator creates an object and returns its reference ?
(A) dot (.) (B) new (C) colon (:) (D) assignment (=)
(4) Which of the following method can be called without creating an instance of a class ?
(A) Instance method (B) Class method (C) Constructor method (D) All of these
(5) Which of the following refers more than one method having same name but different parameters ?
(A) Overloaded methods (B) Overridden methods (C) Duplicate methods (D) All of these
(6) Which method is invoked automatically with creation of an object ?
(A) Instance method (B) Constructor (C) Class method (D) All of these
(7) Which of the following is the keyword used to refer a superclass constructor in subclass constructor?
(A) extends (B) super (C) name of the superclass (D) new
(8) Which of the following is used to invoke an instance method in Java ?
(A) The name of the object, colon (:) and the name of the method
(B) The name of the object, dot (.) and the name of the method
(C) The name of the class, colon (:) and the name of the method
(D) The name of the class, dot (.) and the name of the method
(9) Which of the following is accessible by instance methods ?
(A) Only instance variables (B) Only class variables (C) Both (A) and (B) (D) None of these
(10) When methods in the superclass and subclass have same name and signature, what are they
called?
(A) Overloaded methods (B) Overridden methods (C) Inherited methods (D) All of these
(11) Which method of Java class is used if we want to allow other methods to modify the data value ?
(A) Set or Setter (B) Get or Getter (C) Both (A) and (B) (D) None of these
(12) In Java class, from the followings, which key word is used to call the constructor of super class in
the constructor of sub class ?
(A) Extends (B) Super (C) Name of the super class (D) New
(13) In Java which method is invoked automatically with creation of an object ?
(A) Instance method (B) Constructor (C) Class method (D) All of these
(14) How does the Constructor differ from general method in Java ?
(A) It must have the same name as class. (B) It does not have return type.
(C) It can’t be invoked explicitly in the program. (D) All of these
(15) How many levels of visibility are used to protect a method or variable from such reference in Java ?
(A) 1 (B) 2 (C) 3 (D) 4
(16) From which of the following operators can we access instance variables and instance methods ?
(A) , (Comma) (B) . (Full stop) (C) : (Colon) (D) ; (Semi colon)
(17) In Java class, in which step a ‘new’ keyword is used to create the object by allocating memory ?
(A) Declaration (B) Instantiation (C) Initialization (D) All of these
(18) In Java, by which component is the class generally made up of ?
(A) Attributes (B) Behaviour (C) Both (A) and (B) (D) Variable
(19) How do you identify the variable which is define with in a class, out-side any method with the static
key word in Java ?
(A) Local variables (B) Instance variables (C) Class variables (D) Block variables
(20) In Java, which of the following defines attributes and methods ?
(A) Class (B) Object (C) Instance (D) Variable
(21) Java class is generally made up of which components ?
(A) behaviour, variable (B) attributes, behaviour (C) name, attributes (D) name, variable
(22) A variable declared using class type can store what to an object ?
(A) relation (B) root (C) rate (D) reference
(23) In Object-oriented programming languages, creating an object is also called as what ?

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_8.docx     1 
(A) Object instantiation (B) Oriented installation (C) Installation (D) Project installation
(24) Whenever two classes have a ‘is-a’ relationship, what is used ?
(A) Instant (B) Relations (C) Inheritance (D) Invalue
(25) Which class inherits all instance variables and methods from super class and it may have its own
added variables and methods ?
(A) Out class (B) Super class (C) In class (D) Sub class
(26) Which keyword is used to call the constructor of super class in the constructor of sub class ?
(A) super (B) void (C) sub (D) class
(27) A sub class can be derived from which class ?
(A) over class (B) super class (C) main class (D) own class
(28) Instance variables and instance methods are accessed via objects. They can be referred by using
which operator ?
(A) // (B) dot (.) (C) $ (D) #
(29) Which type of variables are defined within a class but outside any method ?
(A) Class variable (B) Empty variable (C) Local variable (D) Instance variable
(30) In Java, we can have different methods that have the same name but a different signature is also
called as what ?
(A) Method overloading (B) Variable overloading (C) Class overloading (D) Signature overloading
(31) To provide an user defined no-argument constructors, which of the following command is used ?
(A) school (float I, float j); (B) school (int i); (C) school ( ) { }; (D) school { } ( );
(32) Who established a “has – a” relationship between class ?
(A) Composition and Aggregation (B) Method and Object
(C) Relation and Method (D) Inheritance and Aggregation
(33) Java have a ..... that looks for unused objects and reclaims the memory that those objects are
using.
(A) reclaim collector (B) unused collector (C) memory collector (D) garbage collector
(34) The word polymorphism means what ?
(A) Many forms (B) Virtual forms (C) One form (D) User forms
(35) Which of the following is syntax of package ?
(A) package {Name} (B) package (Name);
(C) package <Package Name>; (D) package [Variable name];
(36) Which of the following is special kind of method that is invoked when a new object is created ?
(A) Common class (B) Super class (C) Composition (D) Constructors
(37) Which are the for P’s used in the four levels of visibility to provide necessary protection ?
(A) Process, Private, Protected, Public (B) Public, Package, Protected, Private
(C) Public, Package, Protected, Process (D) Private, Package, Protected, Public
(38) Highest level of protection can be achieved by using which protection level ?
(A) Private (B) Public (C) Protected (D) Package
(39) If we wan to follow other methods to read only the data value ..... method can be used.
(A) setter (B) updater (C) reader (D) getter
(40) Who allows us to build new class with added capabilities by extending existing class ?
(A) Inheritage (B) Instant (C) Inheritance (D) Instance
(41) In Java, a class is defined using which keyword ?
(A) class (B) public (C) static (D) main
(42) Which steps are followed to create an object from a class ?
(A) Declaration (B) Instantiation (C) Initialization (D) All of these
(43) In Object oriented programming (OOP) languages what is known for creating an object ?
(A) Object Instantiation (B) Object creation (C) Object Making (D) None of these
(44) Variables defined inside methods or blocks are known as which type of variable ?
(A) Local variables (B) Instance variables (C) Class variables (D) Block variables
(45) Which word means “many forms”, different forms of methods with same name in Java ?
(A) Inheritance (B) Polymorphism (C) Aggregation (D) Composition

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_8.docx     2 
(46) In Java, from the following which visibility modifiers are used to protect a method or variable from
another class ?
(A) Public (B) Package (C) Protected and Private (D) All of these
(47) In Java class, which operator is used to access instance variable and instance method via object ?
(A) : (colon) (B) ; (semicolon) (C) . (dot) (D) , (comma)
(48) If we want to allow data to be used by others we write which type of method in Java ?
(A) getter (B) setter (C) main (D) void
(49) In Java, which type of visibility modifier level of protection is used to allow the access only to sub
classes or to share with the methods declared as “friend” ?
(A) Public (B) Package (C) Protected (D) Private
(50) Highest level of protection can be achieved by using which visibility modifiers protection level in
Java ?
(A) Public (B) Package (C) Protected (D) Private
(51) In Java, which of the following consist of attributes and methods ?
(A) Instance (B) Variables (C) Object (D) Class
(52) Which keyword is used to create the object which allocates memory in Java ?
(A) new (B) add (C) int (D) create
(53) In Java, what is called to initialize the newly created object ?
(A) Classes (B) Reference variable (C) Syntax variable (D) Constructor
(54) All instances of class allocated memory in data structure in Java and it is known as which of the
following ?
(A) Directory (B) File (C) Heap (D) Buffer
(55) Instance variables and instance methods in Java are accessed via objects and they can be referred
by using which operator ?
(A) Arithmetic operator (+) (B) Dot operator (.)
(C) Assignment operator (=) (D) Colon operator (:)
(56) Values of class variables are stored where in Java ?
(A) Class (B) File (C) Instance (D) Dir
(57) In Java, variables defined inside methods or blocks are called which variables ?
(A) Global variable (B) Instance variable (C) Class variable (D) Local variable
(58) In Java, different forms of methods with same name is known as which of the following ?
(A) Composition (B) Polymorphism (C) Mutator (D) Inheritance
(59) Which access modifiers can be used before the type of variable or method in Java ?
(A) Public (B) Protected (C) Private (D) All of these
(60) By using which access modifier, allows access only to subclass or to share with the methods
declared as “friend” in Java ?
(A) Package (B) Protected (C) Private (D) Public
(61) In Java, if we want protected data to be modified by others then which methods are to be written ?
(A) Accessor (B) Getter (C) Mutator (D) Both (A) and (B)
(62) In Java, if we want to allow other methods to read only data value, if our program we should use
which method ?
(A) Setter (B) Getter (C) Mutator (D) Both (A) and (B)
(63) In Java, which of the following allows us to build new class with added capabilities by extending
existing class ?
(A) Aggregation (B) Polymorphism (C) Composition (D) Inheritance
(64) Inheritance model consist of which type of relationship between two classes in Java ?
(A) is – a (B) has – a (C) have – a (D) was – a
(65) In Java, a sub class inherits all instance variables and methods from which class ?
(A) Derived class (B) Instance class (C) Super class (D) Child class
(66) Composition and Aggregation establish which type of relationship between classes in Java ?
(A) has - a (B) is – a (C) was – a (D) as – a
(67) In Java, ‘Visibility Modifiers’ – ‘Protected’ members are available as which members in the inherited
subclass ?

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_8.docx     3 
(A) Object (B) Public (C) Instance (D) Private
(68) In Java, while using inheritance – “Child class” can be referred to as which of the following ?
(A) Sub class (B) Derived class (C) Extended class (D) All of these
(69) Which of the following is the keyword used to refer a super class constructor in sub class
constructor ?
(A) Name of subclass (B) New (C) Super (D) Extends
(70) In Java, which variable are defined with in a class, outside any method with static keyword?
(A) Global variable (B) Class variable (C) Instance variable (D) Local variable
(71) In Java, a class is defined using which keyword ?
(A) Class (B) Public (C) Static (D) Main
(72) Which steps are required to create object from a class in Java ?
(A) Declaration (B) Instantiation (C) Initialization (D) All of these
(73) In object oriented programming (OOP) languages, creating an object is also known as what ?
(A) Object instantiation (B) Object creation (C) Object making (D) None of these
(74) Which type of variables are defined inside methods or blocks ?
(A) Local variables (B) Instance variables (C) Class variables (D) Block variables
(75) The meaning of which word, is “many forms”, different forms of methods with same name in Java?
(A) Inheritance (B) Polymorphism (C) Aggregation (D) Composition
(76) From the following which type of visibility modifiers are used to protect a method or variables ?
(A) Public, Package (B) Protected, Private (C) Provider, Procedure (D) Both (A) and (B)
(77) From the following which operator is used to access instance variable and instance methods in
Java?
(A) : (B) ; (C) . (D) ,
(78) In Java, if we want to allow data directly accessed by methods of other class, then which method is
used ?
(A) getter (B) setter (C) main (D) void
(79) If we want to make visible to all the classes outside the class, where method or variable is visible
to class, which type of access modifier is used ?
(A) Protected (B) Package (C) Public (D) Private
(80) Which is the default level of protection, where lack of any access modifier keyword is in a
declaration in Java ?
(A) Public (B) Package (C) Protected (D) Private
(81) Every class we write in Java is generally made up of which of the two components ?
(A) Attributes, Behaviour (B) Behaviour, Information
(C) Attributes, Information (D) Information, Comments
(82) A variable declared using class type can only store what ?
(A) Store an object (B) Reference to an object
(C) Classified an object (D) Interfere an object
(83) In Java, when objects are no more needed, the memory is claimed back for what ?
(A) Next window (B) Direction (C) Reuse (D) Assignment
(84) All instances of class are allocated memory in data structure is called what ?
(A) Zeap (B) Leap (C) Heap (D) Reap
(85) Here dot (.) is an operator and associativity of dot operator is from where to where ?
(A) Right to Left (B) Left to Right (C) Top to Bottom (D) Bottom to Top
(86) Variables defined inside methods or blocks are called what ?
(A) Class variable (B) Instance variable (C) Local variable (D) Object variable
(87) Variables defined within a class but outside any method is known as what ?
(A) Instance variable (B) Class variable (C) Local variable (D) Object variable
(88) Which of the following word means “many forms” ?
(A) Constructor (B) Polymorphism (C) Instance (D) Method
(89) In Java we can have different methods that have same name but a different signature. This is
called what ?
(A) Method overloading (B) Method loading (C) Method testing (D) Method uploading

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_8.docx     4 
(90) Which of the following can perform any action, but it is mainly designed to perform initializing
actions ?
(A) Confirmation (B) Constructors (C) Contractor (D) Consolidation
(91) How to define user define no-argument constructor ?
(A) Room { ( ) }; (B) Room { } ( ); (C) Room ( ) { }; (D) Room ( { } );
(92) Which of the following is increment operator in Java ?
(A) + – (B) – + (C) + + (D) – –
(93) Which of the following is not a fourth P’s of protection ?
(A) Private (B) Package (C) Public (D) Provide
(94) To organize classes, where does statement should be added in the source file ?
(A) First comment line (B) First non-comment line (C) Last comment line (D) Last non-comment line
(95) Which of the following is syntax of Package ?
(A) Package {Package Name}; (B) Package (Package Name);
(C) Package [Package Name]; (D) Package <Package Name>;
(96) Highest level of protection can be achieved by using which protection level ?
(A) Protected (B) Public (C) Package (D) Private
(97) If we want to allow protect data to be used by others, then which methods we write ?
(A) Changer (B) Accessor (C) Mutator (D) Allower
(98) If we want to allow protect data to be used by others to read only the data value, then we should
used which method ?
(A) Changer (B) Mutator (C) Getter (D) Setter
(99) Which of the following in object oriented programming language provide reusability feature ?
(A) Objection (B) Constructors (C) Polymorphism (D) Inheritance
(100) Which type of relationship inheritance uses between two classes ?
(A) have – a (B) is – a (C) has – a (D) are – a
(101) Which step of creating an object from a class initialize the newly created object ?
(A) New (B) Instantiation (C) Declaration (D) Initialization
(102) In Java, who looks for unused objects and reclaims the memory ?
(A) Class variable (B) Function (C) Polymorphism (D) Garbage collector
(103) What is the associativity of dot operator which is used to access instance variable ?
(A) Lower to Upper (B) Upper to Lower (C) Left to Right (D) Right to Left
(104) From the following, which variables defined within a class, outside any method, with the static
keyword in Java ?
(A) Instance variable (B) Local variable (C) Class variable (D) All of these
(105) When no modifier is used, which is the default one having visibility only within a package that
contain the class ?
(A) Package (B) Private (C) Protected (D) Public
(106) Which level of protection is used to allow the access only to sub class or to share with the method
declared as “friend” in Java ?
(A) Package (B) Protected (C) Public (D) Private
(107) Accessor method is known as what in Java ?
(A) mutator (B) accessor (C) setter (D) getter
(108) Parent class is referred to a which class in object oriented programming language ?
(A) Extended class (B) Child class (C) Sub class (D) Base class
(109) Which type of relationship between composition and aggregation class ?
(A) is not a (B) is a kind of (C) has – a (D) is – a
(110) Which of the following is the keyword used to refer a super class constructor in sub class
constructor ?
(A) new (B) name of super class (C) super (D) extends
(111) In Java, which of the following is not a step of creating an object form a class ?
(A) Declaration (B) Instantiation (C) Initialization (D) Calculation
(112) Which operator is used to access instance variable via object in Java ?
(A) : (B) , (C) + (D) .

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_8.docx     5 
(113) In Java, which of the following variables can be accessed without creating an instance of a class ?
(A) Instance (B) Static (C) Local (D) Private
(114) In Java, variables defined inside methods or blocks are known as which types of variable ?
(A) Local (B) Instance (C) Class (D) Public
(115) In Java, which of the following refers to different methods that have the same name but a
different signature ?
(A) Method overloading (B) Duplicate method (C) Instance method (D) Overridden method
(116) In Java, which method is invoked automatically with creation of an object ?
(A) Instance method (B) Constructor (C) Class method (D) Local method
(117) In Java, when no visibility modifier is used, then what is the default visibility ?
(A) Public (B) Package (C) Protected (D) Private
(118) In Java, which of the following visibility modifier is used to achieve highest level of protection ?
(A) Public (B) Package (C) Protected (D) Private
(119) In Java, if we want to allow data to be modified by others, then which method do we have to
write ?
(A) Accessor (B) Mutator (C) Accepter (D) Edit
(120) In Java, which keyword is used to call the constructor of super class in the constructor of sub
class ?
(A) base (B) sub (C) super (D) parent

*****

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_8.docx     6 
9. Working with Array and String
(1) Which of the following refer to the starting index value in arrays ?
(A) 0 (B) 1 (C) Null (D) All of these
(2) What is the size of second dimension in an array sales [5] [12] ?
(A) 5 (B) 12 (C) 60 (D) 10
(3) What will expression sales.length return for an array sales [5] [12] ?
(A) 5 (B) 12 (C) 60 (D) 120
(4) When array sales [5] [12] is declared without specifying initial values, what is the initial value of sale [0] [0] ?
(A) 0 (B) default value (C) compilation error (D) 60
(5) What does ‘length’ refer to for an object of String class ?
(A) attribute (B) method (C) class variable (D) class name
(6) If ‘str’ is the object of String class and its content is “Thank GOD”, then what is the value of str.length() ?
(A) 9 (B) 10 (C) 8 (D) 11
(7) What type of value is returned when we use get method of Calendar class with constant DAY_OF_WEEK as
an argument ?
(A) int (B) char (C) string (D) boolean
(8) What is useful when same operations are to be performed on various elements of the similar type in Java ?
(A) Array (B) String (C) if.....then (D) while
(9) In Java which method is used to fill the whole or partial array with specified value ?
(A) fill (B) sort (C) set (D) insert
(10) To make a string object which of the following constructers is used to create a string object using 1-D ary
argument starting at ary [start] with len number of characters ?
(A) String (char ar[], int start, int len) (B) String (int start, int length)
(C) String (int length, int start) (D) String (char ary[], int len)
(11) Which of the methods of string class returns an array of characters as bytes from invoking string in Java ?
(A) int length() (B) byte [ ] get bytes [ ] (C) int bytes [ ] (D) get bytes [ ]
(12) What type of value is returned when we use get method of calendar class with constant DAY_OF_WEEK as
an argument in Java ?
(A) int (B) char (C) string (D) boolean
(13) In Java, by using which sign 1-D array is initialized to separate values of data elements in braces { } ?
(A) . (Full stop) (B) ; (Colon) (C) ; (Semi colon) (D) , (Comma)
(14) In Java, if ‘str’ is the object of string class and its content is ‘Thank God”, then what is the value of
str.length() ?
(A) 9 (B) 10 (C) 8 (D) 11
(15) In Java, how can be array elements accessed using index for each dimension in ?
(A) [ ] (B) ( ) (C) { } (D) < >
(16) In Java by using which of the following methods of comparing string returns ‘>0’ integer if invoking string is
greater than ?
(A) boolean equals (string str) (B) boolean compare to (string str)
(C) int compare to (string str) (D) int compare to ignore (string str)
(17) In Java array what is the process of making an object used to manage list of items ?
(A) Declare an array object (B) Create an array object
(C) Both (A) and (B) (D) Define Object Method
(18) Java supports two types of strings that are handled by two classes. Which are they ?
(A) String, Buffer String (B) String, String Buffer
(C) String, String Literals (D) String, Buffer
(19) Which constructor can be used without arguments to create a string object with no character ?
(A) String ( ) (B) String { } (C) String < > (D) String [ ]
(20) Which of the following tasks are provided by string class ?
(A) Appending string. (B) Extracting part of string. (C) Splitting string into sub string (D) All of these
(21) Which of the following method returns number of characters in invoking string ?
(A) int count() (B) int lencount() (C) int length() (D) int len()
(22) Which of the following method is used to return a string converted to lower case ?
(A) StringtoLowerCase() (B) StringToLower() (C) String() (D) StringLower()
(23) Which of the following method is used to return a string after appending ‘str’ with the invoking string ?
(A) String Append() (B) String concat (string str)
(C) String conAppend () (D) String Append (string)

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_9.docx     1 
(24) Which class encapsulate both date and time and represent the value using milli-seconds precision ?
(A) Preci class (B) Sec class (C) Date class (D) Time class
(25) Which of the following method is used to construct date object using current system time ?
(A) System() (B) SystemDate() (C) date() (D) Date()
(26) 1-D array is initialized using comma separated values of data elements using which brackets?
(A) ( ) (B) < > (C) [ ] (D) { }
(27) Sort () and Fill () methods be used in Java by ..... class.
(A) java.util.Arrays (B) util.java.Arrays (C) Java.Array.util (D) java.arrays.utils
(28) Which type of arrays are used to store tabular data in the form of rows and columns ?
(A) 1-D (B) 2-D (C) 3-D (D) All of these
(29) If user wants to store 15 integer values through arrays, then which of the following is used ?
(A) int m3 = new int [5] [3] (B) int m2 = new [5] [3]
(C) int m1 = new [15] [15] (D) int m4 = m4 int [2] [3]
(30) If ‘str’ is the object of string class and its content is “INDIAN FLAG”; then what is the value of str.length() ?
(A) 11 (B) 8 (C) 10 (D) 9
(31) Which constant is used to display year of calendar ?
(A) CAL (B) YEAR CAL (C) YEAR (D) MONTH
(32) Which constant is used to display Hour in 12-hour notation ?
(A) 12 HOUR (B) HOUR 12 (C) Hour_of_day (D) HOUR
(33) Which constant is used to display Day number in the year ?
(A) DAY_OF_YEAR (B) YEAR_DAY (C) YEAR (D) DAY_YEAR
(34) Vector is used to represent ..... dimensional data structure.
(A) 1 (B) 2 (C) 3 (D) 4
(35) What is useful to represent vector, matrix and other multi-dimensional data ?
(A) String (B) Arrays
(C) Char (D) Integer
(36) if int mark[ ]={70, 90, 20} is defined, then what will be value of marks[2] ?
(A) 20 (B) Error (C) 70 (D) 90
(37) The array variable starts its index value with what ?
(A) Null (B) 2 (C) 1 (D) 0
(38) What is a variable representing a collection of homogeneous types of elements known in Java ?
(A) String (B) Array (C) Input (D) Element
(39) Which of the following refers to the starting index value in arrays in Java ?
(A) 3 (B) 2 (C) 1 (D) 0
(40) Which type of method is used to sort entire or part of array in Java ?
(A) sort() (B) fill() (C) show() (D) search()
(41) Which syntax is used to declare 1-dimensinal array ?
(A) <datatype> <arrayname> [ ]; (B) <datatype> [ ] <arrayname>;
(C) (A) or (B) (D) <arrayname> [ ] <datatype>;
(42) Which property is used with only array name returns the size of its first dimension in Java?
(A) size (B) width (C) length (D) byte
(43) In Java, String literals, a sequence of characters is enclosed between which sign ?
(A) ‘ ’ (Single quote) (B) “ ” (Double quotes) (C) < > (D) /* ..... */
(44) In Java, from the following which string methods are provided by string class ?
(A) To compare strings (B) Combining strings, converting strings
(C) To find length of string (D) All of these
(45) Which string method returns number of characters in invoking string in Java ?
(A) int length() (B) int byte() (C) int getByte() (D) int getlength()
(46) Java library provides Date class in which package ?
(A) java.lang (B) java.io (C) java.util (D) java.date
(47) Which constant defined for month of calendar of calendar class in Java ?
(A) month (B) MONTH (C) DATE (D) YEAR
(48) In Java, arrays are useful to represent which type of data ?
(A) Vector (B) Matrix (C) Multi - dimensional (D) All of these
(49) In Java, what is used to represent 2-D data structure like table of rows and columns ?
(A) Scalar (B) Vector (C) Element (D) Matrix
(50) In Java, to declare a 1-D array we use a pair of which brackets after array name of after datatype ?
(A) < > (B) [ ] (C) { } (D) ( )

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_9.docx     2 
(51) If ‘str’ is the object of string class and its content is “Hello” then what is the value of str.length() ?
(A) 5 (B) 6 (C) 7 (D) Error
(52) In Java, which of the following method can be used with java.util.Array class ?
(A) sort( ) (B) fill( ) (C) alert( ) (D) Both (A) and (B)
(53) In Java, to search an element in an array, Arrays class provides which method ?
(A) Binarysearch() (B) Stringsearch() (C) Elementsearch() (D) LineIndsearch()
(54) In Java, 2-D array can be declared in which of the following correct way ?
(A) int marks () () = new int [5] [3] (B) int marks {} {} = new int [5] [3]
(C) int marks [] [] = new int [5] [3] (D) int marks <> <> = new int [5] [3]
(55) Java supports two types of strings that are handled by which of the following class or classes ?
(A) String class (B) StringBuffer class (C) Both (A) and (B) (D) StringConstroctor class
(56) In Java, who creates a string object with its initial value using ary argument ?
(A) String (ary [objet] [ ]) (B) String (char ary [ ])
(C) String (ary [ ], int len) (D) String (ary ( ))
(57) In Java, characters are stored using how many bytes ?
(A) 16 bytes (B) 8 bytes (C) 4 bytes (D) 2 bytes
(58) Which are the methods provided by String class in Java ?
(A) To compare strings (B) Find length of strings
(C) Combining strings (D) All of these
(59) In Java which string class method returns true if invoking string is same as str ?
(A) int equals (string boolean) (B) boolean (Ignore case str)
(C) boolean equals (string str) (D) boolean (string)
(60) In Java, which string class method returns a string after appending str with the invoking string ?
(A) String combine (str) (B) String concate (string str)
(C) String add (str) (D) String join (str)
(61) Java library also provides Date class and Calendar class in which of the following package?
(A) java.attr (B) java.lang (C) java.expr (D) java.util
(62) In Java, which method of date class constructs date object using current system time ?
(A) getTime() (B) getDate() (C) Date() (D) DateTime()
(63) In Java, which method of date class sets new date and time of an object using elapsed time?
(A) short getTime() (B) void SetTime (long elapsed time)
(C) void SetDate (Date, Time) (D) setDate()
(64) In Java, which constant of calendar class displays day of calendar month ?
(A) DATE (B) DAY (date) (C) month (D) MONTH (date)
(65) In Java, what are the values used for AM_PM constant of calendar class ?
(A) 1 for AM, 12 for PM (B) 1 for AM, 0 for PM
(C) 1 for AM, 2 for PM (D) 0 for AM, 1 for PM
(66) In Java, which constant of calendar class displays Hours in 12-hour notation ?
(A) H_M_S (B) HOUR (C) HOUR_MINUTE (D) HOUR_OF_DAT
(67) In Java, by how many ways we can create an array object ?
(A) Infinite (B) 1 (C) 2 (D) 3
(68) Arrays are useful to represent which type of data in Java ?
(A) Vector (B) Matrix (C) Multi dimensional (D) All of these
(69) Which steps are followed for the process of creation of array in Java ?
(A) Declare an array object (B) Create an array object
(C) Both (A) and (B) (D) Manage an array object
(70) Which type of braces is used to initialize data elements in 1-D array ?
(A) < > (B) [ ] (C) { } (D) ( )
(71) We can use various static methods provided by Java using which array class ?
(A) java.util.Arrays (B) java.io (C) java.lang (D) All of these
(72) In Java, to search an element in an array, array class provides which type of method ?
(A) fill( ) (B) binarySearch( ) (C) sort( ) (D) remove()
(73) Which string constructor is used without arguments to create a string object with no characters ?
(A) string() (B) string(Char ary[])
(C) string (string strObj) (D) string(str literal)
(74) In Java, if ‘Str’ is the object of String class and its content is “Hello”, then what is the value of str.length() ?
(A) 8 (B) 7 (C) 6 (D) 5

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_9.docx     3 
(75) Which method of string class is used to return a string with all characters of invoking string converted to
upper case ?
(A) int length() (B) byte[] getBytes()
(C) StringtoUppercase() (D) String concat(string str)
(76) What is the size of second dimension in an array sales[5][12] ?
(A) 12 (B) 5 (C) 60 (D) 11
(77) Which method of date class constructs date object using current system time in Java ?
(A) Time( ) (B) Today( ) (C) Date( ) (D) Now( )
(78) Which of the following is useful to represent vector, matrix and other multi dimensional data ?
(A) Function (B) Variable (C) Array (D) Structure
(79) Which of the following is used to represent 2D data structure like table of rows and columns ?
(A) Table (B) Variable (C) Cell (D) Matrix
(80) When we define Array, Index value starts with what ?
(A) 3 (B) 2 (C) 1 (D) 0
(81) If we have define array like int marks [ ] = {7, 9, 11, 13, 15, 17); then what will be the value of marks [4] ?
(A) 9 (B) 13 (C) 15 (D) 17
(82) Which of the following class is utilize in array to use methods sort( ) ?
(A) java.all.Arrays (B) java.math.Arrays (C) java.function.Arrays (D) java.util.Arrays
(83) To search an element in an array, Array class provides which method ?
(A) searchElement() (B) elementSearch() (C) binarySearch() (D) binaryElement()
(84) If in Java 2D Array is defined like int marks [ ] [ ] = new int [6] [4]; then, how many integers are stored in
memory using contiguous memory ?
(A) 10 (B) 64 (C) 42 (D) 24
(85) To initialize 2-D arrays, all these initialized rows are to be enclosed in curly braces { } and separated by what?
(A) Comma (B) Dot (C) Semicolon (D) Colon
(86) Java supports two types of strings that are handled by two classes namely as below ?
(A) String, Buffers (B) String, Buffered (C) String, StringBuffered (D) String,StringBuffer
(87) Which of the following constructor used to create a string object that refers to the literal specified in
argument?
(A) String (string arg [ ] ) (B) String (string literal)
(C) String (char arg [ ] ) (D) String (string ary [ ] )
(88) Which of the following method of string class used to return true if invoking string is same as Str ?
(A) boolean (String str) (B) boolean equals (String str)
(C) boolean CompareTo (String str) (D) boolean Compare (String str)
(89) Which of the following string method is used to return number of characters in invoking string ?
(A) int length() (B) int invoke() (C) int count() (D) int find()
(90) Which of the following method is used to return strings with all characters of invoking string converted to
upper case ?
(A) String Upper( ) (B) String caseUpper()
(C) String UpperCase() (D) String toUpperCase( )
(91) Which of the following method string class of Java does not provide ?
(A) Upper case of a string (B) Lower case of a string
(C) Reverse a string (D) Contacting a string
(92) Java library also provide Date class in which package ?
(A) java.util.Date (B) java.util (C) java.date.util (D) java.date.util
(93) Which of the following method of Date is used to construct Date object using current system time ?
(A) CurrentTime() (B) int Date() (C) Date() (D) int CurrTime()
(94) Which class can be used to extract detailed information like year, month, date, hour, minute and second ?
(A) Month class (B) Calendar class (C) Year class (D) Second class
(95) Which of the following class encapsulate both date and time and represent the values using milliseconds
precision ?
(A) Month class (B) Year class (C) Date class (D) Time class
(96) Which of the following constant of calendar class helps to display week number within the month ?
(A) WEEK_OF_MONTH (B) WEEK_OF_NUMBER
(C) WEEK_OF_YEAR (D) WEEK_OF_NMONTH
(97) If ‘Str’ is the object of string class and its constant is “GUJARAT”, then what is the value of Str.length() ?
(A) 6 (B) 7 (C) 8 (D) 9
(98) Which type of array is used like table of rows and columns ?

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_9.docx     4 
(A) 1-D array (B) 2-D array (C) Minor array (D) Primitive array
(99) int marks [ ] [ ] = new int [5] [3] ; How many bytes are used in storage space ?
(A) 60 (B) 3 (C) 5 (D) 15
(100) Which constructor created a string object which is same as object specified in argument ?
(A) string() (B) string (char ary[ ]) (C) string (string strObj) (D) string (string literal)
(101) From the following which method of string class returns a string with all characters of invoking string
converted to upper case ?
(A) int length() (B) byte [ ] get bytes
(C) String toLowerCase() (D) String toUpperCase()
(102) Date class is in which package in Java ?
(A) java.io (B) java.util (C) java.lang (D) java.io.class
(103) What type of value is returned when we use get method of Calendar class with constant DAY_OF_WEEK as
an argument ?
(A) boolean (B) string (C) char (D) int
(104) If ‘str’ is the object of string class and its content is “I LIKE COMPUTER”, then what is the value of
str.length() ?
(A) 15 (B) 19 (C) 17 (D) 13
(105) What stands for AM and PM in integer constant of calendar class ?
(A) 0 and 0 (B) 1 and 1 (C) 1 and 0 (D) 0 and 1
(106) Which braces is used in 2-D array using comma separated values of data elements ?
(A) < > (angled bracket) (B) ( ) (simple bracket)
(C) { } (curly bracket) (D) [ ] (square bracket)
(107) Which of the following refer to the starting index value in arrays ?
(A) 0 (B) 1 (C) Null (D) All of these
(108) In Java, array index value starts from which number ?
(A) 0 (B) 1 (C) –1 (D) 8
(109) In Java, initial value for 1-D array are separated using which symbol ?
(A) . (Full stop) (B) , (Comma) (C) : (Colon) (D) – (Dash)
(110) Which of the following is not a correct way to create and initialize an array names marks ?
(A) int marks [ ] = new int [3]; (B) int [ ] marks = new int [3];
(C) int marks [ ] = {0, 10, 20}; (D) int marks [3] = {0, 10, 20};
(111) sort() and fill() are methods of which of the following Java class ?
(A) java.string (B) java.util.Arrays (C) java.io (D) java.util.io
(112) In the following statement for declaring 2-D array of Java 5 represents what ?
int marks [ ] [ ] = new int [5] [3]
(A) Number of rows (B) Number of columns (C) Array size (D) Number of bytes
(113) In Java, which of the following constructor creates a string object same as object specified in argument ?
(A) String (char ary [ ]) (B) String ()
(C) String (String literal) (D) String (String strObj)
(114) In Java, int compareTo (String str) method returns which of the following value if invoking string is greater
than str ?
(A) 0 (B) >0 (C) <0 (D) Logical value
(115) Which of the following method of Java, returns an array of characters as bytes from invoking string ?
(A) string concat() (B) char getByte() (C) byte [ ] getBytes() (D) string to byte()
(116) In Java, which of the following method of Date class returns a string representing date and time of invoking
object ?
(A) Date() (B) String toString() (C) Date char() (D) Date Text()
(117) In Java, which constant of calendar class returns day number within a week ?
(A) DAY_OF_WEEK (B) DAY_OF_MONTH (C) DAY_OF_YEAR (D) DATE

*****
 

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_9.docx     5 
10. Exception Handling in Java
(1) Which of the following refers to an error condition in object-oriented programming terminology ?
(A) anomaly (B) abbreviation (C) exception (D) deviation
(2) Which of the following is a correct word for all Java Exceptions ?
(A) Errors (B) Runtime Exceptions (C) Throwables (D) Omissions
(3) Which of the following statements is true ?
(A) Exceptions are more serious than Errors. (B) Errors are more serious than Exceptions.
(C) Errors and Exceptions are equally serious. (D) Exceptions and Errors are the same things.
(4) Which of the following elements is not included in try block ?
(A) the keyword try (B) the keyword catch
(C) the curly braces (D) statements that might cause Exceptions
(5) Which of the following block handles or takes appropriate action when an Exception occurs?
(A) try (B) catch (C) throws (D) handles
(6) Which of the following should be within a catch block ?
(A) finally block (B) single statement that handles Exception
(C) any number of statements to handle Exception (D) throws keyword
(7) What will happen when a try block does not generated an Exception and you have included multiple
catch blocks ?
(A) they all execute (B) only the first matching one executes
(C) no catch block executes (D) only the first catch block executes
(8) Which of the following is an advantage of using a try ..... catch block ?
(A) Exceptional events are eliminated. (B) Exceptional events are reduced.
(C) Exceptional events are integrated with regular events.
(D) Exceptional events are isolated from regular events.
(9) Which of the following methods can throw an Exception ?
(A) methods with throws clause (B) methods with a catch block
(C) methods with a try block (D) methods with finally block
(10) Which of the following is least important to know if you want to be able to use a method to its full
potential ?
(A) the method’s return type (B) the type of arguments the method requires
(C) the number of statements within the method (D) the type of Exceptions the method
throws
(11) In Exceptional handing in Java, which is the syntax of the try block ?
(A) try { // set of statements } (B) try [ /set of statements]
(C) try < / set of statements > (D) try ( //set of statements )
(12) Which of the following blocks contains the code that is intended to handle exceptions of a
particular type that were created in the associated try block in Java Exception handling ?
(A) finally (B) start (C) catch (D) stop
(13) In Java, which statement is true for “Exceptional Handling” ?
(A) try (B) catch (C) finally (D) All of these
(14) Which of the following elements is not included in try block in Java ?
(A) try (B) catch (C) curly braces (D) None of these
(15) In Java, which of the advantages of Exception handling in object oriented programming language ?
(A) Allows maintaining normal flow of program. (B) Allows separate error handling code.
(C) Assertions can be used to debug the program (D) All of these
(16) In Java, in how many categories can errors classified ?
(A) 1 (B) 2 (C) 3 (D) 4
(17) What is an indication of a problem that occurs during a program’s execution, it usually signals an
error ?
(A) Exact (B) Extraction (C) Exception (D) Expectation
(18) Which type of file you are not able to create when here is a syntax error in the program and we get
a compilation error ?
(A) .txt (B) .html (C) .java (D) .class
(19) Which of the following is example of common syntax error ?
(A) Missing semicolon (B) Use of undeclared variable

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_10.docx     1 
(C) Both (A) and (B) (D) None of these
(20) A compiler is used to convert source code into what ?
(A) Object code (B) ASCII code (C) SciTE code (D) Text code
(21) Java uses which keyword to write exception handler ?
(A) catch, finally, block (B) try, catch, except (C) try, except, catch (D) try, catch, finally
(22) Which block contains the code that is intended to handle exceptions of a particular type that were
created in the associated try block ?
(A) catch (B) finally (C) try (D) All of these
(23) Which of the following is syntax to throw an exception object ?
(A) throws exception_object; (B) throw exception_object;
(C) Exceptionthrow object; (D) throwexception object_throw;
(24) Which code indicates whether the command or a program executed successfully or not ?
(A) Exit code : 0 (B) Exit code : 1 (C) Exit source : 0 (D) Exit source : 1
(25) Which package contains a hierarchy of classes dealing with various exceptions ?
(A) java.obi and java.class (B) java.lang and java.io
(C) java.lang and java.obi (D) exit.obi and java.class
(26) When there is an attempt to divide any number by 0 (zero) which exception is occurred while
executing the program ?
(A) Zero Exception (B) Number Exception (C) Divide Exception (D) Arithmetic Exception
(27) When here is an attempt to convert string to a number type which exception is occurred while
executing the program ?
(A) Number Format Exception (B) Format Exception
(C) Convert Exception (D) String Exception
(28) In Java, errors can be broadly classified into two categories namely ..... and Run-time errors.
(A) Compile time error (B) Compile syntax error (C) Syntax time error (D) Syntax type error
(29) From the following which is an indication of a problem that occurs during a program’s execution, it
usually signals an error ?
(A) Console (B) Exception (C) Scanner (D) Source code
(30) Errors can be broadly classified into which types when executing of program in Java ?
(A) Compile-time errors (B) Run-time errors (C) Both (A) and (B) (D) Linking errors
(31) In the field of computer science, which sign indicates that the command executed successfully ?
(A) Exit code 1 (B) Exit code 0 (C) Exit code – 1 (D) All of these
(32) From the following which block is used to monitor for exceptions in Java ?
(A) Try block (B) Catch block (C) Finally block (D) All of these
(33) From the following which element is not placed in try block ?
(A) Try keyword (B) Catch keyword (C) Curly brackets (D) Give rise to one or more exceptions
(34) Which keyword is used to explicitly throw an exception object in Java ?
(A) Try keyword (B) Catch keyword (C) Throw keyword (D) Finally
(35) In Java, an indication of a problem that occurs during a program’s execution, usually signals an
error is known as which of the following ?
(A) Exception (B) Aggregation (C) Anomaly (D) Deviation
(36) In Java, errors can be broadly classified into which category ?
(A) Compile-time errors (B) Run-time errors (C) Both (A) and (B) (D) Arithmetic errors
(37) In Java, errors can be broadly classified into which category ?
(A) .javac (B) .code (C) .obj (D) .class
(38) Which running java program in SciTE editor, which code indicates that the commands executed is
successful ?
(A) Exit code : 1 (B) Execute code : 1 (C) Exit code : 0 (D) Execute code : 0
(39) Which of the following package in Java, contains a hierarchy of classes dealing with various
exceptions ?
(A) java.lang (B) java.io (C) Both (A) and (B) (D)
java.package
(40) In Java, when an attempt is made to access the array element with an index value that is outside
the range of array which exception class is used ?
(A) FileNotfoundException (B) ArrayIOException

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_10.docx     2 
(C) ArrayIndexOutOfBoundsException (D) NullArrayException
(41) In Java, an object-oriented technique for managing errors is known as which of the following ?
(A) Error Definition (B) Anomaly Handling
(C) Termination Handling (D) Exception Handling
(42) In Java, try statement contains a block of statement written within which braces ?
(A) { } (B) < > (C) [ ] (D) ( )
(43) In Java, a catch block consists of keyword catch followed by how many parameter ?
(A) 1 (B) 2 (C) 3 (D) 4
(44) In Java program which block is generally used to clean up at the end of executing a try block?
(A) Event (B) Finally (C) Catch (D) Throws
(45) In Java program, which block is widely used if a file needs to be closed or a critical resource is to
be released at the completion of program ?
(A) Event (B) Finally (C) Catch (D) Try
(46) In Java program, when throw statement is encountered a search for matching which block begins ?
(A) Event (B) Finally (C) Catch (D) Try
(47) In Object-oriented programming, what is an indication of problem which occurs during program
execution ?
(A) Function (B) String (C) Array (D) Exception
(48) In Java in which condition program will get compilation error and not be able to create .class file ?
(A) Syntax error in compilation (B) Use of undeclared variable
(C) Wrong spellings of identifier or keyword (D) All of these
(49) Which type of block contains the code that may give rise to one or more exceptions in Java ?
(A) try (B) catch (C) throw (D) finally
(50) Which block contains the code that is to be executed to handle an exception which is throw object
using Throw keyword ?
(A) try (B) catch (C) finally (D) throwobj
(51) Which exception class is observed when an attempt to access the array element with an index
value that is outside the range of array in Java ?
(A) ArrayOutofBox (B) ArrayOutofIndex
(C) ArrayIndexOutofBoundsException (D) NotFoundArray
(52) Which block is generally used to clean up at the end of executing a try block ?
(A) finally (B) catch (C) try (D) throw
(53) In Java, all types of error conditions are called as what ?
(A) Major problem (B) Error creator (C) Exceptions (D) Extraction
(54) In Java, if there is a syntax error in the program then which of the following extension type file will
not created ?
(A) .exe (B) .obj (C) .java (D) .class
(55) Which of the following errors are usually the mistakes of a programmer and it won’t allow the
program to compile unless they are solved ?
(A) Compile time errors (B) Run time errors
(C) Execution time errors (D) Display time errors
(56) Which of the following Exit code or Exit status indicates that the command executed successfully in
Java ?
(A) 0 (B) 1 (C) 2 (D) 3
(57) Which of the following package contains a hierarchy of classes dealing with various exceptions ?
(A) java.obj and java.io (B) java.io and java.lang
(C) java.array and java.lang (D) java.exe and java.io
(58) Which of the following exception class handle an I/O error while printing ?
(A) PrinterIOHandle (B) PrinterInOutException (C) PrinterException (D) PrinterIOException
(59) Which of the following keyword is not used in writing an exception handler ?
(A) Finally (B) Catch (C) Try (D) Drop
(60) Which of the following block contains the code that may give rise to one or more exceptions in
exception handler ?
(A) Finally (B) Catch (C) Try (D) Drop
(61) Which of the following block must immediately follow the try block ?

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_10.docx     3 
(A) Throw (B) Catch (C) Both (A) and (B) (D) None of these

(62) When there is a multiple catch blocks are used then which catch block is considered as a default
catch block ?
(A) First catch block (B) Middle catch block (C) Second last catch block (D) Last catch block
(63) Which of the following block is always executed, regardless of whether or not exceptions are
thrown during the execution of the associated try block ?
(A) Finally (B) Catch (C) Test (D) Edit
(64) We can create user – defined exceptions by creating what of exception class ?
(A) Sub class (B) In class (C) Outer class (D) Super class
(65) In Java, all kinds of error conditions are called what ?
(A) Error (B) Exception (C) Anomaly (D) Deviation
(66) Which exception class observed when an attempt to access a non-existing file ?
(A) NumberFormatException (B) NullPointerException
(C) ArithmeticException (D) FileNotFoundException
(67) Which block is generally used to clean up at the end of executing a try block ?
(A) finally (B) catch (C) retry (D) try
(68) From the following which is the syntax of throw exception object ?
(A) object_exception; (B) exception_object;
(C) throw exception_object; (D) throw object_exception;
(69) Which method of the scanner class helps in reading integer input from the console ?
(A) # (B) Error (C) 0 (D) 1
(70) When some problem occurred while executing the command, what is displayed by “Exit code” ?
(A) .c (B) .jpeg (C) .java (D) .txt
(71) In Java program, if there is a syntax error, which of the following error we will get ?
(A) Compile - time (B) Run - time (C) Print - time (D) File save - time
(72) In Java, which exception class is used for condition resulting in an attempt to access a non-existing
file ?
(A) ArrayIndexOutOfBoundsException (B) FileNotFoundException
(C) NullPointerException (D) PrinterIOException
(73) In exception handling of Java, which block contains the code that may give rise to one or more
exceptions ?
(A) throw (B) try (C) catch (D) finally
(74) In Java exception handling, which block is generally used to clean up at the end of executing a try
block ?
(A) catch (B) finally (C) throw (D) new
(75) In Java exception handling, which of the following block is always executed regardless of whether
or not exceptions are thrown during the execution of the associated try block ?
(A) throw (B) finally (C) catch (D) new
(76) The object that we throw must be of which of the following Java class type ?
(A) java.lang.throw (B) java.lang.catch (C) java.lang.throws (D) java.lang.throwable

*****

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_10.docx     4 
11. File Handling
(1) Which of the following statements is true ?
(A) Volatile storage lasts only a few seconds.
(B) Volatile storage is lost when a computer is shutdown.
(C) Computer disks are volatile storage devices.
(D) All of these
(2) Which of the following refers to a collection of data stored on a non-volatile device in a computer
system ?
(A) file (B) application (C) volatile data (D) hard disk
(3) The data hierarchy occurs in which of the following order from the smallest to largest ?
(A) file : character : field : record (B) file : character : record : field
(C) character : field : file : record (D) character : field : record : file
(4) Which of the following is true about streams ?
(A) Streams always flow in two directions
(B) Streams are channels through which the data flow
(C) Only one stream can be open in a program at a time.
(D) All of these
(5) Which of the following is used as a separator between fields of a record ?
(A) path (B) delimiter (C) variable (D) space
(6) Scanner class can be used to for performing which of the following operations ?
(A) accept input from the keyboard (B) read from the file
(C) parse a string separated by delimiters (D) All of these
(7) By using which method of file output stream classes writes b length bytes form the specified byte
array in Java ?
(A) void write (int b) (B) void write (byte [] b)
(C) void write (int length) (D) void write (byte length)
(8) Which of the following refers to a collection of data stored on a non-volatile device in a computer
system ?
(A) File (B) Application (C) Volatile data (D) Hard disk
(9) Which method of scanner class of Java, scans the next token of the input as line ?
(A) boolean hasNext() (B) int nextInt() (C) float nextfloat() (D) string nextline()
(10) Which work can be done in file or directory in Java file class ?
(A) Create (B) Rename (C) Delete (D) All of these
(11) Which stream is used to make text files and program codes in Java ?
(A) byte stream (B) binary stream (C) character stream (D) input stream
(12) By which method of file class in Java returns true if the directory exists, otherwise returns false ?
(A) boolean exists() (B) booleanisFile() (C) booleanisDirectory() (D) String[]list()
(13) Which file class method is used to return the number of bytes in that file ?
(A) long byte () (B) long file () (C) long number () (D) long length ()
(14) Which class is the base for writing a character stream ?
(A) Impress (B) Writer (C) Calc (D) Draw
(15) What occurs when there is a failed I/O operation in writer class ?
(A) IO Base (B) IO throw (C) IO Class (D) IO Exception
(16) Which abstract class defines the functionality that is available for all character input stream?
(A) Text class (B) Void class (C) Reader class (D) Writer class
(17) Which File Input Stream method is used to read a byte of data from this input stream ?
(A) void read( ) (B) read void( ) (C) void close( ) (D) int read( )
(18) Which type of storage values store in variables are lost when computer is shutdown ?
(A) Voltage storage (B) Non-voltage storage (C) Volatile storage (D) Non-volatile storage
(19) Which class provides a method for reading password ?
(A) Write class (B) Scanner Input class (C) Reader class (D) Console class
(20) Which scanner class method is used to scan the next token of the input as “Int” ?
(A) int next Int( ) (B) int has Next( ) (C) void int( ) (D) int next( )
(21) Which file class method is used to return the path to the file or directory ?
(A) String get Name( ) (B) String get File( ) (C) String get Directory( ) (D) String get Path( )

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_11.docx     1 
(22) Data stored in files is often called as what ?
(A) Persistent data (B) Personal data (C) Provision data (D) Public data
(23) Which of the following is an example of binary file ?
(A) C (B) mp3 (C) txt (D) java
(24) Which class encapsulates information about the properties of a file or a directory ?
(A) java.out.file (B) java.in.file (C) java.file.io (D) java.io.File
(25) Which file class method is used to return true, if the file or directory is hidden ?
(A) boolean is Hidden( ) (B) boolean exists( )
(C) boolean is File( ) (D) boolean is Directory( )
(26) Storage device of a computer system can be broadly classified into which categories ?
(A) Volatile storage (B) Non-volatile storage
(C) Both (A) and (B) (D) Binary storage
(27) From the following which is not binary file extension ?
(A) .jpeg (B) .mp3 (C) .class (D) .txt
(28) Which method of file class returns true value if the file or directory is hidden in Java ?
(A) boolean is Hidden() (B) boolean is File() (C) long length() (D) boolean exists()
(29) When we write data to stream, which type of stream is known in Java ?
(A) Writer stream (B) Output stream (C) Input stream (D) Reader stream
(30) Character stream is classified into how many classes ?
(A) 1 (B) 2 (C) 3 (D) 4
(31) The data hierarchy occurs in which of following order from the smallest to largest piece of data ?
(A) file : character : record : field (B) file : character : field : record
(C) character : field : file ; record (D) character : field : record : file
(32) Storage device of computer system can be broadly classified into which of the following category ?
(A) Volatile storage (B) Non-volatile storage
(C) Both (A) and (B) (D) Dynamic storage
(33) File can exists on which of the following permanent storage device ?
(A) Hard disk (B) Compact disc (C) Optical disc (D) All of these
(34) Which of the following extension is used for binary files ?
(A) .jpeg (B) .mp3 (C) .class (D) All of these
(35) In Java, which class encapsulates information about the properties of a file or a directory ?
(A) java.io.object.File (B) java.lang.File (C) java.util.File (D) java.io.File
(36) In Java, which method of file class returns true if file exists, otherwise returns false ?
(A) boolean FileDir() (B) boolean isFile() (C) boolean listFile() (D) boolean getFile()
(37) Java supports which type of streams ?
(A) Byte stream (B) Character stream
(C) Both (A) and (B) (D) Binary stream
(38) In Java, which of the following is a subclass of Reader class ?
(A) InputStreamReader (B) BufferedReader
(C) Both (A) and (B) (D) Output stream
(39) In Java, which method of file Writer class is used to close the stream ?
(A) void close() (B) int break() (C) void terminate() (D) quit()
(40) In Java, scanner class can be used to perform which of the following operations ?
(A) Read from the file (B) Parse a string separated by delimeters
(C) Accept input form keyboard (D) All of these
(41) In Java, which of the following is used as a separator between fields of a record ?
(A) Space (B) Variable (C) Delimiter (D) Path
(42) In Java, which method of console class reads a single line of text from the console ?
(A) String PrintLine() (B) Char getLine() (C) Char Print() (D) String readLine()
(43) In Java, int read() method returns what to identify the end of data in the stream ?
(A) 0 (B) 1 (C) –1 (D) Null
(44) Which of the following refers to a collection of data stored on a non-volatile device in a computer
system ?
(A) File (B) Volatile data (C) Hard disk (D) Application

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_11.docx     2 
(45) From the following which storage is permanent storage, data is not lost when a computer loses
power ?
(A) Volatile storage (B) Non-volatile storage (C) Both (A) and (B) (D) Object data
(46) From the following which extension are used to indicate text files ?
(A) .c (B) .txt (C) .java (D) All of these
(47) File method boolean isFile() returns which type of value of File class ?
(A) True or False (B) Yes or No (C) 0 or 1 (D) Y or N
(48) From the following, which are the types of stream class in Java ?
(A) Byte Stream Class (B) Character Stream Class
(C) Both (A) and (B) (D) Boolean Stream Class
(49) Which of the following is used as a separator between fields of record ?
(A) Variable (B) Space (C) Path (D) Delimiter
(50) Which of the following is true about streams in Java ?
(A) Streams always flow in two directions. (B) Streams are channels through which the data flow.
(C) Only one stream can be opened in a program at a time. (D) All of these
(51) Storage devices of a computer system can be broadly classified into how many categories ?
(A) 5 (B) 4 (C) 3 (D) 2
(52) Which of the following file is known as binary files ?
(A) C (B) Java (C) Text (D) MP3
(53) Which type of value stored in variables are lost when computer is shutdown ?
(A) Permanent storage (B) Volatile storage
(C) Voltage storage (D) Non-volatile storage
(54) Random Access Memory (RAM) is example of which type of storage ?
(A) Volatile storage (B) Non-volatile storage (C) Permanent storage (D) Voltage
storage
(55) Which of the following class encapsulates information about the properties of a file or a directory ?
(A) java.io.File (B) java.io.Directory (C) java.File (D) java.Directory
(56) Which of the following method of File class used to returns true if the file exits, otherwise returns
false ?
(A) boolean isDirectory() (B) boolean ioFile() (C) boolean File() (D) boolean isFile()
(57) Java uses which classes to carry out read and write operations on files ?
(A) Text class (B) IO class (C) Stream class (D) Read class
(58) Which of the following is an abstract representation of an Input and Output device that is used as a
source or destination for data ?
(A) Steam (B) Stream (C) Section (D) Source
(59) Which of the following is the Sub class or Reader class ?
(A) Buffered Reader (B) InputStream Reader (C) Buffered Writer (D) File Reader
(60) Scanner class belongs to the which package of Java ?
(A) java.rw (B) java.io (C) java.lang (D) java.util
(61) Which of the following is the default delimiter of Scanner class ?
(A) Semi colon (B) Colon (C) Empty space (D) Double quotes
(62) Which class provides a method for reading password ?
(A) Scanner class (B) Writer class (C) File class (D) Console class
(63) Which of the following Scanner class is used to return the next token ?
(A) String hasNext() (B) String nex() (C) String next() (D) String isToken()
(64) From the following, which file extension is not used for text file ?
(A) boolean isHidden() (B) boolean Exists()
(C) boolean isDirectory() (D) boolean isFile()
(65) Which method of file class is return true if the file or directory is hidden ?
(A) nextInt() (B) readInt() (C) writeInt() (D) viewInt()
(66) From the following which is not a class of java.io package ?
(A) Writer class (B) Scanner class (C) Reader class (D) Character stream class
(67) Scanner class can be used for performing which of the following operations ?
(A) Accept input from the keyboard (B) Read from the file
(C) Parse a string separated by delimeter (D) All of these

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_11.docx     3 
(68) Which is the base class for reading a character stream ?
(A) Byte stream class (B) Writer class (C) Reader class (D) Scanner class
(69) From the following which device is classified into input and output device both ?
(A) Mouse (B) Hard disk (C) Monitor (D) Keyboard
(70) In Java, when we write data to stream, what is that stream called ?
(A) Output stream (B) Input stream (C) Data stream (D) Line stream
(71) In Java, text files and program codes are created using which stream ?
(A) Byte stream (B) Binary stream (C) Character stream (D) Boolean stream
(72) In Write class of Java, which of following exception occurs when there is failed I/O operation ?
(A) FileException (B) InputException (C) OutputException (D) IOException
(73) In Java, FileInputStream and FileOutputStream are classes of which package that give us the ability
to read and write bytes from and into any files in the disk ?
(A) java.input (B) java.output (C) java.file (D) java.io
(74) In Java, which method of Scanner class scans the next token of the input as line ?
(A) String next() (B) String nextLine() (C) hasNext() (D) char hasNext()
(75) In Java, Scanner class can be used to perform which of the following operations ?
(A) Accept input from the keyboard (B) Write data into file
(C) Reading password (D) Count number of character in file

*****

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_11.docx     4 
12. Publishing Documents using LaTeX
(1) Modern word processing software operates in which of the following mode ?
(A) WIGIWIS (B) WISYWIG (C) WYSIWYG (D) WISYWYG
(2) Which of the following is not a reserved character in LaTeX ?
(A) @ (B) % (C) $ (D) ^
(3) Which of the following begins with \begin {name} and ends with \end {name} ?
(A) group (B) section (C) environment (D) preamble
(4) Which of the following character is used to mark a comment in LaTeX ?
(A) $ (B) % (C) # (D) &
(5) Which of the following part of the LaTeX document contains the metadata ?
(A) Preface (B) TOC (C) Preamble (D) Environment
(6) Which of the following web site hosts the LaTeX packages ?
(A) CTAN (B) CLAN (C) CTEN (D) CLEN
(7) Which of the following will not be automatically numbered ?
(A) \section (B) \subsection (C) \chapter* (D) \part
(8) Which of these environments displays mathematical content inline with the text ?
(A) displaymath (B) math (C) equation (D) text
(9) Which of the following commands generate the set union symbol ?
(A) \cup (B) \setunion (C) \cap (D) \union
(10) Which of the following operator is used to denote a subscript or an index ?
(A) _ (Underscore) (B) ^ (Caret) (C) – (Minus) (D) < (Less than)
(11) Which of the following refer to the very first line in the preamble ?
(A) \usepackage (B) \title (C) \maketitle (D) \documentclass
(12) Which of the followings reserved character in LaTeX ?
(A) % (B) @ (C) ABC (D) 123
(13) Which of the following begins with \begin {name} and ends with \ends {name} in LaTeX ?
(A) group (B) section (C) environment (D) preamble
(14) Which of the command is used from the following to write Sans Serif fonts in LaTeX ?
(A) \textrm {text} (B) \textsf {text} (C) \texttt {text} (D) \text senserif {text}
(15) Which menu – option is used in LaTeX file if the compilation was successful ?
(A) Tools Build (B) Tools Go (C) Format Build (D) Insert Build
(16) By using which package of LaTeX can be add programming code within the document ?
(A) easy list (B) set programming (C) listings (D) set space
(17) How many parts are there in LaTeX document ?
(A) 1 (B) 2 (C) 3 (D) 4
(18) Modern word processing software operates in which of the following mode ?
(A) WYSIWYG (B) WISYWYG (C) WIGIWIS (D) WISWYG
(19) Which of he following character is used to mark a comment in LaTeX ?
(A) % (B) & (C) $ (D) #
(20) Which of the following commands generate the set Union ‘‫ ’׫‬symbol in LaTeX ?
(A) \union (B) \cap (C) \cup (D) \setunion
(21) In LaTeX, square root of a number x is denoted by following command ?
(A) \sqrt [x] (B) \sqrt {x} (C) \sqrt <x> (D) \sqrt (x)
(22) LaTeX command starts with which character followed by the command name ?
(A) \ (back slash) (B) / (front slash) (C) * (D) ?
(23) From following LaTeX command which of the part is optional argument ? \document [14pt]
{article}
(A) document [14pt] (B) 14pt (C) document (D) article
(24) In LaTeX, to insert a break in lines user uses which command at the end of each line ?
(A) ## (B) $$ (C) // (D) \\
(25) Which command in LaTeX is used to define the document’s title ?
(A) \title doc (B) \title (C) \doc title (D) \LaTeX title
(26) TeX and LaTeX use which file extension ?
(A) .tax (B) .latex (C) .tex (D) .txt
(27) Which command in LaTeX produces the popular PDF format files ?

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_12.docx     1 
(A) pdf latex (B) pdf conv (C) pdf pop (D) pdf tex
(28) What is the full form of CTAN ?
(A) Compare TeX Archive Notes (B) Comprehensive Tex Archive Network
(C) Comprehensive TeX Add Network (D) Code TeX Article Network
(29) In LaTeX, to print not equal to sign, which mathematical symbol is used ?
(A) \neq (B) \nteq (C) \noteqto (D) \noteq
(30) In LaTeX, which command is used to emphasis effect to text ?
(A) \eph (B) \emph (C) \empha (D) \emh
(31) In LaTeX, which command is used to set paper size and margins ?
(A) \use pageout (B) \use paper (C) \use package (D) \use page
(32) In LaTeX, who has created the packages ams math, ams symb and ams fonts ?
(A) American Mathematical Society (B) Advance Mathematical Source
(C) ASCII Mathematical Society (D) Armstrong Mathematical Source
(33) Which text editor is used to create LaTeX document ?
(A) SciTE (B) gedit (C) Notepad (D) (A) or (B)
(34) From the following which are the reserved character in LaTeX ?
(A) #, % (B) $ (C) & (D) All of these
(35) What is the full form of CTAN ?
(A) Comprehensive Tex Archive Network (B) Compressed Text Network
(C) Compulsory Test Network (D) Common Test Network
(36) Which extension is used in LaTeX file ?
(A) .lex (B) .tex (C) .tel (D) .let
(37) In LaTeX file, if the compilation was successful, which shortcut key is used to view the file in
document viewer ?
(A) F7 (B) F5 (C) F8 (D) F9
(38) Which of the following characters is used to mark a comment in LaTeX ?
(A) $ (B) # (C) % (D) &
(39) Which of the following is a very popular LaTeX distribution available in the standard Ubuntu
repositories ?
(A) Tax Live (B) Test Live (C) Tex Live (D) Text Live
(40) Which of the following file extension is used by LaTeX ?
(A) .ext (B) .tex (C) .lat (D) .ltx
(41) We can compile the LaTeX document LaTeX document by issuing which command at command
prompt ?
(A) pdftax filename (B) pdftex filename
(C) pdftext filename (D) pdflatex filename
(42) LaTeX command starts with which character, followed by the command name ?
(A) – (B) \ (C) $ (D) *
(43) In LaTeX document, if we want to insert a break in lines which command we will use at the end of
each line except last line in paragraph ?
(A) . (B) ; (C) \\ (D) :
(44) Which of the following character is known as reserved character in LaTeX ?
(A) # (B) $ (C) % (D) All of these
(45) Which of the following website hosts the LaTeX packages ?
(A) CTEN (B) CTAN (C) CWAN (D) CLEN
(46) By default elements are assigned number upto which level that is upto subsections in LaTeX?
(A) Level 1 (B) Level 2 (C) Level 3 (D) Level 4
(47) If compilation was successful, you may select which menu option to view file in default document
viewer in LaTeX ?
(A) Tools Run (B) File Run (C) Edit Compile Go (D) Tools Go
(48) In LaTeX packages like amsmath, amssymb and amsfonts is created by which of the following
society ?
(A) Russian Mathematical Society (B) Indian Mathematical Society
(C) European Mathematical Society (D) American Mathematical Society
(49) Which of the following Mathematical symbol is used in LaTeX ?

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_12.docx     2 
(A) < (B) # (C) = (D) All of these
(50) Which of the following operator is used to denote a subscript or an index in LaTeX ?
(A) < (Less than) (B) ^ (Caret) (C) – (Minus) (D) _ (Underscore)
(51) Which of the following part of LaTeX document contains the metadata ?
(A) Preference (B) Preamble (C) TOC (D) Environment
(52) In LaTeX, which of the following begins with \begin {name} and ends with \end {name} ?
(A) Group (B) Environment (C) Preamble (D) section
(53) Which document class is used for creating presentation slides and it automatically sets larger font
size in LaTeX ?
(A) Impress (B) Beamer (C) Slides (D) Article
(54) Which of the following website hosts the LaTeX packages ?
(A) CTAN (B) CLAN (C) CTEN (D) CLEN
(55) Which shortcut key is used to compile LaTeX file in SciTE editor ?
(A) F4 (B) F5 (C) F6 (D) F7
(56) Which command is used to begin environment in LaTeX ?
(A) \begin {name} (B) /begin {name} (C) \start {name} (D) /start (name)
(57) Which extension is used to save file of LaTeX ?
(A) .text (B) .ltx (C) .tan (D) .tex
(58) How can one write reserved character $ in LaTeX ?
(A) \$ (B) –$ (C) *$ (D) #$
(59) From the following which package is used to support mathematical symbol in LaTeX ?
(A) SOS (B) AMS (C) MATH (D) SIGN
(60) LaTeX documents are typically created using which editor in Ubuntu ?
(A) Jedit (B) Gedit (C) Kedit (D) Ledit
(61) Which of following can be used explicitly specify the logical structure of the document in LaTeX ?
(A) \chapter (B) \title (C) \date (D) \pdf
(62) What is the file extension of TeX and LaTeX ?
(A) .lat (B) .xet (C) .tar (D) .tex
(63) LaTeX commands starts with a which character followed by the command line ?
(A) \ (back slash) (B) / (front slash) (C) # (hash) (D) * (star)
(64) Which of the following command in LaTeX is used to break lines ?
(A) ;; (B) \\ (C) # (D) $
(65) In LaTeX, option argument is written in which brackets ?
(A) [ ] (B) { } (C) ( ) (D) < >
(66) Which of the following character is reserved in LaTeX ?
(A) % (B) , (C) . (D) :
(67) Which of the following character is used as comment in LaTeX ?
(A) % (B) // (C) \* (D) #
(68) In LaTeX, the actual content is always inside the environment document, written between which of
the following ?
(A) \begin (document) and \end (document) (B) \begin <document> and \end <document>
(C) \begin [document] and \end [document] (D) \begin {document} and \end
{document}
(69) Which of the following shortcut is used to compile (build) LaTeX file in SciTE editor ?
(A) F5 (B) F6 (C) F7 (D) F8
(70) Which of the following command is used in LaTeX to make text as italic effect ?
(A) \textit (B) \ittext (C) \txtit (D) \tit
(71) In LaTeX, square root of a number x is denoted by which of the following command ?
(A) \sqrt (x) (B) \sqrt <x> (C) \sqrt {x} (D) \sqrt [x]
(72) In LaTeX, which of the following way we can print “Not equal to” symbol (≠) ?
(A) \tn (B) \nequal (C) \neq (D) \div
(73) Which of the following commands generate the set Union (‫ )׫‬symbol ?
(A) \cup (B) \cap (C) \union (D) \u
(74) Which of the following refer to the very first line in the preamble ?
(A) \usepackage (B) \title (C) \maketitle (D) \documentclass

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_12.docx     3 
(75) What is the full form of PDF ?
(A) Portable Document Format (B) Private Document File
(C) Process Document Format (D) Protocol Document Format
(76) \documentclass [12 pt] {article}; from this given statement which is optional argument in LaTeX ?
(A) 12 pt, article (B) documentclass (C) {article}; (D) [12 pt]
(77) Which document class is used for writing individual articles in LaTeX ?
(A) beamer (B) slides (C) article (D) book
(78) Which package is used to add support for multilevel lists in LaTeX ?
(A) easylist (B) listings (C) amsmath (D) setspace
(79) Which package can be used to create a section that is not automatically numbered ?
(A) \part (B) \section* (C) \counter (D) \setcounter*
(80) From the following which sign is used as comment in LaTeX ?
(A) & (B) # (C) % (D) $
(81) Which shortcut key is used as comment in LaTeX ?
(A) F5 (B) F12 (C) F7 (D) F9
(82) LaTeX commands start with which of the following character followed by the command name ?
(A) \ (Back slash) (B) / (Slash) (C) $ (Dollar) (D) – (Dash)
(83) In LaTeX, which of the following command is inserted at the end of line to insert a break in lines ?
(A) \ (B) # (C) % (D) \\
(84) Which of the following is not a reserved character of LaTeX ?
(A) # (B) o (C) $ (D) %
(85) A LaTeX document has how many parts ?
(A) One (B) Two (C) Three (D) Four
(86) Which of the following command structure is used to declare preinstalled packages in the preamble
of LaTeX document ?
(A) \import {package-name} (B) \insert {package-name}
(C) \open {package-name} (D) \usepackage {package-name}
(87) In SciTE editor, which of the following shortcut key is used to compile LaTeX ?
(A) F4 (B) F5 (C) F7 (D) F9

*****

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_12.docx     4 
13. Other useful free tools and services
(1) Which of the following refers to a file that has an entire directory structure inside it ?
(A) Apache (B) Archie (C) Archi (D) Archive
(2) What is the full form of tar ?
(A) Tape Archiver (B) Tech Archiver (C) Test Archiver (D) Tight Archiver
(3) For which types of archives is the password protection option available ?
(A) zip (B) tar (C) tar.gz (D) Both zip and tar.gz
(4) Which of the following is a feature-rich media player ?
(A) VAC (B) VEC (C) VLC (D) VNC
(5) What is the full form of VLC ?
(A) Video LAN Client (B) Video Line Coder (C) Video Length Coder (D) Video List Creator
(6) Which technology gives out location with accuracy ?
(A) GRS (B) GPRS (C) GRPS (D) GPS
(7) Which program is used to enter Unicode character into any application ?
(A) Character Display (B) Character Insert (C) Character Map (D) Character Select
(8) Which command is used to quit from R ?
(A) quit() (B) q() (C) exit() (D) close()
(9) Which function is used to create a bar graph in R ?
(A) bar() (B) plot() (C) bargraph() (D) barplot()
(10) Which of the following are different variants of Rational Plan ?
(A) Single, Multi, Viewer (B) Singular, Multiple (C) View, Preview (D) Server, Client
(11) Which is a very common format for distributing software or bundles of files on the Linux platform ?
(A) Nautilus Manager (B) Zip (C) Jar (D) Tarball
(12) In VLC Media Player which menu – option is used to open a playlist ?
(A) View Playlist (B) Media Playlist (C) Media Open File (D) Insert Playlist
(13) At the end of the windows of VLC display which bar showing how much of the current track has
been played and what is its total duration ?
(A) Status bar (B) Progress bar (C) Menu bar (D) None of these
(14) In web browser, which of the following URL should be type of access Google map service ?
(A) http://google.map.co.in (B) http://google.map
(C) http://maps.google.co.in (D) None of these
(15) Which of the following is a view of Google map ?
(A) Map view (B) Satellite view (C) Both (A) and (B) (D) Print preview
(16) Which program is used to enter Unicode characters into any application ?
(A) Character map (B) Object manager (C) Font chart (D) All of these
(17) In ‘R’ software, which function displays a list of all the variables user has define ?
(A) dir() (B) ls() (C) list() (D) disp()
(18) In ‘R’ plotting, which of the following is used as an argument of barplot() ?
(A) xlab (B) ylab (C) border (D) All of these
(19) The Skype service allows user to communicate with peers using which of the following ?
(A) Voice (B) Text (C) Video (D) All of these
(20) Which of the following are different variants of Relational Plan ?
(A) Single, Multi, Viewer (B) Singular, Multiple, Preview
(C) Source, View, Preview (D) Server, Client, View
(21) Which of the following software gives permission to make different projects, analyzes all projects
data and creates a project portfolio view ?
(A) Rational Plan (B) R Software (C) Character Map (D) Skype
(22) Which command is used to quit from R ?
(A) quit() (B) q() (C) exit() (D) close()
(23) By which sign is the begging and the end of enclosed text of Data Compression done ?
(A) ^ ..... $ (B) $ ..... ^ (C) “ ..... ” (D) \ ..... \
(24) Which program is used to enter Unicode characters into any application ?
(A) Character Display (B) Character Insert (C) Character Map (D) Character Select
(25) In VLC Media Player which menu option is used to convert multimedia files from one format to
another ?

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_13.docx     1 
(A) Format Convert/Save (B) Tools Convert/Save
(C) Media Convert/Save (D) Insert Save Convert
(26) Which of the following technique is used for reducing the storage requirements of computer files
and directory structures ?
(A) Cryptography (B) Data hiding (C) Data sizing (D) Data compression
(27) Java uses which of the following file compression format ?
(A) gz (B) uz (C) jar (D) tar
(28) Which of the following refers to a file that has an entire directory structure inside it ?
(A) archive (B) archie (C) archi (D) apache
(29) In VLC, which menu option is used to convert multimedia files from one format to another?
(A) Edit Convert (B) Media Convert/Save
(C) File Convert format (D) Media Insert format
(30) Which of the following is a work environment of ‘R’ software ?
(A) Command line (B) Graphical (C) Both (A) and (B) (D) None of these
(31) In ‘R’ software, strings are enclosed in which sign ?
(A) * ..... * (B) $ ..... $ (C) /* ..... */ (D) ‘.....’ or “.....”
(32) In ‘R’ software which of the following syntax is used to get help on a particular function ?
(A) guide (function name) (B) edit (function name)
(C) help (function name) (D) ls (function name)
(33) In ‘R’ software which basic function is used to find maximum value from the list ?
(A) big (list) (B) max (list) (C) mean (list) (D) maximum (list)
(34) Which rational plan allows links between tasks pertaining to different projects, analyzes all our
projects data and creates a project portfolio view ?
(A) Single (B) Multi (C) Viewer (D) None of these
(35) Which of the following is not an example of instant messaging services ?
(A) Rediff bol (B) Yahoo messenger (C) Google talk (D) Mytalk
(36) For convenience to place a whole directory structure into a single file is called what ?
(A) Archive file (B) Java file (C) Video file (D) Text file
(37) Which menu – option is used to save playlist in VLC media player ?
(A) Media Playlist Save (B) Media Save Playlist to file (C) Media Save (D) View Playlist
(38) From the following which different type of view can show the information of a place in Google
maps ?
(A) Map view (B) Satellite view (C) Both (A) and (B) (D) None of these
(39) Which command is used to quit from ‘R’ software ?
(A) q() (B) quit() (C) exit() (D) close()
(40) Which services are provided by Skype software in computer ?
(A) Free phone calls (B) Video conferencing (C) Text file transfers (D) All of these
(41) Which of the following technique is used for reducing the storage requirements of computer files
and directory structures ?
(A) Data Conformation (B) Data Competition (C) Data Compression (D) Data Communication
(42) On Linux system, which of the following is the most common archive format ?
(A) PAR (B) JAR (C) JER (D) TAR
(43) Which of the following is a free software environment for statistical computing ?
(A) T Software (B) S Software (C) R Software (D) N Software
(44) Which of the following is used as a comment marker in R software ?
(A) % (B) $ (C) @ (D) #
(45) Which of the following command of R opens the online help in browser ?
(A) online.start() (B) on.start() (C) start.online() (D) help.start()
(46) Which of the following function displays a list of all variable defined in R ?
(A) list() (B) lst() (C) ls() (D) alllist()
(47) Which of the following is one such software that allows us to make calls over the internet using our
computer ?
(A) Skype (B) Rational Plan (C) Skipe (D) R Software
(48) Which program is used to enter Unicode character into any application ?
(A) Character Map (B) Character App (C) Unicode Map (D) Unicode App

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_13.docx     2 
(49) Which of the following function in R software helps to find median ?
(A) list (median) (B) med (list) (C) mean(list) (D) median(list)
(50) Which function is used to create a bar graph in R software ?
(A) bar() (B) plot() (C) plotbar() (D) barplot()
(51) From the following which technique is used for reducing the storage requirement of computer
requirement of computer file and directory structures ?
(A) Date repetition (B) Data installation (C) Data compression (D) All of these
(52) What is the full form of TAR ?
(A) Tape Archiver (B) Tape Attacker (C) Tape Analyzer (D) Tape Administrator
(53) Which program is used to enter Unicode Character into any application ?
(A) Character Display (B) Character Map (C) Character Insert (D) Character Select
(54) Rational Plan comprises of how many types of desktop products ?
(A) 2 (B) 3 (C) 4 (D) 5
(55) Which software allows user to make calls the Internet using computer ?
(A) Amazon (B) Mcall.com (C) Skype (D) Google Map
(56) Which of the following techniques works by identifying repetition in the data and encodes the data
in a way reduces or eliminates such repetition ?
(A) Data print (B) Data hiding (C) Data compression (D) Data duplicate
(57) Which of the following refers to a file that has an entire directory structure inside it ?
(A) Apache (B) Archi (C) Archie (D) Archive
(58) Which bar of VLC media player shows, how much of the current track has been played and what is
its total duration ?
(A) Menu bar (B) Toolbar (C) Progress bar (D) Status bar
(59) In ‘R’ software, which of the following command is used to open online help in a browser ?
(A) myhelp() (B) cmdhlp() (C) command() (D) help.start()
(60) Which of the following desktop product of Rational plan allows us to manage independent projects
that do not have common resources and has not inter relations between different projects ?
(A) Single (B) Multi (C) Viewer (D) Print plan
(61) Which zip format is used in Java ?
(A) ZAR (B) openoffice.org (C) TAR (D) JAR
(62) To open a play list in VLC player which menu – option is used ?
(A) View Open Directory (B) Media Open Directory
(C) View Playlist (D) Media Save Playlist
(63) Which services provides the facility of finding the nearest ATM centre, bank, bus stop ?
(A) Hot Spot (B) GSP (C) GPS (D) WiFi
(64) Which software is used for Statistical computing ?
(A) Rational plan (B) Skype (C) ‘R’ software (D) Character map
(65) From the following which rational plan allow us to manage independent projects ?
(A) Multi (B) Viewer (C) Single (D) None of these

*****

G:\Mithu\Computer Related\Important Question_June 2018\Computer 12_Chap 8 to 13\Chap_13.docx     3 

You might also like