Perl/PERL Multiple Choice Questions Set 1 Sample Test,Sample questions

Question:
 What is the first pearl dealer’s nervous habit?



1.He manipulates a coin in his hands

2.He twiddles his thumbs

3.He taps his foot

4.He chain-smokes


Question:
 What stings Coyotito?



1.A porcupine

2.A hornet

3.A scorpion

4.A mosquito


Question:
 Where is The Pearl set?




1.Spain

2.Mexico

3.Cuba

4.The United States


Question:
 Which of the following is not on the list of things Kino plans to buy with his newfound wealth?

1.An education for Coyotito

2.A sailboat

3.A rifle

4.A proper marriage in a church


Question:
After a series of critical failures, which 1935 collection of stories published in marked Steinbeck's first major success?




1.To a God Unknown

2.East of Eden

3.Travels with Charley

4.Tortilla Flats


Question:
Arrays are denoted by _______in Perl.

1.@

2.%

3.$

4.#


Question:
Command line arguments in Perl are stored in

1.Scalar

2.Resource

3.Array

4.Hash


Question:
For what do the trackers mistake Coyotito’s cry?

1.A coyote’s cry

2.An owl’s screech

3.A cat’s meow

4.A bat’s shriek


Question:
For what does Juana pray when she is in the canoe?



1.A big pearl

2.Rain

3.Coyotito’s health

4.Sinners


Question:
How did Kino acquire his canoe?




1.He built it

2.He exchanged pearls for it

3.He inherited it

4.He stole it


Question:
How does Coyotito die?



1.He falls off a cliff

2.He is shot

3.A scorpion poisons him

4.He starves


Question:
How does Kino decide to make money when he realizes that the local pearl dealers are lowballing him?




1.By panhandling and singing for money

2.By stockpiling all the pearls of La Paz

3.By traveling to the capital to sell his pearl

4.By filing a lawsuit against the dealers according to the Sherman Anti-Trust Act of 1890


Question:
How does Kino react when Juana attempts to steal the pearl from him?



1.He agrees with her that the pearl will only bring them evil

2.He punches her in the head and then kicks her

3.He leaves her for another woman

4.He chases her down and persuades her to return the pearl to him


Question:
How does Kino react when the doctor snubs him?


1.He sulks

2.He strikes the front gate with his fists, bloodying his knuckles

3.He phones his lawyer

4.He threatens the doctor with death


Question:
How does Kino rid himself of the trackers?



1.He wrestles them into submission

2.He outruns them

3.He hides until they have lost his trail

4.He kills them


Question:
How does the doctor treat Coyotito’s scorpion wound?


1.With a capsule filled with powder

2.With a strange purple liquid

3.By administering a shot

4.By wrapping it in seaweed


Question:
How many children to and Juan have?





1.One

2.Two

3.Three

4.Four


Question:
How many men does Kino kill when defending the pearl from being stolen on the beach?




Two



1.Three

2.Three

3.One

4.None


Question:
In the beginning, Kino is motivated by loyalty to the traditions of his village and people, as well as ___.

1.His family's poverty

2.Oppression by European colonizers

3.His social status

4.Finding a nicer home


Question:
In what magazine was The Pearl originally published, under the title The Pearl of the World?








1.Life

2.Woman's Home Companion

3.Reader's Digest

4.Harper's Bazaar


Question:
Kino and Juana's family heirloom is ___.



1. A pearl

2. A canoe

3.A necklace

4.A fishing spear


Question:
Kino's entire trajectory is a decline from what to what?






1.Poverty to wealth

2.Power to helplessness

3.Innocence to corruption

4.Famous to unkown


Question:
Scalar is denoted by_______in Perl.

1.#

2.$

3.%

4.^


Question:
Scalar stores –

1.Multiple values

2.Single value

3.Double value

4. Float value


Question:
Scalar stores –

1.Multiple values

2.Single value

3.Double value

4. Float value


Question:
Select data type in Perl which stores associative arrays.

1.Resource

2.Scalar

3.Hash

4.Array


Question:
Select the comparison operator from the options.

1.*=

2.&&

3.!=

4.=


Question:
Steinbeck's most successful works were derived from his real-life experiences as a manual laborer in which state?







1.California

2.Texas

3.Oklahoma

4.Nebraska


Question:
The “%” is used for

1.Scalar variables

2.Hash variable

3.Arrays

4.Subroutines


