• 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

Frequently Asked Interview Questions and Answers

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: 11
Advertisements

(#M40038458) EXAM QUESTION lcm and hcf Keep an EYE Keep an eye puzzle Keep an eye puzzle

lcm of two no is 630 and their hcf is 9.if sum of no is 153 then ratio of two no is
options
a)70
b)9
c)0.7
d)10/7
e)c or d

Asked In Exam shiv pujan (11 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (11)   (7) Submit Your Solution

(#M40038316) TCS CODEVITA QUESTION Programming Keep an EYE Keep an eye puzzle Keep an eye puzzle

Raj is a newbie to the programming and while learning the programming language he came to know the following rules:


· Each program must start with '{' and end with '}'.

· Each program must contain only one main function. Main function must start with '<' and end with '>'.

· A program may or may not contain user defined function(s). There is no limitation on the number of user defined functions in the program. User defined function must start with '(' and end with ')'.

· Loops are allowed only inside the functions (this function can be either main function or user defined function(s)). Every loop must start with '{' and end with '}'.

· User defined function(s) are not allowed to be defined inside main function or other user defined function(s).

· Nested loops are allowed.

· Instructions can be anywhere inside the program.

· Number of instructions inside any user defined function must not be more than 100.



If any of the above conditions is not satisfied, then the program will generate compilation errors. Today Raj has written a few programs, but he is not sure about the correctness of the programs. Your task is to help him to find out whether his program will compile without any errors or not.




Input Format:

First line starts with T, number of test cases. Each test case will contain a single line L, where L is a program written by Raj.



Output Format:

Print "No Compilation Errors" if there are no compilation errors, else print "Compilation Errors".



Constraints:


1<=T<=100


L is a text and can be composed of any of the characters {, }, (, ), <, >and P, where P will represents the instruction.


L, comprised of characters mentioned above should be single spaced delimited.


Number of characters in the text, |L| < = 10000




Sample Input and Output

SNo. Input Output
1
3
{ < > ( P ) }
{ < { } > ( { } ) )
{ ( { } ) }


No Compilation Errors
Compilation Errors
Compilation Errors


Asked In TCS codevita shiv pujan (11 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (50)   (27) Submit Your Solution
Advertisements

(#M40038445) CAMPUS QUESTION aligaton and mixture Keep an EYE Keep an eye puzzle Keep an eye puzzle

'p' liters of water was poured into a tank and it was still e% empty.How much oil must be poured into the tank in order to fill it to the brim . find the capacity of tank.

Asked In Campus shiv pujan (11 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (3)   (2) Submit Your Solution

(#M40038314) TCS CODEVITA 13 AUGU QUESTION TCS codevita programming task Keep an EYE Keep an eye puzzle Keep an eye puzzle

this can be asked in any language
Q)In the Byteland country a string "S" is said to super ascii string if and only if count of each character in the string is equal to its ascii value.

In the Byteland country ascii code of 'a' is 1, 'b' is 2 ...'z' is 26.

Your task is to find out whether the given string is a super ascii string or not.


Input Format:

First line contains number of test cases T, followed by T lines, each containing a string "S".



Output Format:

For each test case print "Yes" if the String "S" is super ascii, else print "No"



Constraints:


1<=T<=100


1<=|S|<=400, S will contains only lower case alphabets ('a'-'z').




Sample Input and Output

SNo. Input Output
1
2
bba
scca


Yes
No





Explanation:

In case 1, viz. String "bba" -
The count of character 'b' is 2. Ascii value of 'b' is also 2.
The count of character 'a' is 1. Ascii value of 'a' is also 1.
Hence string "bba" is super ascii.

Asked In TCS Codevita 13 august 2014 shiv pujan (11 years ago)
Unsolved Read Solution (12)
Is this Puzzle helpful?   (39)   (12) Submit Your Solution

(#M40038447) ASP.NET QUESTION program writting Keep an EYE Keep an eye puzzle Keep an eye puzzle

swap to no without using dummy variable or arithmetic operations

Asked In ASP.NET shiv pujan (11 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (5)   (1) Submit Your Solution

(#M40038189) TCS QUESTION cube and cuboids Keep an EYE Keep an eye puzzle Keep an eye puzzle

A hollow cube of size 5cm is taken having thickness of 1 cm. It is made up of small cubes of size 1 cm . if 1 face of outer surface of cube are painted then find total how many faces of cube remain unpainted.

Asked In TCS shiv pujan (11 years ago)
Unsolved Read Solution (12)
Is this Puzzle helpful?   (1)   (6) Submit Your Solution Area and Volume

(#M40038457) CAMPUS QUESTION remainder Keep an EYE Keep an eye puzzle Keep an eye puzzle

find remainder
(1!+2!+3!+........+99!)/720
please explain your method clearly

Asked In Campus shiv pujan (11 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (3)   (1) Submit Your Solution
Keep an EYE (0)Interview Experience (261)
Solved Question (6040) UnSolved Question (153944)
Pages: 11
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

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

Maths Quotes

Mathematics is not a hurdle...It is a tool to achieve your goals .

Unknown

A mathematician is a blind man in a dark room looking for a black cat which isn't there

Charles R. Darwin

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