AI Theory & General Interview
Curated 20+ questions covering Weak/Strong AI, Turing Test, A* search, state space search, NLP, expert systems, and AI ethics.
Difficulty Filters
Tools & Options
What is Artificial Intelligence, and what is the difference between Weak AI and Strong AI?
Artificial Intelligence is the simulation of human intelligence processes by computer systems, including learning, reasoning, and self-correction. Weak AI (Narrow AI) is designed and trained for a specific task (e.g. chess engines, voice assistants). Strong AI (Artificial General Intelligence / AGI) is a theoretical system that possesses cognitive abilities equal to or exceeding a human, capable of solving any general problem it encounters.
Explain the Turing Test.
Proposed by Alan Turing in 1950, the Turing Test is a test of a machine's ability to exhibit intelligent behavior indistinguishable from that of a human. A human evaluator engages in a natural language conversation with a human and a machine in separate rooms. If the evaluator cannot reliably tell the machine from the human, the machine passes the test.
What is a Heuristic function in AI search algorithms?
A Heuristic function $h(n)$ estimates the cost from the current node $n$ to the goal state. It guides search algorithms towards the goal more efficiently than blind searches (like Breadth-First or Depth-First Search) by pruning search branches that appear less promising.
Explain the A* Search algorithm.
Explain BFS vs DFS in state space search.
What is Natural Language Processing (NLP)?
What is the difference between Tokenization, Lemmatization, and Stemming?
What are expert systems in AI?
Explain the difference between Deterministic and Stochastic environments in AI.
What is an Expert System Inference Engine: Forward Chaining vs Backward Chaining?
What is Alpha-Beta Pruning?
What is the difference between Agent and Environment?
What is the Chinese Room Argument?
What are Genetic Algorithms?
What is the difference between parsing and tagging in NLP?
Explain the concept of Knowledge Representation.
What is standard search vs local search in AI?
Explain the Hill Climbing algorithm and its limitations.
What are AI Ethics and Safety concerns?
How does TF-IDF work in document information retrieval?
Technical Interview Mastery Blueprint
Proven methodologies and frameworks to succeed in technical and architecture rounds.
1. The Engineering STAR Technique
When responding to architectural or situational questions, structure your answer using Situation, Technical Constraint, Action, and Measurable Result. Rather than jumping straight to syntax, articulate the business problem, why certain patterns (e.g. caching, queuing, immutability) were selected over alternatives, and what latency or throughput improvements were achieved.
2. Defending Architectural Trade-Offs
Senior interviewers evaluate how you weigh trade-offs. Always explain why you chose an approach: e.g., memory overhead vs CPU cycle speed, consistency vs availability (CAP theorem), or normalized schemas vs denormalized fast reads. Stating the drawbacks of your own proposal demonstrates maturity and production experience.
3. Clean Code & Edge-Case Proactivity
In live-coding rounds, communicate your thinking aloud before typing. State edge cases explicitly: null or undefined inputs, extreme boundary values, concurrency races, and network timeouts. Writing modular, well-named functions with deterministic unit tests separates junior candidates from staff-level engineers.
4. Antipatterns to Avoid
Avoid reciting memorized definitions without practical context. Never dismiss non-functional requirements such as security (CSRF, injection, token rotation), observability (logging, metrics), and accessibility (ARIA, semantic standards). Always ask clarifying scope questions before writing complex implementations.
Explore Related Tools
Hand-picked utilities and calculators related to this tool.