0% found this document useful (0 votes)
19 views8 pages

Material_e1744dac-bb26-4ff5-81f9-a68b65e73cfb

This document contains a question set for a Computer subject exam for 12th Science students, dated December 27, 2024, with a total of 100 marks and a time limit of 60 minutes. It includes 78 multiple-choice questions covering various topics in computer science, programming, and web development, with options provided for each question. The questions assess knowledge on CSS, JavaScript, Java, object-oriented programming, and other related subjects.

Uploaded by

moxits76
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)
19 views8 pages

Material_e1744dac-bb26-4ff5-81f9-a68b65e73cfb

This document contains a question set for a Computer subject exam for 12th Science students, dated December 27, 2024, with a total of 100 marks and a time limit of 60 minutes. It includes 78 multiple-choice questions covering various topics in computer science, programming, and web development, with options provided for each question. The questions assess knowledge on CSS, JavaScript, Java, object-oriented programming, and other related subjects.

Uploaded by

moxits76
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/ 8

Question Set : 1 Subject : Computer Total Marks: 100

Date : 27-12-2024 Standard : 12 Science Time : 60 Mins.

Q-1.
Section A

(1) In CSS Stylesheet dialog box, under which tab Text decoration, Font family etc. options are
available?
[A] Background *[B] Text [C] General [D] Borders
(2) Which of the following method will fill all elements of list array with value '7'?
*[A] [B] [C] [D]
(3) Identify: “A specify JavaScript code, which will be executed in response to any event.”
[B] Document Object
[A] CSS *[C] Event handler [D] Focus method
Model
(4) Which of the following statement is true?
[A] All of these [B] Computer disks are volatile storage devices.
* Volatile storage is lost when a computer is
[C] Volatile storage lasts only a few seconds.
[D] shutdown.
(5) Which method of Array class is used to search an element in an array?
[A] [B] *[C] [D]
(6) Which of the following security aspect ensures that the information must not be accidentally or
maliciously altered or tampered in transist?
[A] Authorization [B] Confidentially *[C] Integrity [D] Non-repudiation
(7) Which of the following expression is same as ?
[A] [B] *[C] [D]
(8) Which of the following cannot be invoked explicitly elsewhere in the program?
[A] Instance methods *[B] Constructors [C] new operator [D] Variables
(9) In Java, in class definition what is used to create a sub class?
[A] super [B] Dot operator *[C] extends [D] new
(10) What will be the value of , where and ?
[A] *[B] [C] [D]
(11) Which of the following is not a valid variable in Java?
[A] $ price [B] Birth_data [C] Callcost *[D] 4me
(12) Which of the following can manipulate cookies using the cookies property of the document
object?
[A] HTTP *[B] JavaScript [C] FTP [D] CSS
(13) Which is a very common format for distributing software or bundles of files on the Linux
platform?
[A] XRP [B] Zip [C] JAR *[D] Tarball
(14) Which is an attack used to shut down a machine or network, making it inaccessible to its
intended users?
*[A] Denial of service
[B] Cyber Vandalism [C] Sniffing [D] Spoofing
attack
(15) How many integer values will be stored in contiguous memory locations, when array is created
using int marks [][] = new int [6] [2];?
[A] [B] [C] *[D]
(16) Which menu option is used to make sure that KompoZer uses CSS by default?
* [B]
[A]
[C] [D]

(17) What should be clearly identified before creating a website?


*[A] Purpose or the [B] Speed of
[C] Medium [D] Content
website connection
(18) Which visibility modifier seems extremely restrictive and provides data encapsulation?
[A] Package [B] Public [C] Protected *[D] Private
(19) Which of the following is a software application, which provide complete facilities to
programmer to develop software?
[A] Compiler *[B] IDE [C] HTML Form [D] Text area
(20) Which menu option is used to change the page title of web page?
* [B]
[A]
[C] [D]

(21) Which of the following is a good example of C2C model?


