By solving the Computer Class 12 GSEB Solutions and GSEB Class 12 Computer Question Paper March 2020 (For Common Stream) will be able to know the exam pattern in the exam.
GSEB Std 12 Computer Question Paper March 2020 (For Common Stream)
Question 1.
In KompoZer, which of the following option is used to add Selection list ?
(A) Insert → Selection List
(B) Form → Selection List
(C) File → Selection List
(D) Edit → Selection List
Answer:
(B) Form → Selection List
Question 2.
Which toolbar is used to give Heading-1 style to the heading of the form ?
(A) Format Toolbar-1
(B) Format Toolbar-2
(C) Composition Toolbar
(D) Status bar
Answer:
(A) Format Toolbar-1
Question 3.
When we click on any item in the page, in which of the following its structure appears ?
(A) Composition Toolbar
(B) Format Toolbar-1
(C) Status bar
(D) Format Toolbar-2
Answer:
(C) Status bar
Question 4.
Which attribute is used to specify where to send the form data when the form is submitted and what will be the value of it ?
(A) Method, GET
(B) Method, POST
(C) Action, GET
(D) Action, File Name
Answer:
(D) Action, File Name
Question 5.
Which type of input element will convert typed characters into non-readable format ?
(A) Password
(B) Check box
(C) Text
(D) Reset
Answer:
(A) Password
Question 6.
Which of the following will show a blank untitled web page in KompoZer ?
(A) Edit mode toolbar
(B) Format Toolbar-1
(C) Site manager
(D) Page pane
Answer:
(D) Page pane
Question 7.
What should remain same for all possible answers while creating radio button ?
(A) Field Value
(B) Group Name
(C) Field Selected option
(D) Initially Selected option
Answer:
(B) Group Name
Question 8.
In KompoZer window, which tab of Edit Mode Toolbar should be clicked to view source code of recently created form ?
(A) Design
(B) Preview
(C) Source
(D) Normal
Answer:
(C) Source
Question 9.
While creating CSS, which button should be clicked to select the file for the background, if we want to keep an image in the background ?
(A) Opacity
(B) Position
(C) Tile
(D) Choose File
Answer:
(D) Choose File
Question 10.
Which of the following makes website designing quick and efficient ?
(A) JavaScript
(B) CSS
(C) HTML
(D) Java
Answer:
(B) CSS
Question 11.
In the syntax of CSS, in Declaration, which of the following is/are included ?
(A) HTML element
(B) Property associated with the HTML element
(C) Corresponding values of properties
(D) Both (B) and (C)
Answer:
(D) Both (B) and (C)
Question 12.
After using which option, a web page no longer remains static, but can include coding that allows interactivity with the user control the browser and dynamically create HTML content ?
(A) JavaScript
(B) CSS
(C) HTML
(D) KompoZer
Answer:
(A) JavaScript
Question 13.
Which of the following statement is/are true for JavaScript ?
(i) JavaScript is used for validation of client side users.
(ii) Can describe the style of the elements in document not the content.
(iii) After using it, web page no longer remains static.
(A) Only (iii)
(B) Only (ii) and (iii)
(C) Only (i) and (iii)
(D) All of these
Answer:
(C) Only (i) and (iii)
Question 14.
Which event would occur when element such ‘as button becomes active ?
(A) select
(B) focus
(C) click
(D) mouseover
Answer:
(B) focus
Question 15.
Which of the following is an event handler of ‘submit’ event ?
(A) submit ( )
(B) function submit ( )
(C) onsubmit( )
(D) onclick( )
Answer:
(C) onsubmit( )
Question 16.
In Browser Object Model, in which object, all the elements of the web page like forms, images, links and others are included ?
(A) Location
(B) History
(C) Parent
(D) Document
Answer:
(D) Document
Question 17.
Which of the following will be executed by an event or when it is called inside a source code ?
(A) Function
(B) Variable
(C) Event
(D) If statement
Answer:
(A) Function
Question 18.
Which of the following statements will stop the function from executing and return the specified value ?
(A) return statement
(B) If statement
(C) Event handler
(D) All of these
Answer:
(A) return statement
Question 19.
Which of the following plays a very important role in business now-a-days, which helps in prompting the business, selling the products and attracting a large number of customer ?
(A) KompoZer
(B) Website
(C) JavaScript
(D) HTML
Answer:
(B) Website
Question 20.
Which kind of information, a website should include ?
(A) In English language and translated in other language
(B) General and detailed
(C) Complete and relevant
(D) Both (B) and (C)
Answer:
(D) Both (B) and (C)
Question 21.
In Table Properties dialog box, which option is used to specify gap between cells ?
(A) Size
(B) Table Alignment
(C) Spacing
(D) Padding
Answer:
(C) Spacing
Question 22.
What should be provided, if we transfer the web pages from our computer to the web host via FTP ?
(A) Name of the website
(B) Number of total pages
(C) Username and Password
(D) Value of method attribute
Answer:
(C) Username and Password
Question 23.
Which opensource editor is an intuitive application that provides web developers with a simple user interface, which allows them to create website without requiring indepth technical knowledge ?
(A) Amaya
(B) BlueGriffon
(C) Aptana Studio
(D) KompoZer
Answer:
(B) BlueGriffon
Question 24.
Which of the following Open Source IDE is used to create projects in PHP, Rail, Ruby or Web ?
(A) HTML
(B) BlueGriffon
(C) Amaya
(D) Aptana Studio
Answer:
(D) Aptana Studio
Question 25.
Which option is used to create link in the website ?
(A) Insert → Link
(B) File → Publish
(C) Insert → Hyperlink
(D) File → Upload
Answer:
(A) Insert → Link
Question 26.
Which of the following kind of content provides user with the detailed information on the site like products and services description ?
(A) Relevant
(B) General
(C) With proper layout
(D) Detailed
Answer:
(D) Detailed
Question 27.
Which of the following application of E-commerce includes an example like the website www.irctc.co.in of Indian railways ?
(A) Online Auctions
(B) Marketing and Selling
(C) Information Services
(D) Support Services
Answer:
(B) Marketing and Selling
Question 28.
In which kind of business, customers can * browser through products catalogue and available offers ?
(A) Traditional Commerce
(B) E-Commerce
(C) L-Commerce
(D) All of these
Answer:
(B) E-Commerce
Question 29.
Which of the following is a limitation of E- commerce ?
(A) Resistance of change
(B) Lower cost
(C) Team work
(D) Conduct business 24 × 7
Answer:
(A) Resistance of change
Question 30.
Which of the following kind of website provides information regarding various government departments, various welfare schemes, different application forms to be used by the citizens etc. ?
(A) G2B
(B) G2G
(C) G2C
(D) B2C
Answer:
(C) G2C
Question 31.
Which of the following business model allows more transparency among the business entities involved and results in more efficiency ?
(A) C2C
(B) C2B
(C) B2C
(D) B2B
Answer:
(D) B2B
Question 32.
Which of the following business model is the type of E-commerce that the consumers are most likely to see on internet ?
(A) C2B
(B) B2B
(C) C2C
(D) B2C
Answer:
(D) B2C
Question 33.
Which of the following is an example of Government to Business (G2B), Business model ?
(A) www.irctc.co.in
(B) www.incometaxindia.gov.in
(C) tradeindia.com
(D) amazon.com
Answer:
(B) www.incometaxindia.gov.in
Question 34.
Which of the following security aspect of E-commerce/M-commerce protects the data from private attacks ?
(A) Confidentiality
(B) Integrity
(C) Authorization
(D) Non-repudiation
Answer:
(A) Confidentiality
Question 35.
Which of the following are data centers which perform the credit card transactions and manage funds for the merchants ?
(A) Issuing bank
(B) Acquiring bank
(C) Processors
(D) Payment gateway
Answer:
(C) Processors
Question 36.
By using which of the following cards, all the transactions will be processed within India so the cost will be reduced ?
(A) Master card
(B) Visa card
(C) E-wallet
(D) RuPay
Answer:
(D) RuPay
Question 37.
By using which technique, the attacker tries to assume the identity of another person or system for transacting with victim site ?
(A) Sniffing
(B) Spoofing
(C) Malicious code
(D) Cyber vandalism .
Answer:
(B) Spoofing
Question 38.
Which of the following security measures ensures that the company is not accessed by the intruders ?
(A) Firewall
(B) Digital Certificate
(C) Cryptography
(D) Copyright
Answer:
(A) Firewall
Question 39.
Targeted ads, promotional messages, customer identification on a store etc. are applications of which of the following location based services ?
(A) Information or directory services
(B) Advertising promotion
(C) Emergency services
(D) Tracking services
Answer:
(B) Advertising promotion
Question 40.
In the syntax of attribute declaration in UML notation, which pair bracket values, users are supposed to specify ?
(A) { }
(B) [ ]
(C) < >
(D) ( )
Answer:
(C) < >
Question 41.
Which are the two core elements for any computer program ?
(A) Function and Method
(B) Data and Layout
(C) Layout and Method
(D) Data and Function
Answer:
(D) Data and Function
Question 42.
‘Teacher is a kind of person’ is an example of which of the following options ?
(A) Aggregation
(B) Inheritance
(C) Data Abstraction
(D) Encapsulation
Answer:
(B) Inheritance
Question 43.
What is called, the capability of using same names to mean different things in different contexts ?
(A) Overloading
(B) Overridden
(C) Layout
(D) Messaging
Answer:
(A) Overloading
Question 44.
Which of the following is a general concept used to embody all the common features of a particular of objects ?
(A) Procedures
(B) Polymorphism
(C) Data field
(D) Class
Answer:
(D) Class
Question 45.
To identify the objects, we use the values of these attributes, these values are called what ?
(A) Data field
(B) Layout
(C) State
(D) Method
Answer:
(C) State
Question 46.
By using which kind of programming language, flexibility is gained by being able to change or replace modules without disturbing other parts of code ?
(A) Procedural programming
(B) Higher level programming language
(C) Object-Oriented programming language
(D) ‘C’ programming language
Answer:
(C) Object-Oriented programming language
Question 47.
In which of the following, the class that forms part of the owner class can exist independently and the life of an object of the part class is not determined by the owner class ?
(A) Inheritance
(B) Aggregation
(C) Polymorphism
(D) Data-abstraction
Answer:
(B) Aggregation
Question 48.
If the conditional ternary is next = (N % 2 = =0) ? (N/2) : (3*N+1); when N = 7 then what will be the value of variable next ?
(A) 22
(B) 7
(C) 3.5
(D) 0
Answer:
(A) 22
Question 49.
In switch statement, if no match is found between test expression and case values, then which statement will be executed ?
(A) break
(B) continue
(C) if….else
(D) default
Answer:
(D) default
Question 50.
When a variable is declared inside a block, what is it called ?
(A) Global
(B) Local
(C) Label
(D) Repetitive
Answer:
(B) Local
Question 51.
By using which of the following statements the following statements in a body are skipped and the control is transferred at the first statement after the switch statement ?
(A) continue
(B) default
(C) break
(D) for
Answer:
(C) break
Question 52.
Which logical operators returns true only if its operands are different (one true and one false) and false otherwise ?
(A) XOR
(B) OR
(C) AND
(D) NOT
Answer:
(A) XOR
Question 53.
Which of the following is a proper option for the statement “Is A not equal to B” ?
(A) A <> B
(B) A ≠ B
(C) A NOT B
(D) A != B
Answer:
(D) A != B
Question 54.
If a = 12.5 and b = 7.2, then after executing a % b, what will be the remainder ?
(A) 1
(B) 5.3
(C) 5.0
(D) 1.22
Answer:
(B) 5.3
Question 55.
Which symbol is used to begin single-line comment ?
(A) /*…*/
(B) /**…*/
(C) //
(D) \\
Answer:
(C) //
Question 56.
Which of the following is not a proper example of Hexa-decimal number ?
(A) OXFF7A
(B) OX39A2
(C) OX532D
(D) OABC
Answer:
(D) OABC
Question 57.
How many basic (Primitive) data types are supported in Java ?
(A) 2
(B) 4
(C) 8
(D) 16
Answer:
(C) 8
Question 58.
What is the name of the data structure, where all instances of class are allocated memory ?
(A) Heap
(B) JVM
(C) Garbage Collector
(D) Instance
Answer:
(A) Heap
Question 59.
Which of the following options are provided by Java, mainly to perform initilizing actions ?
(A) Constructors
(B) Object
(C) Class
(D) Method
Answer:
(A) Constructors
Question 60.
Which level of protection is used to allow the access only to subclasses or to share with the methods declared as “friend” ?
(A) Private
(B) Public
(C) Package
(D) Protected
Answer:
(D) Protected
Question 61.
Which method operate on a particular object or affect that object ?
(A) Class methods
(B) Local methods
(C) Instance methods
(D) Global methods
Answer:
(C) Instance methods
Question 62.
Which method is used, when we want to allow other methods to read only the data value ?
(A) setter
(B) getter
(C) void
(D) return
Answer:
(B) getter
Question 63.
Which kind of relationship is established between classes by composition and aggregation ?
(A) A-kind-of
(B) has-a
(C) A-part-of
(D) is-a
Answer:
(B) has-a
Question 64.
Which protection level provides data encapsulation?
(A) Private
(B) Protected
(C) Public
(D) Package
Answer:
(A) Private
Question 65.
Which symbol is used to show inheritance between two classes ?
(A) Empty diamond
(B) Filled diamond
(C) The arrow points from superclass to subclass
(D) The arrow points from subclass to superclass
Answer:
(D) The arrow points from subclass to superclass
Question 66.
Which is the proper statement to invoke display!) method of superclass ?
(A) display( )
(B) display.super( )
(C) super.display( )
(D) show.display( )
Answer:
(C) super.display( )
Question 67.
When we write class in Java, it is made up of which two components ?
(A) Procedure and Behaviour
(B) Attributes and Behaviour
(C) Variable and Values
(D) main!) method and Constructor
Answer:
(B) Attributes and Behaviour
Question 68.
Which kind of variable is a variable representing a collection of homogeneous type of elements ?
(A) Local
(B) Instance
(C) Global
(D) Array
Answer:
(D) Array
Question 69.
Which of the following options is not proper for array declaration with initial values ?
(A) int marks [3] = new marks {90, 70, 77};
(B) int marks [ ] = {90, 70, 77};
(C) int [ ] marks = {90, 70, 77};
(D) int marks [ ] = {90, 80, 70, 60};
Answer:
(A) int marks [3] = new marks {90, 70, 77};
Question 70.
How many integer values will be stored in the following array ?
int marks [ ] [ ] = new int [4] [4];
(A) 8
(B) 64
(C) 16
(D) 4
Answer:
(C) 16
Question 71.
Which of the following constructors create an object that refers to the literal specified in argument ?
(A) string (string literal)
(B) string (char literal)
(C) string (string strObj)
(D) string (char ary [ ])
Answer:
(A) string (string literal)
Question 72.
Which of the following methods returns true if invoking string is same as str ?
(A) boolean compareTo (String str)
(B) boolean equals(String str)
(C) int compareTo(Str String)
(D) int equals(String str)
Answer:
(B) boolean equals(String str)
Question 73.
Which of the following methods returns a string after appending str with the invoking string ?
(A) string toLowerCase()
(B) string toUpperCase()
(C) string concat(String str)
(D) int length()
Answer:
(C) string concat(String str)
Question 74.
Which command is used to assign value 5 to all elements of list array ?
(A) sort (list, 5)
(B) sort (list, 1, 7, 5)
(C) fill (list, 2, 6, 5)
(D) fill (list, 5)
Answer:
(D) fill (list, 5)
Question 75.
Which method of date class sets new date and time of an object using elapsed time ?
(A) void setTime(long elapsedTime)
(B) long getTime()
(C) Date (long elapsedTime)
(D) Date()
Answer:
(A) void setTime(long elapsedTime)
Question 76.
If calendar is an object of calendar class, then which of the following commands will set the date to 20 ?
(A) calendar.get(Calendar.DATE,20)
(B) calendar.set(Calendar.DATE,20)
(C) get.calendar(Calendar.DATE,20)
(D) set.calendar(Calendar.DATE,20)
Answer:
(B) calendar.set(Calendar.DATE,20)
Question 77.
What is the value of December month in the MONTH constant of calendar class ?
(A) 12
(B) 1
(C) 11
(D) 0
Answer:
(C) 11
Question 78.
Syntax error in the program is considered as which kind of error ?
(A) Compilation error
(B) Run time error
(C) Variable error
(D) Printing error
Answer:
(A) Compilation error
Question 79.
Which kind of exception will be generated, when an attempt to convert string to a number type is done ?
(A) ArithmeticException
(B) NullPointerException
(C) PrinterlOException
(D) NumberFormatException
Answer:
(D) NumberFormatException
Question 80.
Which of the following blocks is known as exception handler ?
(A) try block
(B) main() method
(C) Catch block
(D) Throw block
Answer:
(C) Catch block
Question 81.
What will happen when a try block does not generate an Exception and you have included multiple catch blocks ?
(A) They all execute
(B) Only the first matching one executes
(C) No catch block execute
(D) Only the first catch block executes
Answer:
(C) No catch block execute
Question 82.
Which of the following blocks contains the code that may give rise to one or more exceptions ?
(A) throw
(B) throws
(C) finally
(D) try
Answer:
(D) try
Question 83.
In the field of Computer Science, which of the following lines indicate that the compilation of program is not successful ?
(A) Exit code : 1
(B) Exit code : 0
(C) Exit code 1
(D) Exit : 1
Answer:
(A) Exit code : 1
Question 84.
Which kind of file can be data files that contain facts such as pay-roll file, program files or application files ?
(A) Binary files
(B) Text files
(C) Image files
(D) All of these
Answer:
(B) Text files
Question 85.
Which of the following is not a proper constructor of file class ?
(A) File (String path)
(B) File (directory_path)
(C) File (String directory_path, String file_name)
(D) File (file directory, String file_name)
Answer:
(B) File (directory_path)
Question 86.
Which kind of files are used to store variables like integer, double or boolean into a file and also to store arrays and objects ?
(A) Text file
(B) KompoZer file
(C) Image file
(D) Binary file
Answer:
(D) Binary file
Question 87.
Which kind of exception will be thrown by writer class ?
(A) FileNotFoundException
(B) ArithmeticException
(C) IOException
(D) NullPointerException
Answer:
(C) IOException
Question 88.
Which of the following method is used to write a formatted string to the console’s output stream using the specified format string and arguments ?
(A) Console printf(String format, Object args)
(B) Char read Password()
(C) Char read Console()
(D) String (Object args)
Answer:
(A) Console printf(String format, Object args)
Question 89.
Which method of scanner class returns the next token ?
(A) int nextlnt()
(B) String hasNext()
(C) String next()
(D) boolean hasNext()
Answer:
(C) String next()
Question 90.
Find correct option from the following :
‘A’ | ‘B’ |
(i) Line break command in LaTex | (p) \ backslash |
(ii) Comment character in LaTex | (q) [ ] (square brackets) |
(iii) Starting character of LaTeX command | (r) \\ |
(iv) Brackets used for optional arguments in LaTex | (s) % |
(A) (i) → (s), (ii) → (q), (iii) → (p), (iv) → (r)
(B) (i) → (r), (ii) → (s), (iii) → (p), (iv) → (q)
(C) (i) → (p), (ii) → (r), (iii) → (q), (iv) → (s)
(D) (i) → (q), (ii) → (p), (iii) → (r), (iv) → (s)
Answer:
(B) (i) → (r), (ii) → (s), (iii) → (p), (iv) → (q)
Question 91.
Which package of LaTeX has special feature for including programming code within the document ? .
(A) easylist
(B) amsmath
(C) geometry
(D) listings
Answer:
(D) listings
Question 92.
After which command of LaTeX, all chapters are treated as appendices and it is to be used only once ?
(A) \setcounter
(B) \tableofcontents
(C) \mainmatter
(D) \appendix
Answer:
(D) \appendix
Question 93.
Which of the following LaTeX command is used to insert mathematical symbol ‘g ’ in the document ?
(A) \subset
(B) \in
(C) \notin
(D) \nea
Answer:
(C) \notin
Question 94.
What is the full form of CTAN ?
(A) Comprehensive Text Architech Network
(B) The Comprehensive Text Archive Network
(C) The Computerized Text Archive Network
(D) The Comprehensive Text Archive Numerology
Answer:
(B) The Comprehensive Text Archive Network
Question 95.
Which of the following document class is used for writing letters ?
(A) letter
(B) article
(C) book
(D) beamer
Answer:
(A) letter
Question 96.
What will be the output, if following command sequence is given in R software ?
> a ← 10 >b ← 30 >a*b
(A) Error
(B) 10
(C) 300
(D) 40
Answer:
(C) 300
Question 97.
Which menu-option is used to start VLC media player ?
(A) Media → Open File…
(B) Media → Open Directory…
(C) Media → Playlist
(D) Application Sound & Video
Answer:
(D) Application Sound & Video
Question 98.
In Archive Manager, which option is used to create new archive ?
(A) Archive
(B) Compress
(C) Extract
(D) Back
Answer:
(B) Compress
Question 99.
Which desktop product of Rational Plan allows links between tasks pertaining of different projects, analyzes all our projects data and creates a project portfolio view ?
(A) Rational Plan Single
(B) Rational Plan Viewer
(C) Rational Plan Multi
(D) Skype
Answer:
(C) Rational Plan Multi
Question 100.
In Skype, which button should be clicked after giving Skype name and password in the text box ?
(A) Sign in
(B) Log in
(C) New User
(D) Enter Skype
Answer:
(A) Sign in