6 views

Original Title: IGATE Placement Papers 4

Uploaded by Tribhuwan Pant

- C Tutorial
- The Little Go Book
- ext
- C library user´s guide
- C-Programming-Class 7
- Pointers in C
- Pointer in c
- Punt Eros
- Factorial using Recursion Posted by Saurabh on March 7th, 2010 As a simple rule of recursion, any function can be computed using a recursive routine if : 1. The function can be expressed in its own form. 2. There exists a termination step, the point at which f(x) is known for a particular ‘x’. Therefore to write a recursive program for the factorial of any number, we have to express the factorial function in a recursive form using the above 2 rules : 1. fact(n) = fact(n-1)*n (recursive definition of factorial). 2. if n=1, return 1 (termination step). Using these 2 rules, the recursive program of factorial can be coded very easily as shown : #include "stdio.h" fact(int n) { int factorial; if(n==1) return 1; else factorial=fact(n-1)*n; return factorial; } main() { int num,factorial; printf("Enter any number : "); scanf("%d",&num); factorial=fact(num); printf("The factorial of %d is %d ",num,factorial); return 0; } //////
- 1089-IGate Placement Paper
- IGATE Placement Papers 3
- Barr Embedded Slides
- Pointer in c
- C Tutorial
- 1 C Tutorial
- Top 100 C Interview Questions & Answers
- C Questions
- jishnu
- Safe C TR 24731
- Week 1 Lab

You are on page 1of 7

in

1. Full form of TTL and CMOS

4. Select a passive component from the following (four choices were there)

5. Minimum no. of lines required for communication using RS232 (Ans: i think its 2)

a)pre-emptive b)non-preemptive c)batch

naradha.in

naradha.in

a)structural languages b)object oriented languages c)UML d)all of the above

a) segment fault b)permission fault c) page fault

An array whose elements are fn pointers which inturn returns a character

(a) January (b) February (c) December (d) November

(a) January (b) February (c) Wednesday (d) November

(a) attack (b) Release (c) condemn (d) None of the above

(a) Spring (b) Winter (c) Summer (d) None of the above

naradha.in

naradha.in

5. One skirt requires 3.75 yards of cloth. How many skirts you can make from 45 yards?

Ans: 12 skirts

(a) same (b) contradictory (c) no relation

(a) same (b) contradictory (c) no relation

(a) same (b) contradictory (c) no relation

(a) same (b) contradictory (c) no relation

(a) same (b) contradictory (c) no relation

(a) 1/4 (b) 1/3 (c) 1/6 (d) 1/18

(a) 0.99 (b) 1 (c) 81 (d) 0.333

naradha.in

naradha.in

14. Find the next number in the series. 1, 0.5, 0.25, 0.125

Ans: 0.0625

15. One dollar is saved in one month. Then how much dollar is saved in one day?

Ans: 1/30 =0.0333$

16. Y catches 5 times more fishes than X. If total number of fishes caught by X

and Y is 48, then number of fishes caught by X?

Ans: 8

17. Y catches 5 times more fishes than X. If total number of fishes caught by X

and Y is 42, then number of fishes caught by X?

Ans: 7

18. If a train covers 600m in 0.5 seconds, how long it will cover in 10 seconds?

Ans: 3000m = 3km

19. The girl's age is twice that of boy, if the boy is four years old. After four

years the age of the girl is

Ans: 12 years

20. Sister's age is twice than that of the brother. If the brother's age is six,

what is the sister's age after two years?

Ans: 14 Yrs.

naradha.in

naradha.in

21. Two lemons cost 10 cents. Then one and a half dozen cost

Ans: 90 cents

22. A clock is late by 1 minute 27 seconds in a month. Then how much will it be

late in 1 day?

Ans: 2.9 seconds

Ans: a,b,c,d

Ans: line 2-5, square 2-3-4-5-2

25. Which of the following is the odd one? crew, constellation, companion,

league, participants.

Ans: companion

(a) Far (b) Near (c) Huge (d) Village

Statement B: I am ridiculous ;

Inference : I am a great man;

(a) True (b) False (c) Not clear

naradha.in

naradha.in

Inference: All children are active;

(a) True (b) False (c) Uncertain

Ans: 1/16

30. In 6 seconds a light flashes once. In one hour how many times it will flash?

Ans: 601 times

31. At 20% discount, a cycle is sold at a selling price of 2500 Rs. What is the

actual price?

Ans: Rs. 3125

Statement B: B is younger than C;

Inference : A is younger than C;

(a) True (b) False (c) Uncertain

Ans: False

34. A invests $12000, B invests $8000, C invests $6000 and they got a profit of $1200. How much share A

got more than B

and C?

naradha.in

naradha.in

Ans: 2/13 and 3/13

naradha.in

