17cs403 - Ds Test Your Knowledge

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Nivedhitha
N
Nivedhitha
Community Contributor
Quizzes Created: 2 | Total Attempts: 2,391
Questions: 25 | Attempts: 204

SettingsSettingsSettings
17cs403 - Ds Test Your Knowledge - Quiz

Module 1.1 - 1.7


Questions and Answers
  • 1. 

    1. Distributed systems have significant characteristics of

    • A.

      3 types

    • B.

      2 types

    • C.

      4 types

    • D.

      5 types

    Correct Answer
    A. 3 types
    Explanation
    Distributed systems have significant characteristics that can be categorized into three types. These types include transparency, openness, and scalability. Transparency refers to the ability of the system to hide its distributed nature from users and applications. Openness refers to the use of open standards and protocols to enable interoperability. Scalability refers to the system's ability to handle increasing workloads by adding more resources. Therefore, the correct answer is 3 types.

    Rate this question:

  • 2. 

    In distributed system each processor has its own

    • A.

      Local memory

    • B.

      Clock

    • C.

      Both local memory and clock

    • D.

      None of the mentioned

    Correct Answer
    C. Both local memory and clock
    Explanation
    In a distributed system, each processor has its own local memory and clock. This means that each processor in the system has its own dedicated memory space where it can store and access data locally. Additionally, each processor has its own clock that helps synchronize the operations and timing of the processor. Having both local memory and clock allows each processor to perform independent operations and maintain its own state, while still being able to communicate and coordinate with other processors in the distributed system.

    Rate this question:

  • 3. 

    RPC allows a computer program to cause a subroutine to execute in _________

    • A.

      Its own address space

    • B.

      Another address space

    • C.

      Both its own address space and another address space

    • D.

      Applications address space

    Correct Answer
    B. Another address space
    Explanation
    RPC (Remote Procedure Call) allows a computer program to cause a subroutine to execute in another address space. This means that the program can invoke a procedure or function that is located on a different computer or in a different process, and have it execute in its own separate memory space. This enables the program to access resources and execute code that may not be available in its own address space, thereby allowing for distributed computing and inter-process communication.

    Rate this question:

  • 4. 

    Port identities and capabilities are maintained by

    • A.

      Object Oriented Operating System

    • B.

      Kernel Service

    • C.

      Kernel

    • D.

      Microkernel

    Correct Answer
    C. Kernel
    Explanation
    Port identities and capabilities are maintained by the kernel. The kernel is the core component of an operating system that manages system resources and provides services to other software applications. It is responsible for managing processes, memory, input/output devices, and other hardware resources. In the context of port identities and capabilities, the kernel handles the creation, allocation, and management of ports, which are communication endpoints used for inter-process communication. The kernel ensures that processes have the necessary permissions and access rights to use ports and communicate with other processes effectively.

    Rate this question:

  • 5. 

    A message includes a header that identifies the sending and receiving

    • A.

      Programs

    • B.

      Processes

    • C.

      Application

    • D.

      System

    Correct Answer
    B. Processes
    Explanation
    A message includes a header that identifies the sending and receiving processes.

    Rate this question:

  • 6. 

    What is interprocess communication?

    • A.

      Communication within the process 

    • B.

      Communication between two process

    • C.

      Communication between two threads of same process

    • D.

      None of the mentioned

    Correct Answer
    B. Communication between two process
    Explanation
    Interprocess communication refers to the exchange of data or information between two separate processes running concurrently on a computer system. It enables processes to share data, synchronize their actions, and coordinate their activities. This communication allows processes to collaborate and interact with each other, facilitating the efficient execution of tasks and the sharing of resources.

    Rate this question:

  • 7. 

    Messages sent by a process

    • A.

      Have to be of a fixed size

    • B.

      Have to be a variable size

    • C.

      Can be fixed or variable sized

    • D.

      None of the mentioned

    Correct Answer
    C. Can be fixed or variable sized
    Explanation
    The size of messages sent by a process can vary depending on the requirements of the system. They can be of a fixed size if the system has a specific protocol or constraint that requires all messages to be of the same size. On the other hand, they can also be of a variable size if the system allows for flexibility in message sizes based on the content or other factors. Therefore, messages sent by a process can be either fixed or variable sized.

    Rate this question:

  • 8. 

    Bounded capacity and Unbounded capacity queues are referred to as

    • A.

      Programmed buffering

    • B.

      Automatic buffering

    • C.

      User defined buffering

    • D.

      No buffering

    Correct Answer
    B. Automatic buffering
    Explanation
    Bounded capacity and unbounded capacity queues are referred to as automatic buffering because they automatically handle the buffering of data. In a bounded capacity queue, there is a limit on the number of items that can be stored in the queue, and when the queue is full, any further attempts to add items will result in blocking or throwing an exception. In an unbounded capacity queue, there is no limit on the number of items that can be stored, and items can be added indefinitely without blocking or throwing an exception. The buffering mechanism in both cases is automatic and does not require any manual intervention.

    Rate this question:

  • 9. 

    In the non blocking send

    • A.

      A. the sending process keeps sending until the message is received

    • B.

      The sending process sends the message and resumes operation

    • C.

      The sending process keeps sending until it receives a message

    • D.

      None of the mentioned

    Correct Answer
    B. The sending process sends the message and resumes operation
    Explanation
    In non-blocking send, the sending process sends the message and resumes operation without waiting for the message to be received. This means that the sending process does not block or pause its execution while waiting for the message to be received by the receiving process. Instead, it continues with its operations immediately after sending the message.

    Rate this question:

  • 10. 

    In RPC, while a server is processing the call, the client is blocked ________

    • A.

      Unless the client sends an asynchronous request to the server

    • B.

      Unless the call processing is complete

    • C.

      For the complete duration of the connection

    • D.

      Unless the server is disconnected

    Correct Answer
    A. Unless the client sends an asynchronous request to the server
    Explanation
    In RPC (Remote Procedure Call), the client is blocked unless it sends an asynchronous request to the server. This means that while the server is processing the call, the client will remain blocked and unable to perform any other tasks unless it explicitly sends an asynchronous request to the server. This allows the client to continue its execution without waiting for the server's response, improving the efficiency and responsiveness of the system.

    Rate this question:

  • 11. 

    1. The local operating system on the server machine passes the incoming packets to the ___________

    • A.

      Server stub

    • B.

      Client stub

    • C.

      Client operating system

    • D.

      Client process

    Correct Answer
    A. Server stub
    Explanation
    The local operating system on the server machine passes the incoming packets to the server stub. The server stub is responsible for receiving and processing the incoming packets on the server side. It acts as an intermediary between the network layer and the server process, handling the communication and data transfer between the client and server.

    Rate this question:

  • 12. 

    RPC works between two processes. These processes must be ____________

    • A.

      On the same computer

    • B.

      On different computers connected with a network

    • C.

      On the same computer and also on different computers connected with a network

    • D.

      On none of the computers

    Correct Answer
    C. On the same computer and also on different computers connected with a network
    Explanation
    RPC (Remote Procedure Call) is a communication protocol that allows processes to communicate with each other on different computers connected through a network. This means that RPC can work between processes that are both on the same computer, as well as between processes on different computers connected with a network. Therefore, the correct answer is "on the same computer and also on different computers connected with a network."

    Rate this question:

  • 13. 

    A remote procedure call is _______

    • A.

      Inter-process communication

    • B.

      A single process

    • C.

      A single thread

    • D.

      A single stream

    Correct Answer
    A. Inter-process communication
    Explanation
    A remote procedure call is a mechanism that allows communication between different processes running on different systems. It enables a process to execute a procedure or function on a remote system as if it were a local procedure call. This facilitates inter-process communication, allowing processes to exchange data and collaborate across different machines or systems.

    Rate this question:

  • 14. 

    If one site fails in distributed system

    • A.

      The remaining sites can continue operating

    • B.

      All the sites will stop working

    • C.

      Directly connected sites will stop working

    • D.

      None of the mentioned

    Correct Answer
    A. The remaining sites can continue operating
    Explanation
    In a distributed system, if one site fails, it does not necessarily mean that all the sites will stop working. This is because distributed systems are designed to be fault-tolerant, meaning that they can handle failures and continue operating. The remaining sites in the system can continue functioning and serving requests, ensuring that the overall system remains operational even in the presence of failures.

    Rate this question:

  • 15. 

    The capability of a system to adapt the increased service load is called

    • A.

      Scalability

    • B.

      Tolerance

    • C.

      Capacity

    • D.

      None of the mentioned

    Correct Answer
    A. Scalability
    Explanation
    Scalability refers to the ability of a system to handle and adapt to an increased service load. It means that the system can efficiently and effectively accommodate a larger number of users or a higher volume of data without compromising its performance or functionality. This can involve adding more resources such as servers or network bandwidth to the system, or implementing mechanisms to distribute the workload across multiple components. Tolerance, capacity, and none of the mentioned do not specifically address the system's ability to adapt to increased service load, making scalability the correct answer.

    Rate this question:

  • 16. 

    Network operating system runs on

    • A.

      Server

    • B.

      Every system in the network

    • C.

      Both A & B

    • D.

      None of the mentioned

    Correct Answer
    A. Server
    Explanation
    A network operating system runs on a server because it is responsible for managing and coordinating network resources such as files, printers, and security. It provides services to multiple systems connected to the network, allowing them to communicate and share resources efficiently. By running on a server, the network operating system centralizes control and administration, ensuring smooth operation and optimal utilization of network resources.

    Rate this question:

  • 17. 

    Processes on the remote systems are identified by

    • A.

      Host ID

    • B.

      Host name and identifier

    • C.

      Identifier

    • D.

      Process ID

    Correct Answer
    B. Host name and identifier
    Explanation
    Processes on remote systems are identified by their host name and identifier. The host name is the unique name given to the remote system, while the identifier is a specific value assigned to each process running on that system. This combination of the host name and identifier allows for the precise identification and tracking of processes on remote systems.

    Rate this question:

  • 18. 

    A remote procedure is uniquely identified by _________

    • A.

      Program number

    • B.

      Version number

    • C.

      Procedure number

    • D.

      All of the mentioned

    Correct Answer
    D. All of the mentioned
    Explanation
    A remote procedure is uniquely identified by program number, version number, and procedure number. Each remote procedure has a program number that identifies the program it belongs to, a version number that specifies the version of the program, and a procedure number that uniquely identifies the procedure within that program and version. Therefore, all of these mentioned factors are necessary to uniquely identify a remote procedure.

    Rate this question:

  • 19. 

    The link between two processes P and Q to send and receive messages is called ________

    • A.

      Communication link

    • B.

      Message-passing link

    • C.

      Synchronization link

    • D.

      All of the mentioned

    Correct Answer
    A. Communication link
    Explanation
    The link between two processes P and Q to send and receive messages is called a communication link. This link allows the processes to exchange information and communicate with each other. It enables the transmission of messages from one process to another, facilitating the coordination and interaction between the processes.

    Rate this question:

  • 20. 

    RPC provides a(an) _____ on the client side, a separate one for each remote procedure.

    • A.

      Stub

    • B.

      Identifier

    • C.

      Name

    • D.

      Process identifier

    Correct Answer
    A. Stub
    Explanation
    In RPC (Remote Procedure Call), a stub is provided on the client side. The stub acts as a proxy for the remote procedure and handles the communication between the client and the server. It marshals the parameters, sends them to the server, and unmarshals the results returned by the server. Each remote procedure has its own separate stub on the client side to handle its specific communication requirements.

    Rate this question:

  • 21. 

    A process that is based on IPC mechanism which executes on different systems and can communicate with other processes using message based communication, is called ________

    • A.

      Local Procedure Call

    • B.

      Inter Process Communication

    • C.

      Remote Procedure Call

    • D.

      Remote Machine Invocation

    Correct Answer
    C. Remote Procedure Call
    Explanation
    A process that is based on IPC mechanism which executes on different systems and can communicate with other processes using message based communication, is called Remote Procedure Call. This mechanism allows a process to invoke a procedure or function on a remote system as if it were a local procedure call, enabling communication and coordination between processes running on different systems.

    Rate this question:

  • 22. 

    Transparency that enables multiple instances of resources to be used, is called

    • A.

      Performance transparency

    • B.

      Scaling transparency

    • C.

      Replication transparency

    • D.

      Concurrency transparency

    Correct Answer
    C. Replication transparency
    Explanation
    Replication transparency refers to the ability to use multiple instances of resources without being aware of their existence. This means that users can access replicated resources as if they were accessing a single resource, without needing to know how the replication is implemented or which instance they are interacting with. This transparency allows for improved performance, fault tolerance, and load balancing in distributed systems.

    Rate this question:

  • 23. 

    Interprocessor communication that takes place

    • A.

      Centralized memory

    • B.

      Shared memory

    • C.

      Message passing

    • D.

      Both A and B

    • E.

      All of these

    Correct Answer
    D. Both A and B
    Explanation
    Both A and B refers to the fact that interprocessor communication can take place through both centralized memory and shared memory. Centralized memory involves a single memory unit that is accessible by all processors, allowing them to communicate by reading and writing to the same memory location. Shared memory, on the other hand, refers to a memory space that is physically distributed among the processors, but can be accessed by all of them. Both of these methods facilitate interprocessor communication, making the answer "Both A and B" correct.

    Rate this question:

  • 24. 

    How many layers does Internet model ISO consists of ?

    • A.

      Three

    • B.

      Five

    • C.

      Seven

    • D.

      Eight

    Correct Answer
    C. Seven
    Explanation
    The correct answer is seven because the Internet model ISO consists of seven layers. These layers are the physical layer, data link layer, network layer, transport layer, session layer, presentation layer, and application layer. Each layer has its own specific functions and protocols that contribute to the overall functionality and communication of the internet.

    Rate this question:

  • 25. 

    What are the advantages of file replication ?

    • A.

      Improves availability &performance

    • B.

      Decreases performance

    • C.

      Consistent

    • D.

      Improves speed

    Correct Answer
    A. Improves availability &performance
    Explanation
    File replication refers to the process of creating and maintaining multiple copies of a file across different storage devices or locations. This practice offers several advantages, such as improving availability and performance. By having multiple copies of a file, if one copy becomes unavailable or corrupted, users can still access the file from another location. Additionally, file replication can enhance performance by distributing the workload across multiple servers or storage devices, reducing the chances of bottlenecks and improving overall system efficiency. Therefore, file replication is a beneficial strategy for ensuring data availability and optimizing system performance.

    Rate this question:

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.