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 17486
Q:

Improve the bracketed part of the sentence.

 

The speed with which (these hate crime videos travelling) on social media frames a difficult challenge for law enforcement authorities.

A) these hate crime videos travel B) this hate crime videos travel
C) these hate crime videos travelled D) No improvement
 
Answer & Explanation Answer: A) these hate crime videos travel

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 17479
Q:

What will output when you compile and run the following code?

#include <stdio.h>
struct student
{

int roll;
int cgpa;
int sgpa[8];

};

void main()
{

struct student s = { 12,8,7,2,5,9 };
int *ptr;
ptr = (int *)&s;
clrscr();
printf( "%d", *(ptr+3) );
getch();

}

A) 8 B) 7
C) 2 D) Compiler error
 
Answer & Explanation Answer: C) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 17470
Q:

Pashmina shawl is made from the hair of 

A) Sheep B) Goat
C) Rabbit D) Yak
 
Answer & Explanation Answer: B) Goat

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Animals and Birds

204 17468
Q:

Where did PM Narendra Modi unveil the Rs. 100 coin & Postal Stamp?

 

A) Gujarat B) Delhi
C) Telangana D) Uttar Pradesh
 
Answer & Explanation Answer: D) Uttar Pradesh

Explanation:

PM Narendra Modi released a commemorative coin of Rs. 100 in the Honour of Rajmata Vijaya Raje Scindia, through a virtual ceremony on October 12.

 

 

 

Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams

0 17468
Q:

Improve the bracketed part of the sentence.

 

With a population of over one billion, India is the second (most popular countries) in the world.

A) more popular country B) most populous country
C) much popular countries D) No improvement
 
Answer & Explanation Answer: A) more popular country

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 17466
Q:

Select the antonym of

loiter

A) lag B) hasten
C) amble D) loll
 
Answer & Explanation Answer: B) hasten

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 17465
Q:

Improve the bracketed part of the sentence.

The footballers (has been) arguing with the coach since morning.

A) was B) had been
C) have been D) no improvement
 
Answer & Explanation Answer: C) have been

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 17461