How a BCA or MCA project viva runs
Most universities hold the project evaluation at the end of the final semester. You bring the bound report and the running project on a laptop. An internal examiner, usually your guide or another faculty member, and often an external examiner appointed by the university, watch a short presentation and demo and then ask questions; how long this lasts depends on the university and the size of the batch. In team projects each member is questioned on their own part. MCA students who did the project at a company are also asked about the organisation and their role there.
- 1
Introduction
Your name, project title, the organisation or guide, and the problem in one sentence.
- 2
Presentation
Eight to ten slides: problem, existing system, proposed system, modules, DFD and ER diagram, technology, screenshots, testing, limitations and future scope.
- 3
Live demo
Log in, run the main flow end to end, show one validation error and one report. Keep sample data ready.
- 4
Questions
Report-based questions, then the code: the examiner picks a screen and asks you to open its code and walk through it.
The question that decides the viva
Open the file behind this screen and explain this function. If you bought the project or copied it from a repository, this is where it shows. If you built it, this is where you score. Practise walking through your three most important files line by line.
Which report chapter produces which viva question
About your project: model answers
The answers use an example project: an online appointment and records system for a small physiotherapy clinic, built in PHP with MySQL. Keep the structure and replace the details with yours.
Why did you choose this project?
My aunt runs a physiotherapy clinic in Nagpur with two doctors, and appointments were taken on a register and on WhatsApp. Double bookings happened every week and patient history was in paper files. I wanted a project with a real user I could test with, so I built an appointment and patient record system that the receptionist now uses on a single desktop.
A real user and a real pain point beat a generic library or hotel management system every time.
What was the existing system, and what were its problems?
The existing system was manual: an appointment register, paper case sheets and payments noted in a diary. The problems were double bookings, no reminder to patients, time lost searching for old case sheets and no daily or monthly collection report. My system addresses each: a slot cannot be booked twice, history is searchable by phone number, and reports are generated in one click.
What are the modules of your project?
Five modules. Login with two roles, admin and receptionist. Patient registration. Appointment booking with slot checking. Treatment records, where the doctor adds notes and exercises per visit. And reports, which show daily appointments and monthly collections. I built appointment booking and reports; my partner built registration and treatment records.
What is new in your project compared with existing software?
Large clinic software exists, but it is subscription-based and needs internet. Mine runs on the clinic's own computer on a local server, has only the screens a two-doctor clinic needs, and stores the exercise plan given at each visit, which the doctors asked for specifically. I would not call it a new invention; it is a fit for a small user that the big products ignore.
Who are the users, and what can each do?
The admin, who is the senior doctor, can add users, change fees and view all reports. The receptionist can register patients, book and cancel appointments and record payments, but cannot delete records or change fees. I implemented this with a role column in the users table and a check at the top of every admin page.
What are the limitations of your project?
It runs on one computer, so it is not accessible from the doctor's phone. SMS reminders are not built, because a paid SMS gateway was outside the project budget. Backups are manual, through a database export. And it was tested with one clinic's data, about 300 patients, not at a larger scale.
What is the future scope?
Hosting it on a cloud server with HTTPS so doctors can see the schedule on their phones, adding SMS or WhatsApp reminders through an approved provider, scheduled automatic backups, and a patient login to view their own exercise plan.
SDLC, feasibility and requirements questions
What is SDLC, and what are its phases?
The software development life cycle is the structured process for building software. Its phases are requirement gathering and analysis, feasibility study, system design, coding, testing, deployment and maintenance. Every phase produces something: the SRS, the design documents, the code, the test report and the running system.
Which SDLC model did you follow, and why?
I followed an iterative, incremental approach. I built the login and patient registration first, showed it to the receptionist, then added appointments, then reports. Requirements changed after the first demo, when the doctors asked for exercise plans, and an iterative model absorbed that change. A pure waterfall model would have needed all requirements fixed at the start, which was not realistic here.
If your report says waterfall, defend waterfall: fixed requirements, small scope, clear phases. Do not change your answer from the report.
What is the difference between the waterfall, spiral and agile models?
Waterfall is linear: each phase finishes before the next starts, and it suits small projects with fixed requirements. The spiral model, proposed by Barry Boehm, repeats planning, risk analysis, engineering and evaluation in loops, so it suits large, risky projects. Agile delivers working software in short iterations with continuous user feedback and accepts changing requirements.
What is a feasibility study, and which types did you do?
A feasibility study checks whether the proposed system is worth building. Technical feasibility: the clinic already had a computer that could run a local PHP and MySQL server. Economic feasibility: the software is free and open source, so the only cost was my time. Operational feasibility: the receptionist was comfortable with a computer and agreed to use it. Schedule feasibility: it fitted within the semester.
What is an SRS?
A software requirements specification is the document that describes what the system must do and the constraints it must meet. It lists functional requirements, non-functional requirements, users, interfaces and assumptions. It is the reference against which the system is tested and accepted.
Differentiate functional and non-functional requirements with an example.
A functional requirement is something the system does: the receptionist shall be able to book an appointment for a free slot. A non-functional requirement is a quality the system must have: the appointment page shall load within two seconds, or passwords shall be stored hashed. Functional says what; non-functional says how well.
DFD, ER diagram and UML questions
What is a DFD, and what are its symbols?
A data flow diagram shows how data moves through a system. It has four elements: external entities, which are sources or destinations of data such as the patient; processes, which transform data such as Book appointment; data stores such as the appointments table; and data flows, the arrows showing data moving between them. A DFD shows flow of data, not control or sequence.
What is a context diagram, or level 0 DFD?
It shows the whole system as a single process with the external entities around it and the main data flows in and out. In my project, the single process is the clinic management system, and the entities are patient, receptionist and doctor. The level 1 DFD then breaks that process into registration, appointment, treatment and reports.
What is the difference between a DFD and a flowchart?
A flowchart shows the flow of control, the sequence of steps and decisions in a program. A DFD shows the flow of data between processes, stores and entities, with no decisions or loops. I used a flowchart for the slot-checking logic and a DFD for the system as a whole.
Explain your ER diagram.
There are four main entities: Patient, Appointment, Doctor and Payment. A patient can have many appointments, so Patient to Appointment is one to many. Each appointment is with one doctor, so Doctor to Appointment is also one to many. Each appointment has at most one payment, so that relationship is one to one. Attributes such as patient phone are shown as ovals, and the primary key is underlined.
What is cardinality in an ER diagram?
Cardinality is the number of instances of one entity that can be related to instances of another: one to one, one to many or many to many. A many-to-many relationship, such as doctors and treatments if any doctor could give any treatment, is broken into two one-to-many relationships with a junction table in the database.
Which UML diagrams did you draw?
A use case diagram showing the admin and receptionist as actors and their use cases such as Book appointment and View report, a class diagram for the main classes, and a sequence diagram for booking an appointment, showing the receptionist, the booking page, the server and the database exchanging messages in time order.
Database design questions
How many tables are in your database, and how are they related?
Six tables: users, patients, doctors, appointments, treatments and payments. appointments has foreign keys to patients and doctors; treatments and payments each have a foreign key to appointments. The foreign keys stop an appointment being created for a patient who does not exist.
What is normalisation, and up to which normal form is your database?
Normalisation organises tables to reduce redundancy and avoid insert, update and delete anomalies. First normal form needs atomic values with no repeating groups. Second normal form removes partial dependency, where a non-key column depends on only part of a composite key. Third normal form removes transitive dependency, where a non-key column depends on another non-key column. My tables are in third normal form: the doctor's name is stored only in doctors, not repeated in every appointment.
Why did you use MySQL?
It is free, it runs on the clinic's computer through a local server package, it works directly with PHP, and my data is structured with clear relationships, which a relational database handles well with keys and joins. For this size, a few thousand rows, MySQL is more than enough.
How do you prevent two receptionists booking the same slot?
I put a unique constraint on the combination of doctor_id, appointment date and slot time in the appointments table, so the database itself rejects a duplicate even if two requests arrive together. The page also checks availability before showing the slot, but the constraint is the real guarantee.
What is the difference between a primary key, a unique key and a foreign key in your tables?
patient_id is the primary key of patients: unique, never NULL, one per table. Phone number has a unique constraint, because two patients should not share it, but it is not the primary key. patient_id in appointments is a foreign key: it must match an existing patient_id in patients.
Technology, architecture and code questions
Why did you choose this front end and back end?
HTML, CSS and Bootstrap for the front end because the receptionist needed a clean form-based interface and Bootstrap made it work on any screen. PHP for the server side because it runs on every cheap host if the clinic later moves online and I had studied it in the fifth semester. MySQL for the database for the reasons I gave. I chose what I could build and maintain well, not the newest framework.
What is the architecture of your project?
It is a three-tier architecture. The presentation tier is the browser showing HTML pages. The application tier is PHP on the Apache server, which handles requests, validation and business rules. The data tier is MySQL. The browser never talks to the database directly; every request goes through PHP.
What is the difference between client-side and server-side validation?
Client-side validation runs in the browser with HTML attributes or JavaScript and gives instant feedback, for example that a phone number must be ten digits. Server-side validation runs in PHP and is the real protection, because client-side checks can be bypassed. I validate on both sides.
How do sessions work in your login?
When the username and password match, PHP starts a session and stores the user's id and role in the session array. The browser gets a session cookie with only an id. Every protected page checks that the session holds a logged-in user and the right role; if not, it redirects to the login page. Logout destroys the session.
How do you store passwords?
As hashes, never as plain text. I use PHP's password_hash function, which uses a strong one-way algorithm with a random salt, and password_verify at login. Even if someone copied the users table, they would not see the passwords.
What is SQL injection, and how did you prevent it?
SQL injection is an attack where input such as a login name contains SQL that changes the query, for example to bypass the password check. I prevent it with prepared statements: the query is sent with markers and the values are bound separately, so input is always treated as data, never as SQL.
Open the booking code and explain it.
This is book_appointment.php. First it checks the session role. Then it reads the patient id, doctor id, date and slot from the form and validates them. It runs a prepared SELECT to see if the slot is free; if a row comes back, it shows Slot already booked. Otherwise it inserts the appointment in a prepared INSERT and redirects to the day's schedule with a success message. The unique constraint backs this up.
Rehearse this for your three most important files. Speak in steps: check, read, validate, query, act, respond.
Did you use version control?
Yes, Git with a private GitHub repository shared with my partner. We each worked on a branch for our modules and merged after testing. It also saved me once, when I broke the reports page two days before the review and restored the previous working version in a minute.
Testing questions
Which types of testing did you do?
Unit testing of individual functions such as the fee calculation, integration testing of modules working together such as booking and payment, system testing of the whole application against the SRS, and user acceptance testing where the receptionist used it for a week alongside the register. I recorded every test case in a table in the report.
What is the difference between black box and white box testing?
Black box testing checks inputs and outputs without looking at the code, for example entering a nine-digit phone number and checking that the form rejects it. White box testing is designed from the code's internal structure, for example making sure both branches of the slot-availability check are executed.
Show one test case from your report.
Test case 14: book an appointment in a slot that is already booked. Input: doctor 2, 12 March, 11 am, which already has a booking. Expected result: the message Slot already booked and no new row. Actual result: as expected. Status: pass. An earlier version failed this test when two bookings were submitted at the same time, which is why I added the unique constraint.
What is the difference between verification and validation?
Verification asks whether we are building the product right, by checking it against the design and specification through reviews and tests. Validation asks whether we are building the right product, by checking that it meets the user's actual needs, which is what the week of use at the clinic did.
What is regression testing?
Re-running earlier tests after a change to make sure the change has not broken something that worked. After I added the exercise plan feature, I re-ran the booking and payment test cases before the demo.
General computer science questions examiners add
Lab-subject questions can come too, especially in MCA. Revise from DBMS viva questions, Java viva questions, Python viva questions and HTML viva questions, whichever matches your stack.
Traps that cost marks in a BCA or MCA viva
- Presenting a project you did not build. Examiners ask you to change a small thing live; practise making one small change in each module.
- A report that does not match the software: a DFD with processes that do not exist, or tables that are not in the database.
- Saying waterfall in the report and agile in the viva. Stick to what you documented and explain why.
- Demo data such as abc, test123 and 1111. Load realistic records before the demo.
- Running the demo for the first time on the college network. Test it on the projector laptop the day before.
- Long answers that drift. Answer in three sentences, then stop and let the examiner ask the next question.
- Blaming your partner. Say what you built and what you learned from their module.
Three-day preparation plan
- 1
Day 1: report
Read the report chapter by chapter with the table above. For each chapter, say aloud the question it will produce and your two-sentence answer.
- 2
Day 2: code and database
Walk through your three most important files line by line. Draw the ER diagram and DFD level 1 on paper from memory. Make one small live change in each module and undo it.
- 3
Day 3: demo and mock
Run the full demo twice on the presentation laptop with realistic data. Then take a mock viva out loud and fix the answers where you hesitated.
Practise your project defence with an AI examiner
The ExamPilot project viva puts you in front of an AI external examiner who asks you to explain your problem statement, your own module, your design and your testing, and pushes back when an answer is vague. You speak every answer and get a transcript with the weak spots marked.
Frequently asked questions
- What questions are asked in a BCA final year project viva?
- Why you chose the project, what the existing system was, your modules, SDLC model, feasibility study, DFD and ER diagram, database tables and keys, the technology used and why, testing with an example test case, limitations and future scope. Most examiners then ask you to open the code behind one screen and explain it.
- Is the MCA project viva different from the BCA viva?
- The structure is the same, but MCA examiners go deeper into architecture, security, design patterns and testing, and many MCA students do the final project at a company. In that case expect questions about the organisation, your role, the tools used there and what you contributed versus the team.
- How many marks does the project viva carry in BCA and MCA?
- It depends on the university. Each university's scheme splits project marks between internal assessment, the report, the presentation and demo, and the viva. Check your university's ordinance or the scheme of examination for your programme rather than relying on another college's numbers.
- What if my project does not run during the viva?
- Stay calm and explain what should happen. Keep a screen recording of the full demo and screenshots in your slides as a backup. If the problem is something you can fix in a minute, such as a stopped server, say so and fix it. Examiners judge your understanding; a calm recovery counts in your favour.
- Can I use a project downloaded from the internet?
- No. Submitting someone else's project as your own is academic misconduct, and examiners detect it quickly by asking you to change or explain code. Using open-source libraries and tutorials is fine if you credit them in your report and can explain how your project uses them.
- How do I answer if I do not know a question?
- Say so in one sentence and reason from what you do know, for example: I have not used that pattern, but in my project the controller does this. Then stop. Bluffing a definition costs more than an honest gap, and examiners usually move on.
Practise out loud
Defend your BCA or MCA project out loud
An AI external examiner asks about your problem, your module, your design and your testing, follows up on vague answers and scores the transcript.
Engineering Viva · Final-year project viva
