Questions

Q:

What resources are used when a thread is created? How do they differ from those when a process is created?

Answer

When a thread is created the threads does not require any new resources to execute the thread shares the resources like memory of the process to which they belong to. The benefit of code sharing is that it allows an application to have several different threads of activity all within the same address space. Whereas if a new process creation is very heavyweight because it always requires new address space to be created and even if they share the memory then the inter process communication is expensive when compared to the communication between the threads.

Report Error

View answer Workspace Report Error Discuss

19 17407
Q:

Unreachable code would best be found using

A) code inspections B) a static analysis tool
C) code reviews D) a test management tool
 
Answer & Explanation Answer: C) code reviews

Explanation:

Code review is a software quality assurance activity in which one or several humans check a program mainly by viewing and reading parts of its source code, and they do so after implementation or as an interruption of implementation.

Report Error

View Answer Report Error Discuss

14 17387
Q:

________ is an open source DBMS product that runs on UNIX, Linux and Windows.

A) MySQL B) JSP/SQL
C) JDBC/SQL D) Sun ACCESS
 
Answer & Explanation Answer: A) MySQL

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Database

25 17373
Q:

Read the passage carefully and choose the best answer to each question out of the four alternatives.


Everyone expected Mary Zophres to win for her retro-revival Technicolor clothes in La La Land — the eventual winner, Colleen Atwood for Fantastic Beasts and Where to Find Them, seemed surprised too. But as other awards began to slip away from the well-reviewed musical, a theme could be teased out. What is Fantastic Beasts if not a plea for equal treatment of people, magical or otherwise? Then, Arrival, a film about the inherent benignity of aliens (read immigrants) won for Best Sound Editing. Hacksaw Ridge, which is, in a way, an anti-guns movie, won in two categories. Fences, about an African-American father who fears racial discrimination, took home the Oscar for Best Supporting Actress. Earlier, Moonlight, featuring two minority communities (black and gay), won for Best Supporting Actor. This turned out to be one of those years the Oscar voter was underestimated. As a majority of voters are actors, there was the tendency to think they'd reward La La Land, a celebration of creation: the heroine wants to make movies, the hero wants to make jazz. It looked like the year of The Artist all over again.

 

Which movie for sure won two awards?

A) Arrival B) Fences
C) Moonlight D) Hacksaw Ridge
 
Answer & Explanation Answer: D) Hacksaw Ridge

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 17362
Q:

Election of the President of India and its manner can be amended by ______.

 

A) Simple Majority of Parliament B) Special Majority of Parliament
C) Special Majority of Parliament and consent of States D) No option is correct.
 
Answer & Explanation Answer: C) Special Majority of Parliament and consent of States

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics
Exam Prep: Bank Exams

0 17348
Q:

If the velocity of a body is doubled its kinetic energy ________________.

 

A) is also doubled B) becomes half  
C) becomes 1/4 th   D) become 4 times  
 
Answer & Explanation Answer: D) become 4 times  

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: Bank Exams

2 17341
Q:

Choose the correctly spelt word

The din caused by the children howling is enough to the dead.

A) Ressurect B) Resurrect
C) Resurect D) Resurecct
 
Answer & Explanation Answer: B) Resurrect

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 17328
Q:

Examine these two statements carefully and select the correct answer using the code given below.

Statement I :King Ashoka abolished capital punishment and disbanded his army.

Statement II :After Kalinga War, Ashoka was remorseful and become a Buddhist.

A) Both the Statements are individually true and Statement II is the correct explanation of Statement I B) Both the Statements are individually true but Statement II is not the correct explanation of Statement I
C) Statement I is true but Statement II is false D) Statement I is false but Statement II is true
 
Answer & Explanation Answer: D) Statement I is false but Statement II is true

Explanation:
Edict 13 on the Edicts of Ashoka Rock Inscriptions reflect the great remorse the king felt after observing the destruction of Kalinga: The lethal war with Kalinga transformed the vengeful Emperor Ashoka into a stable and peaceful emperor, and he became a patron of Buddhism.
 
He ended the military expansion of the empire. The Kalinga war became his first and last war. He made some significant changes in the state policy of Magadh.
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

0 17326