By solving the Computer Class 12 GSEB Solutions and GSEB Class 12 Computer Question Paper March 2018 (For Science Stream) will be able to know the exam pattern in the exam.
GSEB Std 12 Computer Question Paper March 2018 (For Science Stream)
Question 1.
In HTML, which element is used to insert various fields like radio button, textbox and checkbox in the form ?
(A) <Select>
(B) <Area>
(C) <Input>
(D) <Radio button>
Answer:
(C) <Input>
Question 2.
In KompoZer, which menu-option is used to view the different toolbars and status bar ?
(A) View → Show / Hide
(B) Edit → Show / Hide
(C) Insert → Menu
(D) Edit → Display
Answer:
(A) View → Show / Hide
Question 3.
In KompoZer, which of the following viewing mode Edit mode toolbar offers the page view as seen in a browser ?
(A) Normal view
(B) HTML Tags view
(C) Preview mode
(D) Print view
Answer:
(C) Preview mode
Question 4.
In KompoZer, which tab of the page pane is used to design the web page ?
(A) Design
(B) Source
(C) Split
(D) View
Answer:
(A) Design
Question 5.
In KompoZer, which menu-option is used to create a form ?
(A) Insert → Form → Create Form
(B) Insert → Form → Define Form
(C) Edit → Form
(D) Format → Form → Create Form
Answer:
(B) Insert → Form → Define Form
Question 6.
When webpage viewed in the browser, where the page title will be displayed ?
(A) In Title bar
(B) In Status bar
(C) In Navigation pane
(D) In Menu bar
Answer:
(A) In Title bar
Question 7.
In HTML, which of the following attribute of form specifies the HTTP method to be used when sending the data ?
(A) Input
(B) Submit
(C) Action
(D) Method
Answer:
(D) Method
Question 8.
Which of the following is a free open source web development IDE ?
(A) HTML
(B) KompoZer
(C) SciTE
(D) Base
Answer:
(B) KompoZer
Question 9.
Which of the following is an HTML element on which style can be applied ?
(A) select
(B) declare
(C) selector
(D) declaration
Answer:
(C) selector
Question 10.
In KompoZer, Cascade button is available on which toolbar ?
(A) Composition toolbar
(B) Format toolbar – 1
(C) Format toolbar – 2
(D) Menu bar
Answer:
(A) Composition toolbar
Question 11.
In the CSS Stylesheets dialog box of KompoZer, a style rule for each element we have added will appear below which of the following headings ?
(A) External Style
(B) Internal Stylesheet
(C) New Stylesheet
(D) Public Stylesheet
Answer:
(B) Internal Stylesheet
Question 12.
In CSS Stylesheets dialog box of KompoZer, which tab shows the CSS code which is generated ?
(A) Text
(B) Background
(C) General
(D) Aural
Answer:
(C) General
Question 13.
In JavaScript, which sign is used as a mark of Separation ?
(A) ; (semicolon)
(B) : (colon)
(C) . (full stop)
(D) , (comma)
Answer:
(A) ; (semicolon)
Question 14.
In JavaScript, which keyword is used to define a function ?
(A) fun
(B) FUNC
(C) Func
(D) function
Answer:
(D) function
Question 15.
Which of the following is an example of inbuilt JavaScript function ?
(A) hello( )
(B) validateForm( )
(C) alert( )
(D) myFun( )
Answer:
(C) alert( )
Question 16.
Which of the following statement is true for JavaScript variable ?
(i) Variables in JavaScript are case sensitive.
(ii) JavaScript variable can store numbers, strings or text.
(iii) In JavaScript, variables can be declared using VAR keyword.
(A) only (i) and (ii)
(B) only (ii) and (iii)
(C) only (i) and (iii)
(D) (i), (ii) and (iii)
Answer:
(A) only (i) and (ii)
Question 17.
In JavaScript, which event occurs when a document or image is loaded ?
(A) click
(B) focus
(C) load
(D) abort
Answer:
(C) load
Question 18.
In JavaScript, isNaN(123) function returns what ?
(A) 123
(B) -1
(C) true
(D) false
Answer:
(D) false
Question 19.
In Table Properties dialog box of KompoZer, which value of table tab is used to give caption to the Table ?
(A) Caption
(B) Title
(C) Row Title
(D) Column Title
Answer:
(A) Caption
Question 20.
In KompoZer, which menu-option is used to give a color to the text ?
(A) Font → Color
(B) Format → Font Color
(C) Format → Text Color
(D) Edit → Font Color
Answer:
(C) Format → Text Color
Question 21.
In KompoZer webpage, which menu-option is used to insert a horizontal line ?
(A) Insert → Line
(B) Insert → Florizontal line
(C) Edit → Horizontal line
(D) Format → Line
Answer:
(B) Insert → Florizontal line
Question 22.
Which of the following is used to transfer web pages from user computer to the web host ?
(A) FTP
(B) SMTP
(C) PPT
(D) STTP
Answer:
(A) FTP
Question 23.
Aptana Studio open source software can be easily downloaded from which of the following website ?
(A) www.aptana.org
(B) www.aptana.edu
(C) www.aptana.net
(D) www.aptana.com
Answer:
(D) www.aptana.com
Question 24.
Which of the following free open source WYSIWYG HTML editor supports languages like English, Dutch, German, Chinese and many more ?
(A) Aptana Studio
(B) Blue Griffon
(C) Amaya
(D) KompoZer
Answer:
(B) Blue Griffon
Question 25.
Which of the following is not an important point of website development planning process ?
(A) Purpose
(B) Audience
(C) Content
(D) Input
Answer:
(D) Input
Question 26.
Using which of the following inbuilt JavaScript function data can be converted into number ?
(A) isNaN( )
(B) isNumber( )
(C) parseNumber( )
(D) parseFloat( )
Answer:
(D) parseFloat( )
Question 27.
Which of the following is not a popular website for online auction ?
(A) www.ebay.com
(B) Shopping.indiatimes.com
(C) www.mybids.in
(D) www.onlineauction.com
Answer:
(B) Shopping.indiatimes.com
Question 28.
In E-commerce, notices and reminders sent to the customer by the companies or banks is an example of which of the following services ?
(A) Online billing
(B) Information services
(C) Support services
(D) Online banking
Answer:
(B) Information services
Question 29.
Which of the following is an advantage of E-commerce ?
(A) Security
(B) Privacy
(C) Initial cost
(D) Conduct business 24 × 7
Answer:
(D) Conduct business 24 × 7
Question 30.
Which of the following E-commerce business model refers to business and organizations that sell products or services to consumers over the Internet using websites ?
(A) Business to Consumer – (B2C)
(B) Business to Business – (B2B)
(C) Consumer to Business – (C2B)
(D) Government to Business – (G2B)
Answer:
(A) Business to Consumer – (B2C)
Question 31.
commodity.com and tradeindia.com websites are examples of which of the following E-commerce business model ?
(A) Business to Consumer – (B2C)
(B) Business to Business – (B2B)
(C) Consumer to Consumer – (C2C)
(D) Consumer to Business – (C2B)
Answer:
(B) Business to Business – (B2B)
Question 32.
Which of the following website is not an example of customer to customer (C2C) E-commerce business model ?
(A) eBay.com
(B) rediff.com
(C) OLX.com
(D) Quikr.com
Answer:
(B) rediff.com
Question 33.
On which of the following website GSWAN is online available ?
(A) www.gswan.com.in
(B) www.gswan.org.in
(C) www.gov.gswan
(D) www.gswan.gov.in
Answer:
(D) www.gswan.gov.in
Question 34.
Stock market services offered via mobile devices are known as ?
(A) Mobile Banking
(B) M-Banking
(C) Mobile Brokerage
(D) Mobile Transaction
Answer:
(C) Mobile Brokerage
Question 35.
Which of the following is not an important security aspect of E-commerce / M-commerce security ?
(A) Confidentiality
(B) Integrity
(C) Authorization
(D) Navigation
Answer:
(D) Navigation
Question 36.
Which of the following is a computer program that detects, prevents and takes action to remove the malicious code from the infected system ?
(A) Digital certificate
(B) Cryptography
(C) Antivirus Software
(D) Firewall
Answer:
(C) Antivirus Software
Question 37.
Which of the following is not a symbol of trademark ?
(A) TM
(B) SM
(C) ©
(D) ®
Answer:
(C) ©
Question 38.
Which of the following is a digital code inserted into a digital image, audio or video file which can identify the file’s copyright information ?
(A) Image mark
(B) Digital mark
(C) Code mark
(D) Water mark
Answer:
(D) Water mark
Question 39.
Which of the following is a new card payment mechanism launched by National Payment Corporation of India (NPCI) ?
(A) Rupy
(B) PayRupy
(C) Rudeb
(D) RuPay
Answer:
(D) RuPay
Question 40.
Which of the following statement is true for object oriented programming language ?
(i) It uses object as its fundamental building block.
(ii) Similar objects are classified using a concept of class.
(iii) Abstration, encapsulation, polymorphism and inheritance is its basic properties.
(A) only (i) and (ii)
(B) only (ii) and (iii)
(C) only (i) and (iii)
(D) (i), (ii) and (iii)
Answer:
(D) (i), (ii) and (iii)
Question 41.
Which of the following best suits to Java ?
(A) A procedural programming language
(B) An object-oriented programming language
(C) A query language
(D) An editor
Answer:
(B) An object-oriented programming language
Question 42.
Which of the following is not a section of the icon that is used to represent a class in class diagram ?
(A) Name
(B) Attribute
(C) Behavior
(D) Datatype
Answer:
(D) Datatype
Question 43.
In a class diagram, which symbol is used for Public visibility ?
(A) –
(B) #
(C) +
(D) ~
Answer:
(C) +
Question 44.
Which of the following refers to representation of data in which the implementation details are hidden ?
(A) Encapsulation
(B) Abstraction
(C) Polymorphism
(D) Composition
Answer:
(B) Abstraction
Question 45.
Polymorphism is achieved using how many types of overloading ?
(A) Two
(B) Three
(C) One
(D) Four
Answer:
(A) Two
Question 46.
Which of the following represents non¬exclusive relationship between two classes ?
(A) Aggregation
(B) Composition
(C) Inheritance
(D) Polymorphism
Answer:
(A) Aggregation
Question 47.
In Inheritance, what is called an existing class ?
(A) sub class
(B) super class
(C) child class
(D) derived class
Answer:
(B) super class
Question 48.
Which of the following statement is true for Java language ?
(i) Java language was developed by Sun Microsystem.
(ii) Java is an object-oriented language.
(iii) Java is not platform-independent at both the source and binary level.
(A) only (i) and (ii)
(B) only (ii) and (iii)
(C) only (i) and (iii)
(D) (i), (ii) and (iii)
Answer:
(A) only (i) and (ii)
Question 49.
In Java, float data type takes how many bytes of storage space ?
(A) 2 bytes
(B) 4 bytes
(C) 8 bytes
(D) 16 bytes
Answer:
(B) 4 bytes
Question 50.
In Java, variable name must begin with which of the following ?
(A) %
(B) digits
(C) spaces
(D) alphabet
Answer:
(D) alphabet
Question 51.
Which of the following statement is right for boolean literals in Java ?
(i) 0 is treated as false and 1 is treated as true.
(ii) Literals are to be typed without quotes.
(iii) For the boolean type, there are two literals, true and false.
(A) only (i) and (ii)
(B) only (ii) and (iii)
(C) only (i) and (iii)
(D) (i), (ii) and (iii)
Answer:
(B) only (ii) and (iii)
Question 52.
Which of the following is not a basic arithmetic operator of Java ?
(A) +
(B) –
(C) *
(D) \
Answer:
(D) \
Question 53.
Which of the following is not a comparison operator in Java ?
(A) <=
(B) >=
(C) =
(D) !=
Answer:
(C) =
Question 54.
How many types of control structures are there in Java ?
(A) One
(B) Two
(C) Three
(D) Four
Answer:
(B) Two
Question 55.
In the switch statement of Java, the test expression should be of which of the following type ?
(A) float
(B) double
(C) byte
(D) boolean
Answer:
(C) byte
Question 56.
In Java, which of the following loop is a exit- controlled or post-test loop construct ?
(A) for loop
(B) while loop
(C) do …. while loop
(D) switch
Answer:
(C) do …. while loop
Question 57.
After execution of which statement in the loop of Java, all the following statements in a body of the loop are skipped and no further iteration take place ?
(A) continue
(B) go
(C) break
(D) loop
Answer:
(C) break
Question 58.
In Java, which of the following is not a step of creating an object from a class ?
(A) Declaration
(B) Instantiation
(C) Initialization
(D) Calculation
Answer:
(D) Calculation
Question 59.
Which operator is used to access instance variable via object in Java ?
(A) :
(B) ,
(C) +
(D) .
Answer:
(D) .
Question 60.
In Java, which of the following variables can be accessed without creating an instance of a class ?
(A) Instance
(B) Static
(C) Local
(D) Private
Answer:
(B) Static
Question 61.
In Java, variables defined inside methods or blocks are known as which type of variable ?
(A) Local
(B) Instance
(C) Class
(D) Public
Answer:
(A) Local
Question 62.
In Java, which of the following refers to different methods that have the same name but a different signature ?
(A) Method overloading
(B) Duplicate method
(C) Instance method
(D) Overridden method
Answer:
(A) Method overloading
Question 63.
In Java, which method is invoked automatically with creation of an object ?
(A) Instance method
(B) Constructor
(C) Class method
(D) Local method
Answer:
(B) Constructor
Question 64.
In Java, when no visibility modifier is used, then what is the default visibility ?
(A) Public
(B) Package
(C) Protected
(D) Private
Answer:
(B) Package
Question 65.
In Java, which of the following visibility modifier is used to achieve highest level of protection ?
(A) Public
(B) Package
(C) Protected
(D) Private
Answer:
(D) Private
Question 66.
In Java, if we want to allow data to be modified by others, then which method do we have to write ?
(A) Accessor
(B) Mutator
(C) Accepter
(D) Edit
Answer:
(B) Mutator
Question 67.
In Java, which keyword is used to call the constructor of superclass in the constructor of subclass.
(A) Base
(B) Sub
(C) Super
(D) Parent
Answer:
(C) Super
Question 68.
In Java, array index value starts from which number ?
(A) 0
(B) 1
(C) -1
(D) 8
Answer:
(A) 0
Question 69.
In Java, initial value for 1-D array are separated using which symbol ?
(A) . (full stop)
(B) , (comma)
(C) : (colon)
(D) – (dash)
Answer:
(B) , (comma)
Question 70.
Which of the following is not a correct way to create and initialize an array named marks ?
(A) int marks [ ] = new int [3];
(B) int [ ] marks = new int [3];
(C) int marks [ ] = {0, 10, 20};
(D) int marks [3] = {0, 10, 20};
Answer:
(D) int marks [3] = {0, 10, 20};
Question 71.
sort() and fill( ) are methods of which of the following Java class ?
(A) java.string
(B) java.util.Arrays
(C) java.io
(D) java.util.io
Answer:
(B) java.util.Arrays
Question 72.
In the following statement for declaring two-dimensional array of Java 5 represents what ?
int marks [ ] [ ] = new int [5] [3]
(A) number of rows
(B) number of columns
(C) array size
(D) number of bytes
Answer:
(A) number of rows
Question 73.
In Java, which of the following constructor creates a string object same as object specified in argument ?
(A) String (char ary [ ])
(B) String ( )
(C) String (String literal)
(D) String (String strObj)
Answer:
(D) String (String strObj)
Question 74.
In Java, int compareTo (String str) method returns which of the following value if invoking string is greater than str ?
(A) 0
(B) >0
(C) <0
(D) Logical value
Answer:
(B) >0
Question 75.
Which of the following method of Java, returns an array of characters as bytes from invoking string ?
(A) string concat( )
(B) char getByte( )
(C) byte[ ] getBytes( )
(D) string to bytes( )
Answer:
(C) byte[ ] getBytes( )
Question 76.
In Java, which of the following method of Date class returns a string representing Date and time of invoking object ?
(A) Date( )
(B) String toString( )
(C) Date char( )
(D) Date Text( )
Answer:
(B) String toString( )
Question 77.
In Java, which constant of calendar class returns day number within a week ?
(A) DAY_OF_WEEK
(B) DAY_OF_MONTH
(C) DAY_OF_YEAR
(D) DATE
Answer:
(A) DAY_OF_WEEK
Question 78.
In Java program, if there is a syntax error, which of the following error we will get ?
(A) compile-time
(B) run-time
(C) print-time
(D) file save-time
Answer:
(A) compile-time
Question 79.
In Java, which exception class is used for condition resulting in an attempt to access a non-existing file ?
(A) ArraylndexOutOfBoundsException
(B) FileNotFoundException
(C) NullPointerException
(D) PrinterlOException
Answer:
(B) FileNotFoundException
Question 80.
In exception handing of Java, which block contains the code that may give rise to one or more exceptions ?
(A) throw
(B) try
(C) catch
(D) finally
Answer:
(B) try
Question 81.
In Java exception handing, which block is generally used to clean up at the end of executing a try block ?
(A) catch
(B) finally
(C) throw
(D) new
Answer:
(B) finally
Question 82.
In Java exception handling, which of the following block is always executed regardless of whether or not exceptions are thrown during the execution of the associated try block ?
(A) throw
(B) finally
(C) catch
(D) new
Answer:
(B) finally
Question 83.
The object that we throw must be of which of the following Java class type ?
(A) java.lang.throw
(B) java.lang.catch
(C) java.lang.throws
(D) java.lang.Throwable
Answer:
(D) java.lang.Throwable
Question 84.
In Java, when we write data to stream, what is that stream called ?
(A) output stream
(B) input stream
(C) data stream
(D) line stream
Answer:
(A) output stream
Question 85.
In Java, text files and program codes are created using which stream ?
(A) byte stream
(B) binary stream
(C) character stream
(D) boolean stream
Answer:
(C) character stream
Question 86.
In writer class of Java, which of the following exception occurs when there is a failed I/O operation ?
(A) FileException
(B) InputException
(C) OutputException
(D) IOException
Answer:
(D) IOException
Question 87.
In Java, FilelnputStream and FileOutputStream are classes of which package that give us the ability to read and write bytes from and into any files in the disk ?
(A) java.input
(B) java.output
(C) java.file
(D) java.io
Answer:
(D) java.io
Question 88.
In Java, which method of scanner class scans the next token of the input as line ?
(A) String next( )
(B) String nextLine( )
(C) hasNext( )
(D) char hasNext( )
Answer:
(B) String nextLine( )
Question 89.
In Java, scanner class can be used to perform which of the following operations ?
(A) Accept input from the keyboard
(B) Write data into file
(C) Reading password
(D) Count number of character in file
Answer:
(A) Accept input from the keyboard
Question 90.
LaTeX commands start with which of the following character followed by the command name ?
(A) \ (backslash)
(B) / (slash)
(C) $ (dollar)
(D) – (dash)
Answer:
(A) \ (backslash)
Question 91.
In LaTeX, which of the following command is inserted at the end of line to insert a break in lines ?
(A) \
(B) #
(C) %
(D) \\
Answer:
(D) \\
Question 92.
Which of the following is not a reserved character of LaTeX ?
(A) #
(B) o
(C) $
(D) %
Answer:
(B) o
Question 93.
A LaTeX document has how many parts ?
(A) one
(B) two
(C) three
(D) four
Answer:
(B) two
Question 94.
Which of the following command structure is used to declare preinstalled packages in the preamble of LaTeX document ?
(A) \ import { package – name }
(B) \ insert { package – name }
(C) \open { package – name }
(D) \usepackage ( package – name }
Answer:
(D) \usepackage ( package – name }
Question 95.
In SciTE editor, which of the following shortcut key is used to compile LaTeX file ?
(A) F4
(B) F5
(C) F7
(D) F9
Answer:
(C) F7
Question 96.
Which of the following techniques works by identifying repetition in the data and encodes the data in a way that reduces or eliminates such repetition ?
(A) Data print
(B) Data hiding
(C) Data compression
(D) Data duplicate
Answer:
(C) Data compression
Question 97.
Which of the following refers to a file that has an entire directory structure inside it ?
(A) apache
(B) archie
(C) archi
(D) archive
Answer:
(D) archive
Question 98.
Which bar of VLC media player shows, how much of the current track has been played and what is its total duration ?
(A) Menu bar
(B) Tool bar
(C) Progress bar
(D) Status bar
Answer:
(C) Progress bar
Question 99.
In ‘R’ software, which of the following command is used to open online help in a browser ?
(A) myhelp( )
(B) cmdhlp( )
(C) command( )
(D) help.start( )
Answer:
(D) help.start( )
Question 100.
Which of the following desktop product of Rational plan allows us to manage independent projects that do not have common resources and has no interrelations between different projects ?
(A) Single
(B) Multi
(C) Viewer
(D) Print plan
Answer:
(A) Single