Thanks for Visiting our website

Please check below of this page for latest AMCAT Question pattern

61. Sorting is not possible by using which of the following method?  Choose the correct answer ?

A. Insertion                        B. Selection                        C. Exchange                        D. Deletion

Ans D

62. For the given array, find the arrangement of the elements after 3rd pass of selection sort. Assume that the array is being sorted in ascending order list ; 33,22, 11, 77, 66, 88, 55
A. 22, 11, 33, 66, 77, 55, 88                                            B. 11, 22, 33, 55, 66, 77, 88
C. 11, 22, 33, 55, 66, 88, 77                                            D. 11, 22, 33, 77, 66, 88, 55

63. For solving a problem, which of these in the 1st step in developing a working programme for it? Choose the correct answer?
A. Writing the program in the programming language           B. Writing the step by step algorithm to solve the problem
C. Compiling the libraries required                                                 D. Code debugging

Ans B

64. What is space complexity of a program? Choose the correct answer ?
A. Amount of hard- disk  space required to store the program
B. Amount of hard- disk  space required to compile the program
C. Amount of memory required by program to run
D. Amount of memory required for the program to compile

Ans C

65.Zenab and Shashi independently write a program to find the mass of one mole of water, which includes mass of hydrogen and oxygen. Zenab defines the variables:
Integer hydrogen, oxygen, water// code A
While shashi defines the 3 quantities as:
Integer a, b, c // code B
Which is the better programming practice and why? Choose the correct answer?
A.      Code B is better because variable names are shorter
B.      Code A is better because the variable names are understandable and non-confusing
C.      Code A will run correctly, while code B will give an error
D.      Code B will run correctly while code A gives an error

Ans B

66. How can call to an overloaded function be ambiguous?
       A. By misspelling the name
       B. There might be two or more functions with the same name
       C. There might be two or more functions with equally appropriate signatures              
       D. none of these

Ans B

67. What will be the output of the following pseudo-code statements?
     Integer a = 456, b, c, d = 10
     b = a/d
     c = a-b
     print c
A.      410                         B. 410.4                C. 411.4                D. 411

Ans D


68. Function MyDisplay(string Mystr) //statement 1
        {
                     Print “Hello!”
                     Print Mystr
                     Return 1  //statement 2
        }
    function main()  //statement 3
       {
      String str=”Mickey”
      MyDisplay(str)  //statement 4
       }
 Consider the given code to print a name on the screen. Which statement will generate an error?
A.      Statement 1         B. Statement 2           C. Statement 3         D. Statement 4  
E.       This code will run without any error

Ans A

69. What is implied by the argument of a function?
A. The variables passed to it when it is called                       B. The value it returns on execution
C. The execution code inside it                                                                  D. Its return type
Ans A

70. Consider the following pseudo-code
Class rocket
{
   private:
                 Integer height,weight
   public:  ///statement 1
    function input(int a, int b)
     {
height = a;
weight = b;
      }
}
function main() {
                Rocket rocket 1,rocket 2 ;
 }
 What can we infer from this code?
A.      Rocket is a class with rocket 1 and rocket 2 as its objects. Height and weight are attributes of a rocket.
B.      Rocket is a class with rocket 1 and rocket 2 as its attributes .height and weight are objects of the class rocket.
C.      Rocket is a class with rocket 1, rocket 2, height and weight as its attributes.

D.      Rocket is a class with rocket1, rocket 2, height and weight as its objects.

Ans A
51. How many pointers will have to be changed when a new node is to be added in a linear linked list in the middle?
A.  0                       B. 1                         C. 2                         D.  All the pointers will be changed

Ans B

52. A variable cannot be used? Choose the correct answer
A. Before it is declared          B. After it is declared          C. In the function it is declared in         D. Can always be used

Ans A

53. In which area of a class are data and function directly accessible outside the class? Choose the correct answer
A. Public               B. Private             C. Protected       D. None

Ans A

