Add office photos
Employer?
Claim Account for FREE

Luminar Technolab

3.9
based on 59 Reviews
Filter interviews by

Curious Brand Sourcing Interview Questions and Answers

Updated 7 Jul 2024

Q1. Create a django crud application. Create two models employee and category.Category model should be used to create a new category and employee model to perform crud operations. When we choose on category_name it...

read more
Ans.

Create a Django CRUD application with models for employee and category, allowing users to view employee details based on selected category.

  • Create models for employee and category in Django.

  • Implement CRUD operations for employee model.

  • Use category model to create new categories.

  • Display employee details based on selected category.

Add your answer

Q2. Why did you choose python?

Ans.

I chose Python for its simplicity, readability, versatility, and vast community support.

  • Python's syntax is clean and easy to read, making it beginner-friendly.

  • Python has a wide range of libraries and frameworks for various applications like web development, data analysis, and machine learning.

  • Python is versatile and can be used for scripting, automation, web development, scientific computing, and more.

  • Python has a large and active community, providing ample resources and supp...read more

Add your answer

Q3. Use of makemigrations and migrate

Ans.

makemigrations is used to create new migration files based on the changes made to models, while migrate is used to apply those migrations to the database.

  • makemigrations is used to generate migration files based on the changes made to models in Django

  • migrate is used to apply those generated migrations to the database

  • makemigrations creates a migration file in the migrations directory of the app, while migrate applies those migrations to the database schema

  • Example: python manage...read more

Add your answer

Q4. Architecture of django

Ans.

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design.

  • Django follows the Model-View-Template (MVT) architectural pattern.

  • It includes an Object-Relational Mapping (ORM) system for interacting with databases.

  • Django provides a built-in admin interface for managing site content.

  • It uses URL routing to map URLs to views, which handle user requests.

  • Django supports reusable apps and encourages the use of third-party packages for add...read more

Add your answer
Discover Curious Brand Sourcing interview dos and don'ts from real experiences

Q5. Data types of Python

Ans.

Python has various data types including int, float, str, list, tuple, dict, set, bool.

  • int: whole numbers, e.g. 5

  • float: decimal numbers, e.g. 3.14

  • str: text, e.g. 'hello'

  • list: ordered collection, e.g. [1, 2, 3]

  • tuple: ordered, immutable collection, e.g. (1, 2, 3)

  • dict: key-value pairs, e.g. {'name': 'John'}

  • set: unordered collection of unique elements, e.g. {1, 2, 3}

  • bool: True or False values

Add your answer

Q6. signals in python

Ans.

Signals in Python are used for inter-process communication and handling asynchronous events.

  • Signals are used to notify a process that a specific event has occurred, such as a user pressing Ctrl+C to send a SIGINT signal.

  • Python provides a signal module that allows you to set signal handlers for specific signals.

  • Signal handlers are functions that are called when a signal is received, allowing you to perform custom actions in response to the signal.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Curious Brand Sourcing

based on 2 interviews
Interview experience
3.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter