Spread the love

Before attending an interview and wondering what questions and discussions you will go through, it is better to prepare and have some ideas about all the types of questions, which would be asked so that you can prepare the answers for them.

Here you’ll get the most popular programming questions of these days and as per my experience, a good interviewer hardly plan to ask any particular question during your interview and the questions starts from the basic concept.

Also you’ll get some coding questions as well where you have to deduce the resulting value or statement. The coding questions can’t be predicted and will only dependent on your programming practice. Let’s get started with all the latest (2020-21) interview questions-

man and woman near table
Photo by fauxels on Pexels.com

Introduction Based Questions

  1. Tell me about yourself.
  2. Why you have opted software engineering?
  3. Do you know the name of our company? Can you spell it.
  4. Who is the CEO of the company?
  5. For which post you have applied for?
  6. Why you have choosed this post?
  7. What do you think about the working of this post?
  8. Have you appeared in the interview before?
  9. What are the qualities of a good software engineer?
  10. Tell me something about your college project.
  11. Can you tell me the difference between Computer Engineer and IT Engineer.
  12. If you’ll crack this interview and got the job, what extra efforts you will put from your side?
  13. Have you earned any sort of certification to improve your learning and implementation process?

Basic Technical Questions

  1. Can you tell me some basic difference between C, C++ and JAVA.
  2. Which programing language you have prepared for today’s interview? (If many technical skills/languages are mentioned in your resume)
woman filling job application form in office with boss
Photo by Sora Shimazaki on Pexels.com

Questions for Technical and Practical round:


  1. What do you know about Java?
  2. Define object and class.
  3. What kind of variables a class can consist of?
  4. Tell me something about Local, Instance and Class Variable.
  5. Difference between StringBuffer and StringBuilder class.
  6. Explain Runtime Exceptions. Which are the two subclasses under Exception class?
  7. When throws and throw keyword is used?
  8. Define Inheritance. And tell when super keyword is used?
  9. What is Abstract class?
  10. When Abstract methods are used? Give some features of Interface.
  11. What are the two ways in which Thread can be created?
  12. Explain the usage of this() with constructors?
  13. What is function overloading and function overriding?
  14. What are the ways in which a thread can enter the waiting state?
  15. Differentiate between yielding and sleeping.
  16. What is Serialization and deserialization?
  17. What is the difference between an Interface and an Abstract class?
  18. Why do we need wrapper classes?
  19. What is dot operator? And what is the difference between the >> and >>> operators?
  20. Explain main thread under Thread class execution?
  21. What method is called by Applet class tp load an image?
  22. What will be the default values of all the elements of an array defined as an instance variable?
  23. How do you decide when to use ArrayList and LinkedList?
  24. What is runtime polymorphism or dynamic method dispatch?
  25. Is it necessary that each try block must be followed by a catch block?
  26. What is the difference between error and an exception?

C Language

  1. What is C language? Who designed C programming language?
  2. What are the features of the  C language?
  3. What do mean by preprocessor as well as protocol?
  4. Define token and pointer.
  5. What is the use of a static variable in C?
  6. What is the use of the function in C?
  7. What is an auto keyword in C?
  8. What is the use of printf() and scanf() functions?
  9. How do you construct an increment statement or decrement statement in C?
  10. Distinguish between malloc() and calloc() memory allocation.
  11. Explain the syntax for the loop. What is an infinite loop?
  12. Explain about ‘stdin’. Can we compile a proram without main() function?
  13. Define a structure and what is typecasting?
  14. Explain the purpose of the function sprint().
  15. Define array. What is the meaning of base address of the array?
  16. What is the difference between actual and formal parameters?
  17. Explain modular programming. Also what is a structure and nested structure?
  18. What is constant and recursion?
  19. What are command line arguments? Tell the use of comma operator(,).
  20. What is the difference between the local and global variable in C?
  21. What is a pointer? What is the usage of the pointer in C?
  22. Tell me the maximum length of an identifier?
  23. What is an infinite loop?
  24. Describe union in C.
  25. Write a program to swap two numbers without using the third variable.
  26. Write a program to print Fibonacci series with or without using recursion.
  27. Write a program to check prime number in C.
  28. Write a program to print factorial of given number using recursion.
  29. Write a program to check Armstrong number in C.
  30. Write a program to reverse a given number.


  1. What are the key feature of Python?
  2. Is Python case-sensitive? What type of language is Python?
  3. What does an object() do?
  4. Does Python have OOPs concept? Explain.
  5. Differentiate between lists and tuples.
  6. How is memory managed in Python?
  7. What are the local and global variables in Python?
  8. How will you capitalize the first letter of string?
  9. How will you convert a string to all lowercase?
  10. How to comment multiple lines in python?
  11. What are docstrings in Python?
  12. What is the purpose of is, not and in operators?
  13. What is the usage of help() and dir() function in Python?
  14. How can the ternary operators be used in Python?
  15. What are the built-in types of Python?
  16. How to add and remove values to a Python array? Does Python have OOPs concept? Explain.
  17. What is the difference between deep and shallow copy?
  18. What are python libraries? Name few of them.
  19. How are classes created in Python?
  20. Write a program on Python to produce Star triangle.
  21. Write a program to execute the Bubble sort algorithm in Python.
  22. Write a program to produce Fibonacci series in Python.
  23. Write a program to check if a sequence is a Palindrome in Python.
  24. Write a sorting algorithm for numerical dataset in Python.
  25. Write a program to check if a number is prime in Python.

Web Designing and Web Developer


  1. Why do you want to be a web designer or web developer?
  2. What is HTML? Or  what are the most commonly used languages and platforms for Web design?
  3. What is Responsive Website?
  4. Difference between HTML and HTML5.
  5. Difference between visibility hidden and display none.
  6. Define CSS and its type.
  7. What is the use of comments and how do you insert comments into HTML code?
  8. What is a pseudo-class?
  9. Name some of the new media components that are incorporated into HTML5.
  10. How are tags and elements differ from each other?
  11. Define CSS selectors? Can you name some
  12. HTML is different from XHTML. How?
  13. What is DOM and XSS?
  14. What so you know about HTTP/3?
  15. What will be done if an image or a hyperlink is not displaying correctly?
  16. What are the different HTTP request types supported in Restful Web Services? Can you explain the purpose of each?
  17. Do you about an ETag and its working?
  18. Give basic difference within span and div tag in HTML5?
  19. Have you gone through our website? Please mention what you didn’t like about the site?


  1. Define JavaScript, what is arguments object in JavaScript?
  2. How can you get the reference of a caller function inside a function?
  3. What is the purpose of ‘this’ operator?
  4. Tell the scope of a variable in JS.
  5. If name are same then which type of variable among global and local, takes precedence over other?
  6. Define callback and closure.
  7. What is Namespacing and CORS in JS?
  8. How can you reduce page loading time?
  9. What is the difference between Canvas and SVG?
  10. What are the different types of pop-up boxes available in JS? Also explain them.
  11. What is the scope in JS? Name the different types of scopes.
  12. What is the different between “==” and “===” operators?
  13. How can you detect the operating system on a client machine in JS?
  14. Which one do you use the most, CSS Animations or JS Animations?
  15. Have you used Git for pushing live changes on the website?
  16. Which web development tools do you use?
  17. As a web developer, how do you optimize your site’s loading time?
  18. What is Type Coercions in JS?
  19. Tell me what is NPM and Webpack?
  20. What is the difference between ES5 and ES6?


  1. Define PHP. What are its uses?
  2. Is PHP a case-sensitive scripting language? How is a PHP script executed?
  3. Is typecasting supported in PHP?
  4. Tell the basic difference between static and dynamic website.
  5. How can a text be printed using PHP?
  6. What is the meaning of PEAR in PHP? And tell the use of constructors and destructors in PHP.
  7. What are the types of variables present in PHP?
  8. Tell some of the main characteristics of a PHP variable.
  9. What is NULL in PHP?
  10. What is the use of final class and final method in PHP?
  11. How the constants are defined in PHP? Also what is the use of the constant() function?
  12. Name some predefined constants in PHP.
  13. How are two objects compared in PHP?
  14. Difference between PHP4 and PHP5.
  15. Name 5 popular frameworks in PHP.
  16. How does JavaScript interact with PHP? Also does PHP interact with HTML?
  17. Give the name of data types present in PHP.
  18. Explain CMS. What are the top CMS used in PHP?
  19. What are the different types of comments in PHP?
  20. How is PHP differ from ASP.NET?
  21. What are session and cookies in PHP?
  22. How can you open a file in PHP? What are the different types of PHP errors?
  23. Differentiate between GET and POST methods in PHP.
  24.  What is the meaning of type hinting in PHP?
  25. Differentiate between an indexed array and an associative array.


  1. What is SQL?
  2. What is the difference between SQL and MySQL?
  3. How is DBMS differ from RDBMS?
  4. What is a Database?
  5. What are tables and Fields?
  6. Define all the 3: primary, unique and foreign key.
  7. What is a join? What are the types of join and explain each/
  8. Define normalization and de-normalization.
  9. What are all the different types if indexs?
  10. What is a relationship and what are they?
  11. Differentiate between DELETE, DROP and TRUNCATE commands?
  12. What are local and global variables and their differences?
  13. What is a constraint?
  14. What are aggregate and scalar functions?
  15. What is Union, Minus and Interact commands?
  16. What is Data warehouse?
  17. Define collation. What are the different types of collation sensitivity?
  18. How to fetch common and alternate records from two tabes?
  19. What is the command used to fetch first 5 characters of the string?
  20. Which operator is used in query for pattern matching?
  21. How to select unique records from a table?
  22. Give some advantages and disadvantages of Stored Procedure?
businessman man people woman
Photo by Tima Miroshnichenko on Pexels.com


Hopefully our CSE Interview Questions guide wass helpful. We will be updating the guide regularly to keep you updated. If our content helps you reach your goal, let us know in the comments below.