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 24640
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

268 24626
Q:

Name the Continents that form a mirror image of each other___

A) North America and South America B) Asia and Africa
C) Africa and South America D) Europe and Asia
 
Answer & Explanation Answer: C) Africa and South America

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

77 24615
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 24609
Q:

Who was appointed as new Brand Ambassador for Swachh Bharat Mission in 2017 ?

A) Priyanka Chopra B) Shilpa Shetty
C) Kangana Ranaut D) Anushka Sharma
 
Answer & Explanation Answer: B) Shilpa Shetty

Explanation:

The government has roped in actress Shilpa Shetty as a brand ambassador for the Modi government's cleanliness initiative Swachh Bharat Mission.

The 41-year-old actress will feature in TV and radio campaigns aimed at discouraging people from littering on roads. Soon, campaign posters featuring her will be displayed at various places across the country.

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank Clerk

114 24597
Q:

Today __________ are seen as personal accessory - portable, powerful and simple to operate.

 

A) e-mail B) e-business  
C) e-content   D) Computers
 
Answer & Explanation Answer: D) Computers

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

2 24596
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 24402
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 24389