Basic Interview Questions

HTML

  1. What is HTML
  2. Difference between absolute and relative path
  3. difference between http and https
  4. Difference between get and post method
  5. how to add multiple submit button in form
  6. how to open multiple pages using single hyperlink

CSS

  1. What is CSS
  2. Type of CSS
  3. Difference between padding and margin
  4. how to give background color to bdy
  5. how to remove underline from hyperlink
  6. what is pseudo class

JS

  1. What is javascript
  2. Difference between Java and Javascript
  3. Difference between x, var y and let z
  4. What is JSON
  5. What is function prototype
  6. What is AJAX

OOPS

  1. Major and minor pillars of OOPS
  2. What is inheritance and types of inheritance
  3. Which inheritance does not support in Java | Php
  4. Difference between method overloading and overriding
  5. Difference between abstract class and interface

SQL

  1. What is RDBMS
  2. What is NoSQL
  3. Difference between function and procedures
  4. Difference between triggers and events
  5. What is view
  6. Types of Joins
  7. Difference between Left join and Right join
  8. What is view
  9. What is indexing
  10. Difference between InnoDB and MyISAM

Php

  1. What is Php
  2. Difference between GET, POST and REQUEST
  3. How session works | How to destroy session
  4. How to print error logs
  5. Difference between Session and Cookie

General CS/IT Questions

  1. How Internet works
  2. What is SQL Injection
  3. WHAT is CSRF attack
  4. What is MVC Design Pattern
  5. What is REST API
  6. What is DevOps
  7. What is Agile
  8. Difference between unit testing and integration testing
  9. What is SDLC
  10. Difference between Windows and Linux

Practical

  1. WAP to find factorial of 5 using recursive function
  2. Write SQL to find employees having 2nd highest salary
  3. WAP to print the following pattern using for loop
    5 4 3 2 1
    4 3 2 1
    3 2 1
    2 1
    1
  4. WAP to print table of 5 using only one loop in following format
    5 * 1 = 5 | 5 * 10 = 50
    5 * 2 = 10 | 5 * 10 = 50
    5 * 3 = 15 | 5 * 10 = 50
    5 * 4 = 20 | 5 * 10 = 50
    5 * 5 = 25 | 5 * 10 = 50
    5 * 6 = 30 | 5 * 10 = 50
    5 * 7 = 35 | 5 * 10 = 50
    5 * 8 = 40 | 5 * 10 = 50
    5 * 9 = 45 | 5 * 10 = 50
    5 * 10 = 50 | 5 * 10 = 50
  5. WAL to remove duplicate characters from string
  6. WAL to sort array of numbers having length 10
  7. WAL to find count of each characters from string
    e.g. aaabbc
    o/p:-
    a = 3
    b = 2
    c = 1