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

36 24542
Q:

Find the Missing Numbers in the given Number Puzzle ?

20840690_1392703260836774_1644662038967277559_n1504170508.jpg image

A) 169 & 81 B) 67 & 121
C) 64 & 115 D) 70 & 110
 
Answer & Explanation Answer: A) 169 & 81

Explanation:

Observe that in each column, square of sum of digits in the first row = Respective second row elements.

 

In the same way, square of sum of digits in the second row = Respective third row elements.

 

=> 6+42=102=100

 

=> 4+92=132=169

 

=> 8+12=92=81.

Report Error

View Answer Report Error Discuss

Filed Under: Number Puzzles
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

97 24524
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

39 24508
Q:

Tansen, a great musician of his time, was in the court of –

A) Akbar B) Shahjahan
C) Bahadur Shah D) Jahangir
 
Answer & Explanation Answer: A) Akbar

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Culture

267 24465
Q:

Output of the Program :

main()

{

int i = 1;

while (i <= 5)

    {

         printf( "%d", i );

         if (i > 2) goto here;

         i++;

     }

}

fun()

{

here : printf( "PP" );

}

A) 1 B) 2
C) Compilation error D) Exception occurs
 
Answer & Explanation Answer: C) Compilation error

Explanation:

Compiler error: Undefined label 'here' in function main

Report Error

View Answer Report Error Discuss

Filed Under: Programming

3 24381
Q:

The ratio of cost price and marked price of an article is 2:3 and ratio of percentage profit and percentage discount  is 3:2 . what is the discount percentage?

A) 16.66% B) 20%
C) 25% D) 33.33%
 
Answer & Explanation Answer: A) 16.66%

Explanation:

     CP : MP = 2x : 3x

 => Profit = x

 

( %) profit : (%) discount = 3:2

 

Let  CP = 2000,  SP = 300

 

But  3x100×200 + 2x100×300 = 100

 

=>  x = 8.33%

 

Discount 2x = 16.66% 

Report Error

View Answer Report Error Discuss

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

50 24374
Q:

Which of the following official documents is related with India

A) White paper B) Green Paper
C) Yellow Book D) Blue Book
 
Answer & Explanation Answer: A) White paper

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

46 24372
Q:

The enzyme that converts glucose to ethyl alcohol is 

A) Maltase B) Zymase
C) Diastase D) Invertase
 
Answer & Explanation Answer: B) Zymase

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams
Job Role: Bank Clerk

96 24333