Using this textbook and the patterns observed in the past papers, I’ve refined the initial set of 100 MCQs to ensure:
- Comprehensive Coverage: All chapters (1–13) are represented.
- Alignment with Syllabus: Questions reflect the current curriculum and Gujarat Board trends.
- Difficulty Distribution: 30% easy, 50% medium, 20% hard.
Final Set of 100 MCQs for Computer (331) (E), Standard 12, Gujarat Board
1–20: Creating HTML Forms Using KompoZer (Chapter 1)
Difficulty: 6 Easy, 10 Medium, 4 Hard
- What is the primary purpose of an HTML form? (Easy)
A) To display static content
B) To collect user input
C) To style a webpage
D) To execute JavaScript
Answer: B (Textbook, Page 7) - Which tag is used to create an HTML form? (Easy)
A)<input>
B)<form>
C)<textarea>
D)<select>
Answer: B (Textbook, Page 7) - Which attribute specifies where form data is sent upon submission? (Easy)
A) method
B) action
C) type
D) name
Answer: B (Textbook, Page 7) - Which HTTP method sends data as a block in the request body? (Easy)
A) GET
B) POST
C) PUT
D) SET
Answer: B (Textbook, Page 8) - Which input type creates a single-line text field? (Easy)
A) radio
B) checkbox
C) text
D) submit
Answer: C (Textbook, Page 8) - What does WYSIWYG stand for in the context of KompoZer? (Easy)
A) What You See Is What You Get
B) When You See Is When You Get
C) What You Style Is What You Get
D) Why You See Is What You Get
Answer: A (Textbook, Page 12) - Which KompoZer menu is used to define a form? (Medium)
A) File → Define Form
B) Insert → Form → Define Form
C) Format → Form
D) Tools → Form
Answer: B (Textbook, Page 14) - In KompoZer, which tab displays the HTML source of the current element? (Medium)
A) Design
B) Split
C) Source
D) Preview
Answer: B (Textbook, Page 13) - Which attribute of
<textarea>
defines the visible width in characters? (Medium)
A) rows
B) cols
C) name
D) value
Answer: B (Textbook, Page 9) - Which input type allows selecting only one option from a group? (Medium)
A) checkbox
B) radio
C) text
D) password
Answer: B (Textbook, Page 8) - In KompoZer, how can you open recently accessed files? (Medium)
A) File → Open
B) File → Recent Pages
C) Edit → Recent Files
D) View → Recent Pages
Answer: B (Textbook, Page 14) - What happens when you click the Reset button in an HTML form? (Medium)
A) Submits the form
B) Clears all fields to default values
C) Validates the data
D) Opens a new form
Answer: B (Textbook, Page 8) - Which KompoZer toolbar is used to align text? (Medium)
A) Composition Toolbar
B) Format Toolbar 1
C) Format Toolbar 2
D) Edit Mode Toolbar
Answer: C (Textbook, Page 12) - In KompoZer, which option ensures a radio button is pre-selected? (Medium)
A) Initially Checked
B) Default Selected
C) Pre-Checked
D) Auto-Selected
Answer: A (Textbook, Page 22) - Which element creates a drop-down menu in an HTML form? (Medium)
A)<input>
B)<textarea>
C)<select>
D)<form>
Answer: C (Textbook, Page 9) - What is the default HTTP method if not specified in a form? (Medium)
A) POST
B) GET
C) PUT
D) DELETE
Answer: B (Textbook, Page 8) - In KompoZer, which dialog box is used to set a page title? (Hard)
A) Form Properties
B) Page Title
C) Save Page As
D) CSS Stylesheets
Answer: B (Textbook, Page 19) - Which attribute is mandatory for all radio buttons in the same group? (Hard)
A) value
B) type
C) name
D) checked
Answer: C (Textbook, Page 8) - In KompoZer, how do you add a background color to a form? (Hard)
A) Insert → Background
B) Format → Page Colors and Background
C) Tools → Colors
D) Edit → Background Color
Answer: B (Textbook, Page 26) - Which KompoZer view mode disables scripts and links? (Hard)
A) Normal
B) Preview
C) HTML Tags
D) Source
Answer: B (Textbook, Page 13)
21–40: Cascading Style Sheets and JavaScript (Chapter 2)
Difficulty: 6 Easy, 10 Medium, 4 Hard
- What does CSS stand for? (Easy)
A) Creative Style Sheets
B) Cascading Style Sheets
C) Computer Style Sheets
D) Combined Style Sheets
Answer: B (Textbook, Page 25) - Which part of a CSS rule specifies the HTML element to style? (Easy)
A) Property
B) Value
C) Selector
D) Declaration
Answer: C (Textbook, Page 25) - Which tag is used to insert JavaScript into an HTML page? (Easy)
A)<style>
B)<script>
C)<js>
D)<code>
Answer: B (Textbook, Page 39) - What is the purpose of JavaScript in webpages? (Easy)
A) To define structure
B) To add interactivity
C) To style elements
D) To store data
Answer: B (Textbook, Page 38) - In CSS, which symbol separates a property and its value? (Easy)
A) Semicolon (;)
B) Colon (:)
C) Comma (,)
D) Period (.)
Answer: B (Textbook, Page 25) - Which JavaScript method displays text in the browser? (Easy)
A) alert()
B) document.write()
C) console.log()
D) print()
Answer: B (Textbook, Page 39) - In KompoZer, where do you enable CSS styling by default? (Medium)
A) File → Preferences
B) Edit → Preferences
C) Tools → Options
D) Format → Settings
Answer: B (Textbook, Page 31) - Which CSS tab in KompoZer sets a background image? (Medium)
A) Text
B) Background
C) Borders
D) General
Answer: B (Textbook, Page 35) - What is the top-level object in the Browser Object Model (BOM)? (Medium)
A) document
B) window
C) form
D) navigator
Answer: B (Textbook, Page 38) - Which JavaScript event handler responds to a button click? (Medium)
A) onsubmit()
B) onclick()
C) onchange()
D) onload()
Answer: B (Textbook, Page 38) - In CSS, what does
h1 {color: blue}
define? (Medium)
A) h1 as the selector
B) color as the selector
C) blue as the property
D) h1 as the value
Answer: A (Textbook, Page 25) - Which JavaScript function checks if a value is not a number? (Medium)
A) isNaN()
B) parseInt()
C) toString()
D) alert()
Answer: A (Textbook, Page 38) - What is an advantage of using CSS over HTML styling? (Medium)
A) Increases code duplication
B) Reduces page load time
C) Requires more code
D) Limits browser compatibility
Answer: B (Textbook, Page 38) - Which KompoZer button opens the CSS Stylesheets dialog box? (Medium)
A) Form
B) Cascade
C) Source
D) Preview
Answer: B (Textbook, Page 32) - Which JavaScript keyword declares a variable? (Medium)
A) let
B) var
C) const
D) function
Answer: B (Textbook, Page 38) - In CSS, how are multiple declarations separated within a rule? (Medium)
A) Comma (,)
B) Semicolon (;)
C) Colon (:)
D) Space
Answer: B (Textbook, Page 25) - Which CSS property sets the text alignment? (Hard)
A) font-family
B) text-align
C) color
D) background
Answer: B (Textbook, Page 33) - In KompoZer, which CSS tab allows setting a dotted border? (Hard)
A) Text
B) Background
C) Borders
D) Box
Answer: C (Textbook, Page 36) - Which JavaScript object is used to validate form data? (Hard)
A) window
B) document
C) form
D) input
Answer: B (Textbook, Page 39) - What happens if a browser does not support a CSS feature? (Hard)
A) The webpage crashes
B) The style is ignored
C) An error message appears
D) The page reloads
Answer: B (Textbook, Page 38)
41–55: E-commerce and M-commerce (Chapters 4 & 5)
Difficulty: 5 Easy, 7 Medium, 3 Hard
- Which website is an example of a B2C E-commerce model? (Easy)
A) tradeindia.com
B) amazon.com
C) commodity.com
D) bidstall.com
Answer: B (Textbook, Page 72) - What does B2B stand for in E-commerce? (Easy)
A) Business to Business
B) Business to Consumer
C) Buyer to Buyer
D) Business to Bank
Answer: A (Textbook, Page 72) - Which process involves buying and selling through bidding? (Easy)
A) Auction
B) Marketing
C) Subscription
D) Leasing
Answer: A (Textbook, Page 72) - What is M-commerce? (Easy)
A) Mobile-based shopping
B) Manual commerce
C) Multi-level commerce
D) Market commerce
Answer: A (Textbook, Page 90) - Which security aspect ensures data is not altered in transit? (Easy)
A) Confidentiality
B) Integrity
C) Authentication
D) Non-repudiation
Answer: B (Textbook, Page 90) - Which E-commerce model involves consumers selling to each other? (Medium)
A) B2C
B) B2B
C) C2C
D) G2C
Answer: C (Textbook, Page 72) - What is the full form of SSL in E-commerce security? (Medium)
A) Secure Socket Layer
B) System Security Level
C) Simple Secure Link
D) Standard Security Layer
Answer: A (Textbook, Page 90) - Which company developed the SSL protocol? (Medium)
A) Google
B) Netscape
C) Microsoft
D) Amazon
Answer: B (Textbook, Page 90) - Which payment mechanism was launched by NPCI? (Medium)
A) Visa
B) MasterCard
C) Rupay
D) PayPal
Answer: C (Textbook, Page 90) - What does encryption do in E-commerce? (Medium)
A) Deletes data
B) Converts plain text to cipher text
C) Validates user identity
D) Stores data
Answer: B (Textbook, Page 90) - Which E-commerce model improves government efficiency? (Medium)
A) G2B
B) G2G
C) G2C
D) B2C
Answer: B (Textbook, Page 72) - Which is a disadvantage of M-commerce? (Medium)
A) Global reach
B) Limited bandwidth
C) 24×7 availability
D) Timely updates
Answer: B (Textbook, Page 90) - What does CA stand for in E-commerce security? (Hard)
A) Certified Authority
B) Channel Access
C) Customer Account
D) Cyber Agency
Answer: A (Textbook, Page 90) - Which security feature prevents a sender from denying a message? (Hard)
A) Integrity
B) Confidentiality
C) Non-repudiation
D) Authorization
Answer: C (Textbook, Page 90) - Which service is typically unavailable in online banking? (Hard)
A) Check account balance
B) Deposit money via cheque
C) View transaction status
D) Obtain statements
Answer: B (Textbook, Page 90)
56–80: Java and OOP Concepts (Chapters 6–11)
Difficulty: 10 Easy, 12 Medium, 3 Hard
- What is the primary focus of Object-Oriented Programming? (Easy)
A) Functions
B) Data
C) Objects
D) Procedures
Answer: C (Textbook, Page 116) - Which keyword in Java creates a new object? (Easy)
A) class
B) new
C) void
D) static
Answer: B (Textbook, Page 158) - Which Java data type is a primitive type? (Easy)
A) String
B) int
C) Object
D) Array
Answer: B (Textbook, Page 127) - What is a class in Java? (Easy)
A) A method
B) A template for objects
C) A variable
D) An array
Answer: B (Textbook, Page 158) - Which operator accesses instance variables in Java? (Easy)
A) , (Comma)
B) . (Dot)
C) : (Colon)
D) ; (Semicolon)
Answer: B (Textbook, Page 158) - Which Java method is called automatically when an object is created? (Easy)
A) main()
B) constructor
C) run()
D) start()
Answer: B (Textbook, Page 158) - What does an array store in Java? (Easy)
A) Single value
B) Multiple values of the same type
C) Methods
D) Classes
Answer: B (Textbook, Page 186) - Which Java block handles exceptions? (Easy)
A) try
B) catch
C) finally
D) throw
Answer: B (Textbook, Page 203) - Which command compiles a Java program? (Easy)
A) java
B) javac
C) run
D) execute
Answer: B (Textbook, Page 127) - What manages unused memory in Java? (Easy)
A) Constructor
B) Garbage Collector
C) Heap
D) Stack
Answer: B (Textbook, Page 127) - Which OOP concept hides data from outside access? (Medium)
A) Inheritance
B) Encapsulation
C) Polymorphism
D) Abstraction
Answer: B (Textbook, Page 116) - Which Java keyword calls a superclass constructor? (Medium)
A) extends
B) super
C) this
D) new
Answer: B (Textbook, Page 158) - Which method fills an array with a specified value? (Medium)
A) Arrays.fill()
B) Arrays.sort()
C) Arrays.set()
D) Arrays.insert()
Answer: A (Textbook, Page 186) - Which Java class reads input from a file? (Medium)
A) FileReader
B) FileWriter
C) Scanner
D) Console
Answer: C (Textbook, Page 220) - Which statement executes based on multiple conditions in Java? (Medium)
A) if-else
B) switch
C) for
D) while
Answer: B (Textbook, Page 127) - Which visibility symbol denotes a private member in a class diagram? (Medium)
A) +
B) –
C) #
D) *
Answer: B (Textbook, Page 116) - Which Java block is always executed, exception or not? (Medium)
A) try
B) catch
C) finally
D) throw
Answer: C (Textbook, Page 203) - Which method of FileOutputStream writes a byte array? (Medium)
A) write(int b)
B) write(byte[] b)
C) write(int length)
D) write(byte length)
Answer: B (Textbook, Page 220) - Which Java feature allows method overloading? (Medium)
A) Encapsulation
B) Inheritance
C) Polymorphism
D) Abstraction
Answer: C (Textbook, Page 116) - Which Scanner method reads a full line of text? (Medium)
A) next()
B) nextLine()
C) nextInt()
D) hasNext()
Answer: B (Textbook, Page 220) - Which Java class hides input from the console? (Medium)
A) Scanner
B) Console
C) FileReader
D) BufferedReader
Answer: B (Textbook, Page 220) - Which File class method lists all files in a directory? (Medium)
A) list()
B) listFiles()
C) getPath()
D) length()
Answer: B (Textbook, Page 220) - Which OOP concept uses a part-whole relationship with dependency? (Hard)
A) Aggregation
B) Composition
C) Inheritance
D) Polymorphism
Answer: B (Textbook, Page 116) - Which Java exception is thrown for an invalid array index? (Hard)
A) NullPointerException
B) ArrayIndexOutOfBoundsException
C) IOException
D) ClassNotFoundException
Answer: B (Textbook, Page 203) - Which operator in Java denotes logical NOT? (Hard)
A) &&
B) ||
C) !
D) ^
Answer: C (Textbook, Page 127)
81–100: LaTeX and Other Tools (Chapters 12–13)
Difficulty: 3 Easy, 11 Medium, 6 Hard
- Which character marks a comment in LaTeX? (Easy)
A) #
B) %
C) $
D) &
Answer: B (Textbook, Page 241) - Which command begins a LaTeX document preamble? (Easy)
A)\usepackage
B)\documentclass
C)\title
D)\begin{document}
Answer: B (Textbook, Page 241) - What is the default file format of RationalPlan Viewer? (Easy)
A) .java
B) .xrp
C) .html
D) .txt
Answer: B (Textbook, Page 271) - Which LaTeX command produces bold text? (Medium)
A)\textbold
B)\textbf
C)\bold
D)\textb
Answer: B (Textbook, Page 241) - Which tool compresses files into a single archive? (Medium)
A) VLC Media Player
B) Archive Manager
C) Google Maps
D) Character Map
Answer: B (Textbook, Page 262) - What does
\textsf
do in LaTeX? (Medium)
A) Sets text to italic
B) Sets text to Sans Serif
C) Sets text to bold
D) Sets text to monospace
Answer: B (Textbook, Page 241) - Which LaTeX environment centers and numbers equations? (Medium)
A) math
B) displaymath
C) equation
D) text
Answer: C (Textbook, Page 542) - Which R function calculates the average of a list? (Medium)
A) min()
B) max()
C) mean()
D) median()
Answer: C (Textbook, Page 269) - Which VLC menu option displays the playlist? (Medium)
A) File → Playlist
B) View → Playlist
C) Media → Playlist
D) Tools → Playlist
Answer: B (Textbook, Page 264) - What is the default view in Google Maps? (Medium)
A) Satellite
B) Map
C) 3D
D) Street
Answer: B (Textbook, Page 265) - Which LaTeX symbol denotes a non-breaking space? (Medium)
A) \
B) ~
C) %
D) $
Answer: B (Textbook, Page 241) - Which command in R creates a bar graph? (Medium)
A) plot()
B) barplot()
C) hist()
D) graph()
Answer: B (Textbook, Page 269) - Which tool allows inserting Unicode characters? (Medium)
A) Archive Manager
B) Character Map
C) VLC Media Player
D) Skype
Answer: B (Textbook, Page 267) - Which Skype feature requires a paid account? (Medium)
A) Text chat
B) Video calls to Skype users
C) Calls to landlines
D) File transfer
Answer: C (Textbook, Page 271) - Which LaTeX document class is used for presentations? (Hard)
A) article
B) book
C) beamer
D) report
Answer: C (Textbook, Page 241) - Which LaTeX command produces the union symbol (∪)? (Hard)
A)\cap
B)\cup
C)\set
D)\union
Answer: B (Textbook, Page 542) - Which Archive Manager format supports password protection? (Hard)
A) tar
B) zip
C) tar.gz
D) jar
Answer: B (Textbook, Page 262) - Which R operator assigns a value to a variable? (Hard)
A) =
B) <- C) : D) ->
Answer: B (Textbook, Page 268) - Which LaTeX operator denotes a subscript? (Hard)
A) ^
B) _
C) \
D) ~
Answer: B (Textbook, Page 542) - Which RationalPlan variant manages multiple interdependent projects? (Hard)
A) Single
B) Multi
C) Viewer
D) Server
Answer: B (Textbook, Page 271)