• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions

Placement Papers with Solutions

Company

  • 3i-Infotech 345
  • Accenture 548
  • ADITI 81
  • Athenahealth 72
  • CADENCE 37
  • Capgemini 519
  • CMC 49
  • Cognizant 29
  • CSC 480
  • CTS 1340
  • Dell 49
  • Elitmus 44
  • GENPACT 516
  • Google 55
  • HCL 217
  • Hexaware 92
  • Huawei 81
  • IBM 1714
  • IGate 169
  • Infosys 2050
  • L&T 299
  • Microsoft 61
  • Miscellaneous 204
  • Oracle 74
  • Other 95
  • Patni 199
  • Sapient 44
  • Sasken 31
  • Self 38
  • Syntel 530
  • TCS 9109
  • Tech Mahindra 500
  • Wipro 1182

Exam

  • ACIO 119
  • AIEEE 334
  • AMCAT 2636
  • Assessment 108
  • Bank 22
  • CAT 988
  • CMAT 82
  • Cocubes 39
  • Elitmus 2952
  • Exam 39
  • Gate 846
  • GMAT 107
  • Gmate 29
  • GRE 469
  • IIT-JEE 471
  • ITC 28
  • Maths Olympiad 205
  • MBA 3481
  • MCA 32
  • Other 159
  • Others 25
  • R-SAT 111
  • Self 68

Government Jobs Exams

  • Bank Exam 478
  • CDS 57
  • CTET 21
  • IBPS 1258
  • IES EC 44
  • KVPY 364
  • NDA 481
  • NTSE 36
  • REVENUE OFFICE 53
  • RRB 1029
  • SSC 1294
  • UPSC 441

Interview

  • HR Interview 426
  • HR Round 41

Maths Puzzle

  • A website 299
  • Book 23779
  • Campus 250
  • CMAT 49
  • Exam 86152
  • General 399
  • Interview 141
  • M4maths 295
  • Maths 226
  • Orkut 27
  • Other 72
  • Others 1356
  • Reasoning 101
  • Self 3157

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 261
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70
Keep an EYE (0)Interview Experience (261)
Solved Question (6040) UnSolved Question (153944)
Pages: 15999FirstPrev12877128781287912880128811288212883128841288512886NextLast
Advertisements

