Add office photos
Employer?
Claim Account for FREE

Ideamagix

4.1
based on 19 Reviews
Filter interviews by

WNS Interview Questions and Answers

Updated 3 Nov 2024

Q1. State the Heuristic principles. 'who' is Heuristic?

Ans.

Heuristic principles are a set of general rules or guidelines for designing user-friendly interfaces. 'Heuristic' refers to a method of problem-solving that uses shortcuts and rules of thumb.

  • Heuristic principles help designers create intuitive and user-friendly interfaces

  • They are based on common patterns and behaviors of users

  • Examples include visibility of system status, match between system and the real world, and user control and freedom

Add your answer

Q2. Why did you chose to be a UI/UX Designer?

Ans.

I chose to be a UI/UX Designer because I am passionate about creating user-friendly and visually appealing digital experiences.

  • Passion for creating user-friendly designs

  • Interest in improving user experiences

  • Enjoyment in combining creativity and problem-solving

  • Desire to make technology more accessible and intuitive

  • Inspiration from successful UI/UX designs like Apple products

Add your answer

Q3. What comes first-UI or UX?

Ans.

UX comes before UI as it focuses on user needs and behaviors before designing the interface.

  • UX involves research, user personas, user journeys, and wireframing.

  • UI focuses on visual design elements like colors, typography, and layout.

  • Good UX leads to effective UI that meets user needs and expectations.

  • Example: Conducting user research and creating wireframes before designing the visual interface.

Add your answer

Q4. How to you connect HTML and CSS files together?

Ans.

HTML and CSS files are connected by linking the CSS file to the HTML file using the tag in the section of the HTML file.

  • Use the tag in the section of the HTML file to link the CSS file.

  • Specify the path to the CSS file in the href attribute of the tag.

  • Make sure the CSS file is saved with a .css extension.

  • For example:

Add your answer
Discover WNS interview dos and don'ts from real experiences

Q5. What is hoisting in JS?

Ans.

Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope during the compilation phase.

  • Variables and functions are hoisted to the top of their scope.

  • Function declarations are hoisted before variable declarations.

  • Example: console.log(myVar); var myVar = 10; // Output: undefined

Add your answer

Q6. What is closure?

Ans.

Closure is a function that has access to its own scope, as well as the scope in which it was defined.

  • Closure allows a function to access variables from its outer scope even after the outer function has finished executing.

  • It is created whenever a function is defined within another function.

  • Closure is commonly used in event handlers, callbacks, and in functional programming.

Add your answer

Q7. What are some HTML Tags?

Ans.

HTML tags are used to structure content on a webpage.