54. Which of the following options is true regarding inheritance in Object Oriented  Programming ? Choose the correct answer?
A. There is reduced interaction with the hardware
B. A class may are may not have any object
C. Two are more functions can have the same name and number and type of arguments in a program
D. Class- object relation can be changed at run time
E. All of the above

Ans E

55. A sort , which uses the binary tree concepts such that any number in the tree is a larger than all the numbers in the sub tree below it, is  called? Choose the correct answer?
A. Selection sort               B. Insertion sort                C. Heap sort                       D. Quick sort

Ans. C

56. Every element of a data structure has an address and a key associated with it. A search mechanism deals with two or more values assigned to the same address by using the key. What is this search mechanism?
A. Linear search  B. Selection search   C. Hash coded search   D. Binary search   E. None of this

Ans. C

57. A complete binary tree with five levels has how many nodes? (root is level 1) Choose the correct answer?
A. 15                                      B. 25                                      C. 63                                      D. 31

Ans C

58. Which of the following abstract data types can be used to represent many – to- many relations? Choose the correct answer?
A. Tree                                 B.  Stack                               C. Graph                              D. Queue

Ans A

59. Pragya sells footballs. She has a large container to store footballs which is closed from below. Footballs are piled one on top of the other in the box. When new balls are supplied, Pragya puts the balls in the box from the top. When a customer buys a ball, she delivers the ball at the top of the pile to the customer. Each ball has a code.  She wants to store the ball codes in the data structure to keep track of her inventory. What data structure should she use? Choose the correct answer?
A. Queue                             B. Stack                                C. Array                                D. Graph

Ans B

60. The algorithm design technique used in quick sort algorithm is ? Choose the correct answer
A.      Dynamic programming                  B. Back tracking                 C. Divide and  conquer                   D. Greedy search

Ans. C

PASSAGE-10

Sixty years ago, on the evening of August 14, 1947, a few hours before Britain’s Indian Empire was formally divided into the nation-states of India and Pakistan, Lord Louis Mountbatten and his wife, Edwina, sat down in the viceregal mansion in New Delhi to watch the latest Bob Hope movie, “My Favorite Brunette.” Large parts of the subcontinent were descending into chaos, as the implications of partitioning the Indian Empire along religious lines became clear to the millions of Hindus, Muslims, and Sikhs caught on the wrong side of the border. In the next few months, some twelve million people would be uprooted and as many as a million murdered. But on that night in mid-August the bloodbath—and the fuller consequences of hasty imperial retreat—still lay in the future, and the Mountbattens probably felt they had earned their evening’s entertainment.
Mountbatten, the last viceroy of India, had arrived in New Delhi in March, 1947, charged with an almost impossible task. Irrevocably enfeebled by the Second World War, the British belatedly realized that they had to leave the subcontinent, which had spiralled out of their control through the nineteen-forties. But plans for brisk disengagement ignored messy realities on the ground. Mountbatten had a clear remit to transfer power to the Indians within fifteen months. Leaving India to God, or anarchy, as Mohandas Gandhi, the foremost Indian leader, exhorted, wasn’t a political option, however tempting. Mountbatten had to work hard to figure out how and to whom power was to be transferred.
The dominant political party, the Congress Party, took inspiration from Gandhi in claiming to be a secular organization, representing all four hundred million Indians. But many Muslim politicians saw it as a party of upper-caste Hindus and demanded a separate homeland for their hundred million co-religionists, who were intermingled with non-Muslim populations across the subcontinent’s villages, towns, and cities. Eventually, as in Palestine, the British saw partition along religious lines as the quickest way to the exit.
But sectarian riots in Punjab and Bengal dimmed hopes for a quick and dignified British withdrawal, and boded ill for India’s assumption of power. Not surprisingly, there were some notable absences at the Independence Day celebrations in New Delhi on August 15th. Gandhi, denouncing freedom from imperial rule as a “wooden loaf,” had remained in Calcutta, trying, with the force of his moral authority, to stop Hindus and Muslims from killing each other. His great rival Mohammed Ali Jinnah, who had fought bitterly for a separate homeland for Indian Muslims, was in Karachi, trying to hold together the precarious nation-state of Pakistan.
Nevertheless, the significance of the occasion was not lost on many. While the Mountbattens were sitting down to their Bob Hope movie, India’s constituent assembly was convening in New Delhi. The moment demanded grandiloquence, and Jawaharlal Nehru, Gandhi’s closest disciple and soon to be India’s first Prime Minister, provided it. “Long years ago, we made a tryst with destiny,” he said. “At the stroke of the midnight hour, while the world sleeps, India will awaken to life and freedom. A moment comes, which comes but rarely in history, when we step out from the old to the new, when an age ends, and when the soul of a nation, long suppressed, finds utterance.”
Posterity has enshrined this speech, as Nehru clearly intended. But today his quaint phrase “tryst with destiny” resonates ominously, so enduring have been the political and psychological scars of partition. The souls of the two new nation-states immediately found utterance in brutal enmity. In Punjab, armed vigilante groups, organized along religious lines and incited by local politicians, murdered countless people, abducting and raping thousands of women. Soon, India and Pakistan were fighting a war—the first of three—over the disputed territory of Kashmir. Gandhi, reduced to despair by the seemingly endless cycle of retaliatory mass murders and displacement, was shot dead in January, 1948, by a Hindu extremist who believed that the father of the Indian nation was too soft on Muslims. Jinnah, racked with tuberculosis and overwork, died a few months later, his dream of a secular Pakistan apparently buried with him.
Many of the seeds of postcolonial disorder in South Asia were sown much earlier, in two centuries of direct and indirect British rule, but, as book after book has demonstrated, nothing in the complex tragedy of partition was inevitable. In “Indian Summer” (Henry Holt; $30), Alex von Tunzelmann pays particular attention to how negotiations were shaped by an interplay of personalities. Von Tunzelmann goes on a bit too much about the Mountbattens’ open marriage and their connections to various British royals, toffs, and fops, but her account, unlike those of some of her fellow British historians, isn’t filtered by nostalgia. She summarizes bluntly the economic record of the British overlords, who, though never as rapacious and destructive as the Belgians in the Congo, damaged agriculture and retarded industrial growth in India through a blind faith in the “invisible hand” that supposedly regulated markets. Von Tunzelmann echoes Edmund Burke’s denunciation of the East India Company when she terms the empire’s corporate forerunner a “beast” whose “only object was money”; and she reminds readers that, in 1877, the year that Queen Victoria officially became Empress of India, a famine in the south killed five million people even as the Queen’s viceroy remained adamant that famine relief was a misguided policy.
Politically, too, British rule in India was deeply conservative, limiting Indian access to higher education, industry, and the civil service. Writing in the New York Tribune in the mid-nineteenth century, Karl Marx predicted that British colonials would prove to be the “unconscious tool” of a “social revolution” in a subcontinent stagnating under “Oriental despotism.” As it turned out, the British, while restricting an educated middle class, empowered a multitude of petty Oriental despots. (In 1947, there were five hundred and sixty-five of these feudatories, often called maharajas, running states as large as Belgium and as small as Central Park.) 

1.     From the passage, what can we conclude about the view of the author about Lord Mountbatten?
Option 1 : Appreciative    Option 2 : Sarcastic           Option 3 : Neutral  Option 4 : Speculative
2.     What is the author likely to agree to as the reason for the chaos in the sub-continent in 1947?
Option 1 : Because Gandhi was assassinated
Option 2 : Because the British left the sub-continent in haste.
Option 3 : Because the Hindus and Muslims could not live in peace.
Option 4 : Because Lord Mountbatten was watching a movie on 14th August 1947.

3.     What could possibly "grandiloquence" mean as inferred from the context in which it has been used in the passage?
Option 1 : Grand Party     Option 2 : Celebrations    Option 3 : Lofty speech    Option 4 : Destiny