[D] Information
[A] E-newspaper *[B] Auction sites [C] Online purchasing
services
(22) Which of the following class encapsulates information about the properties of a file or a
directory?
[A] java.io.package [B] java.util *[C] java.io.File [D] java.io.util
(23) Which of the following was one of the first application of E-commerce on Internet?
*[A] Internet [C] Electronic [D] Marketing and
[B] Net Banking
bookshops Newspaper Selling
(24) Which symbol represent package visibility in class diagram?
[A] [B] *[C] [D]
(25) In Page Colors and background dialog box, which option should be selected to give background
color of your choice?
[C] Reader’s default
*[A] Use custom colors [B] Advanced Edit [D] Background Image
colors
(26) In Object-oriented programming, which of the following allows defining more than one method
having same name but different signatures?
*[D] Method
[A] Function [B] Method Messaging
[C] overloading and
overloading overloading
Function overloading
(27) Which of the following open source IDE, comes along with a large number of additional plugins?
[A] W3C [B] BlueGriffon [C] Amaya *[D] Aptana studio
(28) Which of the following is a valid extension of Text file?
*[A] [B] [C] [D]
(29) Which open source WYSIWYG web editor, was initially started as an HTML/CSS editor and has
now grown into an editor for many XML-based systems?
*[A] Amaya [B] BlueGriffon [C] Aptana Studio [D] KompoZer
(30) Which part of java looks for unused objects and reclaims the memory that those object are using?
*[A] Garbage collector [B] Object [C] Heap [D] Block
(31) Which class can be used especially when the input is to be typed in hidden form?
[A] [B] [C] *[D]
(32) In Class diagram, which symbol represent inheritance?
*
An arrow pointing to Super class [B] Filled diamond
[A]
[C] Empty diamond [D] An arrow pointing to Sub class
(33) Which option of document class is used to display formulas and equations flushed left (left-
aligned) rather than centered in LaTeX ?
[A] amsmath *[B] fleqn [C] landscape [D] listings
(34) Which of the following can be used to search any book from online bookstore?
[A] Author’s name *[B] All of these [C] Title of the book [D] Publication name
(35) Identify: “A gap between the edge of the cell and text within it.”
[A] Alignment [B] Spacing *[C] Padding [D] Size
(36) Which fonts are typically used for computer code listings?
[A] Roman [B] Large *[C] Monospace [D] Sans serif
(37) What is used to control the Web browsers window or the Web page we use?
*[A] Browser Object
[B] Function [C] CSS [D] Focus method
Model
(38) In Skype, which button should be clicked if you have a Skype name and password?
[A] Confirm password [B] Login [C] I Agree *[D] Sign in
(39) Which of the following method returns an array of abstract pathnames denoting the files in the
directory?
[A] String[] list() [B] String getPath() *[C] File[] listFiles() [D] Boolean list()
(40) Which object represents the browser window or individual frame within the window?
*[A] Window [B] History [C] Form [D] Location
(41) Which of the following tab shows all details of the HTML code and helps in editing the source
code?
[A] HTML Tags view [B] Design *[C] Source [D] Split
(42) Which menu option is used to open the file which has been opened recently?
[D] File Open Recent
*[A] File Recent Pages [B] Form Open File [C] File open
Pages
(43) What can be called anywhere from within the source code in JavaScript?
[A] CSS Stylesheet *[B] Function [C] HTML Form [D] Event
(44) Which kind of content provides an overview of the site, organization, products and services and
other items?
*[A] General [B] Short [C] Long [D] Detailed
(45) Which methods of Date class returns number of milliseconds since January 1, 1970 GMT?
[A] Date () [B] void setTime() *[C] long getTime() [D] Date (long Time)
(46) Which of the following are used to access or modify attributes?
*[A] methods [B] class [C] variables [D] objects
(47) Which of the following constructor can be used to create a string object with its initial value using
ary argument?
[C] String (String [D] String (String
[A] String () *[B] String (char ary[])
strObj) literal)
(48) Which method does not have any restrictions on data length?
[A] SET [B] GET *[C] POST [D] INPUT
(49) Which of the following statement/s is/are true for Object-oriented programming language? (i). In
it, focus is on writing functions or procedures. (ii). It enables the programmer to create modular,
reusable and extendable code. (iii). It uses object as its fundamental building block
*[A] [B] [C] [D]
(50) Which methods are global to the class itself and available to any other classes or objects?
[A] Variable methods [B] Object methods *[C] Class methods [D] Instance methods
(51) Which of the following tab is not available in Advanced Property Editor dialog box?
[A] HTML Attributes *[B] Onsubmit [C] JavaScript Events [D] Inline style
(52) Which command is used to create fractions in LaTeX ?
[A]

