1.
Define the following JavaScript terms and provide an example for each:
a. Variable
b. Function
c. Array
[Link] the difference between for and while loops in programming. When would you
choose one over the other?
[Link] is DOM manipulation in JavaScript and why is it important for designers?
Mention two methods used to access DOM elements.
[Link] and explain any three types of operators used in Python with code examples.
[Link] are media queries in CSS, and how are they used to achieve responsive
design? Provide a basic example.
[Link] are the advantages of using jQuery for event handling and AJAX interactions
in front-end development?
7.A designer is building a simple weather dashboard that fetches real-time weather
data using a Web API and displays the temperature and condition on a webpage.
What JavaScript method can be used to fetch this data?
How would you use DOM manipulation to display the results?
10.A graphic designer wants to create a batch script that resizes and saves images
using Python.
Which Python library could they use?
What steps might the script follow to automate this task?
A client wants a website that works across desktop, tablet, and mobile screens.
Describe how you would structure the layout using HTML and CSS.
How would you ensure responsiveness using media queries?
Imagine a designer wants a form that changes color when a user types in a field and
displays a message when the form is submitted.
What JavaScript concepts would be needed?
How would event listeners be applied in this scenario?