Test your skills through the online practice test: C++ Quiz Online Practice Test

Related differences

C vs C++Java vs C++

Ques 126. Give 4 examples which belongs application layer in TCP/IP architecture?


FTP, TELNET, HTTP and TFTP

Is it helpful? Add Comment View Comments
 

Ques 127. What?s the meaning of ARP in TCP/IP?


The "ARP" stands for Address Resolution Protocol. The ARP standard defines two basic message types: a request and a response. a request message contains an IP address and requests the corresponding hardware address; a replay contains both the IP address, sent in the request, and the hardware address.

Is it helpful? Add Comment View Comments
 

Ques 128. What is a Makefile?


Makefile is a utility in Unix to help compile large programs. It helps by only compiling the portion of the program that has been changed.
A Makefile is the file and make uses to determine what rules to apply. make is useful for far more than compiling programs.

Is it helpful? Add Comment View Comments
 

Ques 129. What is deadlock?


Deadlock is a situation when two or more processes prevent each other from running. Example: if T1 is holding x and waiting for y to be free and T2 holding y and waiting for x to be free deadlock happens.

Is it helpful? Add Comment View Comments
 

Ques 130. What is semaphore?

Semaphore is a special variable, it has two methods: up and down. Semaphore performs atomic operations, which means ones a semaphore is called it can not be inturrupted.

The internal counter (= #ups - #downs) can never be negative. If you execute the ?down? method when the internal counter is zero, it will block until some other thread calls the ?up? method. Semaphores are use for thread synchronization.

Is it helpful? Add Comment View Comments
 

" />

Most helpful rated by users: