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...

In depth Tutorial for Classification | type of algorithm of Classification

  Classification Tutorial: Linear and Non-Linear Models with Heart Disease Dataset Introduction Classification is a machine learning task where we assign a category (class) to an input based on its features. For example, predicting whether a patient has heart disease (yes/no) based on medical data. Classification algorithms are divided into: Linear Models : Assume classes can be separated by a straight line (or hyperplane in higher dimensions). Non-Linear Models : Capture complex, curved boundaries between classes. For Beginners : Think of classification like sorting fruits into apples and oranges. Linear models draw a straight line to separate them, while non-linear models draw wiggly lines to handle trickier cases where apples and oranges are mixed in complex patterns. For Professionals : Classification involves learning a function ( f(X) \to y ), where ( X ) is the feature matrix and ( y ) is the class label (e.g., 0 or 1). Linear models assume ( f ) is a linear combinat...

Flutter Firebase Integration Step by Step

  Complete Tutorial: Integrating Firebase with Flutter This tutorial provides a step-by-step guide to setting up Firebase in a Flutter application, including configuration and implementation of Firebase Authentication, Firestore, and Firebase Cloud Messaging (FCM). Prerequisites Flutter SDK : Ensure Flutter is installed and set up. Run flutter doctor to verify. Firebase Account : Create an account at Firebase Console. IDE : Use VS Code, Android Studio, or IntelliJ IDEA with Flutter and Dart plugins. Basic Flutter Knowledge : Familiarity with Flutter widgets and Dart programming. Step 1: Create a Flutter Project Open your terminal or command prompt. Run the following command to create a new Flutter project: flutter create firebase_flutter_app Navigate to the project directory: cd firebase_flutter_app Step 2: Create a Firebase Project Go to the Firebase Console. Click Add project , enter a project name (e.g., FirebaseFlutterApp ), and follow the prompts to cre...