InfyTQ Questions | InfyTQ Programming & Coding Questions -2019

infytq questions

In this article, we will be discussing some of the InfyTQ questions asked in InfyTQ sample test released officially by Infosys. These InfyTQ sample questions will give you a fair idea about the difficulty level of Infytq round-2 exam.

Prepare for Infosys Interview & Other Top IT Company’s Recruitment-Click Here  

You Can Also Read :

InfyTq-2020 Exam Latest Update 

Hackwithinfy Result Out

InfyTQ  Practice Test 2020 (10MCQ QUESTION) -Test Click Here

And For Any Question, Comment In Comment Box Below Answer will be provided as soon as possible.

InfyTQ Questions Pattern 2019

InfyTQ is a 3-hour exam consisting of 22 questions, 20 programming MCQs & 2 coding questions. There is no negative marking for any of the sections & students can always switch between sections during this 180 minutes.

InfyTQ Questions

Here are some of the Infytq sample questions asked in recent Infytq exams.

1) What will be the output of the code below?

class ClassA:

def _init_(self, val1) :

self.value = val1

def method_a(self) :

return 10+self.value

class ClassB:

def _init_(self, val2):

self. num=val2

def method_b(self, obj):

return obj.method_a()+self.num




a) 60

b) 50

c) 30

d) 40

2) Consider the relational schema along with the functional dependencies given below:

gaming (garnename, gametype, amount, playerno, playername, playertype, discount, duration)

playerno -> playername, playertype, discount
gamename -> gametype, duration, amount
playertype -> discount

How many tables will result when the relation is in 3NF?

a) 2

b) 4

c) 3

d) 1

3) Consider the Hashing methods given below:

i) h(key) = key%10

ii) h(key) = key%25

iii) h(key) = key%50

3) Which of the hashing methods would NOT lead to collision when the following values are to be stored in the hash table?

80, 20, 35, 45, 25, 90

a) Only

b) Both ii) and iii)

c) Both i) and iii)

d) All i), ii) and iii)

4) Number 14 needs to be searched using BINARY SEARCH in the following sorted list of numbers(IMPORTANT QUESTION):

1, 3, 7.9, 14, 19, 45

How many comparisons will be required to conclude that the number 14 is found at the 5th position?

Note: We have used integer division for finding the middle element and the index starts with 0 (zero)

a) 2

b) 3

c) 4

d) 1

5) Consider a Patient table with attributes patientid (primary key), patientname, city, dateofbirth, and phone. Except patientid no columns are unique. The table has three indexes as follows:

IDX1 – patientid

IDX2 – patientname, dateofbirth

IDX3 – gateofbirth, phone

6) Which of the following queries will result in INDEX UNIQUE SCAN?

a) WHERE city <> ‘Mumbai’ AND dateofbirth > ’30-Mar-1995′

b) WHERE patientid = ‘P1007′ AND dateofbirth ’30-Mar-1995’

c) WHERE patientname = ‘Sam’ AND dateofbirth = ’30-Mar-1995′

d) WHERE patientname LIKE ‘R%’

We will keep updating this page with more questions. Bookmark it & keep checking.

And For Any Question, Comment In Comment Box Below Answer will be provided as soon as possible.

InfyTQ  Practice Test 2020 (10MCQ QUESTION) -Test Click Here



[qsm quiz=5]

About the author

Rock Johnson

Rock Johnson writes SEO articles for businesses that want to see their Google search rankings surge. He contributes articles about SEO techniques regularly to Site-Reference His articles focus on balancing informative with SEO needs–but never at the expense of providing an entertaining read.

Add Comment

Click here to post a comment