Gujarat Board (GSEB) · Class 12 · Set 2
Computer Studies
Practice for the 2027 board exams, session 2026-27. Exams are usually held in February, March and April.
Independent practice paper — verify on official board sources
Disclaimer: BharatBoard is an independent student and parent guide — not affiliated with, associated with, or endorsed by any Central Board, State Board, school, educational institution, recruitment commission, or government body, and does not represent any government entity. We recommend that you contact and verify all exam results, date sheets, syllabi, school admission dates, eligibility criteria, fee schedules, scholarships, and government job notifications directly with the respective school, institution, Central Board, State Board, or recruitment body via their official websites and notifications. These questions are original practice items for revision. Follow the official syllabus, the prescribed textbooks, and your school or institution. Model answers are a study aid. They are not an official marking scheme.
Gujarat Board (GSEB) Class 12 Computer Studies, Set 2, is an original BharatBoard revision set of 20 marks. It is shorter than a full board paper. The official syllabus and sample papers on the Gujarat Board (GSEB) website remain the authority.
Timed Exam Mode
Official 60-minute writing countdown
General instructions & how to use this paper
- This revision set has 15 questions and 20 marks. Ten questions are one mark. Five questions are two marks. Attempt every question. A calculator is not needed.
- Timing is typical months only — always verify the exact dates on the official board website, which change every session.
Section A
· Multiple-choice questionsAttempt all ten 1-mark questions.
Which HTML input attribute masks characters typed into a login password box on screen?
Model answer · Option C
Setting type="password" on an HTML input element replaces typed characters with bullets or asterisks on screen.
Which cryptographic protocol secures web browser communication between an online shopper and an e-commerce server?
Model answer · Option B
SSL and TLS encrypt browser-to-server HTTP traffic as HTTPS, protecting payment credentials from packet interception.
Which legal protection safeguards distinctive brand logos and symbols used on commercial products?
Model answer · Option A
Trademarks legally protect brand names, symbols, and logos that distinguish one enterprise’s goods from competitors.
Which Java access modifier restricts a class member so only methods inside the same class can read it?
Model answer · Option D
Declaring an attribute or method private enforces encapsulation by hiding it from external classes and subclasses.
In object-oriented design, what kind of relationship does class inheritance represent compared with aggregation?
Model answer · Option C
Subclasses specialize superclasses in an IS-A hierarchy, whereas aggregation links whole objects containing part objects via HAS-A.
How does a Java String object differ from a StringBuffer object when text content is modified?
Model answer · Option B
Modifying a Java String allocates a new object, while StringBuffer mutates characters inside its expandable buffer.
Which standard Java package provides utility classes such as Scanner, Date, Calendar, and Arrays?
Model answer · Option A
Classes for collection sorting, date manipulation, and console token scanning reside inside the java.util package.
Which LaTeX math command typesets a vertical fraction with numerator x+1 and denominator y-2?
Model answer · Option D
Inside LaTeX math mode, \frac{numerator}{denominator} formats stacked algebraic fractions cleanly.
In R statistical software, which function combines numeric values into a single vector object?
Model answer · Option C
Calling c(12, 18, 25) in R concatenates individual numbers into a one-dimensional vector for statistical analysis.
Which open-source archive file format bundles multiple directories together using gzip compression on Linux?
Model answer · Option B
Linux tar bundles files into a tape archive and gzip compresses that bundle into a compact .tar.gz file.
Section B
· Short-answer questionsAttempt all five 2-mark questions.
Name four major cyber security threats faced by online e-commerce websites.
Model answer
Common e-commerce security threats include malicious malware code, packet sniffing, denial-of-service attacks, cyber vandalism, and phishing.
Distinguish between a one-dimensional array and a two-dimensional array in Java.
Model answer
A 1D array stores homogeneous elements in a single linear row, whereas a 2D array organises data in row-and-column matrix form.
What is the difference between checked exceptions and unchecked runtime exceptions in Java?
Model answer
Checked exceptions such as IOException are verified at compile time, while unchecked subclasses of RuntimeException occur dynamically during execution.
How does a Java program read lines of characters efficiently from a text file using BufferedReader?
Model answer
Wrap a FileReader object inside a BufferedReader constructor and invoke readLine() repeatedly until it returns null.
Write the R commands used to compute sample mean, sample median, and draw a bar chart for vector v.
Model answer
Use mean(v) for arithmetic average, median(v) for middle value, and barplot(v) to plot a vertical bar chart.
Official syllabus & blueprint sources
Syllabus scope and question-paper structure were verified against the official portals below, which remain the sole authority.