By solving the Computer Class 12 GSEB Solutions and GSEB Class 12 Computer Question Paper March 2017 (For Common Stream) will be able to know the exam pattern in the exam.
GSEB Std 12 Computer Question Paper March 2017 (For Common Stream)
Question 1.
What is to be represented on the top section of class diagram, which is a representation of class ?
(A) Name of the class
(B) Attributes or properties of class
(C) Behaviour of operations or methods of class
(D) All of these
Answer:
(A) Name of the class
Question 2.
The name used for a constant value is known as what in Java ?
(A) String
(B) Array
(C) Literal
(D) Class
Answer:
(C) Literal
Question 3.
Inheritance is generally referred as which type of relationship between two classes ?
(A) Partial relationship
(B) Full relationship
(C) Exclusive relationship
(D) ‘is-a kind’ of relationship
Answer:
(D) ‘is-a kind’ of relationship
Question 4.
Rational plan comprises of how many types of desktop products ?
(A) Two
(B) Three
(C) One
(D) Four
Answer:
(B) Three
Question 5.
If we want to make visible to all the classes outside the class, where method or variable is visible to class, which type of access modifier is used ?
(A) Protected
(B) Package
(C) Public
(D) Private
Answer:
(C) Public
Question 6.
What should be the information of website ?
(A) Incomplete, Relevant
(B) Incomplete, Irrelevant
(C) Complete, Relevant
(D) Complete, Irrelevant
Answer:
(C) Complete, Relevant
Question 7.
Which software allows user to make calls over the Internet using computer ?
(A) Amazon
(B) Mcall.com
(C) Skype
(D) Google Map
Answer:
(C) Skype
Question 8.
From the following which operator is used to access instance variable and instance methods in Java ?
(A) : (colon)
(B) ; (semicolon)
(C) . (dot)
(D) , (comma)
Answer:
(C) . (dot)
Question 9.
From the following who offers limited free space on the web server ?
(A) ISP
(B) FTP
(C) BOM
(D) OMG
Answer:
(A) ISP
Question 10.
Kompozer incorporates with whom that gives rapid access to file on both local machines and remote servers ?
(A) Site Manager
(B) Page Manager
(C) Document Manager
(D) None of these
Answer:
(A) Site Manager
Question 11.
When Java program created Java source file using text editor, which file extension should be given ?
(A) .class
(B) .html
(C) .jpg
(D) .java
Answer:
(D) .java
Question 12.
From the following which package is used to support mathematical symbols in LaTeX ?
(A) SOS
(B) AMS
(C) MATH
(D) SIGN
Answer:
(B) AMS
Question 13.
Which extension is used to save file of LaTex ?
(A) .text
(B) .ltx
(C) .tan
(D) .tex
Answer:
(D) .tex
Question 14.
Which of the following statement is used in JavaScript to return a value in a function ?
(A) Event
(B) Program
(C) Return
(D) Function
Answer:
(C) Return
Question 15.
Who developed Amaya, which is free open source WYSIWYG ?
(A) W3C
(B) Google
(C) Netscape
(D) Apple
Answer:
(A) W3C
Question 16.
Which string constructor is used without arguments to create a string object with no characters ?
(A) string()
(B) string (Char ary [ ])
(C) string(string str obj)
(D) string(str literal)
Answer:
(A) string()
Question 17.
Which network is developed by the Gujarat Government to provide information regarding various government departments, different application forms to be used by citizens ?
(A) GSWAN
(B) MSWAN
(C) ASWAN
(D) RSWAN
Answer:
(A) GSWAN
Question 18.
Which is a program that uses internet to record information that passes through a computer or router in transit from sender to receiver ?
(A) Cyber Vandalism
(B) Sniffing
(C) Malicious Code
(D) Spoofing
Answer:
(B) Sniffing
Question 19.
Which method can be applied on the variable that is stored on user’s computer cookie ?
(A) Cookies can be read
(B) Cookies can be created
(C) Cookies can be modified
(D) All of these
Answer:
(D) All of these
Question 20.
What is used in web pages to improve the design and validate the forms ?
(A) ‘C’ language
(B) Java
(C) Oracle
(D) JavaSript
Answer:
(D) JavaSript
Question 21.
Which operator can be used to concatenate a string in Java ?
(A) =
(B) +
(C) &
(D) *
Answer:
(B) +
Question 22.
Which exception class is observed when an attempt to access the array element with an index value that is outside the range of array in Java ?
(A) Arry Out of Box
(B) Array out of Index
(C) Array Index Out of Bounds Exception
(D) Not Found Array
Answer:
(B) Array out of Index
Question 23.
In object oriented terminology, the existing class is known as what ?
(A) Super class
(B) Parent class
(C) Sub class
(D) Both (A) and (B)
Answer:
(D) Both (A) and (B)
Question 24.
How can one write reserved character $ in LaTeX ?
(A) \$
(B) -$
(C) *$
(D) #S
Answer:
(A) \$
Question 25.
Which block is generally used to clean up at the end of executing a try block ?
(A) finally
(B) catch
(C) try
(D) throws
Answer:
(A) finally
Question 26.
In form, which input element can be used to enter comment, report or a long description of a product ?
(A) <select>… </select>
(B) <option>… </option>
(C) <longtext> … </longtext>
(D) <textarea>… </textarea>
Answer:
(D) <textarea>… </textarea>
Question 27.
Which kind of webpage is created using HTML?
(A) Static
(B) Could not be changed
(C) Both (A) and (B)
(D) Dynamic
Answer:
(C) Both (A) and (B)
Question 28.
Which steps are required to create object from a class in Java ?
(A) Declaration
(B) Instantiation
(C) Initialization
(D) All of these
Answer:
(D) All of these
Question 29.
From the following, which are the types of stream class in Java ?
(A) Character stream
(B) Byte stream class
(C) Both (A) and (B)
(D) Boolean stream
Answer:
(C) Both (A) and (B)
Question 30.
In object-oriented programming (OOP) languages, creating an object is also known as what ?
(A) Object instantiation
(B) Object creation
(C) Object making
(D) None of these
Answer:
(A) Object instantiation
Question 31.
From the following which are the examples of B2C E-commerce business model ?
(A) fabmart.com
(B) flipkart.com
(C) amazon.com
(D) All of these
Answer:
(D) All of these
Question 32.
In Java, to search an element in an array, array class provides which type of method ?
(A) fill()
(B) binarySearch()
(C) sort()
(D) removed
Answer:
(B) binarySearch()
Question 33.
From the following which option is used to insert table in webpage made in KompoZer ?
(A) Format → Table
(B) Insert → Table
(C) View → Table
(D) Modify → Table
Answer:
(B) Insert → Table
Question 34.
From the following which extension are used to indicate text files ?
(A) .c
(B) .txt
(C) .java
(D) All of these
Answer:
(D) All of these
Question 35.
Which of the following website hosts the LaTeX packages ?
(A) CTAN
(B) CLAN
(C) CTEN
(D) CLEN
Answer:
(A) CTAN
Question 36.
Which type of braces is used to initialize data elements in 1-D array ?
(A) < >
(B) [ ]
(C) { }
(D) ()
Answer:
(C) { }
Question 37.
From the following what is the purpose for developing website ?
(A) To provide information to a group of people.
(B) To attract new customers.
(C) To sell the products online.
(D) All of these
Answer:
(D) All of these
Question 38.
Which is the most commonly used numeric function in JavaScript ?
(A) validateForm( )
(B) isNaN ( )
(C) alert( )
(D) number( )
Answer:
(B) isNaN ( )
Question 39.
In Java, if ‘Str’ is the object of string class and its content is “Hello”, then what is the value of str.length( ) ?
(A) 8
(B) 7
(C) 6
(D) 5
Answer:
(D) 5
Question 40.
Which is the default level of protection, where lack of any access modifier keyword is in a declaration in Java ?
(A) Public
(B) Package
(C) Protected
(D) Private
Answer:
(B) Package
Question 41.
Which is the most popular and widely accepted method of payment on internet in E-commerce / M-commerce ?
(A) Credit Card
(B) Cash
(C) Electronic Wallet
(D) Ru-pay
Answer:
(A) Credit Card
Question 42.
Which method of string class is used to return a string with all characters of invoking string converted to uppercase ?
(A) int length( )
(B) byte [ ] getBytes( )
(C) String to Uppercase( )
(D) String concat(string str)
Answer:
(C) String to Uppercase( )
Question 43.
From the following which is a limitation of E-commerce ?
(A) Conducts Business 24 × 7
(B) Speed
(C) No boundaries of geographical limitations
(D) Security
Answer:
(D) Security
Question 44.
What is the default value of Boolean data type of Java ?
(A) False
(B) True
(C) 0 (zero)
(D) 1
Answer:
(A) False
Question 45.
Which command is used to begin environment in LaTeX ?
(A) \begin {name}
(B) /begin {name}
(C) \start {name}
(D) /start (name)
Answer:
(A) \begin {name}
Question 46.
var x = document.jsl.name.value
In above statement, which is a variable ?
(A) x
(B) document
(C) jsl
(D) name.value
Answer:
(A) x
Question 47.
We can use various static methods provided by Java using which array class ?
(A) java.util.Arrays
(B) java.io
(C) java.lang
(D) All of these
Answer:
(A) java.util.Arrays
Question 48.
In object-oriented programming, what is an indication of problem which occurs during program execution ?
(A) Function
(B) String
(C) Array
(D) Exception
Answer:
(D) Exception
Question 49.
What is the full form of CSS ?
(A) Cascading Style Sheet
(B) Cascading Super Sheet
(C) Cascading Short Style
(D) Cascade Sine Simple
Answer:
(A) Cascading Style Sheet
Question 50.
Which E-commerce business model refers to E-commerce activities involving transactions between and among the consumers ?
(A) Government to Business
(B) Consumer to Consumer
(C) Business to Business
(D) Business to Consumer
Answer:
(B) Consumer to Consumer
Question 51.
Which menu is used to change page title in website created in KompoZer ?
(A) Format → Page Title and Properties
(B) Format → Heading
(C) Insert → Heading
(D) Insert → Heading and Subheading
Answer:
(A) Format → Page Title and Properties
Question 52.
File method boolean isFile!) returns which type of value of File class ?
(A) True or False
(B) Yes or No
(C) 0 or 1
(D) Y or N
Answer:
(A) True or False
Question 53.
In Java, if we want to allow data directly accessed by methods of other class, then which method is used ?
(A) getter
(B) setter
(C) main
(D) void
Answer:
(A) getter
Question 54.
Which sign indicates single line comment in Java ?
(A) /* and ends with */
(B) /** and ends with */
(C) //
(D) #
Answer:
(C) //
Question 55.
Which were the first applications of E-commerce website on Internet ?
(A) E-newspaper
(B) Book shops
(C) Online Auctions
(D) Marketing and Selling
Answer:
(B) Book shops
Question 56.
In Java in which condition program will get a compilation error and not be able to create “.class” file ?
(A) Syntax error in compilation
(B) Use of undeclared variable
(C) Wrong spellings of identifier or keyword
(D) All of these
Answer:
(D) All of these
Question 57.
Which method of date class constructs date object using current system time in Java ?
(A) Date & Time()
(B) Today’s Date()
(C) Date()
(D) now()
Answer:
(C) Date()
Question 58.
From the following which are the examples of open source IDEs ?
(A) KompoZer
(B) Eclipse
(C) JBuilder and Netbeans
(D) All of these
Answer:
(D) All of these
Question 59.
Which type of block contains the code that may give rise to one or more exceptions in Java ?
(A) try
(B) catch
(C) throw
(D) finally
Answer:
(A) try
Question 60.
Generally, which input element is used to select a single item from a given group of item ?
(A) Textbox
(B) Checkbox
(C) Radio button
(D) Password
Answer:
(C) Radio button
Question 61.
Unified Modeling Language is defined by whom?
(A) IMG
(B) PMG
(C) OMG
(D) CMG
Answer:
(C) OMG
Question 62.
From the following which type of visibility modifiers are used to protect a method or variables ?
(A) Public
(B) Package
(C) Protected and Private
(D) All of these
Answer:
(D) All of these
Question 63.
From the following which is the illegal name of variable in Java ?
(A) 4me
(B) result
(C) amounts
(D) price$
Answer:
(A) 4me
Question 64.
What is the size of second dimension in an array sales [5] [12] ?
(A) 12
(B) 5
(C) 60
(D) 11
Answer:
(C) 60
Question 65.
Which of the following is true about streams in Java ?
(A) Streams always flow in two directions.
(B) Streams are channels through which the data flow.
(C) Only one stream can be opened in a program at a time.
(D) All of these
Answer:
(D) All of these
Question 66.
Which of the following is the process of buying and selling products by offering the customers to bid the price ?
(A) Auction
(B) Registration
(C) Book store
(D) Marketing and Selling
Answer:
(A) Auction
Question 67.
From the following who allows more interactivity and control in data entry ?
(A) HTML Form
(B) HTML Table
(C) HTML Report
(D) All of these
Answer:
(A) HTML Form
Question 68.
To add CSS in HTML webpage what is to be used as a selector ?
(A) Information
(B) Color
(C) HTML element
(D) All of these
Answer:
(C) HTML element
Question 69.
From the following which is the example of Consumer to Business model ?
(A) bidstall.com
(B) JeetLe.in
(C) Both (A) and (B)
(D) Flipkart.com
Answer:
(C) Both (A) and (B)
Question 70.
A CSS rule has how many parts ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(C) 3
Question 71.
What is the full form of TAR ?
(A) Tape Archiver
(B) Tape Attacker
(C) Tape Analyzer
(D) Tape Administrator
Answer:
(A) Tape Archiver
Question 72.
Which command is used to compile source program in SciTE ?
(A) Edit → Compile
(B) Format → Compile
(C) Tools → Compile
(D) File → Compile
Answer:
(C) Tools → Compile
Question 73.
Which shortcut key is used to compile LaTeX * file in SciTE editor ?
(A) F4
(B) F5
(C) F6
(D) F7
Answer:
(B) F5
Question 74.
Which of the following is enabled by data abstraction ?
(A) Data protection
(B) Data hiding
(C) To hide implementation details of method manipulating the data
(D) All of these
Answer:
(D) All of these
Question 75.
From the following which is not a comparison operator in Java ?
(A) >
(B) <
(C) <=
(D) +
Answer:
(D) +
Question 76.
Which attribute of form elements is used to specify where to send the form data when the form is submitted ?
(A) method
(B) action
(C) name
(D) type
Answer:
(B) action
Question 77.
Arrays are useful to represent which type of data in Java ?
(A) vector
(B) matrix
(C) multi-dimensional
(D) All of these
Answer:
(D) All of these
Question 78.
What are the limitations of Mobile commerce ?
(A) Limited screen size
(B) Virtually can contact a user anytime and anywhere
(C) Provides global reach
(D) Customized alerts can be easily received on the mobile
Answer:
(A) Limited screen size
Question 79.
Java language was developed by whom ?
(A) Sun Microsystems
(B) Oracle
(C) Netscape
(D) Microsoft
Answer:
(A) Sun Microsystems
Question 80.
What is the full form of JVM ?
(A) Java Visbility Modifier
(B) Java Visual Modem
(C) Java Virtual Machine
(D) Java Visual Machine
Answer:
(C) Java Virtual Machine
Question 81.
Which of the following is used as a separator between fields of record ?
(A) Variable
(B) Space
(C) Path
(D) Delimiter
Answer:
(B) Space
Question 82.
A computer language is object oriented if it supports which type of object properties ?
(A) Abstraction
(B) Polymorphism and Encapsulation
(C) Inheritance
(D) All of these
Answer:
(D) All of these
Question 83.
From the following which storage is permanent storage, data is not lost when a computer loses power ?
(A) Volatile storage
(B) Non-volatile storage
(C) Both (A) and (B)
(D) Object data
Answer:
(B) Non-volatile storage
Question 84.
Which block contains the code that is to be executed to handle an exception which is throw object using throw keyword ?
(A) try
(B) catch
(C) finally
(D) throwobj
Answer:
(B) catch
Question 85.
Which protocol is used for securing web transactions on the Internet ?
(A) NNTP
(B) FTP
(C) STP
(D) SSL
Answer:
(D) SSL
Question 86.
From the following which are powerful open source IDEs for building web applications like Java ?
(A) Aptana Studio
(B) Blue Griffon
(C) Amaya
(D) All of these
Answer:
(D) All of these
Question 87.
What refers to buying and selling of goods or services through the uses of internet enabled wireless device ?
(A) M-Banking
(B) Multimedia Shopping
(C) M-Commerce
(D) Modern Commerce
Answer:
(C) M-Commerce
Question 88.
Java programming language use which type of methodology to analysis, design and implementation of software ?
(A) Structure / Procedural programming language
(B) Object-oriented programming language
(C) Both (A) and (B)
(D) System oriented programming language
Answer:
(C) Both (A) and (B)
Question 89.
Which program is used to enter Unicode Character into any application ?
(A) Character Display
(B) Character Map
(C) Character Insert
(D) Character Select
Answer:
(B) Character Map
Question 90.
Which tab shows all details of HTML code, that helps in editing the source code on the left side of page pane of KompoZer ?
(A) Design
(B) Split
(C) Source
(D) All of these
Answer:
(C) Source
Question 91.
From the following which is not an event in JavaScript ?
(A) Abort
(B) Alert
(C) Click
(D) Submit
Answer:
(B) Alert
Question 92.
In Java, a class is defined using which keyword ?
(A) Class
(B) Public
(C) Static
(D) Main
Answer:
(A) Class
Question 93.
From the following which option is not in Form Properties Dialog Box of KompoZer ?
(A) Form Name
(B) Action URL
(C) Method
(D) Field Value
Answer:
(D) Field Value
Question 94.
What should be used to control the web browser window or the web page in JavaScript ?
(A) OMG
(B) BOM
(C) BOD
(D) UML
Answer:
(B) BOM
Question 95.
What is the mechanism of providing protection to data and methods of a program in object-oriented programming language ?
(A) Data Abstraction
(B) Encapsulation
(C) Messaging
(D) Polymorphism
Answer:
(A) Data Abstraction , (B) Encapsulation
Question 96.
The meaning of which word, is “many forms”; different forms of methods with same name in Java ?
(A) Inheritance
(B) Polymorphism
(C) Aggregation
(D) Composition
Answer:
(B) Polymorphism
Question 97.
Which steps are followed for the process of creation of array in Java ?
(A) Declare an array object
(B) Create an array object
(C) Both (A) and (B)
(D) Manage an array object
Answer:
(C) Both (A) and (B)
Question 98.
Which is a computer program that detects, prevents and takes action to remove the malicious codes like viruses, worms and trojen horses from the infected computer ?
(A) Firewall
(B) Cryptography
(C) Antivirus software
(D) Digital certificate
Answer:
(C) Antivirus software
Question 99.
Which type of variables are defined inside methods or blocks ?
(A) Local variables
(B) Instance variables
(C) Class variables
(D) Block variables
Answer:
(A) Local variables
Question 100.
From the following which technique is used for reducing the storage requirement of computer file and directory structures ?
(A) Data repetition
(B) Data installation
(C) Data compression
(D) All of these
Answer:
(C) Data compression