GSEB Standard 12 English MCQs - Chapter 1¶
Welcome to the Multiple Choice Questions (MCQ) section for GSEB Standard 12 English, Chapter 1.
This page provides a comprehensive set of practice questions to help students test their understanding of the chapter's key concepts. Each question is presented with four options, designed to reinforce learning and prepare for examinations.
Multiple Choice Questions¶
Question 1¶
Which access modifiers can be used before the type of variable or method in Java ?
- A) Public
- B) Protected
- C) Private
- D) All of these
Question 2¶
In Java, which variables are defined with in a class, outside any method with static keyword?
- A) Global variable
- B) Class variable
- C) Instance variable
- D) Local variable
Question 3¶
In Java, what is used to represent 2-D structure like table of rows and columns ?
- A) Scalar
- B) Vector
- C) Element
- D) Matrix
Question 4¶
Inheritance model consist of which type of relationship between two classes in Java ?
- A) 1:M
- B) is-a
- C) 1:1
- D) has - a
Question 5¶
In Java, to search an element in an array, Arrays class provides which method ?
- A) Binarysearch()
- B) Stringsearch()
- C) Elementsearch()
- D) Linelndsearch()
Question 6¶
In java, a sub class inherits all instance variables and methods from which class?
- A) Derived class
- B) Instance class
- C) Super class
- D) Child class
Question 7¶
Composition and aggregation establish which type of relationship between classes in java ?
- A) has-a
- B) is-a
- C) wasa
- D) as-a
Question 8¶
If 'str' is the object of string class and its content is "Hello" then what is the value of str.length()?
- A) error
- B) 8
- C) 5
- D) 7
Question 9¶
In Java, which of the following method can be used with java.util.Arrays class ?
- A) sort ()
- B) fill ()
- C) alert ()
- D) Both (A) and (B)
Question 10¶
In Java, 'visibility modifiers' 'protected' members are available as which members in the inherited subclass ?
- A) Object
- B) Public
- C) Instance
- D) Private
Question 11¶
In Java, to declare a 1D array we use a pair of which brackets after array name or after datatype ?
- A) <>
- B) 11
- C) {}
- D) ()
Question 12¶
In Java, while using inheritance - "Child class" can be referred to as which of the following ?
- A) Sub class
- B) Derived class
- C) Extended class
- D) All of these
Question 13¶
Which of the following is the keyword used to refer a super class constructor in sub class constructor?
- A) Name of subclass
- B) New
- C) Super
- D) Extends
Question 14¶
In Java, arrays are useful to represent which type of data ?
- A) Vector
- B) Matrix
- C) Multi - dimensional
- D) All of these
Question 15¶
In VLC Media player which command is used to open a playlist?
- A) Insert → Playlist
- B) Media → Playlist
- C) Media Openfile
- D) View → Playlist
Question 16¶
Which program is used to enter unicode characters into any application ?
- A) Character map
- B) Object manager
- C) Font chart
- D) All of above
Question 17¶
In KompoZer, which key is used to close site manager?
- A) F9
- B) F5
- C) F6
- D) F2
Question 18¶
In Edit mode toolbar of KompoZer, which of the following viewing mode is not available ?
- A) Normal
- B) Web page
- C) HTML tags
- D) Preview
Question 19¶
Which software allows user to make calls over the Internet using computer?
- A) Amazon
- B) Mcall.com
- C) Skype
- D) Google Map
Question 20¶
From the following who offers limited free space on the web server ?
- A) ISP
- B) FTP
- C) BOM
- D) OMG
Question 21¶
Rational plan comprises of how many types of desktop products ?
- A) Two
- B) Three
- C) One
- D) Four
Question 22¶
What should be the information of website ?
- A) Incomplete, Relevant
- B) Incomplete, Irrelevant
- C) Complete, Relevant
- D) Complete, Irrelevant
Question 23¶
From the following which operator is used to access instance variable and instance methods in Java ?
- A) : (colon)
- B) ; (semicolon)
- C) . (dot)
- D) , (comma)
Question 24¶
Which network is developed by the Gujara Government to provide information regarding various government departments, different application forms to be used by citizens?
- A) GSWAN
- B) MSWAN
- C) ASWAN
- D) BSWAN
Question 25¶
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
Question 26¶
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)
Question 27¶
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
Question 28¶
Which of the following statement is used in JavaScript to return a value in a function?
- A) Event
- B) Program
- C) Return
- D) Function
Question 29¶
What is used in web pages to improve the design and validate the forms ?
- A) 'C' language
- B) Java
- C) Oracle
- D) JavaScript
Question 30¶
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)
Question 31¶
In form, which input element can be used to enter comment, report or a long description of a product ?
- A)
- B)
- C)
... - D)
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) remove()
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
Question 34¶
Which kind of webpage is created using HTML?
- A) Static
- B) Could not be changed
- C) Both (A) and (B)
- D) Dynamic
Question 35¶
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
Question 36¶
Which steps are required to create object from a class in Java ?
- A) Declaration
- B) Instantiation
- C) Initialization
- D) All of these
Question 37¶
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
Question 38¶
From the following which extension are used to indicate text files ?
- A) .c
- B) .txt TOWS
- C) java
- D) All of these
Question 39¶
Which type of braces is used to initialize data elements in 1-D array ?
- A) <>
- B) ()
- C) {}
- D) ()
Question 40¶
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
Question 41¶
Which is the most commonly used numeric function in JavaScript ?
- A) validateForm()
- B) isNaN()
- C) alert()
- D) number() 49) From the
Question 42¶
Which is a limitation of E-commerce ?
- A) Conducts Business 24 × 7
- B) Speed
- C) No boundaries of geographical limitations
- D) Security
Question 43¶
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
Question 44¶
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
Question 45¶
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
Question 46¶
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)
Question 47¶
What is the default value of Boolean data type of Java ?
- A) False
- B) True
- C) 0 (zero)
- D) 1
Question 48¶
var x = document.js1.name.value In above statement, which is a variable ?
- A) X
- B) document
- C) .jsl
- D) name.value
Question 49¶
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
Question 50¶
What is the full form of CSS ?
- A) Cascading Style Sheet
- B) Cascading Super Sheet
- C) Cascading Short Style
- D) Cascade Sine Simple
Question 51¶
Unified Modeling Language is defined by whom?
- A) IMG
- B) PMG
- C) OMG
- D) CMG
Question 52¶
What is the full form of TAR ?
- A) Tape Archiver
- B) Tape Attacker ty
- C) Tape Analyzer
- D) Tape Administrator or
Question 53¶
From the following which type of visibility modifiers are used to protect a method on variables ?
- A) Public
- B) Package
- C) Protected and Private
- D) All of these
Question 54¶
From the following which is the illegal name of variable in Java ?
- A) 4me
- B) result
- C) amount$
- D) price$
Question 55¶
A CSS rule has how many parts ?
- A) 1
- B) 2
- C) 3
- D) 4
Question 56¶
What is the size of second dimension in an array sales [5][12] ?
- A) 12
- B) 5
- C) 60
- D) 11
Question 57¶
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
Question 58¶
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
Question 59¶
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
Question 60¶
From the following which is not a comparison operator in Java ?
- A) >
- B) <
- C) <=
- D) +
Question 61¶
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
Question 62¶
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
Question 63¶
Arrays are useful to represent which type of data in Java ?
- A) vector
- B) matrix
- C) multi-dimensional
- D) All of these
Question 64¶
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 or the mobile
Question 65¶
Which of the following is used as a separato between fields of record ?
- A) Variable
- B) Space
- C) Path
- D) Delimiter
Question 66¶
Java language was developed by whom?
- A) Sun MicroSystems
- B) Oracle
- C) Netscape
- D) Microsoft
Question 67¶
What is the full form of JVM ?
- A) Java Visbility Modifier
- B) Java Visual Modem
- C) Java Virtual Machine
- D) Java Visual Machine
Question 68¶
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
Question 69¶
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
Question 70¶
From the following which is not an event in JavaScript ?
- A) Abort
- B) Alert
- C) Click
- D) Submit
Question 71¶
In Java, a class is defined using which keyword?
- A) Class
- B) Public
- C) Static
- D) Main
Question 72¶
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
Question 73¶
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
Question 74¶
Which type of variables are defined inside methods or blocks ?
- A) Local variables
- B) Instance variables
- C) Class variables
- D) Block variables
Question 75¶
Which type of relationship betwe composition and aggregation class ?
- A) is not a
- B) is a kind of
- C) has-a
- D) is-a
Question 76¶
Storage device of computer system can be broadly classified into which of the following category ?
- A) Volatile storage
- B) Non-volatile storage
- C) Dynamic storage
- D) Both (A) and (B)
Question 77¶
Which element allows multiline text input in HTML form ?
- A) longtext
- B) checkbox
- C) textarea
- D) select
Question 78¶
Which menu-option is used to view different tool bars (if not visible) in KompoZer?
- A) View Show / Hide
- B) Format Toolbar
- C) Edit Show / Hide
- D) Insert Toolbar
Question 79¶
Parent class is referred to a which class object oriented programming language?
- A) Extended class
- B) Child class
- C) Sub class
- D) Base class
Question 80¶
Which colored outline is seen in form when inserted in KompoZer?
- A) Green colored
- B) Yellow colored
- C) Light blue colored
- D) Red colored
Question 81¶
To insert input "Text Field" in form of KompoZer which option is selected in field type menu of "Form Field Properties" ?
- A) Submit button
- B) Check box
- C) Radio button
- D) Text
Question 82¶
Accessor method is known as what in Java ?
- A) Mutator
- B) Accessor
- C) Setter
- D) Getter
Question 83¶
Which shortcut key is used to close the Site Manager pane in KompoZer?
- A) F12
- B) F5
- C) F9
- D) F10
Question 84¶
Which attribute of