Skip to content
క
kagitha
/
quiz
/
building-ai-apps
Subscribe
Index
⌘K
AI NOTEBOOK · QUIZ 02 · BEGINNER
Building AI apps (not just models)
QUESTION 01 / 04
When you train a model with PyTorch, what does most of the actual number crunching?
A
Python itself
B
C++ and CUDA code running on the GPU
C
The Jupyter notebook
D
The operating system
SCORE SO FAR · 0 / 0
Share this quiz ↗
When you train a model with PyTorch, what does most of the actual number crunching?
— C++ and CUDA code running on the GPU. Python is the remote control. It tells compiled C++ and CUDA code what to do, and that code runs the maths on the GPU.
In the support bot example, how many of the five jobs are the AI part?
— One. Only "call the model" is AI. Fetching the order, checking the answer, keeping it safe and plugging into existing systems are ordinary backend work.
A hosted model like ChatGPT, Claude or Gemini is reached through an API. Which languages can call it?
— Any language that can send an HTTPS request with JSON. The model doesn't care who calls it. Java's HttpClient, JavaScript's fetch, Go and C# all send the same request.
Your team's backend is in Java and you need to add an AI support bot. What is the sensible default?
— Build the bot in Java with Spring AI or LangChain4j. Building an AI app is mostly backend work, so use the language your backend already speaks. Python matters when you train or fine-tune models.
kagitha
Close
✕
Search everything — articles, videos, chapters, agents, books
01
AI
02
Java
03
System Design
04
Series
05
Manga
06
The Lab
07
Videos
08
Quizzes
09
Books
10
Resume