Developed a dynamic backend module that automatically transforms standard two-sided flashcards in...Developed a dynamic backend module that automatically transforms standard two-sided flashcards in...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Developed a dynamic backend module that automatically transforms standard two-sided flashcards into interactive, 4-option multiple-choice quizzes. Key logic and features: Dynamic question fipping: Implemented randomized logic to swap questions and answers (front/back of cards) on the fly, ensuring a unique test experience every time. Smart distractor generation: Wrote algorithms to randomly fetch and filter incorrect answers, guaranteeing 4 unique options per question without duplications. Data serialization: Seamlessly processed QuerySets and serialized complex Python dictionaries into optimized JSON format (DjangoJSONEncoder) for easy frontend rendering. Tech Stack: Python, Django, JSON.
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started