🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Design a URL Shortener: all 10 questions

Quiz: Design a URL Shortener · Question 7 of 10

What does this print? (code)

What does this print?

print(62 ** 2, 62 ** 3)
  1. A.124 186
  2. B.3844 186
  3. C.3600 216000
  4. D.3844 238328
Answer & explanation

Correct answer: 3844 238328

62² = 3,844 and 62³ = 238,328 possible codes of length 2 and 3.

Can you get the rest right without peeking?

Take the timed Quiz: Design a URL Shortener quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →