MSBSHSE Sample Papers for Class 12 Computer Science (Computer)

Class 12 · Sample Papers · Computer Science

MSBSHSE Sample Papers for Class 12 Computer Science (Computer) give you the closest rehearsal for the real exam, but only if you know what to look for in them. This page shows you exactly that: the section-wise pattern, chapter weightage, repeated question types, and how step marks are awarded for code answers.

Use it to plan your practice instead of solving papers blindly. You will find a three-hour solving strategy, a realistic practice schedule, and a list of mistakes that cost marks every year. Read the marking guidance before your first full paper, then keep it open while you check your answers.

Telegram Channel Join Now

What the MSBSHSE Class 12 Computer Science (Computer) Sample Paper Is

A sample paper is a model question paper built on the board's own format. It shows you the shape of the exam: how many questions come in each part, how many marks each question carries, which question types repeat, and how much internal choice you get. It is a practice paper, not the actual question paper that will be handed to you in the exam hall. The board releases it so that students and teachers can see the current pattern before the exam.

The official sample paper comes from the state board's website. Your school may also give you its own model paper, and publishers sell practice papers under their own names. These are useful, but they are separate from the board's paper and may follow a slightly different style or difficulty level. When you practise, know which type you are solving.

The subject is written on the board list as Computer Science (Computer). The word in brackets separates it from the other Computer Science subject offered at Class 12, so always check the subject code printed on your hall ticket and on the paper before you download or solve anything [verify]. Papers are set in English and Marathi, and you should practise in the medium you will write the exam in.

This page gives you a pattern table, chapter-wise weightage, the question types that repeat most often, a timed three-hour solving routine, a marking and presentation guide, and answers to common questions. Use it together with the Class 12 Computer Science syllabus page so that every chapter you revise is one the board actually tests.

One caution: section-wise marks, the number of questions, and the choice rules are decided by the board for each exam year, and they can be revised. Confirm the exact structure from the current year's official model paper and board circular before you finalise your practice plan [verify].

Key Facts About the Class 12 Computer Science (Computer) Paper

Before you build a practice plan, fix these basics in your head. They decide how much of your revision time goes to theory and how much to the lab.

Item Detail
Subject name Computer Science (Computer)
Subject code Check the code printed on your hall ticket and the board's subject list [verify]
Theory marks Written paper marks as fixed by the board for the current year [verify]
Practical / internal marks Separate component assessed at school [verify]
Exam duration Usually three hours for the written paper [verify]
Medium English and Marathi

Computer Science is a practical subject, so your final result is not the theory paper alone. It combines the written theory paper with practical or internal assessment marked at school [verify]. Students who ignore the practical because "theory is where the marks are" often lose easy marks. The practical is where you demonstrate programs, file handling and lab work, so keep your journal and practical file complete through the year. Our page on preparing for the Computer Science practical and internal exam covers the lab component in detail.

The written paper is usually three hours long, and the practical is conducted at school before or after the theory exam [verify]. Your school will announce the practical date, so check the exam time table and practical guidelines page rather than assuming a date.

Papers are set in English and Marathi. Practise in the medium you will write the exam in, because reading a program or an SQL question in a second language costs time you need for solving.

One warning: the theory and practical marks split can change between exam years. Always confirm the current weightage from the board circular for your exam year before you plan [verify].

Paper Pattern: Section-Wise Question Types and Marks

The pattern tells you what kind of questions come, how many marks each carries, and where you get a choice. Use the table below as a working map, then check it against the official model paper for your exam year, because the board can change the section structure [verify].

Section Question type Number of questions Marks per question Total marks Choice given
A Very short answer (one line, definitions, full forms) As per model paper [verify] 1 Small block of easy marks [verify] Usually none [verify]
B Short answer (two to three lines, comparisons, working) As per model paper [verify] 2 As per model paper [verify] Sometimes internal [verify]
C Code output or prediction, error spotting and correction As per model paper [verify] 2 to 3 As per model paper [verify] Often internal [verify]
D SQL and DBMS queries, logic and flowchart questions As per model paper [verify] 3 to 4 As per model paper [verify] Often internal [verify]
E Long answer (explain with example, full program with output) As per model paper [verify] 4 or more As per model paper [verify] Section choice common here [verify]

How to read the pattern table

Read the table as a time planner, not just a marks list. If Section A gives you one mark per question, those answers should take seconds, not minutes. If a long answer carries four marks, it deserves roughly four times the writing time of a one-mark answer. Before the exam, write your own time budget at the top of the answer sheet, for example "Section A: 15 minutes, Sections C and D: 60 minutes", and stick to it. A student who spends 25 minutes on one-mark definitions usually runs out of time for the program question at the end, which is where the bigger marks sit.

