HomeInterview QuestionsFunctions Interview Questions

Functions Interview Questions

10 real Functions questions asked in live technical interviews — each with a model answer. Updated weekly.

🎤 Auto-captured by Assisting AI during live interviews

These Functions interview questions were captured from real interviews by candidates using Assisting AI. Each links to a full model answer. For real-time help during your own interview, get Assisting AI from ₹500/day.

What are *args and **kwargs in Python?🟢 Easy · Conceptual · Asked 1×What are *args and **kwargs in Python, and how do they differ from a deep copy?🟢 Easy · Conceptual · Asked 1×Can you explain the difference between COALESCE and NULL?🟡 Medium · Conceptual · Asked 1×Can you name any function that can be used in SpiceBug?🟢 Easy · Conceptual · Asked 1×One last question: how do you pass complex strings to functions in native Python?🟡 Medium · Conceptual · Asked 1×What is the output of the following JavaScript code? ```js function outer() { let count = 0; return function inner() { count++; console.log(count); }; } const fn = outer(); fn(); fn(); fn(); ```🟢 Easy · Coding · Asked 1×What is the output of the following Python code and why?🟡 Medium · Conceptual · Asked 1×Write a simple Python calculator function that can add, subtract, multiply, and divide two numbers. Provide the complete code and show how to call it.🟢 Easy · Coding · Asked 1×What will be the output of the following Python code? ```python def add_to_inventory(item, inventory=[]): inventory.append(item) return inventory print(add_to_inventory('apple')) print(add_to_inventory('banana')) ``` Also explain why this behavior occurs.🟡 Medium · Conceptual · Asked 1×What is the issue with the following code? ```python def add_to_inventory(item, inventory=[]): inventory.append(item) return inventory print(add_to_inventory("apple")) print(add_to_inventory("banana")) ```🟡 Medium · Conceptual · Asked 1×

🎤 Get Functions questions answered in real-time

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers on a discreet on-screen overlay.

Get Assisting AI — Starts at ₹500

Browse Other Topics