- C TutorialUploaded byPiyush Shukla
- The Little Go BookUploaded byBahutGhamgeen
- extUploaded bykntapps
- C library user´s guideUploaded bySang Hoang
- C-Programming-Class 7Uploaded byjack_harish
- Pointers in CUploaded bySuyash Bansal
- Pointer in cUploaded bysaruninfotech2012
- Punt ErosUploaded byBryan Alexander
- Factorial using Recursion Posted by Saurabh on March 7th, 2010 As a simple rule of recursion, any function can be computed using a recursive routine if : 1. The function can be expressed in its own form. 2. There exists a termination step, the point at which f(x) is known for a particular ‘x’. Therefore to write a recursive program for the factorial of any number, we have to express the factorial function in a recursive form using the above 2 rules : 1. fact(n) = fact(n-1)*n (recursive definition of factorial). 2. if n=1, return 1 (termination step). Using these 2 rules, the recursive program of factorial can be coded very easily as shown : #include "stdio.h" fact(int n) { int factorial; if(n==1) return 1; else factorial=fact(n-1)*n; return factorial; } main() { int num,factorial; printf("Enter any number : "); scanf("%d",&num); factorial=fact(num); printf("The factorial of %d is %d ",num,factorial); return 0; } //////Uploaded byTHIRUNEELAKANDAN
- 1089-IGate Placement PaperUploaded byPavan Kumar
- IGATE Placement Papers 3Uploaded byTribhuwan Pant
- Barr Embedded SlidesUploaded byDavid Easler
- Pointer in cUploaded bygoldybatra
- C TutorialUploaded byParas Dorle
- 1 C TutorialUploaded byParas Dorle
- Top 100 C Interview Questions & AnswersUploaded bySouthpaw Conor McGregor
- C QuestionsUploaded bystephen2kin
- jishnuUploaded bysachinpn
- Safe C TR 24731Uploaded byPrashilGupta
- Week 1 LabUploaded byWaqas Mehmood
- CSE 2001Y Lab Sheet 2 - ProblemsUploaded bykriskl03
- 15-50fUploaded byeshwari
- 03 Engg_ Computer Engg_.pdfUploaded bysssadangi
- Ch11-14.pdfUploaded byToyosi Akindipe
- DataView Sorting Filtering and Data Binding in ADOUploaded byDilip Kumar Jena
- VB vsUploaded bysumianandh
- 301362069-HW-4-Sorting-With-Pointers.pdfUploaded byHello World
- 12 Linear Search ProgramUploaded byamishadalal
- A pointerUploaded byMarl Mwegi
- r13-cse-syllabus (1)Uploaded byBabu

- PercentageUploaded byTribhuwan Pant
- ROUTINGUploaded byTribhuwan Pant
- C_FIORDEV_20.txtUploaded byTribhuwan Pant
- Hardware StepByStepGuideUploaded byTribhuwan Pant
- Files-KGSUploaded byShubhesh Swain
- Boxes.docxUploaded byTribhuwan Pant
- SBI_Quantitative_Aug 2007Uploaded byapi-19621192
- Aptitude Formula DownloadsUploaded byAnkit Kapur
- Number SystemUploaded byTribhuwan Pant
- IGATE Placement Papers 4Uploaded byTribhuwan Pant
- IGATE QuestionsUploaded byTribhuwan Pant
- IGATE Placement Papers 7Uploaded byTribhuwan Pant
- IGATE Placement Papers 8Uploaded byTribhuwan Pant
- IGATE Placement Papers 5Uploaded byTribhuwan Pant
- IGATE Placement Papers 3Uploaded byTribhuwan Pant
- IGATE Placement Papers 2Uploaded byTribhuwan Pant
- IGATE Placement Papers 1Uploaded byTribhuwan Pant
- State ExecutiveUploaded byTribhuwan Pant
- Union LegislatureUploaded byTribhuwan Pant
- FunctionsUploaded byTribhuwan Pant
- Most Imp Structure ProgramUploaded byTribhuwan Pant
- Philosophy of Indian ConstitutionUploaded byTribhuwan Pant
- Network iUploaded byShashidhar Reddy
- Jumbled SentencesUploaded byTribhuwan Pant
- File HandlingUploaded byTribhuwan Pant
- speedcontrolofdcmotorbyfuzzycontroller-120320013939-phpapp01Uploaded byAlisha Shnaz

- ECON: Practice Quizes 1-5Uploaded byAudrey Jackson
- Goal ProgrammingUploaded byPacymo Dubelogy
- mtd-20-9Uploaded byMahendran Mahe
- 8 bufferUploaded byRadha Kodaganti
- John Dewey- Reconstruction in PhilosophyUploaded byErdem Zekisoy
- Service Sharp MX-M266NUploaded byJg Vplata
- Method StudyUploaded byprabhakartiger
- Experimental Evaluation of Flexural Properties of Polymer Matrix CompositesUploaded byIAEME Publication
- Cat_konik_12Uploaded bySoma Ghosh
- Chapter 12 - Religion and Reform, 1820-1860Uploaded byhc_aeng1
- 2005E&OSaboSecuringSCADAfromCyberAttacksUploaded byAnas Nangim
- Chaos and Order in Architectural DesignUploaded byBitaran Jang Maden
- ndt_ato.pdfUploaded byVijay Official
- Korean Vocabulary 21-27Uploaded byangelmsg
- Chemistry Important DefinationsUploaded byKownan Mursalin
- Atlanta Fox5 Latest News for Swamiji Sri Selvam SiddharUploaded bytexastemple
- 32926 - MicroLogix 1100 and 1400 Controllers MSG Over EthernetUploaded byzoi
- Mekanisme Kerja Pelurus RambutUploaded byChoi Eva Young Shinee
- Caesar Surgical Safety ChecklistUploaded bydrg. Bobet Evih Hedi I.R., MMR
- London Business SchoolUploaded bySyam Cheruvu
- AMST2650 Introduction to Public Humanities Fall 2017 SyllabusUploaded bySteven Lubar
- Crystal Grid MatrixUploaded byTheMothership
- HCl Lawson Talent Management WhitepaperUploaded byEduardo Falcão
- facilitation technique categoryUploaded byapi-339443942
- Rechargeable Portable USB ChargerUploaded bySalvadorDignum
- IEC_62351_Parts_18_Information_Security_for_Power_System_Con_200907.pdfUploaded bykamal
- Kabbadi KabbadiUploaded byedgesify
- RFID Technology and Its Impact on the Supply ChainUploaded byPriyamvada Sabrina
- The historical Background.pdfUploaded byKristel Opre
- Presentation on EntertainmentUploaded bysamtheman_9618