Free Networking and Internet MCQs with Answers

452 Networking and Internet MCQs from Computer Science and IT, each with the correct answer and a written explanation of why it is correct. Free and unlimited, with no account needed.

Networking covers LAN, MAN, WAN and wireless networks, network topologies, transmission media, devices such as switches, routers and modems, and the OSI and TCP/IP models. Internet concepts include IP addresses, DNS, URLs, web browsers, email, protocols such as HTTP, HTTPS, FTP and SMTP, and basic network security.

Last updated

452 questions · page 18 of 23

  • A. Centralized
  • B. Partitioned
  • C. Replicated
  • D. All of the above

Explanation: In distributed database systems, data distribution strategies determine how data is physically scattered across multiple locations or servers. Each strategy offers advantages and disadvantages depending on the specific needs of the system.Centralized: In a centralized approach, all data is stored in one location. This simplifies management and ensures data consistency, but can become a bottleneck for performance and can be a single point of failure.Partitioned: Partitioning divides the database into smaller, self-contained segments based on certain criteria (e.g., customer region, product category). This allows users to access data locally, improving performance and scalability. However, managing partitioned data can be more complex.Replicated: Replication involves storing copies of frequently accessed data on multiple servers. This enhances data availability and fault tolerance but increases storage requirements and introduces the challenge of maintaining data consistency across replicas.Choosing the right strategy often involves a combination of these approaches. A hybrid strategy might store critical data centrally for consistency while replicating frequently accessed tables in geographically distributed locations for better performance and availability.

Correct answer: All of the above
  • A. Attribute
  • B. Relationship
  • C. Both A and B
  • D. Normalization

Explanation: Attributes are the properties or characteristics of an object. They define the state of an object. For example, if you are considering a car object, some of its attributes might be its color, make, model, or number of wheels. In essence, attributes answer the question of "what" about an object. In conclusion, attributes are the fundamental building blocks used to define and describe objects.

Correct answer: Attribute
  • A. Physical pointer
  • B. Retrieval program
  • C. File organization
  • D. Update program

Explanation: File organization is the method used to physically structure and store records of a file on a secondary storage device. It determines how data is stored and retrieved efficiently. There are various file organization techniques, each with its advantages and disadvantages, suited for different purposes.

Correct answer: File organization
  • A. Data accessibility
  • B. Response times
  • C. Security
  • D. All of the above

Explanation: (a) Data accessibility is impacted by physical database design decisions. The way data is stored and organized can affect how easily users can retrieve it. For example, if data is spread out across multiple tables or files, it can be more difficult to access than if it is stored in a central location.(b) Response times are also impacted by physical database design decisions. The way data is stored and indexed can affect how quickly queries can be executed. For example, if data is not properly indexed, it can take longer to find specific records.(c) Security is another important consideration in physical database design. The way data is stored and accessed needs to be designed to prevent unauthorized access or modification. For example, user permissions and encryption can be used to help secure data.Therefore, all of these factors (data accessibility, response times, and security) are important to consider when making physical database design decisions.

Correct answer: All of the above
  • A. Different views may need to be integrated.
  • B. New data requirements may produce new relations to be merged.
  • C. Both A and B
  • D. To decrease the cardinality of a relation.

Explanation: The correct answer is Both A and B.Different views may need to be integrated. In a database, different users may have different views of the same data. For example, a salesperson might see a list of customers and their contact information, while a manager might see a list of customers and their purchase history. Merging relations allows you to combine data from different views into a single relation.New data requirements may produce new relations to be merged. As your database evolves, you may need to create new relations to store new data. Merging relations allows you to combine these new relations with existing relations.In conclusion, merging relations is a useful technique for integrating data from different views and for combining new data with existing data.

Correct answer: Both A and B
  • A. Splitting
  • B. Partitioning
  • C. Replication
  • D. Dividing

Explanation: Partitioning is a method of distributing a database across multiple storage locations or servers. In partitioning, the database is divided into logical units or partitions, each containing a subset of the entire data. These partitions are then allocated to different nodes in a network. This approach offers several benefits, including improved scalability, performance, and data availability.

Correct answer: Partitioning
  • A. Data volume and usage analysis
  • B. Data distribution strategy
  • C. Normalization of relations
  • D. File organization
  • E. Schema refinement

Explanation: Normalization is a process of organizing data in a database to reduce redundancy and improve data integrity. It is a logical database design technique, whereas the other options are all physical database design techniques.

Correct answer: Normalization of relations
  • A. Data flow diagram
  • B. Decision Tables
  • C. Decision Trees
  • D. All of these

Explanation: Decision trees are a supervised learning technique that uses a tree-like model to classify data. They are often used in data analysis for tasks such as fraud detection, customer churn prediction, and medical diagnosis.

Correct answer: Decision Trees
  • A. Teacher
  • B. Student
  • C. Aero Plane
  • D. All of these

Explanation: In an Entity-Relationship Model (ERM), an entity refers to a real-world object or concept that can be uniquely identified and has its own set of attributes. In the image you sent, all three options - Teacher, Student, and Airplane - could be considered entities in an ERM. So, all of the above options could be entities depending on the specific ER model being designed.

