5) Write a program that takes a 3 digit number n and finds
out whether
the number 2^n + 1 is prime, or if it is not prime find out
its
factors.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More General Aptitude Interview Questions

aptitude test ,general knowledge ,copmputer knowledge,

3 Answers   State Bank Of India SBI,


Two pencils costs 8 cents, then 5 pencils cost how much

0 Answers   Accenture,


A ship started from port and moving with 'I' miles/hour and other ship started From L and moving with 'H' miles/hour . At the place where these two ships will meet?

2 Answers   Accenture, TCS,


2x-y=4 then 6x-3y=?

26 Answers   ABC, Cap Gemini, Ebix, Infosys, Polaris, ProKarma, TVS,


E=I*I*R what is the effect of E when I becomes I/2

5 Answers   Wipro,






FIND the next number in the series 11,112,1124,11248,--

0 Answers   DSQ Software,


There are 8 balls that look identical. One of them weighs less than the others. Given a weighing scale, how will you find this ball.

21 Answers   Google, Infosys, Mind Tree, Sapient, Vatika, Wipro,


Mohan started running from point A along with a circle of 1400 meter radius with the speed of 12 Km/hr. Ram also started running in the opposite direction from the same point with the speed of 15 km/hr. Both started at 9:00 AM. At what time will they meet first time? 9:15 AM 9:25 AM 10:00 AM 9:20 AM None of the Above

5 Answers  


In a survey, 20% of a town has a car, and 10% have a bike. 1/3rd of the car owners also own a bike. What proportion of the town does not own either a car or a bike?

3 Answers   CSC,


The owner of a hobby store needed to calculate the percentage of customers who purchase wood glue. Upon completing his survey, he noticed that 60% of the people that entered his store purchased an item. Of those customers, 15 percent purchased wood glue. What percent of the people that entered the store purchased wood glue? a) 8% b) 7% c) 9% d) 12% e) 15%

3 Answers   Amazon,


Can you tender a one rupee note in such a manner that there shall be total 50 coins but none of them would be 2 paise coins.?

0 Answers   iNautix, Wipro,


Concentrations of three wines A, B and C are 10, 20 and 30 percent respectively. They are mixed in the ratio 2 : 3 : x resulting in a 23% concentration solution. Find x.

0 Answers   Accenture,


Categories