(#M40032028) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
There is an array of size n initialized with 0. Akanksha has to write a code which inserts the value 3k at position 3k in

the array, where k=0,1…(till possible). Akanksha writes an efficient code to do so. What is the time complexity of her

code?

Option 1 : ?(n^2)
Option 2 : ?(n)
Option 3 : ?(log3(n))
Option 4 : ?(3n)

Asked In AMCAT (11 years ago)
Unsolved Read Solution (11)
Is this Puzzle helpful?   (4)   (3) Submit Your Solution Technical

(#M40032027) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
Ravi and Rupali are asked to write a program to sum the rows of a 2X2 matrices stored in the array A.
Ravi writes the following code (Code A):
for n = 0 to 1
sumRow1[n] = A[n][1] + A[n][2]
end

Rupali writes the following code (Code B):
sumRow1[0] = A[0][1] + A[0][2]
sumRow1[1] = A[1][1] + A[1][2]

Comment upon these codes (Assume no loop-unrolling done by compiler):

Option 1 : Code A will execute faster than Code B.
Option 2 : Code B will execute faster than Code A
Option 3 : Code A is logically incorrect.
Option 4 : Code B is logically incorrect.

Asked In AMCAT (11 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (16)   (7) Submit Your Solution Technical
Advertisements

(#M40032026) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
Tarang writes an efficient program to add two upper triangular 10X10 matrices (elements on diagonal retained). How

many total additions will his program make?

Option 1 : 100
Option 2 : 55
Option 3 : 25
Option 4 : 10

Asked In AMCAT (11 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (37)   (9) Submit Your Solution Technical

(#M40032025) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
Vrinda writes an efficient program to sum two square diagonal matrices (matrices with elements only on diagonal). The

size of each matrix is nXn. What is the time complexity of Vrinda's algorithm?

Option 1 : ?(n^2)
Option 2 : ?(n)
Option 3 : ?(n*log(n))
Option 4 : None of these

Asked In AMCAT (11 years ago)
Unsolved Read Solution (13)
Is this Puzzle helpful?   (6)   (3) Submit Your Solution Technical

(#M40032024) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
Pankaj and Mythili were both asked to write the code to evaluate the following expression:
a - b + c/(a-b) + (a-b)2
Pankaj writes the following code statements (Code A):
print (a-b) + c/(a-b) + (a-b)*(a-b)
Mythili writes the following code statements (Code B):
d = (a-b)
print d + c/d + d*d
If the time taken to load a value in a variable, for addition, multiplication or division between two operands is same,

which of the following is true?

Option 1 : Code A uses lesser memory and is slower than Code B
Option 2 : Code A uses lesser memory and is faster than Code B
Option 3 : Code A uses more memory and is faster than Code B
Option 4 : Code A uses more memory and is slower than Code B

Asked In AMCAT (11 years ago)
Unsolved Read Solution (11)
Is this Puzzle helpful?   (15)   (6) Submit Your Solution Technical

(#M40032023) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
While calculating time complexity of an algorithm, the designer concerns himself/herself primarily with the run time and

not the compile time. Why?

Option 1 : Run time is always more than compile time.
Option 2 : Compile time is always more than run time.
Option 3 : Compile time is a function of run time.
Option 4 : A program needs to be compiled once but can be run several times.

Asked In AMCAT (11 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (21)   (2) Submit Your Solution Database

(#M40032022) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
The memory space needed by an algorithm has a fixed part independent of the problem instance solved and a variable

part which changes according to the problem instance solved. In general, which of these two is of prime concern to an

algorithm designer?

Option 1 : Fixed part
Option 2 : Variable Part
Option 3 : Product of fixed part and variable part
Option 4 : None of these

Asked In AMCAT (11 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (0)   (3) Submit Your Solution Technical

(#M40032021) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
What is space complexity of a program?

Option 1 : Amount of hard-disk space required to store the program
Option 2 : Amount of hard-disk space required to compile the program
Option 3 : Amount of memory required by the program to run
Option 4 : Amount of memory required for the program to compile

Asked In AMCAT Aashu (11 years ago)
Unsolved Read Solution (9)
Is this Puzzle helpful?   (4)   (0) Submit Your Solution Technical

(#M40032020) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer:
A pseudo-code is used with the following meaning.
"pointer" is a data-type which contains memory address (or pointers)
Statement "a = *b" puts the value at the memory address referenced by b into a.
Statement "a = &b" puts the memory address of b into a.
Statement "*b = a" puts the value a at the memory address referenced by b.
What is the output of the following code statements? The compiler saves the first integer at the memory location 4062.

Integer is one byte long.

integer a
pointer b
a = 20
b = &a
print *b

Option 1 : 4062
Option 2 : 4063
Option 3 : 20
Option 4 : 10

Asked In AMCAT Aashu (11 years ago)
Unsolved Read Solution (10)
Is this Puzzle helpful?   (12)   (4) Submit Your Solution Program

(#M40032019) AMCAT QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

Que: Choose the correct answer
Rajiv wants to make a program which inputs two numbers: a and b (a>b) and computes the number of terms between a

and b (including a and b). What will be code statement to do this:

Option 1 : a - b
Option 2 : a - b + 1
Option 3 : a + b
Option 4 : a - b - 1


-----------------------------------------------------------
Que: Choose the correct answer
I have a problem to solve which takes as input a number n. The problem has a property that given the solution for (n-1),

I can easily solve the problem for n. Which programming technique will I use to solve such a problem?

Option 1 : Iteration
Option 2 : Decision-making
Option 3 : Object Oriented Programming
Option 4 : Recursion

Asked In AMCAT Aashu (11 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (11)   (5) Submit Your Solution Program
Keep an EYE (0)Interview Experience (261)
Solved Question (6040) UnSolved Question (153944)
Pages: 15999FirstPrev12877128781287912880128811288212883128841288512886NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality.

Albert Einstein

If I feel unhappy, I do mathematics to become happy. If I am happy, I do mathematics to keep happy.

Alfred Renyi

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com