0% found this document useful (0 votes)
2 views

March 2020 (General Stream)

The document contains a series of multiple-choice questions covering various topics in computer science, programming, and e-commerce. It includes questions on constructors, core program elements, web development, data types, and error handling. The questions are designed to assess knowledge in these areas, with options for each question provided for selection.

Uploaded by

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

March 2020 (General Stream)

The document contains a series of multiple-choice questions covering various topics in computer science, programming, and e-commerce. It includes questions on constructors, core program elements, web development, data types, and error handling. The questions are designed to assess knowledge in these areas, with options for each question provided for selection.

Uploaded by

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

March 2020 (General Stream)

1. Which of the following is not a proper constructor of the file class?


(A) File (string path) (B) File (directory _ path)
(C) File (string directory_path, string file_name)(D) File (file directory, string file_name)
2. Which are the two core elements for any computer program?
(A) Function and Method (B) Data and Layout
(C) Layout and Method (D) Data and Function
3. In which kind of business, customers can browse through products catalogue and available
offers?
(A) Traditional Commerce (B) E-Commerce
(C) L-Commerce (D) All (A), (B), (C)
4. If calendar is an object of calendar class, then which of the following commands will set the
date to 20?
(A) calendar. get (calandar.DATE, 20) (B) calendar.set (calendar.DATE, 20)
(C) get.calendar (calendar DATE, 20) (D) set.calendar (calendar.DATE, 20)
5. Which of the following is a proper option for the statement “Is A not equal to B“?
(A) A<>B (B) AB (C) A NOT B (D) A != B
6. When we click on any item in the page, in which of the following its structure appears?
(A) Composition Toolbar (B) Format Roolbar – 1
(C) Status Bar (D) Format Toolbar – 2
7. Which desktop product of Rational Plan allows links between tasks pertaining to different
projects, analyzes all our projects data and creates a project portfolio view?
(A) Rational Plan single (B) Rational Plan Viewer
(C) Rational Plan Multi (D) Skype
8. By using which of the following cards, all the transactions will be processed within India so
to cost will be reduced?
(A) Master Card (B) Visa Card (C) E-wallet (D) Rupay
9. Which of the following will show a blank untitled web page in KompoZer?
(A) Edit mode toolbar (B) Format toolbar -1(C) Site manager (D) Page pane
10. Targeted ads, promotional messages, customer identification on a store etc. are
applications of which of the following location based services?
(A) Information or directory services (B) Advertising promotion
(C) Emergency services (D) Tracking services

Page 1 of 10 Mar 2020 G


11. Which of the following kind of content provides users with the detailed information on the
site like products and services description?
(A) Relevant (B) General (C) With proper layout(D) Detailed
12. Which of the following is not a proper example of Hexa decimal number?
(A) OXFF7A (B) OX39A2 (C) OX532D (D) OABC
13. Which kind of relationship is established between classes by composition and aggregation?
(A) A-kind of (B) has-a (C) A-part-of (D) is-a
14. Which of the following will be executed by an event or when it is called inside a source
code?
(A) Function (B) Variable (C) Event (D) If statement
15. Syntax error in the program is considered as which kind of error?
(A) Compilation error (B) Run time error (C) Variable error (D) Printing error
16. In Browser Object Model in which object, all the elements of the web page like forms,
images, links and others are included?
(A) Location (B) History (C) Parent (D) Document
17. What is the value of December month in the MONTH constant of calendar class?
(A) 12 (B) 1 (C) 11 (D) 0
18. After which command of LaTex, all chapters are treated as appendices and it is to be used
only once?
(A) \setcounter (B) \table of contents(C) \mainmatter (D) \appendix
19. Which of the following is a general concept used to embody all the common features of a
particular set of objects?
(A) Procedures (B) Polymorphism (C) Date field (D) Class
20. What will happen when a try block does not generate and 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
21. Which of the following blocks contains the code that may give rise to one or more
exceptions?
(A) throw (B) throws (C) finally (D) try
22. Which of the following plays a very important role in a business now-a-days, which helps in
promoting the business, selling the products and attracting a large number of customers?
(A) KompoZer (B) Website (C) JavaScript (D) HTML

Page 2 of 10 Mar 2020 G


