• 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
  • /
  • Pratian technologies
  • /
  • Programming
  • /
  • Program

pratian technologies Programming - Program Interview Questions with Answers

pratian technologies Select Another Category Program Select Another Topic

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

pratian technologies Question Topics

    Numerical Ability (4)

  • Age Problem (3)
  • Averages (1)
  • Programming (8)

  • Arrays (1)
  • Definition (1)
  • Output (1)
  • Program (4)
  • Puzzles (1)
Keep an EYE (0)
Solved Question (0) UnSolved Question (4)
Pages: 11
Advertisements

(#M40151811) PRATIAN TECHNOLOGIES QUESTION test Keep an EYE Keep an eye puzzle Keep an eye puzzle

write a program to generate the following series.Accept the limit upto which the series needs to be generated.
1, -2, 6, -15, 31, -56,....N

Asked In Pratian technologies pandramish sai krishna (10 years ago)
Unsolved Read Solution (35)
Is this Puzzle helpful?   (123)   (26) Submit Your Solution Program

(#M40151809) PRATIAN TECHNOLOGIES QUESTION test Keep an EYE Keep an eye puzzle Keep an eye puzzle

state the output of the following code:
intnum=80;
inti=1;
intmul=1;
while(i<=num){
System.out.println(i+" ");
i+=4*mul++;
if(mul%3==0)
++mul;
}

Asked In Pratian technologies pandramish sai krishna (10 years ago)
Unsolved Read Solution (11)
Is this Puzzle helpful?   (92)   (20) Submit Your Solution Program
Advertisements

(#M40151808) PRATIAN TECHNOLOGIES QUESTION test Keep an EYE Keep an eye puzzle Keep an eye puzzle

state the output of the following code:

longnum=11010;
long d=0;
long rem=0;
long p=1;
while(num!=0){
rem=num%10;
d=d+rem*p;
p=p*2;
num/=10;
}
System.out.println(d);


Asked In Pratian technologies pandramish sai krishna (10 years ago)
Unsolved Read Solution (18)
Is this Puzzle helpful?   (42)   (12) Submit Your Solution Program

(#M40151807) PRATIAN TECHNOLOGIES QUESTION test Keep an EYE Keep an eye puzzle Keep an eye puzzle

state the output of the following code:

intnum=8;
inti=1;
int s=-1;
while(i<=num)
System.out.println((i++*s=-s)) +" ");

Asked In Pratian technologies pandramish sai krishna (10 years ago)
Unsolved Read Solution (20)
Is this Puzzle helpful?   (35)   (17) Submit Your Solution Program
Keep an EYE (0)
Solved Question (0) UnSolved Question (4)
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

PURE MATHEMATICS IS, IN ITS WAY, THE POETRY OF LOGICAL IDEAS.

Lukman Hussaini

You can only find truth with logic if you have already found truth without it.

Gilbert Keith Chesterton

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