Technical interview questions and answers are crucial when preparing for a CSS Interview because companies expect candidates to understand selectors, box model, layouts, responsive design, animations, and modern styling techniques. CSS is one of the most important skills for frontend development, and interviews often include both theoretical and practical questions. Companies such as TCS, Wipro, Infosys, Cognizant, and Accenture frequently ask CSS questions to evaluate a candidate’s ability to structure and style web pages professionally. This guide includes the most commonly asked CSS interview questions with easy explanations, helping freshers, students, and job seekers build a strong foundation. Preparing these questions will boost your confidence for frontend developer roles, UI/UX interviews, and campus placements.
Web designers should strengthen their frontend expertise by mastering HTML markup and JavaScript interactivity for responsive design
Showing 3 of 103 questions
101. What are different types of two phase lockings (2pl)?
1. Basic
2. Conservative
3. Strict
4. Rigorous
this is the basic technique of 2pl described above.
Conservative 2pl requires a transaction to lock all the items it accesses before the transaction begins its execution, by pre-declaring Its read-set and write-set.
Strict 2pl guarantees that a transaction doesnt release any of its exclusive locks until after it commits or aborts.
Rigorous guarantees that a transaction doesnt release any of its locks (including shared locks) until after it
102. What is a deadlock?
Dead lock occurs when each transaction T in a set of two or more transactions is waiting for some item that is locked by some other transaction T in the set. Hence each transaction is in a waiting queue, waiting for one of the other transactions to release the lock on them.
103. What are triggers?
Triggers are the PL/SQL blocks definining an action the database should take when some database related event occurs. Triggers may be used to supplement declarative referential integrity, to enforce complex business rules, or to audit changes to data.