0% found this document useful (0 votes)
6 views22 pages

Comprehensive Interview Questions Guide

Python

Uploaded by

forher2511
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views22 pages

Comprehensive Interview Questions Guide

Python

Uploaded by

forher2511
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Interview questions

[Link] introduction

[Link] type

[Link]

4. Difference between set and list

5. Remove duplicates from 2 lists

6. Class and object based coding questions

7. Difference between class and object

8. Remove duplicate from list 2 lists are given

9. What is class ?

10. Difference between set and list

11. Remove duplicates from 2 lists

12. Class and object based coding questions

13. Difference between class and object

14. Difference between parameters and arguments

Rounds

1: aptitude test on paper (tick mark questions)

2 : technical round 1 program (write on paper)

3: technical round 2 (5 programs execute in laptop)

4: final round

Difference between set and tuple

Explain About project

What is web scraping

Remove duplicate values in list in 1 line of code

In Last technical round : dictionary base code most ask


DATE 30/7/2025
DATE 30/7/2025

Mcq - same question as it is in document file

Than

About project indeep _( aim, data set , size of it purpose, conclusion technology and techniques,)

What is

data type,list , tupal diffrance in list and tuple, remove duplicate from the list , what is class pillars of
oops (with explanation of all ) attributes, method, parameters and arguments, haw to create a
dictionary, different between list and tuple, in built function of set , function of list , haw to count
frequency of value in dictionary, different between list and arry , what if function type of functions,
difrrance between pop and remove

,what pop do

Some bulid in function in python

pro-1

Input "PyNative"

output= "yaivePNT

pro-2

string="P@#yn26at^&i5v"

Chars = 8

Digits = 3

Symbol = 4

pro-3

('V': 10, 'VI': 10, 'VII': 40, 'VIII': 20, 'IX': 70, 'X': 80, 'XI': 40, 'XII': 20}

Output - (10: 2, 40: 2, 20: 2, 70: 1, 80: 1)


pro-4

Input: a = [1, 2, 3, 4, 5]

b=[5, 6, 7, 8, 9]

Output: True

Input: a=[1, 2, 3, 4, 5]

b=[6, 7, 8, 9]

Output: False.

Pro-5

input: list1 = [2, 7, 5, 64, 14]

output: Even = 3, odd = 2

All the questions are same which is mention in above file .

DATE 01/08/2025

Diff between my sql and sql

Insert query in sql

Data type in python

Diff between List and tupple

Set function

What is use for del in python


Write a program S1=PYiToneH (input)

Output=PYTHione

How many data type in python

What is datatype

Difference between list and set

What is class

How many datatype in python

('V': 10, 'VI': 10, 'VII': 40, 'VIII': 20, 'IX': 70, 'X': 80, 'XI': 40, 'XII': 20}

Output - (10: 2, 40: 2, 20: 2, 70: 1, 80: 1)

Technical round

1. Create a counter timer

2.{'Red': 12,'Black':13,'green':None} remove the None key value and create new dictionary

3. ('V': 10, 'VI': 10, 'VII': 40, 'VIII': 20, 'IX': 70, 'X': 80, 'XI': 40, 'XII': 20}

Output - (10: 2, 40: 2, 20: 2, 70: 1, 80: 1)


D = ['red','black','yellow']

Output = ['c','red','c','black','c','yellow']

DATE 19/08/2025

Data types

Difference MySQL or sql

Project explanation

Class or object

Difference tuple or list

List or dictionary

About the company

Insert quary

Self introduction

Project based questions

Difference between set and list

What is sql

Difference between sql and MySQL

What is self

What is parameter

What is argument s

What is class or object

What is dml and its operations

What is database and type of database

DATE 10/09/025

Self introduction
Resume based questions

Difference between SQL &my sql

Difference between list & set

Sql statements like ddl,dcl,TCL,dml

Function in python

Data types

a=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,23]

