⚡NPCI Interview Experience - 2022 ⚡
1) Introduce Yourself
2) Write a program to find second
highest in array.
3) Explain the code.
4) Time Complexity of written code
5) What is Github
6) Alternative of Github
7) Explain the project(mentioned in
resume)
8) Any Questions you want to ask.
Telegram - @Coding_human
@Coding_human
1) Introduce Yourself
2) Write a program to find second
highest in array.
3) Explain the code.
4) Time Complexity of written code
5) What is Github
6) Alternative of Github
7) Explain the project(mentioned in
resume)
8) Any Questions you want to ask.
Telegram - @Coding_human
@Coding_human
def replaceDigit(x, d1, d2):
result = 0
multiply = 1
while (x // 10 > 0):
# Take remainder of number
# starting from the unit
# place digit
remainder = x % 10
# check whether it is
# equal to the digit
# to be replaced.if yes
# then replace
if (remainder == d1):
result = (result + d2 *
multiply)
else: # else remain as such
result = (result + remainder *
multiply)
# Update and move forward
# from unit place to hundred @Coding_human
# place and so on.
multiply *= 10
x = int(x / 10) # update the value
# check whether it is equal to the digit
# to be replaced.if yes then replace
if (x == d1):
result = result + d2 * multiply
else: # else remain as such
result = result + x * multiply
return result
# Driver code
x = 645
d1 = 6
d2 = 5
print(replaceDigit(x, d1, d2))
Python
Replace single digit code
Telegram - @Coding_human
result = 0
multiply = 1
while (x // 10 > 0):
# Take remainder of number
# starting from the unit
# place digit
remainder = x % 10
# check whether it is
# equal to the digit
# to be replaced.if yes
# then replace
if (remainder == d1):
result = (result + d2 *
multiply)
else: # else remain as such
result = (result + remainder *
multiply)
# Update and move forward
# from unit place to hundred @Coding_human
# place and so on.
multiply *= 10
x = int(x / 10) # update the value
# check whether it is equal to the digit
# to be replaced.if yes then replace
if (x == d1):
result = result + d2 * multiply
else: # else remain as such
result = result + x * multiply
return result
# Driver code
x = 645
d1 = 6
d2 = 5
print(replaceDigit(x, d1, d2))
Python
Replace single digit code
Telegram - @Coding_human
WIPRO & VIRTUSA EXAM SOLUTION GROUP:
@Coding_human
https://t.me/virtusa_wipro_all_slots_code
✅ Share post in ur college Whatsapp grps.
@Coding_human
https://t.me/virtusa_wipro_all_slots_code
✅ Share post in ur college Whatsapp grps.
📌Tech Mahindra Interview Experience
1) Asked my I'd card
2) Self intro
3) mentioned basics of Java
So he asked basics
4) Data types
5) Inheritance
6) Polymorphism
7) Exception
8) Are u willing to relocate
9) Are u comfortable with any
shifts
10) Are u interested in learning new
language
Telegram - @Coding_human
1) Asked my I'd card
2) Self intro
3) mentioned basics of Java
So he asked basics
4) Data types
5) Inheritance
6) Polymorphism
7) Exception
8) Are u willing to relocate
9) Are u comfortable with any
shifts
10) Are u interested in learning new
language
Telegram - @Coding_human
DCA java answer's
1. BC
D
2. {0,2,6,8}
3. public void addCrossMappings (CorsRegistry registry)
4. Failed
5. Display all the computer parts in ascending orders...
6. Larger Number: 25
7. There will be two errors....
8. A
9. 02
03
04
@Coding_human
10. -32767
11. 01
02
12. 5
D
1
4
13. Only i and ii
14. IT
Technical
15. Error
16. 25 days
telegram:- @Coding_human
https://t.me/Coding_human
1. BC
D
2. {0,2,6,8}
3. public void addCrossMappings (CorsRegistry registry)
4. Failed
5. Display all the computer parts in ascending orders...
6. Larger Number: 25
7. There will be two errors....
8. A
9. 02
03
04
@Coding_human
10. -32767
11. 01
02
12. 5
D
1
4
13. Only i and ii
14. IT
Technical
15. Error
16. 25 days
telegram:- @Coding_human
https://t.me/Coding_human
n=int(input())
arr=[]
count=0
for x in range(n):
temp=list(map(int,input().split("/")))https://t.me/Coding_human
arr.append(temp)
if temp[1] in [1,3,5,7,8,10,12]:
count+=1
if count!=0:
print(count)
else:
for x in arr:
if x[2]%2==0:
count+=1
print(count)
DOB lucky draw code Python
Telegram - @Coding_human
https://t.me/Coding_human
arr=[]
count=0
for x in range(n):
temp=list(map(int,input().split("/")))https://t.me/Coding_human
arr.append(temp)
if temp[1] in [1,3,5,7,8,10,12]:
count+=1
if count!=0:
print(count)
else:
for x in arr:
if x[2]%2==0:
count+=1
print(count)
DOB lucky draw code Python
Telegram - @Coding_human
https://t.me/Coding_human
Amazon ,Flipkart loot deals (must check)
You will save your money definitely.
https://t.me/DMAD_Discussion
You will save your money definitely.
https://t.me/DMAD_Discussion
public class Main
{
public static void main(String[] args) {
int [] students = {4,9,5,3,2,10};
int counter;
for(int i=0; i<6; i++){
counter = 0;
for(int j=0; j<i; j++){
if (students[j] > students[i]){
counter += 1;
}
}
System.out.print(counter+" ");
}
}
}
University everywhere code in java
Telegram:-https://t.me/Coding_human
{
public static void main(String[] args) {
int [] students = {4,9,5,3,2,10};
int counter;
for(int i=0; i<6; i++){
counter = 0;
for(int j=0; j<i; j++){
if (students[j] > students[i]){
counter += 1;
}
}
System.out.print(counter+" ");
}
}
}
University everywhere code in java
Telegram:-https://t.me/Coding_human
Harold and his homework
Python 3
https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/Coding_human
Python 3
https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/Coding_human
def solve(input1):
res=""
for i in input1:
if(i.isupper()):
res+="_"+i.lower()
else:
res+=i
print(res)
Modify Variable Names
Python 3✅
Telegram:-https://t.me/Coding_human
res=""
for i in input1:
if(i.isupper()):
res+="_"+i.lower()
else:
res+=i
print(res)
Modify Variable Names
Python 3✅
Telegram:-https://t.me/Coding_human
def change(input1):
# WRITE FROM BELOW
s=input1
if '_' in s:
t = s.split('_')
res = t[0]
for i in range(1,len(t)):
res+=t[i][0].upper()+t[i][1:]
return res
else:
res = [s[0]]
for c in s[1:]:
if c in ('ABCDEFGHIJKLMNOPQRSTUVWXYZ'):
res.append('_')
res.append(c.lower())
else:
res.append(c)
return ''.join(res)
# NO NEED TO WRITE INPUT AND PRINT COMMANDS
# lANGUAGE PYTHON3
s=input()
print(change(s))
Modify Variable Code
TG : https://t.me/Coding_human
# WRITE FROM BELOW
s=input1
if '_' in s:
t = s.split('_')
res = t[0]
for i in range(1,len(t)):
res+=t[i][0].upper()+t[i][1:]
return res
else:
res = [s[0]]
for c in s[1:]:
if c in ('ABCDEFGHIJKLMNOPQRSTUVWXYZ'):
res.append('_')
res.append(c.lower())
else:
res.append(c)
return ''.join(res)
# NO NEED TO WRITE INPUT AND PRINT COMMANDS
# lANGUAGE PYTHON3
s=input()
print(change(s))
Modify Variable Code
TG : https://t.me/Coding_human
⚡ How Much SALARY Do You Expect?
✅ As a fresher, My 1st priority is to gain knowledge enhance my skills to be more productive for the company & also I need to become financially independent.
✅ So, I will accept what you offered as per the company norms which will fulfill my economical needs.
Telegram - https://t.me/Coding_human
✅ As a fresher, My 1st priority is to gain knowledge enhance my skills to be more productive for the company & also I need to become financially independent.
✅ So, I will accept what you offered as per the company norms which will fulfill my economical needs.
Telegram - https://t.me/Coding_human
1)240
2)78
3)
5- mother in law
7- 27 may Thursday cooking
9- only conclusion 2 3 and 4 follows
10-Both A and R are true and R is the correct explanation of A
Telegram - https://t.me/Coding_human
2)78
3)
5- mother in law
7- 27 may Thursday cooking
9- only conclusion 2 3 and 4 follows
10-Both A and R are true and R is the correct explanation of A
Telegram - https://t.me/Coding_human
Some codes are already in the channel/group, you can search the code by their names.
Please open Telegram to view this post
VIEW IN TELEGRAM
Platinum airways code
Telegram : https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/Coding_human
Telegram : https://t.me/Coding_human
https://t.me/Coding_human
https://t.me/Coding_human
⚡What are your strengths and weaknesses?
✅ My strength is I am self-motivated, I can adjust myself to any environment, I don't wait for the deadline, I finish my work before the deadline.
✅ My weakness is I just can't keep any work pending. I wanted to complete my work on time, otherwisw it Disturbs my routine also.
Telegram - https://t.me/Coding_human
✅ My strength is I am self-motivated, I can adjust myself to any environment, I don't wait for the deadline, I finish my work before the deadline.
✅ My weakness is I just can't keep any work pending. I wanted to complete my work on time, otherwisw it Disturbs my routine also.
Telegram - https://t.me/Coding_human
⚡What is the difference between confidence and over confidence?
I can do it because I am well prepared, this is confidence & I can do it easily and I don't need to prepare, this is overconfidence.
Telegram - https://t.me/Coding_human
I can do it because I am well prepared, this is confidence & I can do it easily and I don't need to prepare, this is overconfidence.
Telegram - https://t.me/Coding_human
def countPalin(str):
count = 0
# splitting each word as spaces as
# delimiter and storing it into a list
listOfWords = str.split(" ")
# Iterating every element from list
# and checking if it is a palindrome.
for elements in listOfWords:
if (checkPalin(elements)):
# if the word is a palindrome
# increment the count.
count += 1
print (count)
# Driver code
countPalin("Madam Arora teaches malayalam")
countPalin("Nitin speaks malayalam")
Python
Palindrome count
Telegram - https://t.me/Coding_human
count = 0
# splitting each word as spaces as
# delimiter and storing it into a list
listOfWords = str.split(" ")
# Iterating every element from list
# and checking if it is a palindrome.
for elements in listOfWords:
if (checkPalin(elements)):
# if the word is a palindrome
# increment the count.
count += 1
print (count)
# Driver code
countPalin("Madam Arora teaches malayalam")
countPalin("Nitin speaks malayalam")
Python
Palindrome count
Telegram - https://t.me/Coding_human