Frames in AI — AI Technical Interview Questions & Answers

Frames in AI

Frames in AI

  • A frame is a template for a concept: slots + fillers. Restaurant frame: cuisine, price, location, open-hours. You fill slots from text or sensors. Old AI used frames a lot before big nets. Still a clean way to explain structured knowledge.
  • Example: Student frame — name, roll, marks. Missing slot = unknown, not zero. Don’t confuse frames with video “frames”.
  • Output: idea / do / check for Frames in AI. Fill those three in the viva.

Technical Interview Tip: One frame with three slots.

Code Examples for Frames in AI

Example

# Frames in AI
print("idea :", "Frames in AI")
print("do   : one tiny example on paper")
print("check: one failure case")

Output: idea / do / check for Frames in AI. Fill those three in the viva.

How to Explain Frames in AI to an Interviewer

Explain Frames as if you are teaching a junior — definition, then one example.

Slots + fillers for a concept. Not a video frame.

What does the example print, and what does that prove?

idea / do / check for Frames in AI

What mistake do freshers make with Frames?

structured knowledge.