Basic CS-Networks [TCS Placement]: Sample Questions 99 - 100 of 133

Get unlimited access to the best preparation resource for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 99

Networks
Edit

Write in Short

Short Answer▾

Is there a way to suppress the finalize process inside the garbage collector forcibly in . NET?

Explanation

  • GC. SuppressFinalize () method suppresses the finalize process inside the garbage collector.
  • Without SupressFinalize () a flag in class would be used to indicate that Dispose () had already been called so that when Finalize () called it, there is no need to re-run the cleanup code.
  • SupressFinalize () within Dispose () will tell . NET to not run the Finalize method when it gets to our object.
  • SupressFinalize () call is: GC. SuppressFinalize (this) ;

Question 100

Networks
Edit

Describe in Detail

Essay▾

What are major types of networks?

Explanation

major types of network are:

Server-Based Network

  • Unlike peer-to-peer networks that operate without central control and are difficult to secure, a server-based network offers centralized control and is designed for secured operations
  • A dedicated server controls the network- that is it operates solely as a server.
  • Server-based network services its network clients by storing data, applications, and other resources, and then providing access to those resources when called by a client.
  • On request the server sends the whole resource (the document) over the network to the client, where it is processed and later returned to the server for storage.
  • Dedicated servers can also control the entire network՚s security
  • Economies of scale make the server-based network dominant networking model used in networks today.
Given the Image is Define the Server-Based Networks Involved Centralized Control

Peer-to-Peer network

  • A Peer-to-Peer network has no dedicated Servers.
  • A number of workstations (or clients) are connected together for sharing devices, information or data.
  • All the workstations are considered as equal- Any computer can act as client or server.
  • Ideal for small networks with no dedicated servers, like home networks, small business networks, or retail shops because they are inexpensive and easy to install
  • Microsoft calls Peer-to-Peer network “Workgroup” .
  • No limitation for the number of computers in a peer-to-peer network- but a workgroup contain less than workstations.
  • Most operating systems (the software that runs the basic computer functionality) come with peer-to-peer networking capability. The only other cost is network interface card, or NIC.
Given the Image is Define the Peer to Peer Networks Have No Centralized Control

Developed by: