best study material for job related examinations part 1
TRANSCRIPT
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
1/97
1.List of books to be referred
2. List of websites
3. Verbal section
3.1 Synonyms
3.2 Often confused words
3.3 Fill in the blanks
4. Technical section
4.1 a!titude "uestion
4.2 #eneral !ro$rams asked %ery often
4.3 &'' (nter%iew "uestions
4.4 )a%a (nter%iew "uestions
4.* om!uter +etworks (nter%iew "uestion
*. ,.-. section
ha!ter 1
htt!&&techforum4u.com&entry.!h!&333.../in/am!ussin$
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
2/97
ha!ter/2 List of 0eb links for !lacement !a!ers
1 www.indiabi.com
2 www.%yomworld.com
3 www.eforsys.com
4 www.freshersworld.com
* www.!lacement!a!ers.com
www.bestebooksworld.com
www.testsworld.com
5 www.6bi$deal.com
7www.techforum4u.com
ha!ter/3 Verbal Section
3.1 S8+O+89S
:dmonish; usur!
:dhesi%e ; tenacious< sticky< $lue< $um< bondin$ a$ent
:lienate ; estran$e
=ileaf ; bi$ screen< bi$ shot< bi$ success
=elief ; con%iction
=affle ; !u>>le
=rim ; ed$e
o%et ; to desire
a!rice ; whim
oncur ; similar< ac"uiesce
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
3/97
onfiscate ; a!!ro!riate< to take char$e< to anne
ar$o ; load< lu$$a$e
?is!el ; scatter
?i%ul$e ; re%eal< make known< disclose
?iscretion ; !rudence
@manci!ate ; liberate
@fface ; obliterate
@mbrace ; hu$< hold< cuddle
Furti%e ; stealthy
,ea! ; to $ather
,am!er ; obstruct
,ea! ; to !ile
,o%er ; lin$er
(ncenti%e ; s!ur
(nsti$ate ; incite
(nert ; !assi%e
Latitude ; sco!e
Lethar$y ; stu!or
Lamont ; lakes< lamentable
Lament ; wail
Latent ; !otential
9erry ; @n6oy
9ea$er ; small< little< scanty
9isery ; distress
9omentary ; for small time
9erit ; to deser%e
9iserable ; unha!!y< sad
Obstinate ; stubborn
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
4/97
O%ert ; ob%ious< clear< e!licit< e%ident
Aretentious ; ostentatious
Aotential ; ability
-inaile ; ri$orous
-enounce; re6ect
Solicit ; ,umble< ur$e
Subside ; wane
Stifle ; snits
Tran"uil ; calm< silent< serene
To merit/ to deser%e
Volume ; "uantity
Veer ; di%er$e
0ethar$y ; well wisher
?e!reciation ; deflation
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
5/97
-eci!rocal ; re%erse< o!!osite
:$rarian ; related to a$riculture
Vacillate ; undecided or dilemma
@!erdent ; fittin$ !ro!er < desirable
Simulate ; !roduce artificially resemblin$ an eistin$ one
:ccess ; to a!!roach
om!ensation; salary
Truncate ; shorten by cuttin$
:dherance ; stick
,etero$enous ; non/similar thin$s
Sur!lus ; ecessi%e
:ssess ; determine the amount or %alue
o$ne>ance ; knowled$e
-etros!ecti%e ; re%iew
+ai%e ; innocent < rustic
@"ui%ocate ; tallyin$ on both sides
Aostulate ; frame a theory
Latent ; dormant
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
6/97
:berration ; de%iation
@rudite ; wise< !rofound
:u$ury ; !rediction
redibility ; ability to common belief
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
7/97
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
8/97
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
9/97
:d%erse
:%erse
The word Ead%erseE turns u! most fre"uently in the !hrase Ead%erse
circumstances
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
10/97
(llusion
:n allusion is a reference< somethin$ you allude to E,er allusion to flowers
reminded me that ValentineKs ?ay was comin$.E (n that @n$lish !a!er< donKt
write Eliterary illusionsE when you mean Eallusions.E : mira$e< hallucination< or a
ma$ic trick is an illusion. B?oesnKt bein$ fooled 6ust make you ill
:moral
(mmoral
E:moralE is a rather technical word meanin$ Eunrelated to morality.E 0hen you
mean to denounce someoneKs beha%ior< call it Eimmoral.E
:necdote
:ntidote
: humorist relates Eanecdotes.E The doctor !rescribes EantidotesE for children
who ha%e swallowed !oison. Lau$hter may be the best medicine< but thatKs no
reason to confuse these two with each other.
:!!raise
:!!rise
0hen you estimate the %alue of somethin$< you a!!raise it. 0hen you inform
!eo!le of a situation< you a!!rise them of it.
a!ital
a!itol
: Eca!itolE is always a buildin$. ities and all other uses are s!elled with an : in
the last syllable.
ite
Site
Si$ht
8ou cite the author in an endnoteH you %isit a 0eb site or the site of the crimeed my backhandE means that he had a low
o!inion of it.
8ou can write criticism on a sub6ect< but you donKt critici>e on somethin$< you
6ust critici>e it.
?efuse
?iffuse
8ou defuse a dan$erous situation by treatin$ it like a bomb and remo%in$ its
fuseH to diffuse< in contrast< is to s!read somethin$ out E=obKs chea! colo$ne
diffused throu$hout the room< wreckin$ the wine/tastin$.E
?e!reciate
?e!recate
To de!reciate somethin$ is to actually make it worse< whereas to de!recate
somethin$ is sim!ly to s!eak or think of it in a manner that demonstrates yourlow o!inion of it.
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
13/97
?e%ice
?e%ise
E?e%iceE is a noun. : can/o!ener is a de%ice. E?e%iseE is a %erb. 8ou can de%ise a
!lan for o!enin$ a can with a shar! rock instead. Only in law is Ede%iseE !ro!erlyused as a noun< meanin$ somethin$ deeded in a will.
?isburse
?is!erse
8ou disburse money by takin$ it out of your !urse BFrench EbourseE and
distributin$ it. (f you refuse to hand out any money< the ea$er mob of be$$ars
before you may dis!erse Bscatter.
?iscreet
?iscrete
The more common word is Ediscreet
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
14/97
The lawyer tries to elicit a descri!tion of the attacker from the witness. E@licitE is
always a %erb. E(llicit
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
15/97
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
16/97
0ords
9eanin$s& Dsa$e
Fortuitous
Fortunate
EFortuitousE e%ents ha!!en by chanceH they need not be fortunate e%ents< only
random ones E(t was !urely fortuitous that the meter reader came alon$ fi%e
minutes before ( returned to my car.E :lthou$h fortunate e%ents may be
fortuitous< when you mean Elucky>ly
E#rislyE means EhorribleEH a E$ri>>lyE is a bear. EThe $ri>>ly left behind the $risly
remains of his %ictim.E E#ri>>led
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
17/97
(m!ertinent
(rrele%ant
E(m!ertinentE looks as if it ou$ht to mean the o!!osite of E!ertinent
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
18/97
O!!ress
-e!ress
?ictators commonly o!!ress their citi>ens and re!ress dissent< but these words
donKt mean eactly the same thin$. E-e!ressE 6ust means Ekee! under control.ESometimes re!ression is a $ood thin$ E?urin$ the 6ob inter%iew< re!ress the
tem!tation to tell 9r. =rown that he has toilet !a!er stuck to his shoe.E
O!!ression is always bad< and im!lies serious !ersecution.
Ordinance
Ordnance
: law is an ordinance< but a $un is a !iece of ordnance.
O%ersee
O%erlook
0hen you o%ersee the !re!aration of dinner< you take control and mana$e the
o!eration closely. =ut if you o%erlook the !re!aration of dinner you for$et to
!re!are the meal entirely//better order !i>>a.
Aalate
Aalette
Aallet
8our E!alateE is the roof of your mouth< and by etension< your sense of taste. :
E!aletteE is the flat board an artist mies !aint on Bor by etension< a ran$e of
colors. : E!alletE is either a bed Bnow rare or a flat !latform onto which $oods
are loaded.
Aeak
Aeek
Ai"ue
(t is tem!tin$ to think that your attention mi$ht be aroused to a hi$h !oint by
E!eakin$E your curiosityH but in fact< E!i"ueE is a French word meanin$ E!rick
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
19/97
Aros!ecti%e
EAers!ecti%eE has to do with si$ht< as in !aintin$< and is usually a noun.
EAros!ecti%eE $enerally has to do with the future Bcom!are with E0hat are your
!ros!ects< youn$ manE and is usually an ad6ecti%e. =ut beware there is also a
rather old/fashioned but fairly common meanin$ of the word E!ros!ectE that hasto do with si$ht Eas he climbed the mountain< a %ast !ros!ect o!ened u! before
him.E
Aractice
Aractise
(n the Dnited in$dom< E!racticeE is the noun< E!ractiseE the %erbH but in the D.S.
the s!ellin$ E!racticeE is commonly used for both< thou$h the distinction is
sometimes obser%ed. EAractiseE as a noun is< howe%er< always wron$ in both
!laces a doctor always has a E!ractice
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
20/97
Arinci!le
EArinci!alE is a noun and ad6ecti%e referrin$ to someone or somethin$ which is
hi$hest in rank or im!ortance. B(n a loan< the !rinci!al is the more substantial
!art of the money< the interest is//or should be//the lesser. EArinci!leE is only a
noun< and has to do with law or doctrine EThe workers fou$ht hard for the!rinci!le of collecti%e bar$ainin$.E
Arostate
Arostrate
The $land men ha%e is called the !rostate. EArostrateE is an ad6ecti%e meanin$
Elyin$ face downward.E
-a%a$in$
-a%ishin$
-a%enous
To ra%a$e is to !illa$e< sack< or de%astate. The only time Era%a$in$E is !ro!erly
used is in !hrases like Ewhen the !irates had finished ra%a$in$ the town< they
turned to ra%ishin$ the women.E 0hich brin$s us to Era%ishE meanin$ to ra!e< or
rob %iolently. : trailer court can be ra%a$ed by a storm Bnothin$ is stolen< but a
lot of dama$e is done but not ra%ished. The crown 6ewels of -uritania can be
ra%ished Bstolen usin$ %iolence without bein$ ra%a$ed Bdama$ed.
Ori$inally< Era%enE as a %erb was synonymous with Era%ishE in the sense of Etosteal by force.E One of its s!eciali>ed meanin$s became Ede%our
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
21/97
8ou can attend a musical re%ue in a theatre< but when you write u! your
reactions for a news!a!er< youKre writin$ a re%iew.
-isky
-is"uQAeo!le unfamiliar with the French/deri%ed word Eris"uQE BEsli$htly indecentE
often write EriskyE by mistake. =un$ee/6um!in$ is risky< but nude bun$ee/
6um!in$ is ris"uQ.
Sensual
Sensuous
ESensualE usually relates to !hysical desires and e!eriences< and often meansEsey.E =ut EsensuousE is more often used for esthetic !leasures< like Esensuous
music.E The two words do o%erla! a $ood deal. The leather seats in your new car
may be sensuousH but if they turn you on< they mi$ht be sensual. ESensualE often
has a sli$htly racy or e%en 6ud$mental tone lackin$ in Esensuous.E
Stationary
Stationery
0hen somethin$ is standin$ still< itKs stationary. That !iece of !a!er you write a
letter on is stationery.
Summary
Summery
0hen the weather is warm and summery and you donKt feel like s!endin$ a lot of
time readin$ that lon$ re!ort from the restructurin$ committee< 6ust read the
summary.
Setu!
Set D!
Technical writers sometimes confuse Esetu!E as a noun BEcheck the setu!E with
the !hrase Eset u!E BEset u! the e!erimentE.
Troo!
Trou!e
: $rou! of !erformers is a trou!e. :ny other $rou! of !eo!le< military or
otherwise< is a troo!
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
22/97
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
23/97
1. The lawyer inter%iewed family and friends etensi%ely to RRRRRRRRRRRthe history
$i%en by the defendant.
2. ollaborate
3. orroborate1. limbin$ the towerin$ mountain seemed a %ery RRRRRRRRRRR task to the $rou!
of boy scouts
2. Forebodin$
3. Forbiddin$
1. ?es!ite all our "uestions about her new 6ob< Tina was %ery RRRRRRRRRRRRRRRR.
2. :llusi%e
3. @lusi%e
4. (llusi%e
1. ?onKt RRRRRRRRRRRRR your nei$hbor until you ha%e walked a mile in his
moccasins
2. ritici>e
3. riti"ue
1. @n$ineers born and often trained in (ndia ha%e< for years< RRRRRRRRR to the D.S.to staff the research and de%elo!ment labs
2. @mi$rated
3. (mmi$rated
1. @%en Seras humor did not hel! RRRRRRRRRRRRRR the tensions in ne$otiation with
the workers
2. ?iffuse
3. ?efuse
1. The %illa$e RRRRRRRRRRRRRRRRRR met each e%enin$ near the tem!le
2. ouncil
3. ounsel
4. onsul
1M. ( could not find any of the references you RRRRRRRRRRRRRRRRR in your research.
1. ited
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
24/97
2. Sited
11. ( decided to take the statistical course this year des!ite my $uides
RRRRRRRRRRRRRRRR to take it net semester.
1. :d%ice2. :d%ise
12. (n a team< its im!ortant that !eo!le skills RRRRRRRRRRRRRR each other
1. om!liment
2. om!lement
13. (t is im!ortant that the client sees you as %ery RRRRRRRRRRR
1. redible
2. redulous
14. (t is im!ortant to understand how deforestation will RRRRRRRRRRRRRRR the tribals
in this area.
1. @ffect
2. :ffect
1*. )ohn seemed rather RRRRRRRRRRRRRR in the mo%ie.
1. ?isinterested
2. Dninterested
1. 9ost beha%ioral researcher do belie%e that any indi%iduals beliefs< attitudes
and beha%ior can chan$e rather RRRRRRRRRRRRR irres!ecti%e of a$e
1. ?ramatically
2. ?rastically
1. 9y mana$ers 6ust back from a %acation< ( need to RRRRRRRRRRRRRR her of allthe work the team has done.
1. a!!raise
2. a!!rise
15. +o one e%er ima$ined that the %alue of real estate would RRRRRRRRRRR to this
etent
1. ?e!reciate
2. ?e!recate
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
25/97
17. Only after the co!s had arri%ed did the crowd RRRRRRRRRRRR from the scene.
1. ?isburse
2. ?is!erse
2M. Only when the e!ected return meets or RRRRRRRRRRRRRRthe re"uired e!enseis the risk considered worth takin$ in business
1. :ccedes
2. @ceeds
21. Alease RRRRRRRRRRR that the letter is deli%ered to 9r. Smith this e%enin$.
1. :ssure
2. @nsure
3. (nsure
22. Aroblem sol%in$ is a recursi%e !rocessH you must RRRRRRRRRRR $o back and
forth between ste!s and do some !arts a$ain
1. ontinually
2. ontinuously
23. Some !eo!le ha%e an RRRRRRRRRRRRRRRRRRR reaction to Aenicillin e%en thou$h it
is widely used.
1. :d%erse
2. :%erse
24. The RRRRRRRRRRRRRRRRRRRR at the entrance of the monument said that it was
built in 4M :.?.
1. @!ita!h
2. @!i$ram
3. @!i$ra!h
2*. The current state of software contractin$ law makes it difficult to
RRRRRRRRRRRRR clients
1. onsul
2. ouncil
3. ounsel
2. 0e decided to RRRRRRRRRRRRR the !lay in fa%or of the $ame
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
26/97
1. For$o
2. Fore$o
2. 0hen you are workin$ in a new country< it is im!ortant to RRRRRRRRRR to the
new culture1. ada!t
2. ado!t
25. 0hile buyin$ a house< one needs to ha%e se%eral RRRRRRRRRRRR in mind
1. riterion
2. riteria
27. 8ou need to RRRRRRRRRRRRthe client that we will deli%er the time.
1. :ssure
2. @nsure
3. (nsure
3M. 8ou will find all the RRRRRRRRRRR you need in the tool bo.
1. ?e%ices
2. ?e%ises
:nswers C @ercise 1
1. =
2. =
3. =
4. =
*. =
. :
. =
5. =
7. :
1M. :
11. :
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
27/97
12. =
13. :
14. =
1*. =
1. :
1. =
15. :
17. =
2M. =
21. =
22. :
23. :
24.
2*.
2. :
2. :
25. =
27. :
3M. :
3.3 @ 2. Tick mark the correct alternati%e for each of the sentences $i%en below
1. )ane went throu$h all the information and eliminated all that seemed RRRRRRR.
2. (rrele%ant
3. (m!ertinent
1. :fter the fi%e/hour trek throu$h the forest< the women were RRRRRRRRRRRRRR
2. -a%ishin$
3. -a%enous
1. :fter the industrialists death< his wife decided to RRRRRRRRRRRR the business
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
28/97
2. O%erlook
3. O%ersee
1. an you !lease $et some RRRRRRRRRRRRR from the store
2. Stationery
3. Stationary
1. The !oor tenants were RRRRRRRRRRRRRRR by the landlord des!ite !ayin$ the dues
on time
2. Aersecuted
3. Arosecuted
1. For women to be in !ublic without their %eils is rather RRRRRRRRRR in this country
2. -isky
3. -is"uQ
1. For years< the farmers had been RRRRRRRRRRRRRR by the %illa$e landlord
2. -e!ressed
3. O!!ressed
1. ,a%in$ a !re/decided a$enda makes it easier for the meetin$ leader or
facilitator to RRRRRRRRRRRRRR in those who $o off Ctrack
2. -ein
3. -ei$n
1. ,e !laced all the family !ictures on the RRRRRRRRRRRRRR
2. 9antel
3. 9antle
1M. Tecrowd outside the $ate RRRRRRRRRRRRR my curiosity and ( went to
in%esti$ate.
1. Aeaked
2. Ai"ued
3. Aeeked
11. (f you do somethin$ wron$< you are RRRRRRRRRRRRRRto $et cau$ht
1. Libel
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
29/97
2. Liable
12. (n any !ro!osal< the eecuti%e summary has to RRRRRRRRRRRRR the actual
document
1. Aroceed2. Arecede
13. (t is !ossible in RRRRRRRRRRRRR to !ro%e the correctness of !ro$ram elements
usin$ mathematical techni"ues.
1. Arinci!al
2. Arinci!le
14. 9ake sure you do not RRRRRRRRRRRRRRR any of the mistakes in the editin$
1. O%ersee
2. O%erlook
1*. The !oem had too many RRRRRRRRRRRRR to memori>e.
1. Versus
2. Verses
1. Alease carry a ba$ or else you may RRRRRRRRRRRRRR those !a!ers
1. Loose
2. Lose
1. Smokin$ has been RRRRRRRRRRRRRRRRRR in a lot of !ublic !laces
1. Arescribed
2. Aroscribed
15. Ste%e was of the stron$ o!inion that he should not interfere in his friends
RRRRRRRRRRRR !roblems
1. 9arital
2. 9artial
17. Susans su$$estions hel!ed us look at the !roblem from a different
RRRRRRRRRRRRRRRR
1. Aros!ecti%e
2. Aers!ecti%e
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
30/97
2M. The com!anyKs !rofits were enhanced as the result of a RRRRRRRRRRRRRdro! in
the cost of !a!er.
1. Fortunate
2. Fortuitous21. The RRRRRRRRRRRRRRRRR marched on bra%in$ the rou$h weather .
1. Trou!e
2. Troo!s
22. The a$ency has still not sent us the !asses for the shows RRRRRRRRRRRR
1. Aremier
2. Aremiere
23. The hristmas bonus sure hel!ed raise the teams RRRRRRRRRRRR
1. 9oral
2. 9orale
24. The more you RRRRRRRRRRRRRRRR< the better youll $et the $ame
1. Aractice
2. Aractise
2*. The sou! hel!ed RRRRRRRRRRRRRR my a!!etite
1. 0et
2. 0het
2. There is no reasonably con%enient way for sho!!ers to com!are the
RRRRRRRRRRRRRR !olicies and su!!ort !olicies of com!etin$ !roducts.
1. 0arranty
2. 0arrantee
2. The RRRRRRRRRRRRmurder of fi%e ?alits in a ,aryana %illa$e arisin$ re!ortedly
from !olice action needs to condemned in the stron$est terms
1. #ri>>ly
2. #risly
25. ( 6ust finished workin$ on the RRRRRRRRRRRRR of my re!ort
1. Summery
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
31/97
2. Summary
27. This school belie%es in RRRRRRRRRRRR hi$h le%el of disci!line e%en in the
youn$er children
1. (nstallin$2. (nstillin$
3M. 8ou seem to ha%e set a RRRRRRRRRRRRRRRRRRR in your team by comin$ late
e%eryday
1. Arecedence
2. Arecedent
:nswers @ercise 2
1. :
2. =
3. =
4. :
*. :
. =
. =
5. :
7. :
1M. =
11. =
12. :
13. =
14. =
1*. =
1. =
1. =
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
32/97
15. :
17. =
2M. =
21. =
22. =
23. =
24. =
2*. =
2. :
2. =
25. =
27. =
3M. =
ha!ter/4 Technical Section B< ''< )a%a
4.1 :!titude "uestions
1.
ode
funcB
static int i ; 1MH
!rintfBEUdE
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
33/97
ode
funcBint Wi< intW6
Wi;Wi W WiH
W6;W6W W6H
mainB
int i ; *< 6 ; 2H
funcBNi
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
34/97
char WA;EbyeEH
fB!H
!rintfBEUsK
*.
ode
int Bchar Wa
a char W mallocB1MWsi>eofBcharH
Wa;EhelloEH
mainB
char Wa;EnewEH
BaH
!rintfBEUsE
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
35/97
!XMY fB''!1H
!rintfBEUcEeofBH
strc!yB!
7.
ode
fBint n
int cH
whileBn
nN;n/1H
c''H
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
36/97
!rint cH
1M.
(n a com!iler there is 3 bit for a word and to store a character 5bits are needed.(+ this to store a character two words are a!!ended .Then for storin$ a
characters strin$a!Bn/1H
then the call >a!B $i%es the %alues of >a!
XaY 5 XbY 7 XcY XdY 12 XeY 1*
12.
ode
char a ;M:: H
int b H
b ; Bint a H
b ; b [[ 4 H
!rintfBEUE
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
37/97
13.
struct s1 struct struct int H s2 s3 yH
,ow does one access in the abo%e $i%en structure definition
14.
ode
%oid fBint y
struct s W!trH
!tr ; malloc Bsi>eof Bstruct'77Wsi>eofBintH
struct s
int iH
float !H
H
when free B!tr is eecuted< then what will ha!!en
1*.
ode
\includeZstdio.h[
mainB
char i;MH
forBHi[;MHi'' H
!rintfBEUd]nE
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
38/97
1.
ode
\includeZstdio.h[
mainB
int i;MH
forkBH
!rintfBEUdE
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
39/97
mainB
int a;2H
int b;7H
int c;1H
whileBb
ifBoddBb
c;cWaH
a;aWaH
b;b&2H
!rintfBEUd]nE
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
40/97
21.
ode
\define ST8L@1 char
mainB
ty!edef char ST8L@2H
ST8L@1 H
ST8L@2 yH
clrscrBH
;2**H
y;2**H
!rintfBEUd Ud]nE
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
41/97
ode
\includeZstdio.h[
mainB
char W!?estn!rintfBEUsE
freeB!?estnH
BaFreeB fails
BbStrc!yB fails
Bc!rints ( lo%e 8ou ?addy
Bderror
24.
\includeZstdio.h[
mainB
char aX*YX*Y
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
42/97
2*.
ode
mainB
int i;MH
forBi;MHiZ2MHi''
switchBi
case Mi';*H
case 1i';2H
case *i';*H
default i';4H
breakH
!rintfBEUd
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
43/97
unsi$ned int u ;/1H
ifBc[i
!rintfBE!ass1
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
44/97
char WTem!H
Tem!;aH
a;mallocBstrlenB! ' 1H
strc!yBa
! ; mallocBstrlenBTem! ' 1H
strc!yB!
freeBaH
&&Line number 1*&&
a Swa! contents of ! N a and !rintB+ew strin$< strin$
b #enerate com!ilation error in line number 5
c #enerate com!ilation error in line number *
d #enerate com!ilation error in line number
e #enerate com!ilation error in line number 1
25.
(n the followin$ code se$ment what will be the result of the function< %alue of eofBcharH
memsetB
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
47/97
ifB!;;EStrin$E
!rintfBEAass 1EH
ifB!Xsi>eofB!/2Y;;K$K
!rintfBEAass 2EH
else
!rintfBEFail 2EH
else
!rintfBEFail 1EH
ifB!Xsi>eofB!/2Y;;K$K
!rintfBEAass 2EH
else
!rintfBEFail 2EH
a Aass 1< Aass 2
b Fail 1< Fail 2
c Aass 1< Fail 2
d Fail 1< Aass 2
e synta error durin$ com!ilation
32. 0hich of the choices is true for the mentioned declaration
const char W!H
and
char W const !H
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
48/97
a 8ou canKt chan$e the character in both
b First 8ou canKt chan$e the characterrN Second 8ou canHt chan$e
the !ointer
c 8ou canKt chan$e the !ointer in both
d First 8ou canKt chan$e the !ointer N Second 8ou canKt chana$e
the character
e +one
33. The redirection o!erators [ and [[
a do the same function
b differ [ o%erwrites< while [[ a!!ends
c differ [ is used for in!ut while [[ is used for out!ut
d differ [ write to any file while [[ write only to standard out!ut
e +one of these
34.
enum number a;/1< b; 4
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
49/97
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
50/97
ifBcZu
!rintfBE!ass2EH
else
!rintfBEFail2EH
else
!rintfBEFail1H
ifBiZu
!rintfBE!ass2EH
else
!rintfBEFail2E
aAass1
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
51/97
strc!yBa
! ; mallocBstrlenBTem! ' 1H
strc!yB!
freeBaH
&&Line no *&&
a Swa! contents of ! N a and !rintB+ew strin$< strin$
b #enerate com!ilation error in line number 5
c #enerate com!ilation error in line number *
d #enerate com!ilation error in line number
e #enerate com!ilation error in line number 1
35 (n the followin$ code se$ment what will be the result of the functionerM.
Test the function you ha%e written.
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
85/97
1M2
write a function that takes two inte$er !arameters. The function should return
the sum of all the !rime numbers in the ran$e of the !arameters !assed. Testyour function in main.
1M3
!erfect number. a number is said to be a !erfect number if the sum of all its
factors includin$ 1 is the number itself. write a function that finds the !erfect
numbers in the s!ecified ran$e.
@ is a !erfect number. factors of are 1
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
86/97
4. title case
*. to$$le case
1M
create two inte$er arrays. mer$e the elements of both the arrays into the third
array as $i%en in the eam!le below
@ :rray1 ; M
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
87/97
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
88/97
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
89/97
2 2
3 3 3
131. TO #@+@-:T@ +D9=@-S :S
1
1 2
1 2 3
1 2 3 4
132. 1
2 3
4 *
5 7 1M
133. 1
1 1
1 2 1
1 3 3 1
134. 1
2 3 2
3 4 * 4 3
4 * * 4
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
90/97
13*. 3 2 1 M 1 2 3
13. 1
2 * 2
3 7 3
4 1M 13 1M 4
13. 1
1 1
1 1 1
1 1 1 1
135. 1
2 1
3 2 1
4 3 2 1
137. 1 M M M
M 2 M M
M M 3 M
M M M 4
14M. W W W W
W W W W
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
91/97
W W W W
W W W W
141. SO-T(+# OF ST-(+#S
142. SO-T(+# OF ,:-:T@-S (+ : ST-(+#
143. to check if (?@+T(T8 9:T-(G
144.lon$est word in a sentence
14*. T,@ L@:A 8@:-S =@T0@@+ T0O #(V@+ 8@:-S
14. TO A-(+T T,@ L@V@LS OF T,@ @9ALO8@@S
14.L(=-:-8 ?D@ ?:T@
145.TO A-(+T T,@ D+(D@ S(?@S
147.O99O+ ST-(+# FD+T(O+S
&&Some ommon Strin$ Functions
int iFindStrLenBchar XYH
int iFindStrin$ase0holeBchar XY
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
92/97
char cToLowerBcharH
%oid del@traS!acesBchar XYH
%oid co!yStrBchar XY
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
93/97
@am!le :X4Y ; 1* < 12 < 2M < 1M
Find+th9inB:
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
94/97
3. an inte$er
The function should return an inte$er that is $reater than the
third !arameter !assed to the function. (f such an inte$er is not
found then the function should return M B>erM.
Test the function you ha%e written. W&
12.
&&-@AL:@ T,@ SD=ST-(+#
13. -@AL:@ : +@0 ST-(+#
14. -@#DL:T(+# A:@
1*. -:+?O9 +D9=@- #@+@-:T(O+
1. TO A-(+T : A8-:9(? OF KWK
1. A-(+T ,:- =8 +D9=@-
15. OD+T(+# +O OF 0O-?S (+ : ST-(+#
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
95/97
17. OD+T(+# +O OF T(9@S SD=ST-(+# OD- (+ : ST-(+#
1M.&W
S"uare of 12 is 144.21 which ia a re%erse of 12 has a s"uare 441.
!ro$ram to find any such !airs b&n 1M and 1MM
11. 9:T-(G 9:#(
12. V:L(?:T(O+ OF : #(V@+ ?:T@
13. -OT:T@ : ST-(+#
4.3 &'' (nter%iew uestions
1. 0hat is the out!ut of !rintfBEUdE
2. ?ifference between E structureE and E'' structureE.
3. ?ifference between a Eassi$nment o!eratorE and a Eco!y constructorE
4. 0hat is the difference between Eo%erloadin$E and Eo%erridin$E
*. @!lain the need for EVirtual ?estructorE.
. an we ha%e EVirtual onstructorsE
. 0hat are the different ty!es of !olymor!hism
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
96/97
5. 0hat are Virtual Functions ,ow to im!lement %irtual functions in EE
7. 0hat are the different ty!es of Stora$e classes
1M. 0hat is +ames!ace
11. 0hat are the ty!es of STL containers.
12. ?ifference between E%ectorE and EarrayE
13. ,ow to write a !ro$ram such that it will delete itself after eecution
14. an we $enerate a '' source code from the binary file
1*. 0hat are inline functions
1. Talk somethin$ about !rofilin$
1. ,ow many lines of code you ha%e written for a sin$le !ro$ram
15. 0hat is EstrstreamE
17. ,ow to write 9ultithreaded a!!lications usin$ ''
2M. @!lain E!assin$ by %alueE< E!assin$ by !ointerE and E!assin$ by referenceE
21. 0rite any small !ro$ram that will com!ile in EE but not in E''E
22. ,a%e you heard of EmutableE keyword
23. 0hat is a E-TT(E
24. (s there somethin$ that ( can do in and not in ''
2*. 0hy !reincrement o!erator is faster than !ostincrement
2. 0hat is the difference between EcallocE and EmallocE
2. 0hat will ha!!en if ( allocate memory usin$ EnewE and free it usin$ EfreeE or
allocate sin$ EcallocE and free it usin$ EdeleteE
25. 0hat is 9emory :li$nment
27. @!lain workin$ of !rintf.
3M. ?ifference between E!rintfE and Es!rintfE.
31. 0hat is Ema!E in STL
32. 0hen shall ( use 9ulti!le (nheritance
33. 0hat are the techni"ues you use for debu$$in$
34. ,ow to reduce a final si>e of eecutable
-
8/13/2019 Best Study Material for Job Related Examinations Part 1
97/97
3*. #i%e 2 eam!les of a code o!timi>ation.
For further materials and !art 2 of this content< !lease click below