output=[2,3,5,7,17,23]

D1={'a':10,'b':10,'c':20}

Output= 10:2,20:2

self introduction

ask question from your resume

explain project

data types

set and list diff

sql insert query update query

sql and MySQL diff

alter and update query

class and object

lambda function

map and filter

functions

inbuilt function of set

keyword arguments

a="hello hii kaise ho hello hii sare"

output:
"hello":2

"hii":2

a=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,23]

output=[2,3,5,7,17,23]

DATE 20/9/2025

Self introduction

About project

Detail project explanation

Why you joined q spider

Technical questions

Diff between git and github

Diff between sql and mysql

Diff between list and set

What are datatypes

Exception handling

Coding question :-

S1= PyTHONNative

O/p=yativePTHONN

s1=[1,2,3,4,5,6,7,8,11,17]

O/p= [2,3,5,7,11,17]

s1="this is this a good test"

O/p={this:2,is:1,a:1,good:1,test:1}
diff sql mysql

about project
list setdiff

args para diff

inbuilt fun on set

what is datatype-all types

what is functions types of fun

pillars of oops explain

diff try catch block

what is exception handling

lambda

class object diff

a=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,23]

output=[2,3,5,7,17,23]

l1=[“cat”,”dog”,”lion”]

l2= ['tac', 'god', 'noil']

D1 = {‘k1’:1, ‘k2’:2,’k3’:3,’K4’:2}

o/p = {1:1,2:2,3:1}

Difference between sql and MySQL

About XML file

Data scrapping is plus if you know

Invalid data type in python

Write a python program to count the number of vowels and consonants in a string Input

string: "education"

Output- Vowels: 5

Consonants: 4

Write a python program to print only those elements from the set which are prime numbers

Input list: {10,11,12,13 ,14,15}

Output list: {11,13}

L1 =[1,3,2,4,5,6,7,8,9,13,12,11]

Out=[2,5,7,13]

A={'banana'}
Out={'b':1,'a':3,'n':2}

QUESTION REGARDING APTITUDE

All the MCQs regarding tuple list dict. Str. And some coding based questions were and also the
argument statement,input output statement.

Difference between sql and MySQL

About XML file

Data scrapping is plus if you know

Invalid data type in python

Write a python program to count the number of vowels and consonants in a string Input

string: "education"

Output- Vowels: 5

Consonants: 4

Write a python program to print only those elements from the set which are prime numbers

Input list: {10,11,12,13 ,14,15}

Output list: {11,13}

L1 =[1,3,2,4,5,6,7,8,9,13,12,11]

Out=[2,5,7,13]

A={'banana'}

Out={'b':1,'a':3,'n':2}

diff sql mysql

about project

list setdiff

args para diff

inbuilt fun on set

what is datatype-all types

what is functions types of fun

pillars of oops explain

diff try catch block


what is exception handling

lambda

class object diff

a=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,23]

output=[2,3,5,7,17,23]

l1=[“cat”,”dog”,”lion”]

l2= ['tac', 'god', 'noil']

D1 = {‘k1’:1, ‘k2’:2,’k3’:3,’K4’:2}

o/p = {1:1,2:2,3:1}

DATE 25/9/2025

SQL:-

1 WHAT IS DDL

2 WHAT IS DML

3. DIFF. BETWEEN SQL AND MYSQL

4. TYPES OF JOINS

PYTHON:-

1. Prog. Separate uppercase letters and lowercase letters of given string and concate them

2. Prog. Remove duplicates and specific characters of a list and give the required o/p

3. What is Args and kwargs ?

DATE – 19/11/2025

Difference between for loop vs while loop ,types of functions, arguments vs parameters, global
variable,local variable

Input=[1,2,3,5,6,4,2,3,5,2,6,2,3]

Output=[6,5,4,3,2,1]

Input="PyTHOni"
Output= "PTHOyni"

DATE 20/08/2025

You might also like