InternDoor

Wipro interview prep

6 practice questions on the topics candidates reported from Wipro interviews, with answers. The questions are ours; each one links to the interview report that names its topic.

Practise them as a timed round15 roles open at Wipro

Java 1

  1. JavaEasy

    Does Java support multiple inheritance?

    1. Yes, a class can extend several classes
    2. No, and a class can implement only one interface
    3. Not of classes: a class extends one class, but it can implement several interfaces
    4. Only abstract classes can extend several classes
    Show the answer

    C. Not of classes: a class extends one class, but it can implement several interfaces

    Java avoids the diamond problem for state by allowing a single superclass. Interfaces give multiple inheritance of type; if two default methods clash, the class must override the method.

    This topic is named in a candidate’s interview report: Elite NTH interview, 2022, on GeeksforGeeks.

Python 1

  1. PythonEasy

    What does this print?

    print(type(5).__name__, isinstance(5, object), (5).bit_length())
    1. int True 3
    2. int False 3
    3. number True 5
    4. int True 5
    Show the answer

    A. int True 3

    Even 5 is an object of class int with its own methods: bit_length() is 3 because 5 is 101 in binary. Everything in Python, including functions and classes, is an object, which is why it is called object-oriented.

    This topic is named in a candidate’s interview report: Elite business discussion, 2025, on Reddit.

OOP 1

  1. OOPEasy

    In Java, who can use a protected member that could not use a private one?

    1. Any class anywhere
    2. Nobody; protected and private behave the same
    3. Only static methods of the class
    4. Other classes in the same package, and subclasses even in other packages
    Show the answer

    D. Other classes in the same package, and subclasses even in other packages

    private allows only the declaring class. Package-private (no modifier) adds the same package, protected adds subclasses elsewhere too, and public allows everyone.

    This topic is named in a candidate’s interview report: Elite NLTH project engineer interview, 2021, on GeeksforGeeks.

DBMS and SQL 3

  1. DBMS and SQLMedium

    How does TRUNCATE TABLE differ from DELETE FROM a table with no WHERE?

    1. They are identical in every database
    2. TRUNCATE drops the table definition too
    3. DELETE cannot remove every row
    4. TRUNCATE removes every row at once without logging each one or firing row triggers, and usually cannot take a WHERE
    Show the answer

    D. TRUNCATE removes every row at once without logging each one or firing row triggers, and usually cannot take a WHERE

    DELETE removes rows one by one, can filter with WHERE and fires row triggers. TRUNCATE deallocates the data in bulk, which is much faster on big tables, and the table itself remains. Whether it can be rolled back depends on the database.

    This topic is named in a candidate’s interview report: Elite NLTH project engineer interview, 2021, on GeeksforGeeks.

  2. DBMS and SQLEasy

    Which of these is a DML command rather than a DDL command?

    1. CREATE
    2. ALTER
    3. DROP
    4. UPDATE
    Show the answer

    D. UPDATE

    DML (data manipulation) changes the rows: INSERT, UPDATE, DELETE and, by most definitions, SELECT. DDL (data definition) changes the structure: CREATE, ALTER, DROP and TRUNCATE.

    This topic is named in a candidate’s interview report: Elite NTH interview, 2022, on GeeksforGeeks.

  3. DBMS and SQLEasy

    Without a join, how do you get the rows of two tables with the same columns, such as current_staff and former_staff, in one result?

    1. SELECT name FROM current_staff UNION SELECT name FROM former_staff; (UNION ALL keeps duplicates)
    2. SELECT name FROM current_staff, former_staff;
    3. SELECT name FROM current_staff AND former_staff;
    4. It cannot be done without a join
    Show the answer

    A. SELECT name FROM current_staff UNION SELECT name FROM former_staff; (UNION ALL keeps duplicates)

    UNION stacks the rows of two queries with matching columns and removes duplicates; UNION ALL is faster because it does not. Listing both tables with a comma is a cross join, every pairing of rows.

    This topic is named in a candidate’s interview report: Elite business discussion, 2025, on Reddit.

Prep for other employers

All employers
See who is hiring after Wipro

Engineering internships and entry-level jobs in India, newest first.