Codegnan
Perfect Properties Interview Questions and Answers
Q1. Difference between user defined and built in function
User defined functions are created by the user, while built-in functions are provided by the programming language.
User defined functions are created by the programmer to perform specific tasks.
Built-in functions are pre-defined in the programming language and can be directly used.
User defined functions can be customized and tailored to specific needs.
Examples of user defined functions include custom sorting algorithms or data processing functions.
Examples of built-in function...read more
Q2. Difference between lambda and built in function
Lambda is an anonymous function while built-in functions are predefined functions in programming languages.
Lambda functions are defined using the lambda keyword in Python.
Lambda functions can have any number of arguments but only one expression.
Built-in functions are predefined functions in programming languages like Python.
Built-in functions are usually optimized for performance and commonly used tasks.
Example: lambda x: x*2 vs. built-in function len()
Example: lambda x, y: x...read more
Q3. What is your current cgpa
My current CGPA is 3.75 out of 4.00.
My current CGPA is 3.75
It is on a scale of 4.00
I have consistently maintained a high CGPA throughout my academic career
Q4. Difference between list and tuple
List is mutable, tuple is immutable in Python.
List can be modified, tuple cannot be modified
List uses square brackets [], tuple uses parentheses ()
List is used for collections of items that may change, tuple is used for fixed collections
Q5. List the loop control statements
Loop control statements are used to control the flow of loops in programming.
Three loop control statements are: break, continue, and return
break statement is used to exit a loop prematurely
continue statement is used to skip the current iteration and move to the next one
return statement is used to exit a function and return a value
Q6. Define dictionary
A dictionary is a collection of words or terms along with their definitions, often organized alphabetically.
Contains words/terms and their definitions
Organized alphabetically
Used for reference or learning purposes
Top Intern Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month