Houzeo
Cognizant Interview Questions and Answers
Q1. what is difference between window and document ?
Window refers to the browser window or tab, while document refers to the webpage content within that window.
Window is the global object representing the browser window or tab.
Document is a property of the window object, representing the webpage content within that window.
Window can have multiple document objects, each representing a different webpage open in tabs.
Window object provides methods and properties for interacting with the browser window, while document object provi...read more
Q2. what is semantic and meta tags in webpage?
Semantic and meta tags in a webpage help search engines understand the content and structure of the page.
Semantic tags provide meaning to the content, such as <header>, <footer>, <article>, <section>.
Meta tags provide metadata about the webpage, such as <meta charset='UTF-8'>, <meta name='description' content='This is a webpage description'>.
Q3. create 4 boxes with different bg colors and and align them into order (3,4,1,2)
Create 4 boxes with different bg colors and align them in order (3,4,1,2).
Create 4 div elements in HTML
Apply different background colors to each div
Use CSS to align the divs in the specified order (3,4,1,2)
Q4. difference between == and === operators
The == operator checks for equality after type conversion, while the === operator checks for equality without type conversion.
The == operator performs type coercion before comparing two values, while the === operator does not.
Using == can lead to unexpected results due to type coercion, while using === ensures strict equality.
Example: '1' == 1 will return true, but '1' === 1 will return false.
Q5. What is difference between Ui and UX
Q6. Do you know PHP?
Yes, I am proficient in PHP programming language.
Proficient in PHP programming language
Experience in developing custom Wordpress themes and plugins
Familiar with PHP frameworks like Laravel
Q7. What are keywords
Keywords are specific words or phrases that describe the main topics of a web page or article.
Keywords help search engines understand the content of a web page and rank it accordingly.
They are used in SEO to improve a website's visibility in search engine results.
Examples of keywords include 'web content writer', 'SEO tips', 'digital marketing'.
Q8. What is UI /Ux
Interview Process at Cognizant
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month