Computer Science, asked by Sanjnanagar4057, 1 year ago

There is a list of 5 words [pkb, wonderful, lol, hanuman, skill] you have to find out the first occurrence of a vowel from each word to make a new list of characters. After creating a new list of characters you have to reverse the list to get the actual output. If a vowel is not found in the given word then put x in the list. Output list =[i, a,o, o,x]

Answers

Answered by brinllllly
4

People who are going to join Infosys Mysore Campus for their training have asked me always about the pattern of questions asked in FA1 and FA2 exams at Infosys Mysore. So, today I am going to reveal the question pattern of Infosys Mysore training. This will help you guys to clear the FA1 and FA2 in the first attempt.

As you know when you join Infosys for the post of System Engineer you have to give two exams FA1 and FA2 in the generic. After clearing these two examinations you will go to the stream training.

Now the story is bit different

When I had joined Infosys, I had gone through FA1 and FA2 and then for stream training. But now Infosys takes a fast track exam after induction. If you clear that exam you will directly go for the stream training and your training time will be reduced to 2.5 to 3 months only.

You will also get 25000 cash for clearing the fast track exam. It is like a two month training salary.

Now the question is what if you fail to crack the fast track exam? In this case you will go for the regular training and it will take up to four half month normally. It might take more time than this if you fail in any training exam.

Now let’s talk about the FA1 and FA2 exam patterns and sample of questions asked.

FA1 syllabus and question patternat Infosys

At Infosys Mysore campus while your generic training mainly they teach Python concepts which include –

List, Tuples and Dictionary concepts

ER diagram

OOPS concepts in Python

Data structure mainly Stack and Queue concepts in Python

There will be two examinations including Hands-On and objective. Hands-On will test your programming skills. You have to write 5 programs. The test will be online.

Sample Questions based on Infosys Mysore training exam

Now, I am sharing you some sample questions. It will help you to clear the FA1 in first attempt. The sample questions I am sharing is not exact the same but yes it is based on the same pattern.

Question based on List concepts

There is a list of 5 words [“pkb”, “wonderful”, “lol”, “Hanuman”, “skill”] You have to find out the first occurrence of a vowel from each word to make a new list of characters.

After creating a new list of characters you have to reverse the list to get the actual output. If a vowel is not found in the given word then put x in the list.

Output list =[‘i”, “a”,”o”, “o”,”x”]

Question based on Dictionary concepts

A dictionary of item and price is given below.

dict1 = { “chicken”: 200, “mutton”: 400, “Egg”: 70, “pulse”: 110, “poha”: 20}

You have to update the price of chicken to 250 and then make a new dictionary where the key will be only of three characters. I.e trim the key to only three character.

Output_dict – { “chi”: 250, “mut”: 400, “Egg”: 70, “pul”: 110, “poh”: 20}

Question based on data structure concepts

You have a stack on numbers 2,15,7,5,25 (front to rear). You have to reverse the stack i.e elements from front to rear will be 25,5,7,15,2 and after that get an output list as odd numbers at the start followed by even numbers.

Output list will look like this [25,7,2,5,15]

Question based on OOPs concepts

In oops they will check for abstract, inheritance and polymorphism concepts mostly. It can also include the use of list, dictionary and data structures (only stack and queue).

Answered by surakantideepika
7

Answer:

words=['pkb','wonderful','lol','hanuman','skill']

v=['a','e','i','o','u']

k=[]

for word in words:

   for i in word:

       if(i in v):

           k.append(i)

           break

       elif(word[0]!=word[-1]):

           j=word[-1]

           if(i==j):

               k.append('x')

               

#print(k)

print(k[::-1])

Explanation:

Similar questions