23. Which of the following are data centers which perform the credit card transactions and
manage funds for the merchants?
(A) Issuing Bank (B) Acquiring Bank (C) Processors (D) Payment Gateway
24. What should remain same for all possible answers while creating radio button?
(A) Fixed value (B) Group name
(C) Field selected option (D) Initially selected option
25. Which logical operator returns true only if its operands are different (one true and one
false) and false otherwise?
(A) XOR (B) OR (C) AND (D) NOT
26. ‘Teacher is a kind of person’ is and example of which of the following options?
(A) Aggregation (B) Inheritance (C) Data Abstraction (D) Encapsulation
27. To identify the objects, we use the values of these attributes, these values are called what?
(A) Data field (B) Layout (C) State (D) Method
28. Which of the following blocks is known as exception handler?
(A) try block (B) main () method (C) catch block (D) throw block
29. Which kind of exception will be thrown by writer class?
(A) File Not Found Exception (B) Arithmetic Exception
(C) IOException (D) NullPointer Exception
30. If the conditional ternary is next = (N% 2==0)?(N/2):(3N+1); where N=7 then what will be
the value of variable next?
(A) 22 (B) 7 (C) 3.5 (D) 0
31. Which of the following statements will stop the function from executing and return the
specified value?
(A) Return statement (B) If statement (C) Event handler (D) All (A), (B), (C)
32. What is the full form of CTAN?
(A) Comprehensive Tex Architect Network (B) The comprehensive Tex Archive Network
(C) The Computerized Tex Archive Network(D) The Comprehensive Tex Archive Numerology
33. Which of the following document class is used for writing letters?
(A) letter (B) article (C) book (D) beamer
34. How many integer values will be stored in the following array ?
int marks [] [] = new int [4] [4];
(A) 8 (B) 64 (C) 16 (D) 4
35. Which kind of variable is a variable representing a collection of homogeneous type of
elements?

Page 3 of 10 Mar 2020 G


(A) Local (B) Instance (C) Global (D) Array
36. By using which technique, the attacker tries to assume the identity of another person or
system for transacting with victim site?
(A) Sniffing (B) Spoofing (C) Malicious code (D) Cyber vandalism
37. In switch statement, if no match is found between test expression and care values, then
which statement will be executed?
(A) break (B) continue (C) if .... else (D) default
38. In Table Properties dialog box, which option is used to specify gap between cells?
(A) Size (B) Table alignment (C) Spacing (D) Padding
39. What will be the output, if following command sequence is given in r software?
> a <-- 10
> b <-- 30
>a * b
(A) Error (B) 10 (C) 300 (D) 40
40. Which methods operate on a particular object or affect that object?
(A) Class methods (B) Local methods (C) Instance methods(D) Global methods
41. Which protection level provided data encapsulation?
(A) Private (B) Protected (C) Public (D) Package
42. Which kind of files are used to store variables like integer, double or boolean into a file and
also to store arrays and objects ?
(A) Text file (B) KompoZer file (C) Image file (D) Binary file
43. Which kind of exception will be generated when and attempt to convert string to a number
type is done?
(A) Arithmetic Exception (B) Null Pointer Exception
(C) Printer IO Exception (D) Number Format Exception
44. Find correct option from the following :
A B
(i) Line break command in LaTex (p) / (backslash)
(ii) Comment character in (q) [] (square brackets)
(iii) Starting character of LaTex command (r) \\
(iv) Brackets used for optional arguments in LaTex (s) %
(A) (i) --> (s), (ii) --> (q), (iii) --> (p), (iv) --> (r)
(B) (i) --> (r), (ii) --> (s), (iii) --> (p), (iv) --> (q)
(C) (i) --> (p), (ii) --> (r), (iii) --> (q), (iv) --> (s)

Page 4 of 10 Mar 2020 G


(D) (i) --> (q), (ii) --> (p), (iii) --> (r), (iv) --> (s)
45. Which symbol is used to show inheritance between two classes?
(A) Empty diamond (B) Filled diamond
(C) The arrow points from superclass to subclass
(D) The arrow points from subclass to superclass
46. Which kind of information, a website should include?
(A) In English language and translated in other language
(B) General and detailed
(C) Complete and relevant (D) Both (B) and (C)
47. Which of the following options is not proper for array declaration with initial values?
(A) int marks [3] = new marks {90, 70, 77};(B) int marks [] = {90, 70, 77};
(C) int [] marks = {90, 70, 77}; (D) int marks [] = {90, 80, 70, 60};
48. Which method of scanner class returns the next token?
(A) int next Int() (B) String has Next() (C) String next() (D) boolean has Next()
49. Which command is used to assign value 5 to all elements of list array?
(A) sort (list 5) (B) sort (list, 1, 7, 5) (C) fill (list 2, 6, 5) (D) fill (list, 5)
50. By using which of the following statements the following statements in a body are skipped
and the control is transferred at the first statement after the switch statement?
(A) continue (B) default (C) break (D) for
51. Which of the following security aspect of E-Commerce/M-Commerce protects the data from
private attacks?
(A) Confidentiality (B) Integrity (C) Authorization (D) Non-repudiation
52. Which of the following kind of websites provides information regarding various
government departments, various welfare schemes, different application forms to be used
by the citizens etc.?
(A) G2B (B) G2G (C) G2C (D)B2C
53. Which is the proper statement to invoke display to invoke display method of superclass?
(A) display () (B) display super () (C) super display () (D) show display ()
54. Which of the following methods returns true if invoking string is same as str?
(A) boolean compare to (string str) (B) boolean equals (string str)
(C) int compare to (str string) (D) int equals (string str)
55. What is called, the capability of using same names to mean different things in different
contexts?
(A) Overloading (B) Overridden (C) Layout (D) Messaging

Page 5 of 10 Mar 2020 G


56. Which of the following constructors creates an object that refers to the literal specified in
argument?
(A) string (string literal) (B) string (char literal)
(C) string (string strobj) (D) string (char ary [])
57. Which of the following makes website designing quick and efficient?
(A) Java Script (B) CSS (C) HTML (D) Java
58. When we write class in Java, it is made up of which two components?
(A) procedure and behaviour (B) attributes and behaviour
(C) variable and values (D) main () method and constructor
59. Which toolbar is used to give Heading – 1 style to the heading of the form?
(A) Format Toolbar – 1 (B) Format Toolbar – 2
(C) Composition Toolbar (D) Status bar
60. In the syntax of attribute declaration in UML notation, which pair bracket values, users are
supposed to specify?
(A) { } (B) [ ] (C) < > (D) ( )
61. In which of the following, the class that forms part of the owner class can exist
independently and the life of an object of the part class is not determined by the owner
class?
(A) Inheritance (B) Aggregation (C) Polymorphism (D) Data-Abstraction
62. Which menu is used to start VLC Media Player?
(A) Media --> Open File (B) Media --> Open Directory ....
(C) Media --> Playlist (D) Applications --> Sound & Video
63. Which of the following LaTex commands is used to insert mathematical symbol ‘’ in the
document?
(A) \subset (B) \in (C) \notin (D) \nea
64. If a = 12.5 and b=7.2, then after executing a % b, what will be the remainder?
(A) 1 (B) 5.3 (C) 5.0 (D) 1.22
65. when a variable is declared inside a block, what is it called?
(A) Global (B) Local (C) Label (D) Repetitive
66. Which method of date class sets new date and time of an object using elapsed time?
(A) void set Time (long elapsed Time) (B) long get Time()
(C) Date (long elapsed Time) (D) Date()
67. Which of the following application of E-Commerce includes an example like the website
www.irctc.co.in of Indian railways?

Page 6 of 10 Mar 2020 G


(A) Online Auctions (B) Marketing and Selling
(C) Information Services (D) Support Services
68. Which event would occur when element such as button becomes active?
(A) select (B) focus (C) click (D) mouseover
69. Which of the following statements is / are true for Java Script?
(i) Java Script is used for validation of client side users
(ii) Can describe the style of the elements in document not in content
(iii) After using it, web page no longer remains static
(A) Only (iii) (B) Only (ii) and (iii) (C) Only (i) and (iii)(D) All (i), (ii), and (iii)
70. In the syntax of CSS, in declaration, which of the following is / are included?
(A) HTML element (B) Property associated with the HTML element
(C) Corresponding values of properties (D) Both (B) and (C)
71. What is the name of the data structure, where all instances of class are allocated memory?
(A) Heap (B) JVM (C) Garbage Collector(D) Instance
72. Which attribute is used to specify where to send the form data when the form is submitted
and what will be the value of it?
(A) Method, Get (B) Method, Post (C) Action, Get (D) Action, File name
73. Which symbol is used to begin single-line comment?
(A) /*...*/ (B) /**...*/ (C) // (D) \\
74. Which method is used, when we want to allow other methods to read only the data value?
(A) setter (B) getter (C) void (D) return
75. Which of the following methods returns a string after appending str with the invoking
string?
(A) string to Lower case () (B) string to Upper case ()
(C) String concat (string str) (D) int length ()
76. By using which kind of programming language, flexibility is gained by being able to change
or replace modules without disturbing other parts of code?
(A) Procedural programming (B) Higher level programming language
(C) Object Oriented programming language(D) ‘C’ programming language
77. Which of the following is the example of Government to Business (G2B), business model?
(A) www.irctc.co.in (B) www.incomtaxindia.gov.in
(C) tradeindia.com (D) amazon.com
78. Which of the following is a limitation of E-Commerce?
(A) Resistance to change(B) Lower cost (C) Team work (D) Conduct business 24x7