Correct answer: All of these
  • A. Relation
  • B. E-R Diagram
  • C. Cardinality
  • D. Modality

Explanation: Cardinality refers to the minimum and maximum number of times an instance of one entity can be associated with an instance of another entity in a relationship within an Entity-Relationship (ER) Model. It defines the participation constraints between entities. There are three main types of cardinality:One-to-One (1:1): An instance of one entity can be associated with at most one instance of another entity, and vice versa.One-to-Many (1:N): An instance of one entity can be associated with many instances of another entity, but an instance of the many entities can be associated with at most one instance of the one entity.Many-to-Many (M: N): An instance of one entity can be associated with many instances of another entity, and vice versa.

Correct answer: Cardinality
  • A. Relation
  • B. Entity-relationship model
  • C. Cardinality
  • D. Database entity diagram

Explanation: An entity-relationship model (ERM) is a conceptual data model that depicts the relationships between entities (e.g., customers, and products) in a database. It helps to visualize the overall structure of the data and how different entities are related to each other.

Correct answer: Entity-relationship model
  • A. View integration
  • B. View entities
  • C. View integrity
  • D. View independence

Explanation: View integration refers to the process of combining data from multiple views into a single, unified view. In the context of relational systems, this can involve merging tables or relations to create a more comprehensive view of the data.

Correct answer: View integration
  • A. Recursive relationship
  • B. One-to-many relationship
  • C. Many-to-many relationship
  • D. One-to-one relationship

Explanation: A recursive relationship is a type of relationship in an Entity-Relationship (ER) model where an entity can be related to itself. This means an instance of the entity can be related to another instance of the same entity. Recursive relationships are typically modeled using a self-referencing foreign key.

Correct answer: Recursive relationship
  • A. Object Oriented Data Model
  • B. Network Data Model
  • C. Implementation Model
  • D. Hierarchical Data Model

Explanation: The conceptual data model is a high-level representation of the data that is needed by the database system. It describes the entities (data objects) and their relationships, but it does not specify how the data will be stored or manipulated.The implementation model, on the other hand, is a low-level representation of the data that is specific to a particular database management system (DBMS). It specifies how the data will be stored in the database, such as the data types of the attributes and the relationships between the entities.The mapping process involves taking the conceptual data model and translating it into an implementation model that can be understood by the DBMS. This process is essential for ensuring that the database can store and manage the data that is needed by the application.In conclusion, the implementation model is the correct answer to the question because it is the low-level representation of the data that is specific to a particular DBMS. The conceptual data model is a high-level representation of the data, and the object-oriented data model, network data model, and hierarchical data model are all different types of data models that can be used to represent data.

Correct answer: Implementation Model
  • A. Diamond symbol
  • B. Rectangular box
  • C. Oval symbol
  • D. Line

Explanation: In an entity-relationship diagram (ERD), a diamond symbol represents the relationship between two entities. This diamond connects the rectangular boxes that represent the entities themselves. The diamond can also contain additional information about the relationship, such as cardinality (how many instances of one entity can relate to how many instances of another entity).

Correct answer: Diamond symbol
  • A. Entity
  • B. Attributes
  • C. Relationships
  • D. Cardinals

Explanation: An entity is a real-world object or concept that is represented in a database. In this case, customers, cars, and parts are all real-world objects that can be stored in a database. This is the correct answer.

Correct answer: Entity
  • A. E-R diagram
  • B. Model
  • C. Data Structure
  • D. Both A and B

Explanation: The conceptual view of a database refers to a high-level representation of the data that focuses on the business entities and their relationships, independent of the physical storage details. An entity-relationship (E-R) diagram is a graphical tool that captures this conceptual view by representing entities, attributes, and relationships.

Correct answer: E-R diagram
  • A. Relationship
  • B. Cardinality
  • C. Modality
  • D. Attribute

Explanation: Attribute refers to a characteristic of an entity in a data model. It describes the properties of an object. For example, the color, size, and weight of a product are all attributes. In conclusion, attributes are the fundamental characteristics that describe an object, while the other options describe relationships between objects, the number of occurrences in relationships, and the possibility or necessity of something.

Correct answer: Attribute
  • A. Logical Design
  • B. File organization
  • C. Normalization
  • D. Physical design

Explanation: This is the process of organizing database tables to minimize redundancy and improve data integrity. By eliminating duplicate data and enforcing data dependencies, normalization helps to ensure that data is accurate and consistent. In conclusion, normalization is the technique that specifically ensures database integrity, security, and recoverability by reducing data redundancy and enforcing data dependencies.

Correct answer: Normalization
  • A. Logical database structure
  • B. Data value & usage analysis
  • C. User-processing requirement
  • D. Integrity constraint

Explanation: User-processing requirement refers to the specific needs of users when interacting with a system. This includes considerations like response time and security. In this case, user-processing requirements are the most relevant factor for considering the estimation of response time and security measures. Therefore, user-processing requirements are the most appropriate answer to this question. It considers the needs of the users, which includes factors like response time and security.

Correct answer: User-processing requirement