By solving the Computer Class 12 GSEB Solutions and GSEB Class 12 Computer Question Paper April 2015 (For Common Stream) will be able to know the exam pattern in the exam.
GSEB Std 12 Computer Question Paper April 2015 (For Common Stream)
Question 1.
What is useful when same operations are to be performed on various elements of the similar type in Java ?
(A) Array
(B) String
(C) If …………….. then
(D) While
Answer:
(A) Array
Question 2.
Which of the following softwares are the examples of open source IDE’s ?
(A) KompoZer
(B) Eclipse
(C) JBuilder
(D) All of above
Answer:
(D) All of above
Question 3.
Which of the following method sends the data as a block through the HTTP transaction ?
(A) GET
(B) POST
(C) FTP
(D) HTTPS
Answer:
(B) POST
Question 4.
Which of the following allows specifying styles for the visual elements of the website ?
(A) Casecading Style Sheets
(B) Web Page
(C) Animation
(D) Form
Answer:
(A) Casecading Style Sheets
Question 5.
Which of the following option Aptana Studio provides complete web development environment for language support ?
(A) HTML
(B) CSS
(C) PHP
(D) All of above
Answer:
(D) All of above
Question 6.
What sign is used for creating API documentation from the code ?
(A) //
(B) /*……..*/
(C) /**………*/
(D) \\
Answer:
(C) /**………*/
Question 7.
By using which method of file output stream classes writes b length bytes from the specified byte array in Java ?
(A) void write (int b)
(B) void write (byte | | b)
(C) void write (int length)
(D) void write (byte length)
Answer:
(B) void write (byte | | b)
Question 8.
Which method of Java class is used if we want to allow other methods to modify the data value?
(A) Set or Setter
(B) Get or Getter
(C) Both (A) and (B)
(D) String [ ]
Answer:
(A) Set or Setter
Question 9.
In Java which method is used to fill the whole or partial array with specified value ?
(A) Fill
(B) Sort
(C) Set
(D) Insert value
Answer:
(A) Fill
Question 10.
Which of the following is not visibility sign in class-diagram ?
(A) ~
(B) *
(C) #
(D) – (Dash)
Answer:
(B) *
Question 11.
Which of the following is the part of object
oriented class diagram ?
(A) Data Encapsulation
(B) Data Abstraction
(C) Polymorphism
(D) All of above
Answer:
(D) All of above
Question 12.
In object-oriented methodology, the focus is on which of the following entitles ?
(A) Data
(B) Functions
(C) Objects
(D) All of above
Answer:
(C) Objects
Question 13.
What is called when all browsers are split in to different parts or objects that can be accessed using Java Script ?
(A) Browser Object Model
(B) Browser Object Menu
(C) Browser Oriented Mdoel
(D) Browser Oriented Menu
Answer:
(A) Browser Object Model
Question 14.
Which of the following is the famous website for online auction ?
(A) www.ebay.com
(B) www.mybids.in
(C) www.ubid.com
(D) All of above
Answer:
(D) All of above
Question 15.
An inheritance model refers to which of the following relationships ?
(A) ‘is-a’ relationship
(B) ‘has-a’ relationship
(C) ‘a-part-of’ relationship
(D) All of above
Answer:
(A) ‘is-a’ relationship
Question 16.
What enables to represent and protect data in which the implementation details are hidden ?
(A) Data Encapsulation
(B) Data Abstraction
(C) Both (A) and (B)
(D) Message
Answer:
(B) Data Abstraction
Question 17.
Which of the following reserved character in LaTeX ?
(A) %
(B) @
(C) ABC
(D) 123
Answer:
(A) %
Question 18.
Which of the following softwares gives permission to make different projects, analyzes all projects data and reates a project portfolio view ?
(A) Rational Plan
(B) Barplot
(C) Chart
(D) Grapha
Answer:
(A) Rational Plan
Question 19.
In Exceptional handling in Java, which is the syntax of the try block ?
(A) try
{
// set of statements
}
(B) try
[
/ set of statements
]
(C) try
<
/ set of statements
>
(D) try
(
// set of statements
)
Answer:
(A) try
{
// set of statements
}
Question 20.
In M-Commerce, which of the following starting address indicates that site is secured by SSL protocol ?
(A) http://
(B) ssl://
(C) https://
(D) https-ssl://
Answer:
(C) https://
Question 21.
Which of the following begins with \begin { name } and ends with Vends { name } in LaTeX ?
(A) group
(B) section
(C) environment
(D) preamble
Answer:
(C) environment
Question 22.
Which command is used to quit from R ?
(A) quit ( )
(B) a ( )
(C) exit ( )
(D) close ( )
Answer:
(A) quit ( )
Question 23.
Which of the following E-Commerce business model refers to activities between different business partners ?
(A) G2B
(B) C2B
(C) B2B
(D) B2C
Answer:
(C) B2B
Question 24.
Which of the following is not a limitation of M-Commerce ?
(A) Mobile devices have limited computing power, memory and storage capacity.
(B) M-Commerce operates over wireless networks.
(C) High cost of establishing mobile and wireless broadband infrastructure.
(D) Mobile device enables the user to be contacted at virtually any time any where.
Answer:
(D) Mobile device enables the user to be contacted at virtually any time any where.
Question 25.
Which of the following blocks contains the code that is intended to handle exceptions of a particular type that were created in the associated try block in Java Exception handling ?
(A) finally
(B) start
(C) catch
(D) stop
Answer:
(C) catch
Question 26.
Which of the following refers to a collection of data stored on a non-volatile device in a computer system ?
(A) File
(B) Application
(C) Volatile data
(D) Hard-Disk
Answer:
(C) Volatile data
Question 27.
Which aspect in M-Commerce security ensures that the information must not be accidently or maliciously altered or tampered in transit ?
(A) Confidentiality
(B) Integrity
(C) Authorization
(D) Non-repudiation
Answer:
(B) Integrity
Question 28.
In Java, which of the following looping is exist controlled ?
(A) For
(B) While
(C) do………while
(D) if….then….else
Answer:
(C) do………while
Question 29.
To make a string object which of the following constructers is used to create a string object using 1-D ary argument starting at ary [start] with len number of characters ?
(A) String(char ary [ ], int start, int len)
(B) String(int start, int length)
(C) String(int length, int start)
(D) String(char ary [ ], int len)
Answer:
(A) String(char ary [ ], int start, int len)
Question 30.
Which menu option is used to add input text field in form field properties dialog box?
(A) Format → Form → Form Field
(B) View → Form Field
(C) Insert → Form – Form Field
(D) Table → Form → Field Form
Answer:
(C) Insert → Form – Form Field
Question 31.
Which of the methods of string class returns an array of characters as bytes from invoking string in Java ?
(A) int length ( )
(B) byte [ ] get bytes ( )
(C) int bytes [ ]
(D) get bytes [ ]
Answer:
(B) byte [ ] get bytes ( )
Question 32.
What type of value is returned when we use get method of calendar class with constant DAY_OF_WEEKas an argument in Java?
(A) int
(B) Char
(C) string
(D) boolean
Answer:
(A) int
Question 33.
Which of the following element allows multi-line text input in HTML KompoZer form ?
(A) Textarea
(B) Multiline
(C) Insert Row
(D) Insert Column
Answer:
(A) Textarea
Question 34.
How can we separate the product name, price, quantity and amount save as string in variable ?
(A) : (Colon)
(B) ; (Semi Colon)
(C) , (Comma)
(D) . (Full dot)
Answer:
(C) , (Comma)
Question 35.
Which method of scanner class of Java, scans the next token of the input as line ?
(A) boolean hasNext ( )
(B) int nextlnt ( )
(C) float nextfloat ( )
(D) string nextline ( )
Answer:
(D) string nextline ( )
Question 36.
Which work can be done in file or directory in Java file class ?
(A) Create
(B) Rename
(C) Delete
(D) All of above
Answer:
(D) All of above
Question 37.
Which of the following is a collection of interlinked web pages ?
(A) Web Page
(B) Form
(C) KompoZer
(D) Website
Answer:
(D) Website
Question 38.
In Java, which of the following is not allowed as first character in valid variable name ?
(A) _ (Underscore)
(B) Digit
(C) Letter
(D) $ (Dollar)
Answer:
(B) Digit
Question 39.
Which of the following statements indicates the method in Java Script ?
“document.write(“Hello Students”)
(A) document
(B) write
(C) Hello Students
(D) (“Hello Students”)
Answer:
(B) write
Question 40.
How can you identify this facility in E-Commerce when software vendors (seller) also allow their licensed customers to download the recent update of the software ?
(A) Information Services
(B) Support Services
(C) Online Services
(D) Online Support Services
Answer:
(B) Support Services
Question 41.
How is the general syntax of CSS defined ?
(A) Selector [Property : Value]
(B) Selector [Property : Value]
(C) Selector (Value : Property)
(D) Selector <property : Value>
Answer:
(A) Selector [Property : Value]
Question 42.
In Java, by using which sign 1-D array is initialized to separate values of data elements in braces { } ?
(A) . (Full stop)
(B) : (Colon)
(C) ; (Semi colon)
(D) , (Comma)
Answer:
(D) , (Comma)
Question 43.
What is another kind of Blue Griffon HTML editor in open source ?
(A) WYSIWYG
(B) GYWSIY
(C) YSIWYG
(D) IIWYGSYW
Answer:
(A) WYSIWYG
Question 44.
Which attributes are used to indicate the field specify default value in HTML ?
(A) type
(B) name
(C) value
(D) all of above
Answer:
(C) value
Question 45.
In Java class, from the following which key word is used to call the constructor of super class in the constractor of sub class ?
(A) extends
(B) super
(C) name of the super class
(D) new
Answer:
(B) super
Question 46.
In Java, which method is invoked automatically with creation of an object ?
(A) Instance method
(B) Constructor
(C) Class method
(D) All of above
Answer:
(B) Constructor
Question 47.
By using which option in table properties dialog box a title is given in KompoZer ?
(A) Table Handling
(B) Caption
(C) Table Name
(D) Create Table Name
Answer:
(B) Caption
Question 48.
How does the Constructor differ from general method in Java ?
(A) Constructor must have the same name as class name.
(B) Constructor does not have return type.
(C) Constructor cannot be invoked explicitly elsewhere in the program.
(D) All of above
Answer:
(D) All of above
Question 49.
Which of the command is used from the following to write Sans Serif fonts in LaTex ?
(A) \ textrm [text]
(B) \ textsf [text]
(C) \ texttt [text]
(D) \ text senserif [text]
Answer:
(B) \ textsf [text]
Question 50.
What is known as when programmes written in Java are compiled into machine language for a computer ?
(A) Java Visuable Machine
(B) Java Virtual Machine
(C) Java View Modifyer
(D) Java Visuable Modifyer
Answer:
(B) Java Virtual Machine
Question 51.
Which of the following is a scripting language that allows adding programming to web pages ?
(A) Action Script
(B) Java Script
(C) HTML
(D) CSS
Answer:
(B) Java Script
Question 52.
In commerce, which of the following is the process of buying and selling products by offering the customers to bid the price ?
(A) Marketing
(B) Auction
(C) Book shop
(D) All of above
Answer:
(B) Auction
Question 53.
By which sign is the beginning and the end of encoded text of Data Compression done ?
(A) (Caret) ^ …. $
(B) $ …. ^ (Caret)
(C) ” …. ”
(D) / …. /
Answer:
(A) (Caret) ^ …. $
Question 54.
In which part is the online payment through credit card on internet divided ?
(A) Authorization
(B) Settlement
(C) Both (A) and (B)
(D) Smart Card
Answer:
(C) Both (A) and (B)
Question 55.
What is known as post decrement in Java when operator is used after variable name ?
(A) + +
(B) – –
(C) = =
(D) = <
Answer:
(B) – –
Question 56.
In M-Commerce, who issues the credit card and guarantees the payment to the merchant ?
(A) Merchant
(B) Issuring bank
(C) Acquiring bank
(D) Customer
Answer:
(B) Issuring bank
Question 57.
Which of the following E-Commerce business model refers to online non-commercial communication between the government agencies, organizations and departments with other government agencies, organizations and departmentts ?
(A) B2B
(B) C2B
(C) G2G
(D) C2C
Answer:
(C) G2G
Question 58.
Which stream is used to make text flies and programme codes in Java ?
(A) byte-stream
(B) binery stream
(C) character stream
(D) input stream class
Answer:
(C) character stream
Question 59.
Which of the following file name is the home page of the website saved as ?
(A) first.html
(B) index.html
(C) home.html
(D) main.html
Answer:
(B) index.html
Question 60.
What is called the most commonly used network protection barrier between the company’s network and the outside world ?
(A) Firewall
(B) Antivirus Software
(C) Digital Certificate
(D) Cryptography
Answer:
(A) Firewall
Question 61.
Which of the following is a variable that is stored on the user’s computer ?
(A) Real
(B) Integer
(C) Cookie
(D) Temp File
Answer:
(C) Cookie
Question 62.
By which method of file class in Java returns true if the directory exists, otherwise returns false?
(A) boolean exists ( )
(B) boolean isFile ( )
(C) boolean isDirectory ( )
(D) String [ ] list ( )
Answer:
(C) boolean isDirectory ( )
Question 63.
In Java, if ‘str’ is the object of string class and its content is “Thank God”, then what is the value of str. length ( ) ?
(A) 9
(B) 10
(C) 8
(D) 11
Answer:
(A) 9
Question 64.
Which menu option is used in LaTeX file if the compilation was successful ?
(A) Tools → Build
(B) Tools → Go
(C) Format → Build
(D) Insert → Build
Answer:
(B) Tools → Go
Question 65.
In Java, which statement is true for ‘Exceptional Handling’ ?
(A) try
(B) catch
(C) finally
(D) all of above
Answer:
(B) catch
Question 66.
By using which package of LaTeX can we add programming code within the document ?
(A) easy list
(B) set programming
(C) listings
(D) set space
Answer:
(C) listings
Question 67.
Which tab is used to design (format) the web page in KompoZer ?
(A) Design
(B) Split
(C) Source
(D) All of above
Answer:
(A) Design
Question 68.
Which of the following statement isn’t a disadvantage of CSS ?
(A) Style cannot be displayed as per the users design.
(B) Some of the style sheet features are not supported by the browser.
(C) Both (A) and (B)
(D) CSS has less code compared to that in HTML.
Answer:
(D) CSS has less code compared to that in HTML.
Question 69.
By using which extension file java interpreter byte code executes ?
(A) .java
(B) .class
(C) .txt
(D) .Html
Answer:
(B) .class
Question 70.
How many levels of visibility are used to protect a method or variable from such references in Java ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(D) 4
Question 71.
In Java, how can be array elements accessed using index for each dimension in ?
(A) [ ]
(B) ( )
(C) { }
(D) < >
Answer:
(A) [ ]
Question 72.
From which of the following operators can we access instance variables and instance methods ?
(A) , (Comma)
(B) . (Full stop)
(C) : (Colon)
(D) ; (Semi colon)
Answer:
(B) . (Full stop)
Question 73.
In Java class, in which step a new key word is used to create the object by allocating memory ?
(A) Declaration
(B) Instantiation
(C) Initialization
(D) All of above
Answer:
(D) All of above
Question 74.
In Java, which statement is used when there are many alternative actions to be taken depending upon the value of a variable or expression ?
(A) Switch Statement
(B) Nested – if Statement
(C) Control Statement
(D) Repetive Statement
Answer:
(A) Switch Statement
Question 75.
What kind of the primitive data types are provided in Java from the following ?
(A) boolean
(B) double
(C) char
(D) all of above
Answer:
(D) all of above
Question 76.
In Java, by which component is the class generally made up of ?
(A) Attributes
(B) Behaviour
(C) Both (A) and (B)
(D) Variable
Answer:
(C) Both (A) and (B)
Question 77.
How many parts are there in LaTeX document ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(B) 2
Question 78.
Which element is used to create a drop down list or menu in a form in HTML ?
(A) <select> …. </select>
(B) <option> …. </option>
(C) <pulldown> …. </pulldown>
(D) <body> …. </body>
Answer:
(A) <select> …. </select>
Question 79.
Which menu option is used to insert a horizontal line in KompoZer ?
(A) Inset → Horizontal Line
(B) Inset → Vertical Line
(C) Format → Horizontal Line
(D) Format → Vertical Line
Answer:
(A) Inset → Horizontal Line
Question 80.
What is the value of float data type in Java ?
(A) Integer
(B) Real
(C) Charactor
(D) Boolean
Answer:
(B) Real
Question 81.
In Java, what can be controlled by using the method and properties of document object ?
(A) Web Page
(B) Web Browser
(C) Document
(D) All of these
Answer:
(A) Web Page
Question 82.
In Java, what will be the result of arithmetic expression -7.5%2 ?
(A) -3
(B) -1.5
(C) 1.5
(D) Error
Answer:
(B) -1.5
Question 83.
What do you need first to sell an item through an online auction site ?
(A) Document
(B) Agreement
(C) Register
(D) Database
Answer:
(C) Register
Question 84.
In Java, by using which of the following methods of comparing string returns ‘>0’ integer if invoking string is greater than ?
(A) boolean equals (string str)
(B) boolean compare to (string str)
(C) int compare to (string str)
(D) int compare to ignore (string str)
Answer:
(C) int compare to (string str)
Question 85.
Which online stores in India is becoming quite popular of E-Commerce from the following ?
(A) PayTM
(B) Domino
(C) Flipcart
(D) All of these
Answer:
(D) All of these
Question 86.
What is called new class in object oriented terminology ?
(A) sub class
(B) child class
(C) derived class
(D) all of these
Answer:
(D) all of these
Question 87.
What can be used to create models of object oriented software to help with design of an application ?
(A) Unified Modelling Language
(B) Unified Modelling Linux
(C) Unified Manufacturing Linux
(D) Unified Manufacturing Language
Answer:
(A) Unified Modelling Language
Question 88.
Which of the following elements is not included in try block in Java ?
(A) the keyword try
(B) the keyword catch
(C) the curly braces
(D) statements that might cause exceptions
Answer:
(B) the keyword catch
Question 89.
What object oriented programme, attributes that describe the object are known ?
(A) Behaviour
(B) Method
(C) Data-field
(D) State
Answer:
(C) Data-field
Question 90.
What is called a reusable block of code that performs a particular task ?
(A) Function
(B) Code
(C) Programming
(D) All of these
Answer:
(A) Function
Question 91.
Which option consists of a property associated with the HTML element and corresponding value in CSS rule ?
(A) General
(B) Aural
(C) Lists
(D) All of above
Answer:
(D) All of above
Question 92.
Which program is used to enter Unicode characters into any application ?
(A) Character Display
(B) Character Insert
(C) Character Map
(D) Character Select
Answer:
(C) Character Map
Question 93.
How do you identify the variable which is define with in a class, out-side any method with the static key word in Java ?
(A) Local variables
(B) Instance variable
(C) Class variables
(D) None of above
Answer:
(C) Class variables
Question 94.
In VLC media player which menu option is used to convert multimedia files from one format to another ?
(A) Format → Convert / Save
(B) Tools → Convert / Save
(C) Media → Convert / Save
(D) Insert → Save → Convert
Answer:
(C) Media → Convert / Save
Question 95.
In Java, which of the advantages of Exception handling in object oriented programming languages ?
(A) It allows us to maintain normal flow of program.
(B) It allows writing separate error handling code from the normal code.
(C) Assertions can be used to debug the program before depolying it to the clients.
(D) All of these.
Answer:
(D) All of these.
Question 96.
In Java, array what is the process of making an object used to manage list of items ?
(A) Declare an array object
(B) Create an array object
(C) Both (A) and (B)
(D) Define Object Method
Answer:
(C) Both (A) and (B)
Question 97.
In Java, in how many categories can errors classified ?
(A) 1
(B) 2
(C) 3
(D) 4
Answer:
(B) 2
Question 98.
Which option is used by check box to keep the option checked when the form loads in web page ?
(A) Select Initially
(B) Initially Selected
(C) Show Initially
(D) Display Initially
Answer:
(B) Initially Selected
Question 99.
In Java, which of the following defines attributes and methods ?
(A) Class
(B) Object
(C) Instacne
(D) Variable
Answer:
(A) Class
Question 100.
Which Java Script event is exented when element such as a radio button becomes in active ?
(A) blur ( )
(B) abort ( )
(C) unload ( )
(D) load ( )
Answer:
(A) blur ( )