Searching for "i"

Q:

Difference between Arraylist and Linked list?

Answer

ArrayList and LinkedList both implements List interface and maintains insertion order. Both are non synchronized classes.


 


But there are many differences between ArrayList and LinkedList classes that are given below.


 

ArrayList    V/s     LinkedList ::


 

1) ArrayList internally uses dynamic array to store the elements.


                   Whereas


LinkedList internally uses doubly linked list to store the elements.


 

2) Manipulation with ArrayList is slow because it internally uses array. If any element is removed from the array, all the bits are shifted in memory.


                   Whereas


Manipulation with LinkedList is faster than ArrayList because it uses doubly linked list so no bit shifting is required in memory.


 

3) ArrayList class can act as a list only because it implements List only.


                   Whereas


LinkedList class can act as a list and queue both because it implements List and Deque interfaces.


 

4) ArrayList is better for storing and accessing data.


                   Whereas


LinkedList is better for manipulating data.

Report Error

View answer Workspace Report Error Discuss

Q:

Which city is located on the banks of the river Mula-Mutha?

A) Pune B) Nagpur
C) Ahmedabad D) Surat
 
Answer & Explanation Answer: A) Pune

Explanation:

The Mula-Mutha is a river in India, formed by the confluence of the Mula and Mutha rivers in the city of Pune, which later meets the Bhima River, which itself later meets the Krishna River and finally emptying to the Bay of Bengal.

Report Error

View Answer Report Error Discuss

Filed Under: Indian Geography
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

Q:

Ayurveda Owes its Origin to

A) Yajurveda B) Atharvaveda
C) Rigveda D) Samaveda
 
Answer & Explanation Answer: B) Atharvaveda

Explanation:

Ayurveda Owes its Origin to Atharvaveda.

 

The early history of ayurveda asserts that around 1500 BC, ayurveda's fundamental and applied principles got organised and enunciated. In this historical construction, Ayurveda traces its origins to the Vedas, Atharvaveda in particular, and is connected to Hindu religion. Atharvaveda (one of the four most ancient books of Indian knowledge, wisdom and culture) contains 114 hymns or formulations for the treatment of diseases. Ayurveda originated in and developed from these hymns. In this sense, ayurveda is considered by some to have divine origin. Indian medicine has a long history, and is one of the oldest organised systems of medicine. Its earliest concepts are set out in the sacred writings called the Vedas, especially in the metrical passages of the Atharvaveda.

Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk , Analyst

Q:

Who is the author of the book "The Hungry Tide"?

A) Mitali Meelan B) Ravinder Singh
C) Amitav Ghosh D) Sudha Murty
 
Answer & Explanation Answer: C) Amitav Ghosh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank PO

Q:

Find the Value of ?

5.112.2+5.553.3+6.31.4+7.22.001 = ? x 3.34

A) 81 B) 77
C) 73 D) 89
 
Answer & Explanation Answer: D) 89

Explanation:

This can be done in a method called Approximation.

Now, 

52 + 63 + 6 + 72 = ? x 3.3425 + 216 + 6 + 49 = ? x 3.34296 = ? x 3.34? = 2963.34 = 88.622  89 

Report Error

View Answer Report Error Discuss

Filed Under: Mathematical Operations
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

Q:

Anything that has Mass and takes up Space-

A) System B) Matter
C) Energy D) Weight
 
Answer & Explanation Answer: B) Matter

Explanation:

Anything that has Mass and takes up Space is called Matter.

 

Matter has some mass and occupies some space. Mass means the amount of matter in an object. Space occupied by an object is called its Volume.

 

The Study of Matter and and how matter changes is called Chemistry.

Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: GRE , Bank Exams , AIEEE
Job Role: IT Trainer , Bank PO , Bank Clerk , Analyst

Q:

In 1990 a person is 15 years old. In 2000 that same person is 5 years old. How can this be possible?

Answer

 It can be possible in only B.C. i.e, Before Christ. That was about 2000 years ago.


 Given, 


 In 1990 B.C = 2000 + 1990 = 3990 years ago, a person is 15 years Old  


=> In 1995 B.C = 2000 + 1995 = 3995 years ago, the same person will be 10 years Old 


Therefore, In 2000 B.C = 2000 + 2000 = 4000 years ago, the same person will be 5 years Old.

Report Error

View answer Workspace Report Error Discuss

Q:

The Largest Component of National Income is

A) Proprietors Income B) Compensation of Employees
C) Corporate Profits D) Rental Income
 
Answer & Explanation Answer: B) Compensation of Employees

Explanation:

National Income is the total income value of the goods and services produced by the residents of a country, usually during the period of one year.

National Income is categorized into 6 components. They are :

1. Compensation of Employees (Wages and Benefits)
2. Corporate Profits
3. Rental Income
4. Proprietors Income (Income of unincorporated business)
5. Net Interest

The Largest Component of National Income is Compensation of Employees.

 

The Largest component of National Income in India is Service Sector.

 

Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO