When Naina is trying to find information about Kesar from NIC database using her tech skills by hacking into the system, she is actually shown writing a Java program to print the star patterns which is usually used as a beginner's exercise for newbies in the programming world.