4.     What is the author primarily talking about in the article?
Option 1 : Mountbatten's association with India.     Option 2 : Nehru's speech
Option 3 : Gandhi's assassination          Option 4 : The aftermath of the partition.

5.     In the view of the author, What does the Nehru's phrase "tryst with destiny" symbolise today?
Option 1 : A celebration of Indian Independence     Option 2 : An inspirational quote
Option 3 : A reminder of Gandhi's assassination      4 : A symbol of the ills of the partition

6.     The author persists on talking about the " Bob Hope movie" in the article. Why?
Option 1 : Because the movie was a classic of 1947
Option 2 : He thinks it caused the partition of the sub-continent.
Option 3 : He uses it to show the apathy of the Britishers towards the sub-continent
Option 4 : It was Mountbatten's favourite movie.

7.     What does the author imply about the future of the Pakistan?
Option 1 : It becomes a secular country.        Option 2 : It becomes unsecular.
Option 3 : It is unprosperous.                 Option 4 : It becomes a rogue state.

8.     Why was Gandhi assassinated?
Option 1 : Because he was favouring the Muslims.
Option 2 : His assassin thought he was partial to the Muslims.

Option 3 : He got killed in the violence after partition.                   Option 4 : None of these
PASSAGE-1

The impressive recent growth of certain sectors of the Indian economy is a necessary but insufficient condition for the elimination of extreme poverty.

In order to ensure that the poorest benefit from this growth, and also contribute to it, the expansion and improvement of the microfinance sector should be a national priority. Studies suggest that the impact of microfinance on the poorest is greater than on the poor, and yet another that non-participating members of communities where microfinance operates experience socio-economic gains — suggesting strong spillover effects. Moreover, well-managed microfinance institutions (MFIs) have shown a capacity to wean themselves off of subsidies and become sustainable within a few years.

Microfinance is powerful, but it is clearly no panacea. Microfinance does not directly address some structural problems facing Indian society and the economy, and it is not yet as efficient as it will be when economies of scale are realized and a more supportive policy environment is created.

Loan products are still too inflexible, and savings and insurance services that the poor also need are not widely available due to regulatory barriers.

Still, microfinance is one of the few market-based, scalable anti-poverty solutions that is in place in India today, and the argument to scale it up to meet the overwhelming need is compelling. According to Sa-Dhan, the overall outreach is 6.5 million families and the sector-wide loan portfolio is Rs 2,500 crore.

However, this is meeting only 10% of the estimated demand. Importantly, new initiatives are expanding this success story to the some of the country's poorest regions, such as eastern and central Uttar Pradesh.

The local and national governments have an important role to play in ensuring the growth and improvement of microfinance. First and foremost, the market should be left to set interest rates, not the state. Ensuring transparency and full disclosure of rates including fees is something the government should ensure, and something that new technologies as well as reporting and data standards are already enabling.

Furthermore, government regulators should set clear criteria for allowing MFIs to mobilize savings for on-lending to the poor; this would allow for a large measure of financial independence amongst well-managed MFIs. Each Indian state could consider forming a multi-party working group to meet with microfinance leaders and have a dialogue with them about how the policy environment could be made more supportive and to clear up misperceptions.
There is an opportunity to make a real dent in hard-core poverty through microfinance. By unleashing the entrepreneurial talent of the poor, we will slowly but surely transform India in ways we can only begin to imagine today.


Questions
1.     What could be the meaning of the word panacea in the passage?
Solution                    Problem                    Solution to all problems               Sustainable solution

2.     Why, according to the author, should microfinance be scaled up in India?
a. The demand for microfinance is high.  b. It is a market-based anti-poverty solution.
c. It is sustainable.   D. Both 1 and 2.       E.  : 1, 2 and 3.

3.     Why are saving products not available?
a. Due to inflexibility of loan products.           B. Due to regulatory restrictions.
c. Since insurance services are not available. D. Saving products are not available.

