TCS Papers: Sample Questions 250 - 251 of 502

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 250

» Basic CS » Operating System

Short Answer Question▾

Write in Short

What are the reasons for process Creation?

Explanation

Process creation happens due to:

  1. New batch job

    • The operating system is provided with a batch job control stream, usually on tape or disk.

    • When the operating system is prepared to take on new work, it will read the next sequence of job control commands.

  2. Interactive logon

    A user at a terminal logs on to the system.

  3. Created by OS to provide a service

    The Operating system can create a process to perform a function on behalf of a user program, without the user having to wait.

  4. Spawned by existing process

    For purposes of modularity or to exploit parallelism, a user program can dictate the creation of a number of processes.

Question number: 251

» Basic CS » Networks

Essay Question▾

Describe in Detail

What is traffic shaping?

Explanation

  • Traffic shaping or “packet shaping, ” regulates network data transfer to assure a certain level of performance, quality of service (QoS) or return on investment (ROI).

    • Regulating the flow of packets into a network is known as “bandwidth throttling. “

    • Regulation of the flow of packets out of a network is known as “rate limiting. “

  • Involves delaying the flow of packets designated less important or less desired.

  • Most important technique for managing congestion. One of the main causes of congestion is excessive traffic flow. Traffic shaping is an open loop method to manage congestion by forcing the packet to be transmitted at a more predictable rate.

Image of the traffic shaping

Image of the Traffic Shaping

Image of the traffic shaping