Kumar paper set class 12th Computer
Kumar paper set class 12th Computer
VISHWABHARTI VIDHYALAY
ARIFKHAN N PATHAN SHAHWADI
SPECIAL THANKS
PRINCIPAL
MANSUKH M. VYAS MADHAV PUBLIC SCHOOL
STD – 12
COMPUTER
1) Which access modifiers can be used before the type of variable or method in Java ?
2) In Java, which variables are defined with in a class, outside any method with static keyword?
3) In Java, what is used to represent 2-D structure like table of rows and columns ?
4) Inheritance model consist of which type of relationship between two classes in Java ?
D) Linelndsearch()
6) In java, a sub class inherits all instance variables and methods from which class?
7) Composition and aggregation establish which type of relationship between classes in java ?
8) If 'str' is the object of string class and its content is "Hello" then what is the value of str. length ()?
A) error B) 8 C) 5 D) 7
9) In Java, which of the following method can be used with java.util.Arrays class ?
11) In Java, to declare a 1D array we use a pair of which brackets after array name or after datatype ?
A) <> B) 11 C) {} D) ()
12) In Java, while using inheritance - "Child class" can be referred to as which of the following ?
13) Which of the following is the keyword used to refer a super class constructor in sub class constructor?
16) Which program is used to enter unicode characters into any application ?
17) In 'R' plotting, which of the following is used as an argument of barplot () function ?
18) In 'R' software, which function displays a list of all the variables user has defined ?
A) F9 B) F5 C) F6 D) F2
20) In Edit mode toolbar of KompoZer, which of the following viewing mode is not available ?
22) From the following who offers limited free space on the web server ?
25) From the following which operator is used to access instance variable and instance methods in Java ?
26) Which network is developed by the Gujara Government to provide information regarding various government
27) Which is a program that uses internet to record information that passes through a computer or router in transit
from
sender to receiver ?
28) Which string constructor is used without arguments to create a string object with no characters ?
D) string(str literal)
29) Which method can be applied on the variable that is stored on user's computer cookie?
30) Which of the following statement is used in JavaScript to return a value in a function?
31) What is used in web pages to improve the design and validate the forms ?
32) Which exception class is observed when an attempt to access the array element with an index value that is
outside
A) Super class B) Parent class C) Sub class D) Both (A) and (B)
34) In form, which input element can be used to enter comment, report or a long description of a product ?
A) \$ B) -$ C) *$ D) #
36) In Java, to search an element in an array, array class provides which type of method ?
37) Which block is generally used to clean up at the end of executing a try block ?
A) Static B) Could not be changed C) Both (A) and (B) D) Dynamic 40) In object-oriented programming (OOP)
D) None of these
41) Which steps are required to create object from a class in Java ?
42) From the following, which are the types of stream class in Java ?
D) Boolean stream
43) From the following which are the examples of B2C E-commerce business model ?
44) From the following which extension are used to indicate text files ?
46) Which type of braces is used to initialize data elements in 1-D array ?
A) <> B) () C){} D) ()
47) From the following what is the purpose for developing website ?
A) validateForm() B) isNaN() C) alert() D) number() 49) From the following which is a limitation of E-commerce
50) 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
51) Which is the default level of protection, where lack of any access modifier keyword is in a declaration in Java ?
53) Which is the most popular and widely accepted method of payment on internet in E-commerce / M-commerce ?
54) In object-oriented programming, what is an indication of problem which occurs during program execution ?
55) Which method of string class is used to return a string with all characters of invoking string converted to
uppercase
58) We can use various static methods provided by Java using which array class ?
62) From the following which type of visibility modifiers are used to protect a method on variables ?
63) From the following which is the illegal name of variable in Java ?
A) 1 B) 2 C) 3 D) 4
A) 12 B) 5 C) 60 D) 11
D) All of these
67) Which of the following is the process of buying and selling products by offering the customers to bid the price?
68) From the following which is the example of Consumer to Business model ?
69) Which block contains the code that is to be executed to handle an exception which is throw object using throw
keyword ?
71) Which attribute of form elements is used to specify where to send the form data when the form is submitted ?
72) A computer language is object oriented if it supports which type of object properties?
A) Limited screen size. B) Virtually can contact a user anytime and anywhere
C) Provides global reach D) Customized alerts can be easily received or the mobile
78) 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
79) From the following which technique is used for reducing the storage requirement of computer file and directory
structures ?
82) From the following which option is not in Form Properties Dialog Box of KompoZer ?
83) 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)
86) In Java program, when a throw statement is encountered a search for matching which block begins ?
89) File can exist on which of the following permanent storage device ?
90) In Java, which method of file class returns true if file exists, otherwise returns false ?
D) boolean getFname()
91) In Java, which of the following is used as a separator between fields of a record ?
92) If compilation was successful, you may select which menu option to view file in default document viewer in
LaTex?
D) Tools → Go
94) Which menu-option is used to view different tool bars (if not visible) in KompoZer?
95) Parent class is referred to a which class object oriented programming language?
97) To insert input "Text Field" in form of KompoZer which option is selected in field type menu of "Form Field
Properties" ?
99) Which shortcut key is used to close the Site Manager pane in KompoZer?
A) F12 B) F5 C) F9 D) F10
100) Which attribute of <form> element takes a filename as value in HTML form?
101) Which level of protection is used to allow access only to sub class or to share with method declared as "friend"
in
Java ?
102) From the following, which variables defined within a class, outside any method, with the static keyword in Java ?
D) All of these
103) When no modifier is used, which is the default one having visibility only whithin a package that contain the class
?
A) Package B) Private C) Protected D) Public
104) Which of the following is the keyword used refer a super class constructor in sub cla constructor?
105) To give caption to table if requires, which option is used in Table Properties ?
107) Scanner class can be used for performin which of the following operations ?
108) Which of the following file name is the home page of the website saved as ?
109) From the following which are the examples of open source IDEs ?
110) Which E-commerce business model refers to E-commerce activities involving transactions between and among
the
consumers ?
D) Business to Consumer
112) Which method of date class constructs date object using current system time in Java ?
113) Which menu is used to change page title in website created in KompoZer ?
114) File method boolean isFile() returns which type of value of File class?
115) In Java in which condition program will get a compilation error and not be able to create ".class" file ?
116) In Java, if we want to allow data directly accessed by methods of other class, then which method is used ?
118) Which type of block contains the code that may give rise to one or more exceptions in Java ?
119) Generally, which input element is used to select a single item from a given group of item ?
A) Byte stream class B) Writer class C) Reader class D) Scanner class 121) From the following which devices is
123) Which of the following symbol signifies the start and end of a JavaScript block ?
D) Semicolon
124) The name used for a constant value is known as what in Java ?
125) From the following which package is used to support mathematical symbols in LaTeX ?
126) Inheritance is generally referred as which type of relationship between two classes ?
127) If we want to make visible to all the classes outside the class, where method or variable is visible to class,
which
128) What is to be represented on the top section of class diagram, which is a representation of class?
129) In which internet security threat, electronic defacing of an existing website page found and an attacker replaces
D) Sniffing
130) Which type of array is used like table of rows and columns ?
132) From the following which bank issues the credit card and guarantees the payment to the merchant ?
133) From the following which method of string class returns a string with all characters of invoking string converted to
upper case ?
D) String to Uppercase ()
134) Which block is generally used to clean up at the end of executing a try block ?
136) What type of value is returned when we use get method of Calendar class with constant DAY_OF_WEEK as an
argument ?
137) From the following which are the examples of B2B model ?
D) Electronic newspaper
D) www.mybids.in
140) From the following in which E-commerce model, sellers can sell products directly to consumers and buyers are
individual customers?
141) 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 142) From the following, which is not a
143) From the following which is the syntax of throw exception object ?
D) throw object_exception;
144) Which application is used to validate the data entered in the HTML forms on the client side before sending it to
the
server ?
A) KomopZer B) HTML tag C) JavaScript D) CSS
145) Which method of the scanner class helps in reading integer input from the console ?
A) nextInt() B) readInt() C) writeInt() D) None of these 146) When some problem occured while executing the
A) # B) error C) 0 D)1
A) Set the style for each element only once. B) CSS compatibility varies with differe browsers.
C) Website designing quick and efficient usi CSS. D) CSS has less code compared to that in HTML
148) From the following, which file extension is not used for text file ?
149) Which method of file class is return true if the file or directory is hidden ?
D) boolean isFile ()
150) Which part of CSS syntax consists of property associated with the HTML element used in selector and its
corresponding value
151) To keep the 'checkbox' checked, which option is selected when the form load in KompoZer?
A) Edit Page colors and Background B) Format Page colors and Background
154) Which package is used to add support for multilevel lists in LaTex ?
157) Which document class is used for writing individual articles in LaTex?
158) Which numeric digits are used for Hexadecimal numbers (16 digits) in integer literals in Java ?
A) 0 to 8 and A to E B) 0 to 9 and A to F C) 0 to 15 D) 0 to 16
159) From the following who allows more interactivity and control in data entry?
162) Which is a computer program that detects, prevents and takes action to remove the malicious codes like viruses,
163) Which shortcut key is used to compile LaTeX file in SciTE editor ?
A) F4 B) F5 C) F6 D) F7
164) Which of the following is enabled by data abstraction?
166) \documentclass [12 pt]{artical); from this given statement which is an optional argument in LaTex ?
A) 8 B) 3 C) 4 D) 2
168) 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
169) What is the associativity of dot operator which is used to access instance variable ?
D) right to left
170) Which step of creating an object from a class 7 initialize the newly created object ?
171) In Java, who looks for unused objects and reclaims the memory ?
D) Garbage collector
172) Which command can be used to create a section that is not automatically numbered ?
A) & B) # C) % D) $
A) F5 B) F12 C) F7 D) F9
176) Which service provides the facility of finding the nearest ATM centre, bank, bus stop ?
177) Inheritance is generally referred to which kind of relationship between two classes ?
D) is a' relationship
179) If the value is not a number then what is return by isNaN() in JavaScript ?
180) Which is the top level object in the Browser Object Model ?
181) While filling forms on Internet, some fields are marked with a red colour asterisk mark "*" What does it mean?
182) Which constructor creates a string object which is same as object specified in argument?
A) String () B) String (char ary []) C) String (String strObj)
183) All the rules related to tax, different forms and facility for submission of online tax returns services are provided
in
184) From the following location based services, which service provides "tracking of assets locating friends in a
D) Navigation
185) int marks [][] = new int [5] [3]; How many bytes are used in storage space ?
A) 60 B) 3 C) 5 D) 15
186) From the following who ensures that the information must not be accidentally or maliciously altered or tempered
in
transit?
188) To open a play list in VLC player which menu - option is used ?
Aggregation B) Composition C) Polymorphism D) Encapsulation 190) When the program gets compiled without errors,
194) Which menu-option is used if the program is compiled without any error ?
195) From the following which Rational plan allow us to manage independent projects ?
197) Which option of Image Properties dialog box will display the text in case the image is not 9 displayed in the
browser
in KompoZer?
198) Which menu-option is used to change the page title of web page in KompoZer ?
200) Which of the following is a variable that is stored on the users computer ?
201) From the following, who offers limited free space on the webserver ?
202) Which braces is used in 2-D array using comma separated values of data elements ?
D) [] (square bracket)
204) From the following which are the open source web development tools ?
205) In which way of programming, the focus is on writing functions or procedures which operate on data ?
D) All of these
207) In object oriented programming, attributes that describe the object are known as what ?
D) Composition Toolbar
209) In HTML, which of the following attribute of form is used to specify where to send the form data when the form
is
submitted ?
210) Which of the following is not an important point of the planning process of good website ?
212) Which protocol is used for securing web transactions on the Internet ?
213) The meaning of which word, is "many forms"; different forms of methods with same name in Java ?
214) From the following which are powerful open source IDEs for building web applications like Java ?
215) What refers to buying and selling of goods or services through the uses of internet enabled wireless device ?
D) Modern Commerce
216) What is the mechanism of providing protection to data and methods of a program in object-oriented programming
language ?
217) Java programming language use which type of methodology to analysis, design and implementation of software ?
C) Both (A) and (B) D) System oriented programming language 218) Which program is used to enter Unicode
D) Character Select
219) What should be used to control the web browser window or the web page in JavaScript ?
220) Which tab shows all details of HTML code, that helps in editing the source code on the left side of page pane of
KompoZer ?
221) Which of the following protocol is used to transfer the web pages from user's computer to the web host ?
222) In JavaScript, which event would occur when loading of image is cancelled ?
223) In Browser Object Model, elements of webpage like forms, images, links etc. are contained within which object ?
A) false B) true C) 10 D) -1
226) Which of the following symbol signifies the start and end of a JavaScript block ?
228) Which of the following statement is used to return a value in a function of JavaScript ?
229) In KompoZer, which option of 'Table' tab of 'Table Properties' dialog box is used to align the table as left, right
or
center?
230) Which of the following open source WYSIWYG HTML editor supports languages like English Dutch, German
etc.?
231) Who developed Amaya free open source WYSIWYG web editor ?
232) Which of the following E-Commerce business model is also a part of E-Governance ?
D) Incomplete, Relevant
D) www.bookshopofindia.com
236) Which of the following service customer can not avail with the help of online banking ?
C) Cash withdraw or deposit D) Transfer the money from one account to other
238) commodity.com and tradeindia.com websites are an examples of which E-Commerce business model?
239) Which of the following website is not an example of Consumer to Consumer E-Commerce business model?
242) Which security system is used by major credit card companies to make online transactions secured?
A) TM B) SM C) C D)Ⓡ
A) 2 B) 3 C) 4 D) 6
245) Which of the following card payment mechanism is launched by National Payments Corporation of India (NPCI)
247) Which of the following payment card has a microchip embedded on its surface ?
248) In Java, what keeps the data safe from unintended actions and inadvertent access by outside objects ?
D) Aggregation
250) In Class diagram, a class is represented with an icon using a rectangle is splitted into how many sections?
A) 2 B)3C) 4 D) 5
A) -B) + C) ~D) *
253) Which of the following is used to define common features of similar objects ?
A) + B) % C) < D)*
255) In Java, which of the following looks for unused objects and reclaims the memory that those objects are using ?
257) What is the machine language for the Java Virtual machine known as ?
258) In Java, which keyword is used to create the object by allocating memory ?
260) In SciTE editor, which menu - option is used to compile java source program ?
D) File → Run
A) 2 B) 4 C) 6 D) 8
A) true B) false C) 1 D) 0
264) In Java, which statement is used to skip the following statements in a loop and continue with the next iteration ?
266) In Java, which of the following is used to repeat a sequence of statements over and over until some condition
occurs
268) In Java, which of the following is used to represent a collection of homogeneous type of elements ?
270) In Java, which of the following are variables defined within a class but outside any method?
D) Main variables
272) Which of the following is not a right statement to declare an array named marks in Java ?
A) int marks [] = new int [3]; B) int [] marks = new int [3];
C) int marks [3] = [50, 60, 70); D) int marks [] = [10, 20, 30);
273) In Java, how many levels of visibility modifiers are available for access control?
A) 2 B) 3 C) 4 D) 6
274) In Java, which of the following level of protection is used to allow the access only to sub class or to share with
the
275) In Java, initial value of array elements are specified into which brackets ?
A) () B) {} C) [] D) <>
277) Which of the following is a free software environment for statistical computing?
278) In 'R' software, which command is used for viewing some demonstrations ?
D) Server, Client
280) In Java, which of the following is the keyword used to refer a super class constructor in sub class constructor?
281) In Java, int compareTo(String str) method returns which value if invoking string is equal to 'str'?
A) 0 B) 20 C) <0 D) -1
283) In Java, which of the following methods of string class returns a string after appending 'str' with the invoking
string?
284) In Java, if 'str' is the object of string class and it's content is "Thank GOD" then what is the value of
str.length()?
A) 9 B) 10 C) 8 D) 11
285) In the exception handling of Java, which block is always executed before the program ends
287) Which of the following refers to an error condition in Object Oriented programming terminology ?
288) In Java, which exception class is used when there is an attempt to divide any number by
A) ArrayIndexOutOfBoundException B) ArithmeticException
C) NumberFormatException D) NullPointerException
290) In Java, what type of value is returned when we use get method of Calendar class with the constant
DAY_OF_YEAR
as an argument ?
291) are not included in try block ? Which of the following elements
A) the keyword try B) the keyword catch C) the curly bracket D) statement that might cause exceptions
292) In Java, which method of Scanner class retur true of there is a token in input ?
D) String nextLine
293) In Java, which of the following class provides a method for reading password?
296) The data hierarchy occurs in which of the following order from the smallest to largest piece of data ?
A) # B) ? C) 11 D) $
299) In Java, which of the following class returns the name of files and directories in a directory?
D) String getPath()
300) In LaTeX, which of the following document class is used for writing individual articles ?
301) In Java, read() method of FileReader clas returns which value to indicate the end of stream ?
A) 0 B)-1 C) 1 D) e
A) [] B) {} C) () D) < >
A)% B) + C) - D) =
304) In LaTeX, which of these environments displayes mathematical content inline with the text ?
D) Edit Converter
306) Which program is used to enter Unicode characters into any application ?
D) Character File
307) In the JavaScript, which number is used f first element from the checkbox of three array element ?
A) 3B) 1 C) 2 D) 0
309) In JavaScript, which of the following stateme is used to return a value in a function ?
310) In KompoZer, which option of Table properties dialog box is used to give caption to the table ?
311) In JavaScript, which method is used to app 3 focus on a particular element of the form ?
312) Which of the following is not an option of Table properties dialog box of KompoZer ?
314) In the following JavaScript statement which is a method ? document.write ("Hello Students");
316) Which of the following is an important point which should be considered for developing a good website as part of
planning process ?
317) What is a collection of inter linked web pages for a specific purpose ?
318) Which point of planning process, provides users with the detailed information on the site like products and
services
description ?
319) Which of the following is the first page the opens when the user enters the URL address in the address bar of
the
browser ?
320) Using which of the following Aptana studio 2-0-5 is currently used to develop web applications ?
321) Which of the following is a variable that is stored on the user's computer?
D) All of above
324) In which type of service of E-commerce the notices and reminders sent to the customer by the companies or
banks
D) Net Banking
D) All of above
327) Which of the following is not a popular website for online auction ?
328) Which of following is the means by which we can transfer the web pages from user's 18 computer to the web
host
A) File Page Title B) Insert Page Title C) View Page Title and Properties
330) Which of the following service is provided to the customer by online banking ?
C) Pay various bills online like telephone, electricity and many more without going to the bank
D) All of above
331) Which of the following is the most accurate determining a mobile device's position?
333) In E-Commerce, which of the following is the process of buying and selling products by offering the customers
to
335) What refers to the services and information provided by the government to the business organization through
vast
336) The Gujarat Government has own network called GSWAN is available on which website ?
340) In Java, which method of console class reads a single line of text from the console ?
D) String readLine()
341) Which of the following is a very popular LaTex distribution available in the standard ubuntu repositories?
A) # B) $ C) % D) All of these
344) By default elements are assigned number upto which level that is upto subsections in LaTex ?
345) LaTex command starts with which character followed by the command name ?
A) -B) / C) $ D)*
(i) In B2B model, the customers are companies. (ii) In B2C model, the customers individuals.
350) While making payment through which the customer is not required to provide the credit/ debit card number ?
351) How many specific properties must be supported by an object oriented computer language?
352) Which of the following location ban application is used for plotting route from place to another ?
D) Tracking services
353) There are how many important aspects for E-Commerce/M-Commerce security?
355) Which of the following launched a new card payment mechanism Rupay ?
356) Which of the following is an attack used to shut down a machine or network, making it inaccessible to its
intended
users ?
358) Which security aspect of E-Commer M-Commerce ensures that the informat must not be accidentally or
360) Which of the following enables to represent data in which the implementation details are hidden?
361) What is known as a feature in object-oriented programming allows defining more than one method having same
D) None of above
362) In object oriented concept, the behaviour is known as which of the following ?
363) In object-oriented programming which of the following attribute describes the object ?
367) In class diagram, which of the following icon is not used to represent a class ?
368) In UML rotation, using which of the following syntax an attribute is declared ?
371) In document object model, all the elemen webpage like form, images, links etc. contained within which object?
374) At the bottom of the window of VLC display which bar showing how much of the current track has been played
A) Status bar B) Progress bar C) Menu bar D) None of above 375) In web browser, which of the following URL
D) none of above
A) Map view B) Satellite view C) (A) and (B) both D) Print preview 377) In object-oriented terminology, which
(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) (i) and (ii) both D) none of the above
A) + B) # C)*D)~
380) Which is a very common format for distributing software or bundles of files on the Linux platform?
381) The skype service allows user to communicate with peers' using which of the following ?
382) In HTML, which of the following element is not used to create a form ?
383) What is the default value for method attribute of <Form> element ?
385) In KompoZer, we want any option of the radio button selected when the form is loaded then, the checkbox in
front
386) Which attribute is used to specify the default value of the text-field in the HTML form?
387) Which of the following attribute is used with the <text area> element ? 74
388) In KompoZer, which tab of page pane is used SD to design the web page ?
389) In KompoZer, which menu-option is used to insert an input text field in the form ?
A) Insert Text field B) Form Format field C) Insert Form Form field
391) In KompoZer, which menu-option is used to view the different toolbars and status bar ?
392) In KompoZer, which toolbar is used to create new file, open a file, save a file or publish a web page ?
393) Which of the following option is not available in the text tab of CSS stylesheet dialog box ?
395) In HTML form, which element allows multi- line text input ?
396) JavaScript, what is a reusable block of code that performs a particular task ?
397) In JavaScript function, the block of code is 4 vootten inside which braces ?
A) <> B) {} C) [] D) ()
398) In KompoZer, which menu-option is used to give a background colour in the form ?
D) All of above
402) In the 'CSS Stylesheets' dialog box of KompoZer, which tab is used to change the color of a font ?
404) In KompoZer, which shortcut key is used to close the Site Manager pane ?
A) F5. B) F7 C) F9 D) F2
D) Format Toolbar-2
(i) The JavaScript code can be put directly inside the web page code as a separate section.
A) Only (i) B) Only (ii) C) (i) and (ii) both D) None of the above
409) In JavaScript, which event would occur when document or image is loaded?
411) Which class inherits all instance variables and methods from super class and it may have its own added
variables
and methods ?
413) 1-D array is initialized using comma separated values of data elements using which brackets ?
A) () B) <> C)[]D) {}
D) java.arrays.utils
415) Which constructor can be used without arguments to create a string object with no character ?
417) ………..is special kind of method that is inva when a new object is created.
418) Java supports two types of strings that are handled by two classes. Which are they?
D) String, Buffer
421) If user wants to store 15 integer values through arrays, then which of the following is used ?
422) In following array, if int mark[] = [70,90,20] defined, then what will be value of marks 2 ?
A) 20 B) error C) 70 D) 90
A) null B) 2 C) 1 D) 0
424) Which type of arrays are used to store tabular data in the form of rows and columns ?
A) Appending string B) All the given three options C) Extracting part of string
426) If 'str' is the object of string class and its content is "INDIANFLAG", then what is the value of str.length()?
A) 11 C) 10 B) 8 D) 9
428) What is an indication of a problem that o during a program's execution, it usually signal an error ?
429) Which of the following method returns number of characters in invoking string ?
D) String Lower ()
431) In Java, errors can be broadly classified into two categories namely ...... and Run-time errors.
D) Syntax-time error
432) Which of the following method is used to return a string after appending str with the invoking string?
433) Which class encapsulate both date and time and represent the value using milli-seconds precision?
435) Which of the following method is used to construct date object using current system time ?
437) Which type of file you are not able to cre when there is a syntax error in the prog and we get a compilation
error
A) Only missing semicolon. B) Both missing semicolon and use undeclared variable.
440) Which package contains a hierarchy of classes dealing with various exceptions ?
441) When there is an attempt to divide any number by 0 (zero) which exception is occured while executing the
program?
D) Arithmetic Exception?
444) Which block contains the code that is intended to handle exceptions of a particular type that were created in the
445) Which code indicates whether the command or a program executed successfully or not?
D) String Exception
447) Which type of storage values store in variables are lost when computer is shutdown ?
D) Non-volatile storage
449) What occurs when there is a failed I/O operation in writer class ?
450) Which file class method is used to return the path to the file or directory ?
451) Which of the following commands generate the Set Union symbol in LaTeX ?
D) Public data
A) int next Int () B) int has Next () C) Void int () D) int next ()
456) Which class encapsulates information about the properties of a file or a directory?
457) Which file class method is used to return true, if the file or directory is hidden ?
D) boolean is Directory ()
458) Which File Input Stream method is used to read a byte of data from this input stream?
460) Which file class method is used to return number of bytes in that file ?
461) Which abstract class defines the functionali that is available for all character input strean
462) In LaTeX, to print not equal to sign, whs mathematical symbol is used ?
464) LaTeX command starts with which character followed by the command name?
A) % B) & C) $ D) #
466) From following LaTeX command which of the part is optional argument? document [14pt] { article }
467) Modern word processing software operates in which of the following mode ?
468) In LaTeX, to insert a break in lines user uses which command at the end of each line ?
A) $@ B) ## C) $# D) \\
472) The definition of the method (function) in Java consists of function header and the sequence of statements
A) {} B) < > C) () D) []
473) While using shorthand version of assignment, if it is defined as a + = b where a is 7 and b is 8, then what will
be b, result of a ?
A) 8 B) 49 C) 14 D) 15
474) Which type of variables are defined within a class but outside any method ?
D) Instance variable
475) When two operators are having different priority, then an operator with higher precedence is operated .......
A) // B) (.) dot C) $ D) #
477) Control structure branches are used to choose among two or more possible courses of action, is called as what
D) Selective structure
478) In object oriented programming languages, creating an object is also called as what ?
D) Project installation
480) Java have a ........ that looks for unused obj and reclaims the memory that those obj are using.
D) garbage collecto
481) To provide an user-defined no-argument constructor, which of the following command is used?
A) School (float i, float j); B) School (int i); C)School(){}; D) School {}();
482) Which are the four P's used in the four of visibility to provide necessary protection ?
484) Highest level of protection can be achiev using which protection level ?
485) If we want to allow other methods to read only the data value method can be used.
486) ……….allows us to build new class with added capabilities by extending existing class ?
487) Which keyword is used to call the construc of super class in the constructor of sub class ?
490) In LaTeX, who has created the packages A math, ams symb and ams fonts ?
491) Which command in LaTeX produces the popular PDF format files ?
496) in composer which tab of CSS Styleshit dialog boxes used to view CSS code ?
497) In browser object model, method and properties of which object is used to control the web browser window ?
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
499) In JavaScript, which statement is used to stop the function execution and return the specified value ?
500) In JavaScript which of the following type value can be stored in the variable ?
501) Which of the following is used in web pages to improve the design and validate the form?
502) Using which tag, the JavaScript code is Sinserted into an HTML page ?
D) <Style>......</Style>
503) Which of the following is not an example of fuser defined function of JavaScript ?
A) [] B) {} C) < > D) ()
506) The website content should be classified int which of the following category ?
507) In Kompozer, which option of borders and spacing option of table properties dialog box is used to specify gap
between cells ?
508) In JavaScript, isNaN() function returns what when the value passed is not a number ?
A) 10 B) false C) 11 D) true
510) In Kompozer form, the radio buttons for gender field are grouped by the name 'gender' and gender is an array of
A) gender [2] and gender [1] B) gender [1] and gender [2]
C) gender [0] and gender [2] D) gender [0] and gender [1]
511) 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
512) In Java Script, which type of condition in 'if' statement allows program to enter the 'if' statement block and
execute
513) Which of the following helps in promoting the business, selling the products and attracting a large number of
customers ?
514) In Kompozer, which tab of image properties dialog box is used to change the size of image?
515) In the planning process of website, after deciding what the content and layout of the website can be properly
developed ?
A) Navigation B) Audience C) Content and Medium D) Purpose 516) In Kompozer, which menu is used to insert
a table ?
A) world wide web consortium B) world wab company C) world wide web
519) In Kompozer, which option of 'Image properties' dialog box is used to display the text in case the image is not
520) Which of the following is the process of buying and selling products by offering the customers to bid the price ?
521) Education institutes provides examination results, online enrolment forms etc through internet is an example of
D) Information services
522) Which protocol is use to transfer the web pages from user's computer to the web host?
523) Which of the following is an open source IDE provides language support for Rails, Python etc as complete web
development environment?
D) shopping.indiatimes.com
D) www.bluegriffoneditor.edu
526) Which page of the website is the first page that opens when user enters the URL address in the address bar of
the browser ?
527) ebay.com, OLX.com and Quikr.com websit are examples of which E-commerce busine model ?
528) On the website of Indian Railways afte reservation, e-ticket is sent via which of th following?
529) Which of the following factor is playing role for the growth of E-commerce in India ?
530) Which of the following is referred as online non commercial communication between the government agencies,
A) Buy from home, office or any placeB) Health care services oberstd
533) Which of the following website is not example of E-commerce business modeli
D) rediff.com
534) Software companies provide which type of online services to their customers for any problem in installation,
configuration or use ?
535) Which of the following E-commerce busin model refers to E-commerce activities bet different business partners
?
A) C2B B) C2C C) B2C D) B2B
537) What is known as the process of hiding information within other information ?
538) The payment cards can be classified into which of the following type ?
539) While making payment through which the customer is not required to provide the credit/ debit card number ?
D) All of above
541) Which of the following refers to the stock market services offered via mobile devices?
D) Mobile brokerage
D) Payment gateway
D) None of these
544) Java class is generally made up of which components ?
545) A variable declared using class type can store what to an object ?
D) entry - controlled
547) To use a labelled loop, which symbol is added before the loop ?
A) * B) $ C): D) #
548) In Java, we can have different methods that have the same name but a different signature is also called as what
D) Poly overloading
549) Which of the following is known as electronic defacing of an existing website page ?
550) Which of the following is an art of protecting the information by transforming it into an unreadable form?
A) SM B) TM C)® D) C
552) Major credit card companies use which security system to make online transaction secure ?
and
A) 6 B) 3 C) 4 D) 2
555) When objects of one class are composed of objects of other class is called what ?
556) Which of the following programming language does not support object oriented programming?
557) In object-oriented terminology, sub class or child class or derived class indicates what for inheritance?
558) The way of programming can be divided into how many categories ?
A) 6 B) 3 C) 4 D) 2
559) In UML, visibility can be represented using which of the following symbols ?
560) In object-oriented programming, which of the following property enables to represent data in which the
561) Which of the following is used to define common feature of similar objects ?
565) In object oriented programming, which of the following property keeps the data safe from unintended actions and
566) Which feature of object-oriented programming allows defining more than one method having same name but
C) Aggregation D) Encapsulation
A) gz B) uz C) jar D) tar
568) Which of the following refers to a file that ha an entire directory structure inside it ?
569) In 'R' software which basic function is used to find maximum value from the list ?
571) In class diagram, which of the followin symbol is used to represent inheritance?
A) ** B) $$ C) /* /* D) ‘ ’ or ” ”
573) In 'R' software which of the following synta particular function used to get help on a particular function ?
D) ls (function name)
574) In VLC, which menu option is used to conve multimedia files from one format to another
576) In inheritance, which type of relationshi exists between super class and sub class?
577) Which rational plan allows links between tasks pertaining to different projects, analyzes all our projects data and
578) Which of the following technique is used fo reducing the storage requirements computer files and directory
structures?
579) In HTML form, clicking on which of the following button, the values of data entered in the form are cleared and
set
A) http://www.kompozer.in B) https://www.kompozer.org
C) https://www.kompozer.edu D)http://www.kompozer.net
581) How many viewing modes are there on the edit mode toolbar of Kompozer ?
(i) The conditional statement if is used change the flow of the program.
(ii) If the condition is false, then the program enters in block and executes the statem inside it.
A) Only (i) B) Only (ⅱ) C) (i) and (ii) both D) none of above
584) Which of the two symbols are used in the conditional operator in Java ?
585) The machine language for the Java Virtual Machine is called what?
587) User can create Java source file by using ……… application.
A) Only SciTE editor B) Both ASCII text editor and SciTE editor
A) 3 B) 8 C) 4 D) 7
589) When the program gets compiled without error, compiler creates a file with which extension ?
592) In Kompozer, which toolbar is used to create, open and save a file or publish a web page ?
593) In HTML, which of the following is a container used to collect different kinds of inputs from the user ?
A) Frame and Database both B) Frame C) Database D) Form 594) Which of the following attribute can be used
D) Action
595) In Kompozer, which of the following tab is available on the left side of the page pane ?
599) Which of the following is a software application that provides complete facilities to programmer to develop
software?
C) Using CSS, we can control font type, margin and element position in our website
601) In Kompozer, which button of image option of 100 background tab of CSS stylesheets dialog box is used to
insert
602) 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
603) In Kompozer, which menu option is used to create a selection list of form?
A) Form → Selection list B) Form Text Area C) Form Option list D) Form → List
604) Which of the following option is available in Text tab of CSS stylesheets dialog box of Kompozer ?
D) Insert Label
606) Which of the following is not a section of 'Form field properties' dialog box of Kompozer ? \
608) Which of the following tab is available in CSS stylesheet dialog box of Kompozer ?
609) Kompozer incorporates with whom that gives rapid access to file on both local machines and remote servers ?
D) None of these
610) When Java program created Java source file using text editor, which file extension should be given ?
615) In Java program which block is generally used to clean up at the end of executing a try block ?
616) In Java, an indication of a problem that occurs during a program's execution, usually signals an error is known
as
617) In Java, try statement contains a block of statement written within which braces ?
A) {} B) < > C) [] D) ()
619) In Java, a catch block consists of keyword catch followed by how many parameter ?
A) 1 (Single) B) 4 C) 2 D) 3
620) In Java, if there is a syntax error in the program we will get compilation error and will not be able to create
which
file ?
621) While running java program in SciTE editor, which code indicates that the commands executed is successful?
D) Code "1"
622) In Java, when an attempt is made to access the 7 array element with an index value that is outside the range
of
D) NullArrayException
623) In Java, an object oriented technique for managing errors is known as which of the following?
D) Exception Handling
624) Which of the following package in Java, contains a hierarchy of classes dealing with various exceptions ?
625) In Java program, which block is widely used if a file needs to be closed or a critical resource is to be released
at
D) Binary Stream
627) In Java, which method of filewriter class is used to close the stream?
629) In Java, which class encapsulates infomation ☑ about the properties of a file or a directory ?
D) java.io.File
630) In Java, scanner class can be used to perform which of the following operations?
‘’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’’
631) In LaTex document, if we want to insert a break in lines which command we will use at the end of each line
633) We can compile the LaTex document by issuing which command at command prompt ?
634) In Java, read() method returns what to identify the end of data in the stream ?
A) End B) -1 C) 1 D) 0
635) Which of the following refers to a collection of data stored on a non-volatile device in a computer system ?
636) 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 637) To compile the java program we
639) Real numbers in Java are compliant with which of the following?
640) In LaTex packages like amsmath, amssymb and amsfonts is created by which of the following society?
642) In LaTex, which of the following begins with \begin {name} and ends with \end {name} ?
643) Which document class is used for creating presentation slides and it automatically sets larger font size in LaTex?
644) In Java, at which level platform independence is possible due to bytecode interpreter ?
645) If Java program is compiled without any error we can execute it in SciTE editor by which menu?
D) File → Go
A) 12 B) 8 C) 11 D) 10
647) Which of the following operator is used to denote a subscript or an index in LaTex ?
648) Which of the following part of LaTex document contains the metadata ?
650) In Java, which of the following is known as unary operators for increment and decrement operator?
651) In Java, variable name should begin with which of the following ?
654) Java also supports binary numbers, using 5 digits 0 and 1 but it should be prefix by which of the following ?
A) Ob or-OB C) B1 B) B D) B0
655) In Java, a block statement is a group of statements enclosed between which pair of braces?
A) [/ /] B){} C) () D) [ ]
656) In Java, for type boolean there are precisely two literals, which are they?
657) In Java, which constant of calendar class displays day of calendar month?
659) In Java, which constant of calendar class displays Hour in 12 - hour notation ?
660) In Java, characters are stored by how many bit Unicode characters ?
661) In Java, logical operators are also called which of the following operators if they operate on Boolean operands?
D) Relational Operator
662) In Java, conditional operator uses which two symbols in expression to delimit three operands?
663) String literals in Java is a of sequence characters which can be enclosed in which of following?
A) Dollar ($ $) B) Double quotes ("") C) Back quotes D) Single quotes(‘ ‘) 664) In Java, documentation
A) = B) / C) % D)! =
667) In Java, different forms of methods with same name is known as which of the following ?
method?
669) In java, which of the following allow us to build new class with added capabilities by extending existing class?
670) Which keyword is used to create the object 63 which allocates memory in Java ?
D) Constructor
672) In Java, if we want protected data to be modified by others then which methods are to be written?
673) All instances of class are allocated memory in data structure in Java and it is known as which of the following ?
674) By using which access modifier, allows access only to subclass or to share with the methods declared as
"friend"
in Java ?
675) Instance variables and instance methods in Java are accessed via objects and they can be 66 referred by using
which operator ?
676) In Java, variables defined inside methods or blocks are called which variables ?
A) Global variable B) Instance variable C) Class variable D) Local variable
677) 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 int [5], [3]; D) int marks [] [] = new int [5] [3];
678) 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 ()
679) Java supports two types of strings that are handled by which of the following class or classes?
D) All of above
681) In Java, which string class method returns a string after appending str with the invoking string?
A) String combine (str) B) String concat (string str) C) String add (str)
682) In Java, which method of date class constructs date object using current system time ?
683) When will the page title be displayed when webpage is viewed in the browser ?
D) on Main window
684) In HTML, which of the following is used to collect different kinds of inputs from the user?
686) In HTML, which of the following element allows multi-line text input ?
688) In Java, who creates a string object with its initial value using ary argument ?
A) String (ary [object] []) B) String (char ary []) C) String (ary [], int len)
690) In Java which string class method returns true if invoking string is same as str ?
691) Java library also provides date class in which of the following package ?
693) 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
694) In which feature, object oriented programming allows defining more than one method having same but different
signature in class ?
A) Aggregation B) Data abstraction C) Function or method overloading
D) Encapsulation
695) Which exception class observed when an attempt to access a non existing file ?
D) FileNotFoundException
A) ~B) + C) # D) -
697) 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 ?
D) Digital certificate
698 ) Which Exception Class is used to handle errors arising from typing to use a null object in a program /