Question:
The “+=” is which type of operator?

1.comparison operators

2.Arithmetic operators

3.Increment/ decrement operators

4.Assignment operators


Question:
The dealers who try to cheat Kino out of the pearl live in what city?






1.El Alto

2.Santa Cruz

3.La Paz

4.Cochabamba


Question:
The Pearl echoes the traditional style of a moral parable, with clear roots in a story from which holy text?








1.The Tao Te Ching

2.The Bible

3.The Koran

4.The Torah


Question:
The visually evocative style of The Pearl reflects the fact that Steinbeck originally conceived it as ___.

1. A painting

2.A poem

3.A film

4.A graphic novel


Question:
What does Juana propose to do with the pearl?


1.Have it set in a silver necklace that she can wear on formal occasions

2.Throw it back into the sea

3.Give it to Coyotito

4.Sell it to the highest bidder as soon as possible


Question:
What does Juana use as a poultice for Coyotito’s wound?




1.Dry ice

2.Peppermint

3.Oatmeal

4.Seaweed


Question:
What does Kino do to conceal himself from the trackers?








1.He dons camouflage

2.He strips naked

3.He cuts his hair

4.He grows a moustache


Question:
What does Kino do with the pearl at the novella’s end?




1.He donates it to charity

2.He sells it to the highest bidder

3.He buries it in his brother’s house

4.He throws it back into the sea


Question:
What does Kino increasingly become after he finds the pearl?








1.Ambitious and desperate

2.Paranoid and angry

3.Sad and despondent

4.Optimistic and industrious


Question:
What does the doctor give to help Coyotito's scorpion bite the first time he visits Kino and Juana's home?








1.A powder capsule

2.A poultice

3.An injection

4.A potion


Question:
What is ‘->’ symbol?

1.Postfix dereference operator

2. Prefix dereference operator

3.Infix dereference operator

4.None of this


Question:
What is Juan Tomás' relationship to Kino?






1.Father

2.Older brother

3.Younger brother

4.Cousin


Question:
What is Kino, Juana, and Coyotito's house made of?








1.Clay

2.Wood

3.Thatch

4.Brush


Question:
What is the best offer Kino gets for his pearl?




1.5,000 peset

2.as1,000 pes

3.os1,500 pes

4.os20 pounds sterling


Question:
What is the name of the town where Kino first attempts to sell his pearl?

1. Santa Lucia

2.La Paz

3.Cadaques

4.Tegucigalpa


Question:
What is used to identify the Subroutine?

1.@

2.$

3.&

4.#


Question:
What reason does the dealer give for not liking Kino’s pearl?




1.It is too large

2.It smells funny

3.It is actually made out of beeswax

4.It is stolen


Question:
What will display the list of warning messages regarding the code?

1.Strict pragma

2. The -w Command-line argument

3.Using the built-in debugger

4.None of these


Question:
When the “require” function loads?

1.Runtime

2.Compile time

3.Both

4.None of These


Question:
Where do Kino and Juana first take refuge after their house burns down?

1.In a cave by the beach

2.In their canoe

3.At Juan Tomás’s house

4.In the forest


Question:
Where do Kino and Juana flee to escape the trackers?




1.Down the river

2.Up the mountain

3.Through the vale

4.To their underwater lair


Question:
Where do Kino and Juana hide while their house burns?






1.The capital

2.Juan Tomás's house

3.The mountain

4.A cave


Question:
Where does Kino hide the pearl during the night?

1.In the doctor’s safe

2.In his sock

3.Under the potted plant by the toolbox

4.Beneath his sleeping mat


Question:
Where is Coyotito when he is stung by the scorpion?








1.In his bed

2.In the yard

3.In a hammock

4.On the beach


Question:
Why must Kino and his family flee from their neighborhood?


1.Because Kino sets fire to a group of houses

2.Because Kino steals a knife from his brother

3.Because Kino makes advances on his brother’s wife

4.Because Kino kills a man


Question:
With what does Kino offer to pay the doctor?


1.Eight small pearls

2.Five pieces of gold bullion

3.Ten weeks of hard labor

4.His canoe


More MCQS

  1. Perl Mcq Question Set 1
  2. Perl Mcq Question Set 2
  3. Perl Mcq Questions Set 4
  4. Perl Mcq Question Set 3
  5. PERL Multiple Choice Questions Set 1
  6. PERL Multiple Choice Questions Set 2
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!