Choice and internal options

Two different kinds of choice appear in board papers, and mixing them up wastes time.

  • Internal choice: one question has two parts, say (a) and (b), and you answer only one. The choice is inside a single question number.
  • Section choice: a group of questions is given and you must attempt only some of them, for example "attempt any four out of six". The choice is across question numbers.

Read the instruction line above each section carefully. In a section with choice, count how many questions you must attempt and tick them before you start writing, so you do not answer five when only four are allowed. Extra answers are usually not marked, and the time spent on them is lost [verify].

Finally, take the official model paper for the current year and compare it line by line with this table. Note any change in the number of questions, marks per question, or choice rules in your notebook, and update your practice plan accordingly [verify]. The section names and marks in the table above are a guide to the usual structure, not a guarantee for your exam year [verify].

Chapter-Wise Weightage for Computer Science (Computer)

Weightage means how many marks a chapter or unit usually contributes to the paper. The board does not publish a fixed chapter-wise marks split every year, so the table below is an estimate built from the syllabus and the model paper pattern [verify]. Treat it as a revision budget, not a promise. Where the board has not released an official split, the marks are marked as estimates [verify].

Unit / chapter area Estimated marks Tier How to practise
Programming constructs (data types, operators, control statements, loops) High [verify] 1 Full questions with code and output
Arrays and functions High [verify] 1 Full programs, dry runs, output prediction
DBMS concepts and SQL queries High [verify] 1 Write queries by hand, check syntax
Networking (definitions, devices, topologies) Medium [verify] 2 Short answers of two to three lines
Logic development, flowcharts, pseudocode Medium [verify] 2 Convert short problems into steps
Number systems, data representation, basic terminology Low but easy [verify] 3 Definitions, conversions, one-mark facts
Introduction and history topics, full forms, abbreviations Low but easy [verify] 3 Quick revision list before the exam

The exact chapter list for your year is on the Class 12 Computer Science syllabus page with chapter list and subject code. Match the names in your textbook to the rows above before you plan anything.

High-weightage chapters

Tier 1 chapters are where programs and queries live, and they are also where students lose the most marks. Practise them with full questions: write the complete program, run it on paper line by line, and write the output. For example, a typical question asks you to find the output of a loop that changes a variable inside a condition. Do not read the answer and nod; cover it, dry-run it, then compare. For DBMS, practise the same query in different forms, such as a SELECT with WHERE, then with ORDER BY, then with a simple join. The Class 12 Computer Science previous year question papers with solutions show how often these areas repeat.

Low-weightage but easy-scoring chapters

Tier 3 chapters rarely carry a big question, but they carry small marks that are almost free if you revise them. Keep a single page of definitions, full forms and conversions for these topics and read it once a week. Do not spend a full study session on them. A student who ignores them loses two or three marks that a ten-minute revision would have saved.

Use weightage to divide your revision time, not to decide what you enjoy. If a chapter carries roughly double the marks, it should get roughly double the time, even if you find networking more interesting than arrays. Two cautions: the tiers above are estimates for planning [verify], and the board can distribute marks differently in any year [verify]. After your first timed paper, adjust the table using your own error log, because your weak area deserves extra time even if it is a low-weightage chapter.

Most Repeated Question Types in Computer Science Papers

Across sample papers, previous year papers and school pre-boards, the same handful of question types keeps appearing. If you learn the exact answer format for each one, you stop losing marks to presentation and start losing marks only where your content is genuinely weak. The four types below cover most of the marks in the written paper [verify].

Code output and dry-run questions

A dry run means you act as the computer: you track every variable's value, line by line, on paper, without running the program. Take a question like this: a loop runs from 1 to 5, and inside it a variable sum starts at 0 and gets sum = sum + i. Draw three columns, line number, statement, and value of each variable after that line. Row 1: sum = 0. Row 2: i = 1, sum = 1. Row 3: i = 2, sum = 3. Continue to i = 5, where sum = 15. Then write the final answer exactly as the program would print it, for example 15, not "the sum is fifteen". The common mistake is jumping to the answer in your head and skipping rows; the fix is to never skip a row, even when the pattern looks obvious.

Error spotting and correction

First name the error type: syntax (a missing bracket, semicolon or wrong keyword), logical (the code runs but gives the wrong result), or runtime (it fails while running, such as division by zero). Then rewrite only the corrected line, and add a one-line reason. For example, if a question shows for (i = 1; i <= 5; i++) with the body using total = total + i but total was never initialised, the correction is to add total = 0 before the loop, and the reason is that an uninitialised variable gives an unpredictable starting value. Do not rewrite the whole program; examiners look for the corrected line and the reason.

SQL and DBMS questions

Most SQL marks come from four patterns: SELECT with WHERE, SELECT with ORDER BY, SELECT with GROUP BY (usually with COUNT or SUM), and a simple two-table join on a common column. Write the query in the expected format, with keywords in capitals and a semicolon at the end, and copy table and column names exactly as the question gives them. A typical question asks for the names of students scoring above 75 in descending order: SELECT Name FROM Student WHERE Marks > 75 ORDER BY Marks DESC; Practise these on the SQL and DBMS practice questions with answers for Class 12 page until the syntax is automatic.

Networking and logic questions

Networking answers are short: definitions, matching a device to its function (router, switch, hub, gateway), and two- or three-line comparisons such as LAN versus WAN. Write two precise lines, not a paragraph; a paragraph wastes time you need for code questions. For logic and flowchart questions, convert the problem into numbered steps first, then draw the flowchart or write pseudocode with the same steps. For example, "find the largest of three numbers" becomes: read a, b, c; if a is greater than b and a is greater than c, print a; otherwise compare b and c. The steps and the flowchart should match one to one. Seeing how often these types repeat in Class 12 Computer Science previous year question papers with solutions tells you which ones to drill first.

How Sample Papers Differ from Previous Year Papers and School Pre-Boards

Three different things get called "Computer Science papers", and students often prepare with the wrong one at the wrong time. Each has a separate job, so use them in the right order.

A sample paper (also called a model paper) is released to show the current year's pattern: how many questions, what types, how marks are split, and where choice is offered. It is not a real exam paper, and nobody sat for it in an exam hall. Its only purpose is to tell you the shape of the paper you will face [verify].

A previous year paper is the actual board paper from an earlier session. Because it was a real exam, it shows you the real difficulty level and the question types that keep coming back. This is your best tool for timed practice, and you can compare two or three years side by side to see which chapters the setters return to.

A school pre-board is set by your own school. Teachers usually make it harder than the board paper, or style it differently, to push you before the real exam. It is useful for speed and for meeting new question styles, but do not treat a low pre-board score as a prediction of your board result.

Paper type What it is Best used for When to solve it
Sample / model paper Board-style paper released to show the current pattern; not a real exam paper Learning the format, marks split and choice rules First, untimed
Previous year paper An actual past board paper Realistic timed practice; spotting repeated question types Next, strictly timed
School pre-board Paper set by your school, often harder or differently styled Speed, stamina, exposure to unfamiliar questions Last, as an extra mock

Follow that order: sample paper first to learn the pattern, previous year papers next under a timer, and pre-boards last as extra mocks. When you download anything, label the file with the year and the medium (English or Marathi) in the file name itself. A folder of files called "paper1.pdf" and "paper2.pdf" is how students end up revising an old pattern by mistake. Keep the same labels when you print them, and check each paper against the Class 12 Computer Science syllabus page with chapter list and subject code before you spend three hours on it.

How to Solve a Computer Science Sample Paper in Three Hours

A three-hour paper rewards planning as much as knowledge. Students who score well are rarely the ones who write the fastest; they are the ones who decide early what to attempt first and what to leave for the end. Solve every sample paper with a clock in front of you, and follow the same five steps each time so the routine becomes automatic by exam day.

The first 10 minutes

Do not start writing answers immediately. Read the whole paper first, front to back, and mark each question with a quick symbol in the margin: a tick for questions you can answer confidently, a dot for questions that need working (code output, SQL queries, error correction), and a cross for questions you want to attempt last. This one pass tells you how heavy the paper is and stops the panic that comes from discovering a long question in the final ten minutes.

While reading, also note which questions offer a choice and which are compulsory. A question you can answer fully in two minutes should never be left because you spent twenty minutes on a four-mark question earlier.

Section-wise time budget

Use the pattern table to fix a time budget for each section before you write a single answer, and write that budget at the top of your answer sheet where you can see it. A workable split for a three-hour paper is roughly 15 minutes for very short answers, 60 minutes for short answers, 75 minutes for code and SQL questions, and 20 minutes for long answers, leaving the rest as buffer [verify]. Adjust these numbers to your own strengths, but decide them in advance.

For code and SQL questions, use one fixed format every time: question number, then the program or query, then the output or reason on a separate line. For example, if the question asks for the output of a loop that adds numbers, write the code you traced, then "Output: 15" on its own line. An examiner should never have to search for your final answer.

After each paper, keep an error log with four columns: question type, what went wrong, the correct method, and the date to re-attempt. A student who solves six papers without review repeats the same mistakes six times; a student who solves three papers and reviews each one properly fixes those mistakes before the next paper. If your errors cluster around SQL syntax or array logic, revise those topics from the chapter-wise notes for programming constructs and arrays and the SQL and DBMS practice questions with answers for Class 12 before your next attempt.

The last 15 minutes

Stop writing new answers and switch to checking. Go through your paper for variable names that do not match the question, missing semicolons or brackets, SQL keywords spelled wrongly, and any question number you skipped. Confirm that every question you attempted has its output or reason written, because a correct program without its output often loses the final mark. Finally, count your attempted questions against the paper's total and fill any short gaps you can still answer accurately.

How Code Answers Are Marked: Step Marks and Presentation

When an examiner checks a code question, they are not only looking for the final output. Marking schemes for programming answers usually award step marks: some marks for choosing the right approach, some for writing correct syntax, and the remaining marks for the correct final output [verify]. This means a program that is nearly right still earns something, while a program that is only a final number with no working earns very little.

Use the same layout for every code answer so the examiner can follow your steps:

  1. Declare the variables you will use, with their types.
  2. Write the logic, meaning the input, the calculation or loop, and the display step.
  3. Write the output on a separate line and underline it.

For example, if a question asks you to write a program that finds the sum of the first five natural numbers, your answer should show the variable declaration, the loop that adds the numbers, and then a clearly underlined Output: 15. A student who writes only "15" may get the output mark but loses the approach and syntax marks.

Where a question asks you to explain why the output is what it is, add a one-line comment or reason next to the relevant step. For instance, write "loop runs 5 times, so sum = 1+2+3+4+5" beside the loop. Short comments also help you check your own work in the last 15 minutes.

Never leave a code question blank because you cannot remember the exact syntax. Write the approach in steps or pseudocode, because a partially correct method can still earn step marks [verify]. Revising from the Class 12 Computer Science syllabus page with chapter list and subject code helps you recall the exact syntax expected.

Finally, presentation matters. Number every answer clearly, keep code in a single block instead of scattering it across the page, and avoid overwriting. A messy or unlabelled answer makes it harder for the examiner to find your steps and award marks, even when your logic is correct.

Building a Practice Plan with Sample and Previous Year Papers

A practice plan is simply a fixed schedule that says which paper you will solve on which day, and what you will do after solving it. Without one, most students solve two or three papers in the last week, feel busy, and never find out which question types are actually costing them marks. Decide the number of papers first: four to six full papers is a realistic target. "Solve as many as possible" is not a target, because it has no end and no review time built into it.

Four-week plan

If you have about a month, spread the work so that pattern learning comes before timed practice, and review comes before the final mock.

  • Week 1: Solve one sample paper without a timer, with your textbook open. The aim is to learn the paper's layout, not to score. Alongside it, revise the chapters you got wrong, using the Class 12 Computer Science syllabus page with chapter list and subject code so you do not skip a unit.
  • Week 2: Solve two previous year papers under the full three-hour limit. No notes, no phone. Mark yourself honestly using the marking scheme.
  • Week 3: Solve two more papers, timed. Give one full day to reviewing your error log from all four papers so far.
  • Week 4: One full mock at the same time of day as your actual exam, then spend the remaining days only on your weakest chapters and on SQL, which rewards short daily practice.

Two-week plan

With two weeks left, alternate the days: one day for a timed paper, the next day for correcting that paper and re-solving the questions you got wrong. This gives you roughly five to six papers with proper review. Keep the last three days for one full mock and light revision of definitions and syntax. Papers for this stage are on the Class 12 Computer Science previous year question papers with solutions page.

The review rule matters more than the number of papers: after each paper, spend at least as long correcting it as you spent solving it. A paper solved in three hours deserves close to three hours of correction, because that is where the actual learning happens.

DatePaper (year and type)Marks scoredTime takenTop three error types
12 JanSample paper, current year52 / 70UntimedSQL keywords, loop output, flowchart steps
18 JanPrevious year paper48 / 703 h 10 minSyntax errors, skipped output, networking definitions
24 JanPrevious year paper56 / 702 h 55 minGROUP BY queries, dry-run mistakes

Fill this table after every paper. After three or four rows, a pattern appears: the same two or three error types keep returning. Those are the topics to revise first, ahead of chapters you already score well in.

Common Mistakes Students Make in the Computer Science Exam

Most marks lost in the Computer Science paper are not lost because a student did not know the answer. They are lost because the answer was written in a hurry, in the wrong format, or without reading the question fully. The mistakes below repeat every year, and each one has a simple fix you can build into your practice from today.

Renaming variables and tables. A question may say "consider the table Employee with columns Eno, Ename, Sal". Students often write Emp or Salary in the query. The examiner checks names against the question, so the query can lose marks even if the logic is right. The fix: copy the exact names from the question into your rough work before you write the final answer.

Writing paragraphs where two lines are enough. A two-mark question like "State two differences between a hub and a switch" needs two short points, not a page of explanation. Long answers eat the time you need for code and SQL questions at the end. Match the length of your answer to the marks: one mark, one or two precise lines.

Writing the code but not the output. When a question asks for the output, the output is a separate mark. Write it clearly on its own line, exactly as the program would print it, including spacing and line breaks. If you are unsure, still write your best dry-run result: a partially correct output can earn step marks [verify].

Skipping SQL revision. Keywords like GROUP BY, ORDER BY, DISTINCT and the correct use of quotes and semicolons are easy marks once practised. Students who leave SQL for the last week often lose four to six marks on syntax alone. Use the SQL and DBMS practice questions with answers for Class 12 to revise a small set daily.

Ignoring the practical component. Since Computer Science combines theory with practical and internal assessment [verify], students who focus only on theory leave marks on the table. Ask your teacher for the practical list and the expected journal format, and read the guide on how to prepare for the Computer Science practical/internal exam.

Practising only in one medium. Papers are set in English and Marathi. If you will write the exam in Marathi, solve papers in Marathi, because reading the same technical terms in English during practice and Marathi in the exam slows you down.

Where to Get Official and Verified Papers

The official model paper for Computer Science (Computer) is published on the state board's website, along with the syllabus and the list of subject codes. Start there. Download the syllabus page for your subject first, note the subject code printed on it, and then download the model paper for the current session. If the board page is slow or the file is hard to find, your school office usually has a printed copy of the same paper.

Before you solve any downloaded paper, run a quick check that it is genuine:

  • Board name and year printed on the first page. An undated PDF could be three or four years old.
  • Subject code matching the code on your syllabus page [verify].
  • Pattern match: the sections, question types and total marks should match the current syllabus. If the paper shows a section type your textbook does not cover, it is probably from an older pattern.
  • Page count and instructions page: a real board paper carries general instructions and a marks summary near the top.

Avoid undated or unlabelled PDFs shared on messaging groups. They often follow a retired pattern, so you practise a paper that will not appear in March. Ask your teacher for the latest model paper and the marking scheme together, because the marking scheme shows how step marks are awarded [verify].

Every paper linked on this page is labelled by year and medium (English or Marathi), so pick the one that matches your exam medium. For the chapter list and subject code, keep the Class 12 Computer Science syllabus page open while you check a paper. For real past papers, use the Class 12 Computer Science previous year question papers with solutions.

Frequently Asked Questions

Where can I download the MSBSHSE Class 12 Computer Science sample paper PDF?

The official sample paper is available on the state board's website. Look for the 'Model Question Papers' or 'Sample Papers' section under the HSC examination page. Your school may also provide a copy. Always verify the subject code (Computer Science (Computer)) before downloading. Tip: Save the PDF for offline practice and check for updates each year.

How many marks is the Class 12 Computer Science paper for, and how much is practical? [verify]

The theory paper is typically 80 marks and practicals are 20 marks, totaling 100. However, this can vary, so confirm with your teacher or the latest board circular. Note: The practical exam includes a written test, journal, and viva. Focus on both equally, as practical marks are easier to score.

Is the Maharashtra Board Computer Science sample paper the same as the previous year question paper?

No, they are different. A sample paper is a model paper released by the board to show the current exam pattern, while a previous year's question paper is the actual paper from a past exam. Both are useful: sample papers show the expected format, and previous papers give real exam practice. Solve both for comprehensive preparation.

Which chapters carry the most marks in Class 12 Computer Science (Computer)?

Weightage varies yearly, but typically, chapters like Programming in C++, Data Structures, and Databases carry significant marks. Check the official syllabus for detailed weightage. Tip: Analyze the last few years' papers to identify frequently tested topics and allocate study time accordingly.

How many sample papers should I solve before the HSC Computer Science exam?

Aim to solve at least 5-10 sample papers and previous year papers under timed conditions. This builds speed and familiarity with the pattern. Start with one paper per week, increasing frequency as the exam nears. Quality over quantity: Review your mistakes and revise weak topics after each paper.

How should I write code answers to score full marks in the board exam?

Write code clearly with proper indentation, comments, and correct syntax. Include #include and using namespace std; where needed. For programs, write the algorithm or logic briefly before the code. Remember: Examiners look for correct logic, syntax, and presentation. Practice writing code by hand to improve speed and accuracy.