{"id":1295,"date":"2021-05-08T17:30:44","date_gmt":"2021-05-08T17:30:44","guid":{"rendered":"https:\/\/codeinsightacademy.com\/blog\/?page_id=1295"},"modified":"2023-11-28T09:02:35","modified_gmt":"2023-11-28T09:02:35","slug":"basic-interview-questions","status":"publish","type":"page","link":"https:\/\/codeinsightacademy.com\/blog\/interview-questions\/basic-interview-questions\/","title":{"rendered":"Basic Interview Questions"},"content":{"rendered":"\n<p>HTML<\/p>\n\n\n\n<ol><li>What is HTML<\/li><li>Difference between absolute and relative path<\/li><li>difference between http and https<\/li><li>Difference between get and post method<\/li><li>how to add multiple submit button in form<\/li><li>how to open multiple pages using single hyperlink<\/li><li>What is the difference between colspan and rowspan<\/li><li>What is the difference between cellpadding and cellspacing<\/li><li>What are different attributes available for img tag<\/li><li>What is iframe <\/li><\/ol>\n\n\n\n<p>CSS<\/p>\n\n\n\n<ol><li>What is CSS<\/li><li>Type of CSS<\/li><li>Difference between padding and margin<\/li><li>how to give background color to body<\/li><li>how to remove underline from hyperlink<\/li><li>what is pseudo class<\/li><li>What is selector. How to declare class and id<\/li><li>How to horizontally center element using core css property<\/li><li>Difference between display: none  and hidden<\/li><li>What is z-index <\/li><\/ol>\n\n\n\n<p>JS<\/p>\n\n\n\n<ol><li>What is javascript<\/li><li>Difference between Java and Javascript<\/li><li>Difference between x, var y and let z<\/li><li>What is JSON<\/li><li>What is function prototype<\/li><li>What is promises<\/li><li>What is AJAX (fetch function)<\/li><li>What is the use of this keyword<\/li><li>What is use of defer or async attribute in script tag<\/li><li>Difference between Javascript and ECMAScript <\/li><\/ol>\n\n\n\n<p>OOPS<\/p>\n\n\n\n<ol><li>What are the major pillars of Object-Oriented Programming (OOP)?<\/li><li>What is Inheritance in OOP, and what are its types?<\/li><li>Which type of inheritance does Java not support?<\/li><li>What is the difference between method overloading and method overriding?<\/li><li>What is the difference between an abstract class and an interface?<\/li><li>What is polymorphism, and how does it work in OOP?<\/li><li>What is a constructor, and why is it used in OOP?<\/li><li>What is the purpose of the super keyword in OOP, and how is it used?<\/li><li>Design Patterns <\/li><li>Multi-threading<\/li><li>Dependency Injection<\/li><\/ol>\n\n\n\n<p>SQL<\/p>\n\n\n\n<ol><li>What is RDBMS <\/li><li>What is NoSQL<\/li><li>Difference between where and having clause<\/li><li>Difference between function and procedures<\/li><li>Difference between triggers and events<\/li><li>What is view<\/li><li>Types of Joins<\/li><li>Difference between Left join and Right join<\/li><li>What is view<\/li><li>What is indexing<\/li><li>Difference between InnoDB and MyISAM<\/li><li>What is ACID Properties<\/li><li>What is transaction<\/li><\/ol>\n\n\n\n<p>Php<\/p>\n\n\n\n<ol><li>What is Php<\/li><li>Difference between GET, POST and REQUEST<\/li><li>How session works | How to destroy session<\/li><li>How to print error logs<\/li><li>Difference between Session and Cookie<\/li><li>What is the purpose of the echo statement in PHP? difference between echo and print statement<\/li><li>Difference between include and require statements<\/li><li>What are global variables. <\/li><li>What is the purpose of the $_SESSION superglobal<\/li><li>How can you retrieve data from a form<\/li><\/ol>\n\n\n\n<p>Server<\/p>\n\n\n\n<ol><li>What is web server<\/li><li>What is server block in nginx<\/li><li>What is document root<\/li><li>How to check status of service (nginx or mysql)<\/li><li>Difference between apache and nginx<\/li><li>What is CRON<\/li><li>What is the use of sudo command<\/li><li>What is firewall<\/li><li>What is DNS Server What is the use of it<\/li><li>How to show running processes. Kill any existing process <\/li><\/ol>\n\n\n\n<p>General CS\/IT Questions<\/p>\n\n\n\n<ol><li>How Internet works<\/li><li>What is SQL Injection<\/li><li>WHAT is CSRF attack<\/li><li>What is MVC Design Pattern<\/li><li>What is REST API<\/li><li>What is DevOps<\/li><li>What is Agile<\/li><li>Difference between unit testing and integration testing<\/li><li>What is SDLC<\/li><li>Difference between Windows and Linux<\/li><\/ol>\n\n\n\n<p>GIT<\/p>\n\n\n\n<ol><li>What is git<\/li><li>How to take clone of any project in new folder<\/li><li>What is the procedure to push any file from local machine to git repository<\/li><li>What is branch in git<\/li><li>How to resolve conflict<\/li><li>What is the purpose of the git pull command<\/li><li>How do you create a new branch in Git<\/li><li>What is the purpose of the .gitignore file<\/li><li>How can you check the status of your Git repository<\/li><li>What is the difference between Git and GitHub<\/li><\/ol>\n\n\n\n<p>Agile<\/p>\n\n\n\n<ol><li>What is Agile Scrum Master<\/li><li>What is daily scrum<\/li><li>What is product backlog<\/li><li>What are the roles in scrum framework<\/li><li>What is the ideal time period of 1 sprint.<\/li><li>What is retrospective<\/li><li>What are different ceremonies happened in scrum<\/li><li>What is user stories<\/li><li>What is Story Point<\/li><li>What is daily scrum and how much time you should spend in daily scrum<\/li><\/ol>\n\n\n\n<p>Practical<\/p>\n\n\n\n<ol><li>WAP to find factorial of 5 using recursive function<\/li><li>Write SQL to find employees having 2nd highest salary<\/li><li>WAP to print the following pattern using for loop<br>5 4 3 2 1<br>4 3 2 1<br>3 2 1<br>2 1<br>1<\/li><li>WAP to print table of 5 using only one loop in following format<br>5 * 1 = 5     | 5 * 10 = 50<br>5 * 2 = 10   | 5 * 10 = 50<br>5 * 3 = 15   | 5 * 10 = 50<br>5 * 4 = 20   | 5 * 10 = 50<br>5 * 5 = 25   | 5 * 10 = 50<br>5 * 6 = 30   | 5 * 10 = 50<br>5 * 7 = 35   | 5 * 10 = 50<br>5 * 8 = 40   | 5 * 10 = 50<br>5 * 9 = 45   | 5 * 10 = 50<br>5 * 10 = 50 | 5 * 10 = 50<\/li><li>WAL to remove duplicate characters from string<\/li><li>WAL to sort array of numbers having length 10<\/li><li>WAL to find count of each characters from string<br>e.g. aaabbc<br>o\/p:-<br>a = 3<br>b = 2<br>c = 1<\/li><\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTML What is HTML Difference between absolute and relative path difference between http and https Difference between get and post method how to add multiple submit button in form how to open multiple pages using single hyperlink What is the difference between colspan and rowspan What is the difference between cellpadding and cellspacing What are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":385,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/1295"}],"collection":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/comments?post=1295"}],"version-history":[{"count":14,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/1295\/revisions"}],"predecessor-version":[{"id":2665,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/1295\/revisions\/2665"}],"up":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/pages\/385"}],"wp:attachment":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/media?parent=1295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}