MIX 2 (Used)
MIX 2 (Used)
From the following which bank issues the credit card and guarantees the payment to the
merchant ?
(A) Paypal (B) (C) and (D) both (C) Acquiring bank (D) Issuing bank
2. Which type of array is used like table of rows and columns ?
(A) Minor array (B) 2-D array (C) 1-D array (D) Primitive array
3. int marks [ ] [ ] = new int [5] [3];
How many bytes are used in storage space ?
(A) 60 (B) 3 (C) 5 (D) 15
4. Which constructor creates a string object which is same as object specified in argument ?
(A) String ( ) (B) String (ary [ ]) (C) String (String strObj) (D) string (String literal)
5. 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) getBytes (C) String to Lowercase ( ) (D) String to Uppercase ( )
6. Data class is in which package in Java ?
(A) java.io (B) java.util (C) java.lang (D) java.io.class
7. 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
8. Which was the one of the first applications of E-commerce on Internet ?
(A) Internet bookshops (B) Online billing (C) Online auction (D) Electronic newspaper
9. From the following which is the example of online auctions ?
(A) www.bookshopofmdia.com (B) www.buybooksindia.com
(C) www.indiatimes.com (D) www.mybids.in
10.Notices and reminders sent to the customer by the bank is example of which service ?
(A) Marketing (B) Auction (C) Information service (D) Support service
11.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.
12.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
13.From the following which are the examples of B2B model ?
(A) Commodity.com (B) Quikr.com (C) OLX.com (D) eBay.com
14.block is generally used to clean up at the end of executing a try block ?
(A) finally (B) catch (C) retry (D) try
15.From the following which is the syntax of throw exception object ?
(A) object_exception; (B) exception; (C) throw exception_object; (D) throw object;
16.Which method of the scanner class helps in reading integer input from the console ?
(A) nextlnt ( ) (B) readlnt ( ) (C) writelnt ( ) (D) None of these
17.When some problem while executing the command, what is displayed by “Exit code” ?
(A) # (B) error (C) 0 (D) 1
18.From the following, which file extension is not used for text file ?
(A) .c (B) .jpeg (C) .java (D) .txt
19.Which method of file class is return true if the file or directory is hidden ?
(A) boolean isHidden ( ) (B) boolean exists ( ) (C) boolean isDirectory ( ) (D) boolean
isFile ( )
20.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
21.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
22.Which part of CSS syntax consists of a property associated with the HTML element used
in selector and its corresponding value ?
(A) Value (B) Property (C) Selector (D) Declaration
23.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.
24.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
25.What is the use of semicolon sign in JavaScript ?
(A) Statement termination (B) Statement separation (C) Each statement making bold
(D) None of these
26.What kind of alert( ) function in JavaScript ?
(A) Modular (B) (C) and (D) both (C) Inbuilt function (D) Userdefined
27.rom the following which is legal name of variable ?
(A) birth date (B) birth_date (C) %discount (D) 4balance
28.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
29.hat is the symbol for multi-line comment in Java programme ?
(A) /* and */ (B) //* and *// (C) * and * (D) //
30.In Java, what will be the result of arithmatic expression 8%3 ?
(A) 8 (B) 3 (C) 4 (D) 2
31.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
32.Which step of creating an object from a class initialize the newly created object ?
(A) New (B) Instantiation (C) Declaration (D) Initialization
33.In Java, who looks for unused objects and reclaims the memory ?
(A) Class variable (B) Function (C) Polymorphism (D) Garbage collector
34.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
35.\documentclass [12 pt]{artical}; from this given statement which is an optional argument
in LaTex ?
(A) 12 pt, article (B) documentclass (C) {artical}; (D) [12 pt]
36.Which document class is used for writing individual articles in LaTex ?
(A) beamer (B) slides (C) article (D) book
37.Which package is used to add support for multilevel lists in LaTex ?
(A) easylist (B) listing (C) amsmath (D) setspace
38.Which command can be used to create a section that is not automatically numbered ?
(A) \part (B) \ section * (C) \counter (D) \setcounter *
39.From the following which sign is used as comment in LaTex ?
(A) & (B) # (C) % (D) $
40.Which shortcut key is used when compilation is successful ?
(A) F5 (B) F12 (C) F7 (D) F9
41.In Class diagram, a class is represented with an icon using a rectangle is splitted into how
many sections ?
(A) 2 (B) 3 (C) 4 (D) 5
42.In UML, ___ is used as visibility symbol ?
(A) * (B) # (C) < (D) >
43.In UML, which symbol is used for Private visibility ?
(A) – (B) + (C) ~(D) *
44.In Java, what keeps the data safe from unintended actions and inadvertent access by
outside objects ?
(A) Data Abstraction (B) Polymorphism (C) Encapsulation(D) Aggregation
45.Polymorphism is achieved using how many types of overloading ?
(A) 2 (B) 3 (C) 4 (D) 6
46.Aggregation represents which type of relationship between two class ?
(A) Non-exclusive (B) Exclusive (C) Same(D) None of these
47.___ is used to define common features of similar objects ?
(A) Class (B) Object (C) Methods(D) Variable
48.Who developed Java language ?
(A) Microsoft (B) Adobe (C) Google (D) Sun Microsystems
49.What is the machine language for the Java Virtual machine known as ?
(A) Java source code (B) Java application code
(C) Java program code (D) Java byte code
50.What should be the extension of Java source program file ?
(A) .class (B) .jar (C) .htm (D) .java
51.In SciTE editor, which menu – option is used to compile java source program ?
(A) Tools → Go (B) Tools → Compile (C) Tools → Build (D) File → Run
52.Java supports how many primitive data types ?
(A) 2 (B) 4 (C) 6 (D) 8
53.In Java, what is the default value of Boolean data type?
(A) true (B) false (C) 1 (D) 0
54.___ is not used for comment in Java ?
(A) // (B) /*…..*/ (C) //*…..*// (D) /**…..*/
55.___ is a comparison operator of Java ?
(A) + (B) % (C) < (D) *
56.__ is used to repeat a sequence of statements over and over until some condition occurs ?
(A) Loops (B) Branches (C) Breaks (D) Sets
57.__statement is used to skip the following statements in a loop and continue with next ?
(A) break (B) continue (C) go (D) run
58.In Java, which keyword is used to define a class ?
(A) class (B) Class (C) CLASS (D) Super
59.In Java, which keyword is used to create the object by allocating memory ?
(A) super (B) new (C) class (D) var
60. ___ looks for unused objects and reclaims the memory that those objects are using ?
(A) Variable (B) Object collector (C) Class collector (D) Garbage collector
61.In Java, which keyword is used to declare class variable ?
(A) static (B) private (C) public (D) package
62.In Java, ___ are variables defined within a class but outside any method ?
(A) Local variables (B) Instance variables
(C) Class variables (D) Main variables
63.___ is not true for Java Constructor ?
(A) Constructor must have the same name as class name.
(B) Default constructor does not take any argument.
(C) Constructor does not have return type.
(D) Constructor can be invoked explicitly else where in the program.
64.In Java, how many levels of visibility modifiers are available for access control ?
(A) 2 (B) 3 (C) 4 (D) 6
65.In Java, ___ level of protection is used to allow the access only to sub class or to share
with the methods declared as “friend” ?
(A) Public (B) Package (C) Protected (D) Private
66.In Inheritance two classes have which type of relationship ?
(A) is – a relationship (B) has – a relationship
(C) a – part of relationship (D) None of these
67.___ is the keyword used to refer a super class constructor in sub class constructor ?
(A) extends (B) super (C) name of the super class (D) new
68.___ is used to represent a collection of homogeneous type of elements ?
(A) Function (B) Array (C) Procedure(D) Switch
69.In Java, initial value of array elements are specified into which brackets ?
(A) ( )(B) { } (C) [ ](D) < >
70.___ 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};
71. What can be considered as a sequence of characters in Java ?
(A) group (B) null value (C) string (D) object
72. Which of the following statement is true to compare the contents of strl
and str2 ?
(A) str1=str2 (B) str1!=str2 (C) str1(=)str2 (D) str1== str2
73. For which of the tasks, methods are provided by string class in Java ?
(A) Compare strings (B) Find length of string
(C) Combining strings (D) All of the above
74. Which of the following statement is true to return a string with all
characters of strl converted to lower case ?
(A) strl.toLowerCase() (B) strl.Tolowercase()
(C) strl.TOLOWERCASE() (D) toLowerCASE()
75. Date class is available in which of the following Java package ?
(A) java.Date package (B) java.util package
(C) javaAll package (D) java.Calendar package
76. Which information can be extracted by Calendar class of java.util
package of java ?
(A) YEAR, MONTH (B) HOUR, MINUTE
(C) Both (A) and (B) (D) None of the above
77. What does ‘length’ refer to for an object of String class ?
(A) attribute (B) method (C) class variable (D) class name
78. Which of the following refers to an error condition in object-oriented
programming terminology ?
(A) anomaly (B) abbreviation (C) exception (D) deviation
79. __ block handles or takes appropriate action when an Exception
occurs ?
(A) try (B) catch (C) throws (D) handles
80. 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
81. Which exit code in SciTE editor indicates that the command execution
is successful ?
(A) 0(B) 1 (C) -1 (D) 10
82. Which clause signifies that there is no catch block within the method
that can handle the exception ?
(A) throws (B) if (C) loop (D) array
83. Which class in Java is used to accept input from the Keyboard ?
(A) java.keyboard (B) java.util.Input (C) java.SCANNER(D)
java.util.Scanner
84. __ storage type, values are stored in variables are lost when a
computer is shutdown ?
(A) Volatile storage (B) Non-Volatile storage (C) Both (A) and (B)(D) None
85. How many methods are available in Java for a file class that can be
used to perform various operations on a file ?
(A) 3 (B) 120 (C) 8 (D) 30
86. In Linux, “passwd” file present in which directory stores the
information of the users existing in the system ?
(A) /root (B) /extra (C) /etc (D) None of the above
87. Which is an abstract representation of an input or output device that is
used as a source or destination for data ?
(A) stream (B) scanner (C) method (D) function
88. Which of the following format is used in Java to store a character ?
(A) ASCII (B) Unicode (C) Both (A) and (B)(D) None of the above
89. Which class defines the functionality that is available for all character
input streams ?
(A) void class (B) exact reader class(C) abstract reader class(D) super
90. Which of the following character is used to mark a comment in LaTeX ?
(A) $ (B) % (C) # (D) &
91. Which of the following website hosts the LaTeX packages ?
(A) CTAN (B) CLAN (C) CTEN (D) CLEN
92. Which of the following commands generate the set union symbol ?
(A) \cup (B) \setunion (C) \cap (D) \union
93. Which command is used to view the generated pdf file at the command
prompt ?
(A) show pdffilename (B) view pdffilename
(C) evince pdffilename (D) All of these
94. __menu-option is used in SciTE editor to view the file in the default
document viewer ?
(A) File → Go (B) Insert → Output (C) Tools → Go (D) Tools → Output
95. What is an optional argument in the following LaTeX command ?
\document class[12pt] {article};
(A) article (B) 12pt (C) document class (D) All of these
96. What is the full form of tar ?
(A) tape archiver (B) tech archiver (C) test archiver(D) tight
archiver
97. Which of the following is a feature-rich media player ?
(A) VAC (B) VEC (C) VLC (D) VNC
98. Which of the following are different variants of * Rational Plan ?
(A) Single, Multi, Viewer(B) Singular, Multiple
(C) View, Preview (D) Server, Client
99. Which software allows us to make calls over the internet using our
computer ?
(A) Rational Plan (B) ‘R’ software (C) Skype(D) LaTeX
100. Which R command is used for accessing the online help ?
(A) onlinehelp() (B) linehelp() (C) help() (D) helpdemo()