4.     Why does the author talk about the 'entrepreneurial talent of poor' in the concluding paragraph?
a. Entrepreneurship among poor is encouraged by microfinance.
b. Entrepreneurship among poor is an alternate to microfinance.
c. Entrepreneurship among poor is discouraged by microfinance.                     D. None of these

5.     Which of the following is not a challenge faced by microfinance in India?
a. Does not help the poorest.                             B.Efficient when economy of scale is achieved.
c. Non-conducive policy environment.            D. Structural problems of Indian society.

6.     Which of the following is correct with regard to microfinance?
a. The supply is more than demand.                            B. The demand is more than supply.
c. The supply and demand are well balanced.  d.None of these can be inferred from  passage.

7.     What is the author's view about interest rates?
a. The government should set them.    B.There should be transparency with regard to them.
c. The market forces should set them.   D. Both 1 and 2.    E. Both 2 and 3.

8.     Which of the following will the author agree to?
a. Indian economy growth will solve the problem of poverty.
B. Indian economy growth is not enough to solve the problem of poverty.

C. Indian economy growth aggravates the problem of poverty.             D. None of these
41. A data type is stored as an 6 bit signed integer. Which of the following options cannot be represented by this data type?
Option 1 -12
Option 2  0
Option 3 32
Option 4 18

Ans -12

42. Shahaana has a 10,000 line code. She is trying to debug it. She knows there is a logical error in the first 25 lines of the code. Which of the following options will be an efficient way of debugging?
Option 1      Compile the whole code and step into it line by line                         
Option 2   Use an interpreter on the first 25 lines
Option 3    Compile the whole code and run it                                                          
Option 4   None of these

Ans B

43. Which of the following sorting algorithms yield approximately the same worst-case and average-case running time behaviour in O (n log n)?
A.      Bubble sort and Selection sort
B. Heap sort and Merge sort
C.    Quick sort and Radix sort
D. Tree sort and Median-of-3 Quick sort

Ans. B

44. Zenab and Shashi independently write a program to find the mass of one mole of water, which includes mass of hydrogen and oxygen. Zenab defines the variables:
integer hydrogen, oxygen, water //code A
while Shashi defines the three quantities as:
integer a,b,c  //code B
Which is a better programming practice and why?
A.      Code B is better because variable names are shorter
B.      Code A is better because the variable names are understandable and non-confusing
C.      Code A will run correctly, while code B will give an error.
D.      Code B will run correctly, while code A will give an error.

Ans. B

45. Srishti writes a program to find an element in the array A[5] with the following elements in order: 8 30 40 45 70. She runs the program to find a number X. Xis found in the first iteration of binary search. What is the value of X? 
Choose the correct answer
A.      40                           B. 8                                     C. 70                                          D. 30

Ans. A

46. Consider the following pseudo-code
Class rocket
{
Private
Integer height, weight
public:   //Statement 1
function input (int a, intb)
{
height =a;
weight =b;
}
}
function main()
{
Rocket rocket1, rocket2
}
Choose the correct answer. A pseudo-code which is similar to that of C+ and self-explanatory. An accessible member function or data member for object are accessed by the statement object name.function name or object name.data membername respectively.
A.      Rocket is a class with rocket1 and rocket2 as its objects. Height and weight are attributes of a rocket.
B.      Rocket is a class with rocket1 and rocket2 as its attributes. Height and weight are objects of the class rocket.
C.      Rocket is a class with rocket1, rocket2, height and weight as its attributes.
D.      Rocket is a class with rocket1, rocket2, height and weight as its objects.

Ans A

47. There are two loops which are nested. This implies which one of the following? Choose the correct answer?
A.      Two loops, one after the other                                  B. Two one inside the other
C.    One loop with two different iteration counts           D. Two loops with one iteration counts

Ans. B

48. Saloni writes the code for a function that takes as input n, an even integer and calculates the sum of 1st n natural numbers
function sum (n)
{
if(n equals 2)
return 2
else
return ( n+ sum( n-1))
}
She then calls the function by the statement, sum(30). How many times will the function sum be called to compute this sum? Choose the correct answer?
A.      1                              B. 30                                      C. 15                                      D. 16

Ans B

49. A derived class may inherit from the base class which of the following? (Consider assumptions as in c++) Choose the correct answer?
A.      Data members                                                  B.  Member functions  
C.    Constructors and destructors                     D.  Both data members and member functions

Ans. D

50.  Shalini wants to programme to print the largest number out of 3 inputted numbers. She writes the following programme
Int number 1, number 2, number 3, temp;
Input number 1, number 2, number 3;
If ( number 1 > number 2)
Temp = number 1
Else
Temp= number 2
End if
If ( ??) // statement 1
Temp = number 3
End if 
Print temp
Fill in the ?? in statement 1 ? Choose the correct answer?

A.      Number 3> number 2          B. Number 3> temp           C. Number 3< temp         D. Number 3> number 1

Ans B
31. Consider the following:

Class rocket
{
Private:
        integer height,weight
        public: //statement 1
        function input(int a,int b)
         {
height=a;
weight=b;
         }
}
function main()
{
rocket rocket 1,rocket2
}
What can we infer from this code?
Choose the correct answer. A pseudo-code which is similar to that of c++ and self-explanatory. An accessible member function or data member for an object are accessed by the statement object name, function name or object name data member name respectively.
A.      rocket is a class with rocket 1 and rocket2 as its objects.height and weight are attributes of a rocket.
B.      rocket is a class with rocket1 and rocket2 as its attributes.height and weight are objects of the class rocket.
C.      rocket is a class with rocket1,rocket2,height and weight as its attributes
D.      rocket is a class with rocket1, rocket2, height, weight as its objects.

Ans- C

32. Vijay wants to print the following pattern on the screen:
1
1 2
1 2 3
He writes the following program:
integer i=1 //statement1
while(i<=3)
{
int  j //statement2
while(j<=i) //statement3
{
print j
print blank space
j=j+1 //ststement4
}
print end-of-line //takes the cursor to the nextline
i=i+1
}
Choose the correct answer:
A.      Statement 1        B. Statement 2        C. Statement 3          D. Statement 4        E. Program does not have error

Ans - E

33. In an implementation of a linked list, each node contains data and address. Which of the following could the address field possibly contain?
A.      Address of next node in sequence   B. It’s own address   C. Address of last node   D. Address of first node

Ans- A

34. A sort, whi
ch uses the binary tree concept such that any number in the tree is larger than all the numbers in the sub tree below it, is called
A.  Selection sort
B. Insertion sort
C. Heap Sort
D. Quick sort

Ans - C

35. A Queue is implemented as a (singly linked)linked-list. Each node has an element and pointer to another node. Rear and Front contain the addresses of the rear and front node respectively. If the condition (rear is equal front) is true and neither is Null, what do we infer about the linked list?
A.      It has no elements               B. It has one element                    C. There is an error               D. None of these

Ans - B

36. Which of these is not a data type?
A.      Integer                        B. Character                               C. Boolean                                D. array

Ans - D

37. A is an empty stack .The following operations are done on it.
PUSH(1)
PUSH(2)
POP
PUSH(5)
PUSH(6)
POP
What will the stack contain after these operations?(top of the stack is underlined)
A.  5 6
B. 1
C. 5 6
D. 1 5

Ans- B

38. A sorting algorithm traverses through a list, comparing adjacent elements and switching them under certain conditions. What is this sorting algorithm called?
A.      Insertion sort                     B. Heap sort                       C. Quick sort                        D. Bubble sort

Ans-Bubble sort

39. What is the space complexity of a program?
A. Amount of hard-disk space required to store the program
B. Amount of hard-disk space required to compile the program
C. Amount of memory required by the program to run
D. Amount of memory required for the program to compile

Ans. C

40. Which of the following data types does not belong to the category of abstract data types?
A.      Hash table                           B. Set                     C. Object                            D. Stack

Ans Object