Page 7 of 10 Mar 2020 G


79. How many basic (primitive) data types are supported in Java?
(A) 2 (B) 4 (C) 8 (D) 16
80. Which level of protection is used to allow the access only to subclasses or to share with the
methods declared as “friend”?
(A) Private (B) Public (C) Package (D) Protected
81. Which of the following security measures ensures that the company is not accessed by the
intruders?
(A) Firewall (B) Digital Certificate(C) Cryptography (D) Copyright
82. While creating CSS, which button should be clicked to select the file for the background, if
we want to keep an image in the background?
(A) Opacity (B) Position (C) Tile (D) Choose File
83. Which of the following methods is used to write a formatted string to the console’s output
stream using the specified format string and arguments?
(A) Console printf (string format, object args)(B) Char read password ()
(C) Char read Console () (D) String (Objet args)
84. In Skype, which button should be clicked after giving Skype name and password in the text
box?
(A) Sign in (B) Log in (C) New User (D) Enter Skype
85. Which option is used to create link in the website?
(A) Insert --> Link (B) File --> Publish (C) Insert --> Hyperlink(D) File --> Upload
86. In KompoZer, which of the following options is used to add Selection list?
(A) Insert --> Selection list (B) Form --> Selection list
(C) File --> Selection list (D) Edit --> Selection list
87. Which of the following Open Source IDE is used to create projects in PHP, Rails, Ruby or
Web?
(A) HTML (B) BlueGriffon (C) Amaya (D) Aptana Studio
88. Which of the following business model is the type of E-Commerce that the consumers are
most likely to see on internet?
(A) C2B (B) B2B (C) C2C (D) B2C
89. in KompoZer window, which tab of edit Mode Toolbar should be clicked to view source
code of recently crated form?
(A) Design (B) Preview (C) Source (D) Normal
90. In the field of Computer Science, which of the following lines indicates that the compilation
of program is not successful?

Page 8 of 10 Mar 2020 G


(A) Exit Code : 1 (B) Exit Code : 0 (C) Exit Code : -1 (D) Exit : 1
91. Which package of LaTex has special features for including programming code within the
document?
(A) easylist (B) amsmath (C) geometry (D) listings
92. Which of following options is provided by Java, mainly to perform initializing actions?
(A) Constructors (B) Object (C) Class (D) Method
93. Which open source editor is an intuitive application that provides web developers with a
simple user interface, which allows them to create websites without requiring in-depth
technical knowledge?
(A) Amaya (B) BlueGriffon (C) Aptana Studio (D) KompoZer
94. After using which option, a web page no longer remains static, but can include coding that
allows interactivity with the user control the browser and dynamically create HTML
content?
(A) Java Script (B) CSS (C) hTmL (D) KompoZer
95. Which of the following is an event handler of ‘submit’ event?
(A) submit () (B) function submit ()(C) onsubmit () (D) onclick ()
96. What should be provided, if we transfer the web pages from our computer to the web host
via FTP?
(A) Name of the website (B) Number of total pages
(C) user name and password (D) Value of method attribute
97. Which of the following business model allows more transparency among the business
entities involved and results in more efficiency?
(A) C2C (B) C2B (C) B2C (D) B2B
98. Which type of input element will convert typed characters into non readable format?
(A) Password (B) Check box (C) Text (D) Reset
99. In Archive Manager, which option is used to create new archive?
(A) Archive (B) Compress (C) Extract (D) Back
100. Which kind of files can be data files that contain facts such as pay-roll file, program files
or application files?
(A) Binary files (B) Text files (C) Image files (D) All (A), (B), (C)

Page 9 of 10 Mar 2020 G


Corrections are there in this nos

32
79

Page 10 of 10 Mar 2020 G

You might also like