[B]
[C]

*[D]
(53) Which of the following are useful for applying few commands to a small amount of text such as a
part of a line, few lines or a paragraph in LaTeX?
*[A] Groups [B] Environments [C] Documents [D] Packages
(54) Which of the following is a simple, lightweight programming language, which does not contain
the advanced programming functionality of languages like C and Java?
[A] CSS and Scripting
*[B] Scripting language [C] HTML [D] CSS
language
(55) Which kind of comments are used for creating API documentation from the code?
[B] Multi-line *[C] Documentation [D] Single-line
[A] Classical comments
comments comments comments
(56) What will be the extension of file, when the program gets compiled without errors?
[A] .tex [B] java *[C] .class [D] javac
(57) Which methods are declared as static and can be referred without any object in the class?
*[A] Class methods [B] Variable methods [C] Array methods [D] Instance methods
(58) Which of the following is a kind of payment card that transfers fund directly from the consumer’s
bank account to the merchant?
[A] Net Banking [B] E-Wallet [C] Credit card *[D] Debit card
(59) Which of the following will be used when we want to be sure that some particular code is to be
run, no matter what exceptions are thrown within the associated try block?
[A] Multiple catch
[B] First catch block [C] Null catch block *[D] Finally block
blocks
(60) What will be the result of arithmetic expression -25.8% 7?
[A] [B] *[C] [D]
(61) Which of the following location based services can be used for tracking of assets, locating friends
in a geographic location, tracking stolen cars etc?
[A] Mapping [B] Navigation [C] Emergency services *[D] Tracking services
(62) Which of the following element allows multi-line text input?
[A] Form [B] Input [C] Select *[D] Textarea
(63) Which of the following is a device placed between the network and the Internet to monitor and
control the traffic between the company’s local network and the outside world?
[A] Antivirus [B] Digital Certificate [C] Cryptography *[D] Firewall
(64) In Aggregation, which kind of relationship is shared between two classes?
*[A] Non-exclusive [B] Exclusive [C] is-a-kind-of [D] is-a
(65) In VLC Media Player, which menu option is used to save playlist?
[A] [B]

* [D]
[C]
(66) What is used when there are many alternative actions to be taken depending upon the value of a
variable or expression?
[A] For loop [B] Do…while loop [C] While loop *[D] Switch statement
(67) In LaTeX, which of the following are numbered in Roman numerals (I, II, III and so on)?
[A] Sections [B] Chapters [C] Subsections *[D] Parts
(68) Which of the following can be used in a method declaration or constructor declaration to inform
that the code within the constructor or method may throw an Exception?
*[A] throws clause [B] multiple try block [C] finally block [D] throw clause
(69) Which are data centres, which perform the credit card transactions and settle funds to the
merchant?
[A] Acquiring Bank [B] Issuing Bank [C] Payment gateways *[D] Processors
(70) Which of the following allows to manage independent projects that do not have common
resources and has no interrelations between different projects?
*[A] Rational Plan [B] Rational Plan
[C] 'R' Software [D] Rational Plan Multi
Single Viewer
(71) Which is the default view of Google maps?
[A] Satellite image view [B] Motion clip view [C] 3-D view *[D] Map view
(72) Identify: “The process of buying and selling products or services by offering the customers to bid
the price and selling the product to the highest bidder.”
[A] Online billing [B] Net Banking *[C] Auction [D] Marketing
(73) Which methods are used to define behaviour of an object?
[A] Object methods *[B] Instance methods [C] Class methods [D] File methods
(74) Which of the following is an abstract representation of an input or output device that is used as
source or destination for data?
[A] directory [B] file *[C] stream [D] class
(75) Which of the following method returns character at index position form the invoking string?
*[A] char indexAt(int
[B] byte Atindex() [C] Boolean indexAt() [D] int indexAt()
index)
(76) Which loop will evaluate the test expression after executing the statements in a loop?
*[A] do…while [B] for [C] switch [D] while
(77) Which of the following is the correct syntax to declare a 1-D array?
[A] [B]

* [D]
[C]
(78) Which is a general concept used to embody all the common features of a particular set of objects?
*[A] Class [B] Behaviour [C] Method [D] Attributes
(79) Which option of Image Properties dialog box is used to specify height and width of the image?
*[C] Custom Size option
[A] Appearance [B] Link [D] Location
of Dimensions tab
(80) Which of the following gives rapid access to the files on both local machines and remote servers?
[C] Composition
[A] Page Area [B] Status bar *[D] Site Manager
Toolbar
(81) Which event would occur when loading of image is cancelled?
[A] Unload [B] Blur [C] Error *[D] Abort
(82) Match the following for proper examples of integer literals.

[A]

[B]

[C]

*[D]
(83) Which of the following is a limitation of E-Commerce?
[C] No boundaries of
*[A] Security [B] Teamwork geographical [D] Lower cost
limitations
(84) Which of the following is an indication of a problem that occurs during a program's execution
and usually signals an error?
*[A] Exception [B] Method [C] Object [D] Behaviour
(85) In java, what is the range of values for ‘short’ data type?
[D] 16-bit Unicode
[A] True, false *[B] [C]
character
(86) Which keyword returns a reference to an object that represents an instance of the class?
[A] super *[B] new [C] static [D] extends
(87) Which kind of catch block has to be placed at the end of all catch blocks?
[A] null *[B] default [C] empty [D] finally
(88) Which of the following variable are created when the methods or block is started and destroyed
when the method or block has completed?
[A] Instance variables [B] Class variables [C] Global variables *[D] Local variables
(89) Which of the following is a proper example of Consumer to Business (C2B) business model?
[A] commodity.com [B] job.in [C] quirk.com *[D] bidstall.com
(90) Which of the following is a correct syntax of try block?
[A] try (Exception_Type) { // clean-up code to be executed last}
[B] Try { // code to handle the exception)
*[C] try {// set of statements that may generate one or more exceptions}
[D] try (Exception_Type Exception_Object) {// code to handle the compile time
(91) Which of the following keeps the data safe from unintended actions and inadvertent access by
outside objects?
[A] Data Abstraction *[B] Encapsulation [C] Polymorphism [D] Aggregation
(92) Which constant of Calendar class display Hour in 24-hour notation?
[A] [B] *[C] [D]
(93) Which package is used for page layout tasks like setting paper size, orientation, margins etc.?
[A] easylist [B] amsmath [C] setspace *[D] geometry
(94) “No sharing of information with competitors”, is a feature of which kind of commerce?
*[D] Traditional
[A] E-Commerce [B] M-Commerce [C] L-Commerce
Commerce
(95) Which property of 1-D array is used to know size of each row?
[A] search [B] sort *[C] length [D] fill
(96) Which of the following is a proper way to provide a user-defined no-argument constructor?
[A] [B]

[C] *
[D]
(97) Which element is used to specify the values that are to be displayed in the menu?
[A] Input [B] Textarea *[C] Option [D] Select
(98) In CSS Stylesheet dialog box, which button should be clicked to create a style for a particular
selector?
*[A] Create style rule [B] New style rule [C] Internal stylesheet [D] Sheets and rules
(99) What is the full form of UML?
[A] Universal Modelling Language [B] Unified Modified Language
*
[C] Universal Modified Language Unified Modelling Language
[D]
(100) Which kind of exception will occur when user type following statements in Java?
;
[A] NullPointerException [B] NumberFormatException
*
ArrayIndexOutOfBoundsException [D] ArithmeticException
[C]

You might also like