R4RIN
Articles
Java 8
MCQS
Perl MCQ Quiz Hub
PERL Multiple Choice Questions Set 1
Choose a topic to test your knowledge and improve your Perl skills
1. Arrays are denoted by _______in Perl.
@
%
$
#
2. Scalar is denoted by_______in Perl.
#
$
%
^
3. What will display the list of warning messages regarding the code?
Strict pragma
The -w Command-line argument
Using the built-in debugger
None of these
4. When the “require” function loads?
Runtime
Compile time
Both
None of These
5. The “+=” is which type of operator?
comparison operators
Arithmetic operators
Increment/ decrement operators
Assignment operators
6. Select the comparison operator from the options.
*=
&&
!=
=
7. Scalar stores –
Multiple values
Single value
Double value
Float value
8. Scalar stores –
Multiple values
Single value
Double value
Float value
9. The “%” is used for
Scalar variables
Hash variable
Arrays
Subroutines
10. What is used to identify the Subroutine?
@
$
&
#
11. What is ‘->’ symbol?
Postfix dereference operator
Prefix dereference operator
Infix dereference operator
None of this
12. Command line arguments in Perl are stored in
Scalar
Resource
Array
Hash
13. Select data type in Perl which stores associative arrays.
Resource
Scalar
Hash
Array
14. Where is The Pearl set?
Spain
Mexico
Cuba
The United States
15. What stings Coyotito?
A porcupine
A hornet
A scorpion
A mosquito
16. With what does Kino offer to pay the doctor?
Eight small pearls
Five pieces of gold bullion
Ten weeks of hard labor
His canoe
17. How does Kino react when the doctor snubs him?
He sulks
He strikes the front gate with his fists, bloodying his knuckles
He phones his lawyer
He threatens the doctor with death
18. What does Juana use as a poultice for Coyotito’s wound?
Dry ice
Peppermint
Oatmeal
Seaweed
19. How did Kino acquire his canoe?
He built it
He exchanged pearls for it
He inherited it
He stole it
20. For what does Juana pray when she is in the canoe?
A big pearl
Rain
Coyotito’s health
Sinners
21. Which of the following is not on the list of things Kino plans to buy with his newfound wealth?
An education for Coyotito
A sailboat
A rifle
A proper marriage in a church
22. How does the doctor treat Coyotito’s scorpion wound?
With a capsule filled with powder
With a strange purple liquid
By administering a shot
By wrapping it in seaweed
23. Where does Kino hide the pearl during the night?
In the doctor’s safe
In his sock
Under the potted plant by the toolbox
Beneath his sleeping mat
24. What is the name of the town where Kino first attempts to sell his pearl?
Santa Lucia
La Paz
Cadaques
Tegucigalpa
25. What is the first pearl dealer’s nervous habit?
He manipulates a coin in his hands
He twiddles his thumbs
He taps his foot
He chain-smokes
26. What is the best offer Kino gets for his pearl?
5,000 peset
as1,000 pes
os1,500 pes
os20 pounds sterling
27. What reason does the dealer give for not liking Kino’s pearl?
It is too large
It smells funny
It is actually made out of beeswax
It is stolen
28. How does Kino decide to make money when he realizes that the local pearl dealers are lowballing him?
By panhandling and singing for money
By stockpiling all the pearls of La Paz
By traveling to the capital to sell his pearl
By filing a lawsuit against the dealers according to the Sherman Anti-Trust Act of 1890
29. What does Juana propose to do with the pearl?
Have it set in a silver necklace that she can wear on formal occasions
Throw it back into the sea
Give it to Coyotito
Sell it to the highest bidder as soon as possible
30. How does Kino react when Juana attempts to steal the pearl from him?
He agrees with her that the pearl will only bring them evil
He punches her in the head and then kicks her
He leaves her for another woman
He chases her down and persuades her to return the pearl to him
31. Why must Kino and his family flee from their neighborhood?
Because Kino sets fire to a group of houses
Because Kino steals a knife from his brother
Because Kino makes advances on his brother’s wife
Because Kino kills a man
32. Where do Kino and Juana first take refuge after their house burns down?
In a cave by the beach
In their canoe
At Juan Tomás’s house
In the forest
33. Where do Kino and Juana flee to escape the trackers?
Down the river
Up the mountain
Through the vale
To their underwater lair
34. What does Kino do to conceal himself from the trackers?
He dons camouflage
He strips naked
He cuts his hair
He grows a moustache
35. For what do the trackers mistake Coyotito’s cry?
A coyote’s cry
An owl’s screech
A cat’s meow
A bat’s shriek
36. How does Kino rid himself of the trackers?
He wrestles them into submission
He outruns them
He hides until they have lost his trail
He kills them
37. How does Coyotito die?
He falls off a cliff
He is shot
A scorpion poisons him
He starves
38. What does Kino do with the pearl at the novella’s end?
He donates it to charity
He sells it to the highest bidder
He buries it in his brother’s house
He throws it back into the sea
39. After a series of critical failures, which 1935 collection of stories published in marked Steinbeck's first major success?
To a God Unknown
East of Eden
Travels with Charley
Tortilla Flats
40. Steinbeck's most successful works were derived from his real-life experiences as a manual laborer in which state?
California
Texas
Oklahoma
Nebraska
41. In what magazine was The Pearl originally published, under the title The Pearl of the World?
Life
Woman's Home Companion
Reader's Digest
Harper's Bazaar
42. The visually evocative style of The Pearl reflects the fact that Steinbeck originally conceived it as ___.
A painting
A poem
A film
A graphic novel
43. The Pearl echoes the traditional style of a moral parable, with clear roots in a story from which holy text?
The Tao Te Ching
The Bible
The Koran
The Torah
44. What is Kino, Juana, and Coyotito's house made of?
Clay
Wood
Thatch
Brush
45. Kino and Juana's family heirloom is ___.
A pearl
A canoe
A necklace
A fishing spear
46. What does the doctor give to help Coyotito's scorpion bite the first time he visits Kino and Juana's home?
A powder capsule
A poultice
An injection
A potion
47. How many men does Kino kill when defending the pearl from being stolen on the beach? Two
Three
Three
One
None
48. Where do Kino and Juana hide while their house burns?
The capital
Juan Tomás's house
The mountain
A cave
49. What does Kino increasingly become after he finds the pearl?
Ambitious and desperate
Paranoid and angry
Sad and despondent
Optimistic and industrious
50. Where is Coyotito when he is stung by the scorpion?
In his bed
In the yard
In a hammock
On the beach
51. What is Juan Tomás' relationship to Kino?
Father
Older brother
Younger brother
Cousin
52. How many children to and Juan have?
One
Two
Three
Four
53. The dealers who try to cheat Kino out of the pearl live in what city?
El Alto
Santa Cruz
La Paz
Cochabamba
54. In the beginning, Kino is motivated by loyalty to the traditions of his village and people, as well as ___.
His family's poverty
Oppression by European colonizers
His social status
Finding a nicer home
55. Kino's entire trajectory is a decline from what to what?
Poverty to wealth
Power to helplessness
Innocence to corruption
Famous to unkown
Submit