By solving the Computer Class 12 GSEB Solutions and GSEB Class 12 Computer Question Paper March 2018 (For Common Stream) will be able to know the exam pattern in the exam.
GSEB Std 12 Computer Question Paper March 2018 (For Common Stream)
Question 1.
Which element allows multiline text input in HTML form ?
(A) longtext
(B) checkbox
(C) textarea
(D) select
Answer:
(C) textarea
Question 2.
Which menu-option is used to view different tool bars (if not visible) in KompoZer ?
(A) View → Show / Hide
(B) Format → Toolbar
(C) Edit → Show / Hide
(D) Insert → Toolbar
Answer:
(A) View → Show / Hide
Question 3.
Which colored outline is seen in form when inserted in KompoZer ?
(A) Green colored
(B) Yellow colored
(C) Light blue colored
(D) Red colored
Answer:
(C) Light blue colored
Question 4.
To insert input “Text Field” in form of KompoZer which option is selected in field type menu of “Form Field Properties” ?
(A) Submit button
(B) Check box
(C) Radio button
(D) Text
Answer:
(D) Text
Question 5.
Which shortcut key is used to close the Site Manager pane in KompoZer ?
(A) F12
(B) F5
(C) F9
(D) F10
Answer:
(C) F9
Question 6.
Which attribute of <form> element takes a filename as value in HTML form ?
(A) method
(B) action
(C) reset
(D) value
Answer:
(B) action
Question 7.
From the following, which variables defined within a class, outside any method, with the static keyword in Java ?
(A) Instance variable
(B) Local variable
(C) Class variable
(D) All of these
Answer:
(C) Class variable
Question 8.
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
Answer:
(A) Package
Question 9.
Which level of protection is used to allow the access only to sub class or to share with the method declared as “friend” in Java ?
(A) Package
(B) Protected
(C) Public
(D) Private
Answer:
(B) Protected
Question 10.
Accessor method is known as what in Java ?
(A) Mutator
(B) Accessor
(C) Setter
(D) Getter
Answer:
(D) Getter
Question 11.
Parent class is referred to a which class in object oriented programming language ?
(A) Extended class
(B) Child class
(C) Sub class
(D) Base class
Answer:
(D) Base class
Question 12.
Which type of relationship between composition and aggregation class ?
(A) is not a
(B) is a kind of
(C) has-a
(D) is-a
Answer:
(C) has-a
Question 13.
Which of the following is the keyword used to refer a super class constructor in sub class constructor ?
(A) new
(B) name of super class
(C) super
(D) extends
Answer:
(C) super
Question 14.
From the following which is not a class of java.io package ?
(A) Writer class
(B) Scanner class
(C) Reader class
(D) Character stream class
Answer:
(B) Scanner class
Question 15.
Scanner class can be used for performing which of the following operations ?
(A) Accept input from the keyboard
(B) Read from the file
(C) Parse a string separated by delimeter
(D) All of these
Answer:
(D) All of these
Question 16.
Which is the base class for reading a character stream ?
(A) Byte stream class
(B) Writer class
(C) Reader class
(D) Scanner class
Answer:
(C) Reader class
Question 17.
From the following which devices is classified into input and output device both ?
(A) Mouse
(B) Hard disk
(C) Monitor
(D) Keyboard
Answer:
(B) Hard disk
Question 18.
What is the full form of PDF ?
(A) Portable Document Format
(B) Private Document File
(C) Process Document Format
(D) Protocol Document Format
Answer:
(A) Portable Document Format
Question 19.
Which event occurs when document or image is loaded in JavaScript ?
(A) load
(B) blur
(C) change
(D) focus
Answer:
(A) load
Question 20.
Which is the top level object in the Browser Object Model ?
(A) location
(B) history
(C) document
(D) window
Answer:
(D) window
Question 21.
While filling forms on Internet, some fields are marked with a red colour asterisk mark “*”. What does it mean ?
(A) Enter only character in field.
(B) Enter only number in field.
(C) It is a compulsory field.
(D) It is not a compulsory field.
Answer:
(C) It is a compulsory field.
Question 22.
If the value is not a number then what is return by isNaN( ) in JavaScript ?
(A) False
(B) True
(C) No
(D) Yes
Answer:
(B) True
Question 23.
Which of the following symbol signifies the start and end of a JavaScript block ?
(A) Round bracket
(B) Curly bracket
(C) Square bracket
(D) Semicolon
Answer:
(B) Curly bracket
Question 24.
Which of the following file name is the home page of the website saved as ?
(A) firstpage.html
(B) first.html
(C) indexhtml
(D) home.html
Answer:
(C) indexhtml
Question 25.
To give caption to table if requires, which option is used in Table Properties ?
(A) Page title
(B) Caption
(C) Title
(D) Heading
Answer:
(B) Caption
Question 26.
All the rules related to tax, different forms and facility for submission of online tax returns services are provided in which type of model ?
(A) C2C
(B) C2B
(C) B2C
(D) G2B
Answer:
(D) G2B
Question 27.
From the following location based services, which service provides “tracking of assets locating friends in a geographic location, tracking stolen cars” services ?
(A) Mapping
(B) Emergency services
(C) Tracking services
(D) Navigation
Answer:
(C) Tracking services
Question 28.
From the following who ensures that the information must not be accidentally or maliciously altered or tempered in transit ?
(A) Non-repudiation
(B) Authorisation
(C) Integrity
(D) Confidentiality
Answer:
(C) Integrity
Question 29.
In which internet security threat, electronic defacing of an existing website page found and an attacker replaces the website’s original content with his/her own content ?
(A) Denial of service attack
(B) Cyber vandalism
(C) Spoofing
(D) Sniffing
Answer:
(B) Cyber vandalism
Question 30.
Trademark is designated by which symbol ?
(A) TD
(B) (C) and (D) both
(C) ®
(D) SM
Answer:
(B) (C) and (D) both
Question 31.
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
Answer:
(D) Issuing bank
Question 32.
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
Answer:
(B) 2-D array
Question 33.
int marks [ ] [ ] = new int [5] [3];
How many bytes are used in storage space ?
(A) 60
(B) 3
(C) 5
(D) 15
Answer:
(A) 60
Question 34.
Which constructor creates a string object which is same as object specified in argument ?
(A) String ( )
(B) String (char ary [ ])
(C) String (String strObj)
(D) string (String literal)
Answer:
(C) String (String strObj)
Question 35.
From the following which method of string class returns a string with all characters of invoking string converted to upper case ?
(A) int length ( )
(B) byte [ ] getBytes
(C) String to Lowercase ( )
(D) String to Uppercase ( )
Answer:
(D) String to Uppercase ( )
Question 36.
Data class is in which package in Java ?
(A) java.io
(B) java.util
(C) java.lang
(D) java.io.class
Answer:
(B) java.util
Question 37.
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
Answer:
(D) int
Question 38.
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
Answer:
(A) Internet bookshops
Question 39.
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
Answer:
(D) www.mybids.in
Question 40.
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
Answer:
(C) Information service
Question 41.
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.
Answer:
(C) E-payment systems are used for receiving payment.
Question 42.
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
Answer:
(B) B2C
Question 43.
From the following which are the examples of B2B model ?
(A) Commodity.com
(B) Quikr.com
(C) OLX.com
(D) eBay.com
Answer:
(A) Commodity.com
Question 44.
Which block is generally used to clean up at the end of executing a try block ?
(A) finally
(B) catch
(C) retry
(D) try
Answer:
(A) finally
Question 45.
From the following which is the syntax of throw exception object ?
(A) object_exception;
(B) exception_object;
(C) throw exception_object;
(D) throw object_exception;
Answer:
(C) throw exception_object;
Question 46.
Which method of the scanner class helps in reading integer input from the console ?
(A) nextlnt ( )
(B) readlnt ( )
(C) writelnt ( )
(D) None of these
Answer:
(A) nextlnt ( )
Question 47.
When some problem occured while executing the command, what is displayed by “Exit code” ?
(A) #
(B) error
(C) 0
(D) 1
Answer:
(D) 1
Question 48.
From the following, which file extension is not used for text file ?
(A) .c
(B) .jpeg
(C) .java
(D) .txt
Answer:
(B) .jpeg
Question 49.
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 ( )
Answer:
(A) boolean isHidden ( )
Question 50.
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
Answer:
(A) Initially Checked
Question 51.
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
Answer:
(B) Format → Page colors and Background
Question 52.
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
Answer:
(D) Declaration
Question 53.
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.
Answer:
(B) CSS compatibility varies with different browsers.
Question 54.
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
Answer:
(C) JavaScript
Question 55.
What is the use of semicolon sign in JavaScript ?
(A) Statement termination
(B) Statement separation
(C) Each statement making bold
(D) None of these
Answer:
(B) Statement separation
Question 56.
What kind of alert( ) function in JavaScript ?
(A) Modular
(B) (C) and (D) both
(C) Inbuilt function
(D) Userdefined
Answer:
(C) Inbuilt function
Question 57.
From the following which is legal name of variable ?
(A) birth date
(B) birth_date
(C) %discount
(D) 4balance
Answer:
(B) birth_date
Question 58.
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
Answer:
(C) 0 to 15
Question 59.
What is the symbol for multi-line comment in Java programme ?
(A) /* and */
(B) //* and *//
(C) * and *
(D) //
Answer:
(A) /* and */
Question 60.
In Java, what will be the result of arithmatic expression 8%3 ?
(A) 8
(B) 3
(C) 4
(D) 2
Answer:
(D) 2
Question 61.
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
Answer:
(B) A != B
Question 62.
Which step of creating an object from a class initialize the newly created object ?
(A) New
(B) Instantiation
(C) Declaration
(D) Initialization
Answer:
(D) Initialization
Question 63.
In Java, who looks for unused objects and reclaims the memory ?
(A) Class variable
(B) Function
(C) Polymorphism
(D) Garbage collector
Answer:
(D) Garbage collector
Question 64.
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
Answer:
(C) left to right
Question 65.
\documentclass [12 pt]{artical}; from this given statement which is an optional argument in LaTex ?
(A) 12 pt, artical
(B) documentclass
(C) {artical};
(D) [12 pt]
Answer:
(D) [12 pt]
Question 66.
Which document class is used for writing individual articles in LaTex ?
(A) beamer
(B) slides
(C) article
(D) book
Answer:
(C) article
Question 67.
Which package is used to add support for multilevel lists in LaTex ?
(A) easylist
(B) listing
(C) amsmath
(D) setspace
Answer:
(A) easylist
Question 68.
Which command can be used to create a section that is not automatically numbered ?
(A) \part
(B) \ section *
(C) \counter
(D) \setcounter *
Answer:
(B) \ section *
Question 69.
From the following which sign is used as comment in LaTex ?
(A) &
(B) #
(C) %
(D) $
Answer:
(C) %
Question 70.
Which shortcut key is used when compilation is successful ?
(A) F5
(B) F12
(C) F7
(D) F9
Answer:
(A) F5
Question 71.
Inheritance is generally referred to which kind of relationship between two classes ?
(A) ‘not is – a’ relationship
(B) ‘a – part – of relationship
(C) ‘is – like’ relationship
(D) ‘is – a’ relationship
Answer:
(D) ‘is – a’ relationship
Question 72.
Composition model refers to which of the following relationship ?
(A) Non exclusive
(B) Exclusive
(C) ‘a – kind – of relationship
(D) None of these
Answer:
(B) Exclusive
Question 73.
From the following which mechanism providing protection to data and methods of a program ?
(A) Aggregation
(B) Composition
(C) Polymorphism
(D) Encapsulation
Answer:
(D) Encapsulation
Question 74.
When the program gets compiled without errors, compiler creates which type of file extension in Java ?
(A) .class
(B) .java
(C) .C++
(D) .c
Answer:
(A) .class
Question 75.
From the following which is not compiled or interpreted in Java ?
(A) if statement
(B) Function
(C) Comment
(D) Variable
Answer:
(C) Comment
Question 76.
Which menu-option is used if the program is compiled without any error ?
(A) Tools → Execute
(B) Edit → Go
(C) Tools → Go
(D) Tools → Compile
Answer:
(C) Tools → Go
Question 77.
In Java, boolean data type hold which logical values ?
(A) Y, N
(B) 0, 1
(C) True, False
(D) Yes, No
Answer:
(C) True, False
Question 78.
Which zip format is used in Java ?
(A) ZAR
(B) Openoffice.org
(C) TAR
(D) JAR
Answer:
(D) JAR
Question 79.
To open a play list in VLC player which menu – option is used ?
(A) View → Open directory
(B) Media → Open directory
(C) View → Play list
(D) Media → Save play list
Answer:
(C) View → Play list
Question 80.
Which service provides the facility of finding the nearest ATM centre, bank, bus stop ?
(A) Hotspot
(B) GSP
(C) GPS
(D) Will
Answer:
(C) GPS
Question 81.
Which software is used for Statistical computing?
(A) Rational plan
(B) Skype
(C) ‘R’ software
(D) Character map
Answer:
(C) ‘R’ software
Question 82.
From the following which Rational plan allow us to manage independent projects ?
(A) Multi
(B) Viewer
(C) Single
(D) None of these
Answer:
(C) Single
Question 83.
Which option of Image Properties dialog box will display the text in case the image is not displayed in the browser in KompoZer ?
(A) Alternate text
(B) Don’t use altemet text
(C) Text
(D) Tooltip
Answer:
(A) Alternate text
Question 84.
Which menu-option is used to change the page title of web page in KompoZer ?
(A) Format → Page title and Properties
(B) View → Page title → Properties
(C) Insert Page title → Properties
(D) Edit Page title → Properties
Answer:
(A) Format → Page title and Properties
Question 85.
Which of the following is a variable that is stored on the users computer ?
(A) Java
(B) HTML
(C) Integer
(D) Cookie
Answer:
(D) Cookie
Question 86.
From the following, who offers limited free space on the Webserver ?
(A) SSL
(B) ISP
(C) FTP
(D) IDE
Answer:
(B) ISP
Question 87.
What is the full form of FTP ?
(A) First Tool Process
(B) File Transfer Property
(C) File Transfer Protocol
(D) File Transfer Process
Answer:
(C) File Transfer Protocol
Question 88.
From the following wliich are the open source web development tools ?
(A) Aptana Studio
(B) BlueGriffon
(C) Amaya
(D) All of these
Answer:
(D) All of these
Question 89.
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
Answer:
(A) 15
Question 90.
What stands for AM and PM in integer constant of calender class ?
(A) 0 and 0
(B) 1 and 1
(C) 1 and 0
(D) 0 and 1
Answer:
(D) 0 and 1
Question 91.
Which braces is used in 2-D array using comma separated values of data elements ?
(A) < > (angled bracket)
(B) ( ) (simple bracket)
(C) { } (curly bracket)
(D) [ ] (square bracket)
Answer:
(C) { } (curly bracket)
Question 92.
Which of the following refer to the starting index value in arrays ?
(A) 1
(B) 0
(C) null
(D) All of these
Answer:
(B) 0
Question 93.
In Java, all kinds of error conditions are called what ?
(A) Error
(B) Exception
(C) Abbreviation
(D) Anomaly
Answer:
(B) Exception
Question 94.
Which exception class observed when an attempt to access a non existing file ?
(A) NumberFormatException
(B) NullPointerException
(C) ArithmeticException
(D) FileNotFoundException
Answer:
(D) FileNotFoundException
Question 95.
Which of the following is a computer program that detects, prevents and takes action to remove the malicious codes like viruses, worms and trojan horses from the infected system ?
(A) Antivirus software
(B) Encryption
(C) Cryptography
(D) Digital certificate
Answer:
(A) Antivirus software
Question 96.
In which way of programming, the focus is on writing functions or procedures which operate on data ?
(A) Object oriented programming
(B) Procedural programming
(C) Query language
(D) All of these
Answer:
(B) Procedural programming
Question 97.
In object oriented programming, attributes that describe the object are known as what ?
(A) Object
(B) Data Field
(C) Method
(D) Behaviour
Answer:
(B) Data Field
Question 98.
What is in the middle section of class diagram ?
(A) Method of class
(B) Attributes or properties of the class
(C) Behaviour or operation of class
(D) Name of the class
Answer:
(B) Attributes or properties of the class
Question 99.
Which sign is used for ‘Package’ visibility ?
(A) ~
(B) +
(C) #
(D) –
Answer:
(A) ~
Question 100.
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
Answer:
(C) Function or method overloading