Skip to main content

Posts

Python Interview Question and Answer

Python Interview Question and Answer HR Round Interview Question: 1) Can you walk us through your background and how it led you to this role? 2) What motivates you to join our company? 3) How do you handle a situation where you disagree with your manager? 4) Describe a time you went above and beyond in your role. 5). How do you manage stress and tight deadlines? 6) What are your strengths and areas for improvement? 7) How do you stay updated with the latest technologies and industry trends? Technical Interview Question: 1. How does Python handle memory management and garbage collection? Answer : Python uses reference counting to track object references and a cyclic garbage collector to handle circular references. When an object’s reference count drops to zero, it’s deallocated. The gc module detects cycles using a mark-and-sweep algorithm. Example : import gc class Node : def __init__ (self): self. next = None node1, node2 = Node(), Node() node1. next , node2. next = no...

Top 100 Salesforce Interview Question

Top 100 Salesforce Interview Question  ๐Ÿง  General & Conceptual Questions 1. What is Salesforce? 2. What is CRM, and how does Salesforce implement it? 3. Differentiate between Salesforce.com and Force.com. 4. What are the different types of clouds in Salesforce? 5. Explain the Salesforce architecture. 6. What are the different editions of Salesforce? 7. What is the AppExchange? 8. What is a sandbox? What are its types? 9. What is metadata in Salesforce? 10. What are Governor Limits? ๐Ÿ” Security & Access Control 11. What is a Profile? 12. What is a Role? 13. Differentiate between Profiles and Roles. 14. What are Permission Sets? 15. What is a Permission Set Group? 16. What is Field-Level Security? 17. What is Organization-Wide Default (OWD)? 18. What are Sharing Rules? 19. What is Manual Sharing? 20. What is the Role Hierarchy? ๐Ÿงฑ Data Modeling 21. What are Standard and Custom Objects? 22. What is a Record Type? 23. What is a Page Layout? 24. What is a Compact Layout? 25. Wha...

Code First Approach in .NET Core MVC

Code First Approach in ASP.NET Core MVC? Code First is complete dynamic approach of entity framework where we create database configuration and table dynamically using dB Context class.  1)  Create Web Project using ASP.NET Core MVC Project Template 2)  Add Library from Nuget Package EntityFrameworkCore.Design EntityFrameworkCore.SQLServer EntityFrameworkCore.Tools 3) Create Local Database using Server Explorer 4)  Create Model Class Like this using System.ComponentModel.DataAnnotations; namespace WebApplication3.Models {     public class Employee     {         [Key]         public int Id { get; set; }         public string Name { get; set; }             public string Email { get; set; }         public string Mobileno { get; set; }     } } 5)  Create DbContext class using Microsoft.EntityFrameworkCore; namespace WebAppl...

Unsupervised Machine Learning

  ๐Ÿ” 1. What is Unsupervised Machine Learning? Unsupervised learning is a type of machine learning where the model is trained on data without labeled outputs . The goal is to find hidden patterns, structure, or relationships in the data. ๐Ÿง  2. Types of Unsupervised Learning Type Description Example Use Case Clustering Grouping similar data points into clusters Customer segmentation Dimensionality Reduction Reducing the number of features while preserving information Image compression, PCA Association Discovering rules that describe large portions of your data Market basket analysis Anomaly Detection Identifying rare items or events that differ from the norm Fraud detection ๐Ÿงช 3. Top Unsupervised Learning Algorithms K-Means Clustering Hierarchical Clustering DBSCAN Principal Component Analysis (PCA) Autoencoders Apriori (Association Rule Mining) ๐Ÿงฐ 4. Real-Time Dataset Example: Customer Segmentation (Mall Customers) Dataset : Mall Customers Dataset (Kagg...