AICTE emblem

CS / IT Lab Viva

Students of Computer Science, IT, AI-ML, Data Science and allied branches, as well as BCA and MCA students, sitting the internal or end-semester practical examination of a programming or systems lab, where a program is written and executed and then a viva voce follows.

  • 4 rounds · 10 min
  • 2-member panel or 1:1
  • 9 subjects
  • 2 languages

Engineering Viva · CS/IT labs · 2-member AI panel

Ready
  • RaghunathSubject expert
  • DeepikaSubject expert

Free to start · No card required

What the panel asks

Engineering Viva CS/IT labs interview questions

Questions panels commonly ask in the Engineering Viva CS/IT labs interview. Tap one to see what a strong answer covers, then practise it aloud.

  1. You wrote a program to reverse a singly linked list. Tell me what each pointer holds after the second iteration, and how your code behaves when head is null.

    Data structures

    What a strong answer covers

    Traces previous, current and next pointers step by step, shows the head finally points to the old tail, and explains that an empty or single-node list is returned unchanged without a null dereference. Avoid reading the code aloud without tracing actual values.

  2. Your table has student ID, name, course ID and course name in one table. Is it in third normal form? If not, fix it.

    DBMS

    What a strong answer covers

    Identifies the transitive dependency of course name on course ID, splits it into student, course and enrolment tables with proper keys, and explains the update anomaly the split removes. Avoid reciting the definitions of normal forms without applying them to this table.

  3. In your producer-consumer program, what goes wrong if I remove the mutex but keep both semaphores?

    Operating systems

    What a strong answer covers

    Explains that the semaphores still count empty and full slots, but two producers or consumers can access the buffer index simultaneously, causing a race condition and lost or overwritten items. A strong answer gives a concrete interleaving. Avoid saying the program will simply deadlock.

  4. Your socket program works on localhost but the client cannot connect from another lab machine. What would you check first?

    Computer networks

    What a strong answer covers

    Checks whether the server binds to all interfaces rather than the loopback address, the correct IP and port, the firewall, and whether the server is listening, using tools such as ping or netstat. Avoid rewriting the code before checking network basics.

  5. Explain the difference between method overloading and overriding using a class from your Java record.

    Object-oriented programming

    What a strong answer covers

    Overloading means one class has methods sharing a name but differing in parameter lists, chosen by the compiler; overriding means a child class supplies its own version of an inherited method, chosen at runtime by the actual object. A strong answer points to real classes in the record. Avoid definitions with no example.

  6. In your machine learning lab, why did you split the data into training and test sets, and what would happen if you tuned the model on the test set?

    Machine learning

    What a strong answer covers

    The test set estimates performance on unseen data; tuning on it leaks information and gives an optimistic score, so a validation set or cross-validation should be used. Avoid saying the split is only a formality.

  7. Your Python program crashed with a KeyError during the lab exam. What does that error mean, and how would you prevent it?

    Debugging

    What a strong answer covers

    Explains that a dictionary key was accessed that does not exist, then mentions checking with in, using get with a default or handling the exception, and finding why the key was missing. Avoid suppressing all exceptions with a bare except.

  8. What is the time complexity of the sorting algorithm you implemented, and what happens to it if the input is already sorted?

    Algorithms

    What a strong answer covers

    States the average and worst-case complexity correctly for the chosen algorithm, and explains the effect of sorted input, for example quicksort with a poor pivot degrading to quadratic time while insertion sort becomes linear. Avoid stating complexity without reasoning.

  9. Your web page form submits data, but the server receives nothing. How would you debug it using the browser?

    Web technology

    What a strong answer covers

    Opens developer tools, checks the network request, method, URL and payload, inspects form field names and the server log, and looks for JavaScript errors. Avoid guessing at backend changes without inspecting the request.

Reading is not rehearsing. Answer these out loud to an AI Engineering Viva CS/IT labs panel that follows up like the real one.

At a glance

The Engineering Viva CS/IT labs interview

How it is weighted

Viva marks are a component of the practical examination marks under each university's scheme, alongside the lab record and the program executed in the exam. The exact split varies by university and the viva often decides who gets full practical marks.

The panel focuses on

  • Explaining the program you just wrote line by line, including the one line you copied without understanding
  • Why behind the output: complexity, memory, what happens on an edge case or a wrong input
  • Concepts behind the lab: normalisation, scheduling, sockets, OOP pillars, train-test split, asked as examples not definitions
  • What-if changes: remove a semaphore, drop an index, change the input size, swap the algorithm
  • Reading an error, a traceback or a wrong output and saying what you would check first
  • Honesty about what you did not understand in the lab record

About the Engineering Viva interview

In an Indian engineering college, every lab course ends in a practical examination where the student performs one experiment or writes one program and then faces a viva voce from an internal examiner and, in the end-semester university exam, an external examiner appointed by the university.

Engineering Viva interview: selection process, tips and FAQs

Optional

Pick your subject

The expert on the panel probes these areas at the level of this post. You can also choose during setup.

Show 5 more subjects

How the mock works

4 rounds · 10 minutes

A ten-minute oral examination of the kind held at the end of a laboratory course or project: school board practicals, engineering lab and project vivas, pharmacy and nursing practicals, dissertation and thesis defences.

One external examiner, sometimes seated with the internal teacher, asks the candidate what they did, why it works, what they observed and what could go wrong, then looks at the record file or project and asks one question that tests whether the work is the candidate's own.

The examiner escalates when answers are correct, gives one hint when the candidate is stuck, and never teaches during the viva.

  1. Round 1

    Introduction

    · 1:00

    Settle the candidate and establish exactly which experiment, practical, project or thesis the viva will be about, so that the subject questions can be anchored to work the candidate actually did.

    Prof. Raghunath Kulkarni
    1–2 questionsup to 1 follow-up each
  2. Round 2

    Viva on concepts and experiments

    · 7:00

    Test whether the candidate understands the principle behind the experiment or project they did, can describe the procedure and observations accurately, knows the precautions and sources of error, and can reason about a change in conditions. Separate genuine understanding from a memorised record file.

    Prof. Raghunath Kulkarni
    4–6 questionsup to 2 follow-ups each
  3. Round 3

    Record file or project

    · 1:00

    Check that the record file, activity or project is the candidate's own work and that they understand it: why they chose it, what the data or result was, what went wrong and what they would improve.

    Prof. Raghunath Kulkarni
    1–1 questionsup to 1 follow-up each
  4. Round 4

    Closing

    · 1:00

    End the viva courteously and formally, as an external examiner does, without feedback, marks or any hint about the result.

    Prof. Raghunath Kulkarni
    1–1 questions

Scoring

How you’re scored

Rubric · weights add up to 100

  • Conceptual understanding40%

    States the principle, law or formula behind the experiment or project correctly and in their own words. Explains why the method works rather than only what the steps are. Handles a why or what-if question with reasoning. Does not confuse related concepts or recite a definition that does not answer the question.

  • Experimental procedure & observation30%

    Describes the actual procedure, apparatus or tools, readings or data and how they were processed. Knows the units, the expected result and the order of magnitude they obtained. Names sources of error and the precautions that address them. For a project, knows the data, method and limitations of their own work.

  • Clarity of explanation20%

    Answers the question actually asked in short, ordered sentences. Uses correct technical terms and units. Can explain the same idea more simply when asked. Does not ramble or bury the answer in unrelated recall.

  • Confidence & honesty10%

    Speaks steadily, holds a correct answer when gently challenged, corrects themselves when shown an error, and says I am not sure rather than guessing; recovers after a hint instead of freezing.

50

Pass mark

50 / 100

Practical / project viva voce with an external examiner

  • Every round is scored on the rubric
  • Only what you actually said counts
  • Communication is always measured
  • Pass mark, then a plan

Prep kit

Prepare beyond the Engineering Viva CS/IT labs mock

Who this is for

Students of Computer Science, IT, AI-ML, Data Science and allied branches, as well as BCA and MCA students, sitting the internal or end-semester practical examination of a programming or systems lab, where a program is written and executed and then a viva voce follows.

Students of Computer Science, IT, AI-ML, Data Science and allied branches, as well as BCA and MCA students, sitting the internal or end-semester practical examination of a programming or systems lab, where a program is written and executed and then a viva voce follows.

Keep exploring

More to practise