By solving the Computer Class 12 GSEB Solutions and GSEB Class 12 Computer Question Paper March 2020 (For Science Stream) will be able to know the exam pattern in the exam.
GSEB Std 12 Computer Question Paper March 2020 (For Science Stream)
Question 1.
Which of the following is the tag used to implement form element in HTML ?
(A) <form>…</form>
(B) <form>…<form>
(C) </form>…</form>
(D) <ffm>…</frm>
Answer:
(A) <form>…</form>
Question 2.
Which of the following method sends the data as a block through the HTTP transaction ?
(A) GET
(B) SET
(C) PUT
(D) POST
Answer:
(D) POST
Question 3.
Which of the following element allows multi¬line text input in HTML ?
(A) textarea
(B) input
(C) select and option
(D) form
Answer:
(A) textarea
Question 4.
Which of the following is a free open source web development IDE ?
(A) HTML
(B) KompoZer
(C) SciTE
(D) Base
Answer:
(B) KompoZer
Question 5.
In KompoZer, which of the following menu- option is used to view different toolbars and statusbar ?
(A) Tools → Show/Hide
(B) Edit → Show
(C) View → Show/Hide
(D) Insert → Show
Answer:
(C) View → Show/Hide
Question 6.
Which keyboard shortcut is used to close the site manager pane in KompoZer ?
(A) F1
(B) F9
(C) F2
(D) F10
Answer:
(B) F9
Question 7.
In KompoZer, which of the following menu- option is used to insert label ?
(A) Tools → Define label
(B) Edit → Form Define label
(C) Insert → Form Define label
(D) File → Define label
Answer:
(C) Insert → Form Define label
Question 8.
Which of the following menu-option is used to create selection list option in KompoZer ?
(A) Edit → Selection List
(B) File → Selection List
(C) Insert → List
(D) Form → Selection List
Answer:
(D) Form → Selection List
Question 9.
Which of the following allows specifying styles for the visual elements of the website ?
(A) Cascading Style Sheets
(B) Webpage
(C) Form
(D) Animation
Answer:
(A) Cascading Style Sheets
Question 10.
Which of the following are two main parts of CSS rule ?
(A) Selector, Declaration
(B) Select, Declaration
(C) Selector, Declare
(D) Selection, Declaration
Answer:
(A) Selector, Declaration
Question 11.
Which of the following symbol signifies the start and end of a JavaScript block ?
(A) semicolon
(B) square bracket
(C) curly bracket
(D) round bracket
Answer:
(C) curly bracket
Question 12.
Which of the following is a container for storing data in JavaScript ?
(A) Variable
(B) Integer
(C) Event
(D) Event handler
Answer:
(A) Variable
Question 13.
In KompoZer, which tabs are available on the right side of CSS Style Sheets dialog box ?
(A) General, Text
(B) Background, Box
(C) Borders, Lists
(D) All of these
Answer:
(D) All of these
Question 14.
Which of the following toolbar contains CSS button in KompoZer ?
(A) Menu bar
(B) Format Toolbar -1
(C) Composition Toolbar
(D) Format Toolbar – 2
Answer:
(C) Composition Toolbar
Question 15.
Which of the following company has developed JavaScript scripting language ?
(A) Microsoft
(B) Sun Microsystem
(C) Oracle
(D) Netscape
Answer:
(D) Netscape
Question 16.
Which built-in function takes the text and displays it in an alert box in JavaScript ?
(A) display( )
(B) alert( )
(C) message( )
(D) submit( )
Answer:
(B) alert( )
Question 17.
In JavaScript, which event occurs when user leaves a page ?
(A) focus
(B) unload
(C) abort
(D) blur
Answer:
(B) unload
Question 18.
Which of the following is the most important object in the browser object model ?
(A) document
(B) history
(C) location
(D) link
Answer:
(A) document
Question 19.
Which of the following helps in promoting the business, selling the products and attracting a large number of customers ?
(A) Website
(B) Webpage
(C) Form
(D) CSS
Answer:
(A) Website
Question 20.
Which of the following information should a website contain ?
(A) Complete, Relevant
(B) Complete, Irrelevant
(C) Incomplete, Irrelevant
(D) Incomplete, Relevant
Answer:
(A) Complete, Relevant
Question 21.
Which of the following is the first page that opens when the user enters the URL address in the address bar of the browser ?
(A) Home page
(B) Last page
(C) Web page
(D) First page
Answer:
(A) Home page
Question 22.
Which menu-option is used to change color of the text in KompoZer ?
(A) Insert → Color
(B) Tools → Change Color
(C) View → Color
(D) Format → Text Color
Answer:
(D) Format → Text Color
Question 23.
Which menu-option is used to create link in KompoZer ?
(A) File → Link
(B) Edit → Link
(C) Tools → Hyperlink
(D) Insert → Link
Answer:
(D) Insert → Link
Question 24.
Using which of the following inbuilt JavaScript function data can be converted into number ?
(A) isnumber ( )
(B) parseFloat( )
(C) perseNumber( )
(D) convertNumber( )
Answer:
(B) parseFloat( )
Question 25.
Which of the following languages are supported by Aptana Studio IDE ?
(A) HTML, CSS
(B) Ruby, Rails
(C) PHP, Python
(D) All of these
Answer:
(D) All of these
Question 26.
Which website is used to download Blue Griffon HTML editor ?
(A) www.bluegriffon.org
(B) www.bluegriffon.com
(C) www.griffon.org
(D) www.griffon.com
Answer:
(A) www.bluegriffon.org
Question 27.
Which of the following is a feature of traditional commerce ?
(A) Operates within a certain period of time or during business hours
(B) Advertising of the product is done electronically
(C) E-payments systems are used for receiving payment
(D) Customer can browse through products and offers
Answer:
(A) Operates within a certain period of time or during business hours
Question 28.
Which of the following is a disadvantage of E-commerce ?
(A) Privacy
(B) Improved Customer Service
(C) Speed
(D) Conduct business 24 × 7
Answer:
(A) Privacy
Question 29.
Which of the following is a feature of E-commerce ?
(A) Operates within a certain period of time or during business hours
(B) No sharing of information with competitors
(C) Location renting or purchasing
(D) Advertising of the product is done electronically
Answer:
(D) Advertising of the product is done electronically
Question 30.
Which of the following is a popular website for online auction ?
(A) www.gseb.org
(B) www.flipkart.com
(C) www.ebay.com
(D) www.axisbank.com
Answer:
(C) www.ebay.com
Question 31.
Which of the following statement is true for services provided by Online Banking ?
(i) Customer can check account balance at any time
(ii) Customer can deposit cash using online banking
(iii) Customer can transfer the money from one account to another
(A) only (ii) and (iii)
(B) only (i) and (iii)
(C) only (i) and (ii)
(D) (i), (ii) and (iii)
Answer:
(B) only (i) and (iii)
Question 32.
Which E-commerce business model refers to business and organisations that sells products or services to customers over the internet using websites ?
(A) Business to Consumer (B2C)
(B) Business to Business (B2B)
(C) Customer to Customer (C2C)
(D) Government to Business (G2B)
Answer:
(A) Business to Consumer (B2C)
Question 33.
Which of the following is an example of Business to Business (B2B) model website ?
(A) www.commodity.com
(B) www.tradeindia.com
(C) Both (A) and (B)
(D) None of the above
Answer:
(C) Both (A) and (B)
Question 34.
Which of the following refers to buying and selling of goods or services through the use of internet enabled wireless devices ?
(A) Internet
(B) M-Commerce
(C) M-Banking
(D) www
Answer:
(B) M-Commerce
Question 35.
Which of the following is the transformation of encrypted text back into normal text ?
(A) Firewall
(B) Digital Certificate
(C) Decryption
(D) Vims
Answer:
(C) Decryption
Question 36.
Which of the following is the symbol for trademark ?
(A) TM, MT and ©
(B) TM, MS and ®
(C) TM, SM and ®
(D) TM, SM and ©
Answer:
(C) TM, SM and ®
Question 37.
Which is the most accurate in determining a mobile device’s position ?
(A) Website
(B) SSL
(C) TCP/IP
(D) GPS
Answer:
(D) GPS
Question 38.
Which of the following is used for securing web transactions on the internet ?
(A) TCP/IP
(B) HTTP
(C) HTML
(D) SSL
Answer:
(D) SSL
Question 39.
Which is the most popular and widely accepted method of payment on internet ?
(A) Credit Card
(B) Debit Card
(C) Internet Banking
(D) All of these
Answer:
(A) Credit Card
Question 40.
Which of the following is provided using encapsulation ?
(A) Data protection
(B) Data sharing
(C) Separation of data and methods
(D) All of these
Answer:
(A) Data protection
Question 41.
With which of the following options polymorphism cannot be achieved ?
(A) Method Overloading
(B) Operator Overloading
(C) Data hiding
(D) All of these
Answer:
(C) Data hiding
Question 42.
An inheritance model refers to which of the following relationships ?
(A) ‘is-a’
(B) ‘has-a’
(C) ‘a-part-of’
(D) All of these
Answer:
(A) ‘is-a’
Question 43.
Which of the following describes a group of objects with similar attributes and common behavior ?
(A) Object
(B) Class
(C) Program
(D) Diagram
Answer:
(B) Class
Question 44.
Which of the following is a mechanism of providing protection to data and methods of a program ?
(A) Encapsulation
(B) Data abstraction
(C) Polymorphism
(D) Aggregation
Answer:
(A) Encapsulation
Question 45.
Which of the following represents non¬exclusive relationship between two classes ?
(A) Aggregation
(B) Composition
(C) Inheritance
(D) All of these
Answer:
(A) Aggregation
Question 46.
Which of the following is used to distinguish objects from each other ?
(A) Attributes
(B) State
(C) Behavior
(D) All of these
Answer:
(B) State
Question 47.
In Object-oriented terminology, with reference to Inheritance, existing class is also called which of the following ?
(A) Super class
(B) Parent class
(C) Base class
(D) All of these
Answer:
(D) All of these
Question 48.
How many primitive data types are supported in Java ?
(A) 2
(B) 4
(C) 8
(D) 16
Answer:
(C) 8
Question 49.
Java language was developed by which of the following company ?
(A) Sun Microsystems
(B) Netscape
(C) Microsoft
(D) Oracle
Answer:
(A) Sun Microsystems
Question 50.
Which of the following extension file is generated by compiler, when the program gets compiled without errors in Java ?
(A) .java
(B) .C
(C) .org
(D) .class
Answer:
(D) .class
Question 51.
Single-line comment begins with which sign in Java ?
(A) /*…*/
(B) //
(C) //**…*/
(D) All of these
Answer:
(B) //
Question 52.
What will be the result of arithmetic expression 9 % 2 ?
(A) 4.5
(B) 1
(C) 4
(D) 0
Answer:
(B) 1
Question 53.
What is it called when ++ operator is used after variable name in Java ?
(A) post increment
(B) pre increment
(C) increment pre
(D) pre decrement
Answer:
(A) post increment
Question 54.
Which of the following is used to repeat a sequence of statements over and over until some condition occurs ?
(A) block
(B) array
(C) loops
(D) boolean
Answer:
(C) loops
Question 55.
Which statement is executed if the value of boolean expression is true ?
if(<boolean expression:^
{
<statementl>
}
else
{
<statement2>
}
statement3
(A) statement2
(B) Error message
(C) statementl
(D) statements
Answer:
(C) statementl
Question 56.
Which of the following statement is used to transfer the control outside ‘Switch’ or ‘Loop’ construct ?
(A) continue
(B) else
(C) end
(D) break
Answer:
(D) break
Question 57.
Which of the following variable name is not valid in Java ?
(A) _marks
(B) 4subject
(C) total_marks
(D) $age
Answer:
(B) 4subject
Question 58.
Which of the following defines attributes and methods ?
(A) class
(B) object
(C) instance
(D) variable
Answer:
(A) class
Question 59.
Which keyword is used in Java to define a class ?
(A) DEFINE
(B) define
(C) class
(D) Define
Answer:
(C) class
Question 60.
Which step(s) are required to create an object from the class ?
(A) Declaration
(B) Instantiation
(C) Initialization
(D) All of these
Answer:
(D) All of these
Question 61.
Which keyword is used to create an object by allocating memory ?
(A) memory
(B) new
(C) allocate
(D) variable
Answer:
(B) new
Question 62.
By which of the following operator, instance variables and instance methods are accessed via objects ?
(A) ; operator
(B) . operator
(C) * operator
(D) % operator
Answer:
(B) . operator
Question 63.
Which of the following statement is used to declare class variable totWindows in class with instance variables ?
(A) static int totWindows;
(B) Static Int totWindows;
(C) STATIC totWindows;
(D) Int totWindows;
Answer:
(A) static int totWindows;
Question 64.
Which variables are not initialized by default values in Java ?
(A) Instance variables
(B) Class variables
(C) Local variables
(D) All of the above
Answer:
(C) Local variables
Question 65.
In Java, which is a special kind of method that is invoked when new object is created ?
(A) Modifiers
(B) Polymorphism
(C) Class
(D) Constructor
Answer:
(D) Constructor
Question 66.
Which access modifier in Java provides visibility to classes defined in other package also ?
(A) Private
(B) Public
(C) Protected
(D) All of these
Answer:
(B) Public
Question 67.
Which of the following keyword is used to refer a superclass constructor in subclass constructor ?
(A) extends
(B) super
(C) name of the superclass
(D) new
Answer:
(B) super
Question 68.
Which is a variable in Java representing a collection of homogeneous type of elements ?
(A) array
(B) function
(C) for loop
(D) while loop
Answer:
(A) array
Question 69.
Which of the following syntax is used to declare array in Java ?
(A) <data type<array name>[];
(B) <data type>[]<array name>;
(C) Both (A) and (B)
(D) None of the above
Answer:
(C) Both (A) and (B)
Question 70.
How many bytes of memory location are occupied by an array ‘b’ of int b [ ] [ ] = new int[5] [3]; ?
(A) 15
(B) 60
(C) 5
(D) 3
Answer:
(B) 60
Question 71.
What can be considered as a sequence of characters in Java ?
(A) group
(B) null value
(C) string
(D) object
Answer:
(C) string
Question 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
Answer:
(D) str1== str2
Question 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
Answer:
(D) All of the above
Question 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()
Answer:
(A) strl.toLowerCase()
Question 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
Answer:
(B) java.util package
Question 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
Answer:
(C) Both (A) and (B)
Question 77.
What does ‘length’ refer to for an object of String class ?
(A) attribute
(B) method
(C) class variable
(D) class name
Answer:
(B) method
Question 78.
Which of the following refers to an error condition in object-oriented programming terminology ?
(A) anomaly
(B) abbreviation
(C) exception
(D) deviation
Answer:
(C) exception
Question 79.
Which of the following block handles or takes appropriate action when an Exception occurs ?
(A) try
(B) catch
(C) throws
(D) handles
Answer:
(B) catch
Question 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
Answer:
(C) Exceptional events are integrated with regular events
Question 81.
Which exit code in SciTE editor indicates that the command execution is successful ?
(A) 0
(B) 1
(C) -1
(D) 10
Answer:
(A) 0
Question 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
Answer:
(A) throws
Question 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
Answer:
(D) java.util.Scanner
Question 84.
In which of the following 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 of the above
Answer:
(A) Volatile storage
Question 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
Answer:
(D) 30
Question 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
Answer:
(C) /etc
Question 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
Answer:
(A) stream
Question 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
Answer:
(C) Both (A) and (B)
Question 89.
Which class defines the functionality that is available for all character input streams ?
(A) void reader class
(B) exact reader class
(C) abstract reader class
(D) super reader class
Answer:
(C) abstract reader class
Question 90.
Which of the following character is used to mark a comment in LaTeX ?
(A) $
(B) %
(C) #
(D) &
Answer:
(B) %
Question 91.
Which of the following website hosts the LaTeX packages ?
(A) CTAN
(B) CLAN
(C) CTEN
(D) CLEN
Answer:
(A) CTAN
Question 92.
Which of the following commands generate the set union symbol ?
(A) \cup
(B) \setunion
(C) \cap
(D) \union
Answer:
(A) \cup
Question 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
Answer:
(C) evince pdffilename
Question 94.
Which 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
Answer:
(C) Tools → Go
Question 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
Answer:
(B) 12pt
Question 96.
What is the full form of tar ?
(A) tape archiver
(B) tech archiver
(C) test archiver
(D) tight archiver
Answer:
(A) tape archiver
Question 97.
Which of the following is a feature-rich media player ?
(A) VAC
(B) VEC
(C) VLC
(D) VNC
Answer:
(C) VLC
Question 98.
Which of the following are different variants of * Rational Plan ?
(A) Single, Multi, Viewer
(B) Singular, Multiple
(C) View, Preview
(D) Server, Client
Answer:
(A) Single, Multi, Viewer
Question 99.
Which software allows us to make calls over the internet using our computer ?
(A) Rational Plan
(B) ‘R’ software
(C) Skype
(D) LaTeX
Answer:
(C) Skype
Question 100.
Which R command is used for accessing the online help ?
(A) onlinehelp()
(B) linehelp()
(C) help()
(D) helpdemo()
Answer:
(C) help()