praj-17/QA-MCQ-Open-ended huggingface dataset:
Title: Database
Context: The 1990s, along with a rise in object-oriented programming, saw a growth in how data in various databases were handled. Programmers and designers began to treat the data in their databases as objects. That is to say that if a person's data were in a database, that person's attributes, such as their address, phone number, and age, were now considered to belong to that person instead of being extraneous data. This allows for relations between data to be relations to objects and their attributes and not to individual fields. The term "object-relational impedance mismatch" described the inconvenience of translating between programmed objects and database tables. Object databases and object-relational databases attempt to solve this problem by providing an object-oriented language (sometimes as extensions to SQL) that programmers can use as alternative to purely relational SQL. On the programming side, libraries known as object-relational mappings (ORMs) attempt to solve the same problem.

question: In the 1990s, what type of programming changed the handling of databases? 

answer: object-oriented

question: What term is used for the difficulty in database table and programmed object translation? 

answer: object-relational impedance mismatch

question: How is the problem of object-relational impedance mismatch corrected? 

answer: object-oriented language

question: What is the library programmers use to solve object-relational impedance mismatch? 

answer: object-relational mappings (ORMs)
Title: Database
Context: 
XML databases are a type of structured document-oriented database that allows querying based on XML document attributes. XML databases are mostly used in enterprise database management, where XML is being used as the machine-to-machine data interoperability standard. XML database management systems include commercial software MarkLogic and Oracle Berkeley DB XML, and a free use software Clusterpoint Distributed XML/JSON Database. All are enterprise software database platforms and support industry standard ACID-compliant transaction processing with strong database consistency characteristics and high level of database security.

question: What kind of database is XML? 

answer: structured document-oriented database

question: Where are XML databases frequently used? 

answer: enterprise database management

question: What type of processing is used in enterprise database software? 

answer: ACID-compliant transaction processing

question: How is XML used in enterprise database management? 

answer: machine-to-machine data
Title: Database
Context: In recent years there was a high demand for massively distributed databases with high partition tolerance but according to the CAP theorem it is impossible for a distributed system to simultaneously provide consistency, availability and partition tolerance guarantees. A distributed system can satisfy any two of these guarantees at the same time, but not all three. For that reason many NoSQL databases are using what is called eventual consistency to provide both availability and partition tolerance guarantees with a reduced level of data consistency.

question: What is used to offer a balance in guarantees? 

answer: eventual consistency

question: What explains the difficulty in a system containing availability, consistency, and partition tolerance guarantees? 

answer: the CAP theorem

question: How many guarantees will most databases tolerate? 

answer: two
Title: Database
Context: The first task of a database designer is to produce a conceptual data model that reflects the structure of the information to be held in the database. A common approach to this is to develop an entity-relationship model, often with the aid of drawing tools. Another popular approach is the Unified Modeling Language. A successful data model will accurately reflect the possible state of the external world being modeled: for example, if people can have more than one phone number, it will allow this information to be captured. Designing a good conceptual data model requires a good understanding of the application domain; it typically involves asking deep questions about the things of interest to an organisation, like "can a customer also be a supplier?", or "if a product is sold with two different forms of packaging, are those the same product or different products?", or "if a plane flies from New York to Dubai via Frankfurt, is that one flight or two (or maybe even three)?". The answers to these questions establish definitions of the terminology used for entities (customers, products, flights, flight segments) and their relationships and attributes.

question: What should a conceptual data model do? 

answer: reflects the structure of the information to be held

question: What makes a successful data model? 

answer: accurately reflect the possible state of the external world being modeled

question: Asking questions about an organization's needs will help to create what? 

answer: definitions of the terminology used for entities

question: What must one understand in order to create a successful data model? 

answer: the application domain
Title: Database
Context: Having produced a conceptual data model that users are happy with, the next stage is to translate this into a schema that implements the relevant data structures within the database. This process is often called logical database design, and the output is a logical data model expressed in the form of a schema. Whereas the conceptual data model is (in theory at least) independent of the choice of database technology, the logical data model will be expressed in terms of a particular database model supported by the chosen DBMS. (The terms data model and database model are often used interchangeably, but in this article we use data model for the design of a specific database, and database model for the modelling notation used to express that design.)

question: A conceptual data model in separate from the choice of what? 

answer: database technology

question: In what form is the output of a logical database design? 

answer: schema

question: Which data model is displayed as a specific model that uses DBMS? 

answer: logical
Title: Database
Context: The final stage of database design is to make the decisions that affect performance, scalability, recovery, security, and the like. This is often called physical database design. A key goal during this stage is data independence, meaning that the decisions made for performance optimization purposes should be invisible to end-users and applications. Physical design is driven mainly by performance requirements, and requires a good knowledge of the expected workload and access patterns, and a deep understanding of the features offered by the chosen DBMS.

question: What decisions must be made in the last stage of database design? 

answer: performance, scalability, recovery, security

question: What is an important goal in in this final stage? 

answer: data independence

question: What factor is reflected in performance requirements? 

answer: Physical design
Title: Database
Context: While there is typically only one conceptual (or logical) and physical (or internal) view of the data, there can be any number of different external views. This allows users to see database information in a more business-related way rather than from a technical, processing viewpoint. For example, a financial department of a company needs the payment details of all employees as part of the company's expenses, but does not need details about employees that are the interest of the human resources department. Thus different departments need different views of the company's database.

question: How many conceptual or physical views of data are there? 

answer: one

question: How many different external views of data are there? 

answer: any number

question: What is the benefit of external views of data? 

answer: see database information in a more business-related way
Title: Database
Context: The conceptual view provides a level of indirection between internal and external. On one hand it provides a common view of the database, independent of different external view structures, and on the other hand it abstracts away details of how the data are stored or managed (internal level). In principle every level, and even every external view, can be presented by a different data model. In practice usually a given DBMS uses the same data model for both the external and the conceptual levels (e.g., relational model). The internal level, which is hidden inside the DBMS and depends on its implementation, requires a different level of detail and uses its own types of data structure types.

question: What does the conceptual view offer? 

answer: a level of indirection between internal and external

question: How does the conceptual view handle how data is managed? 

answer: abstracts away details

question: What type of view does the conceptual view offer? 

answer: common
Title: Database
Context: Database storage is the container of the physical materialization of a database. It comprises the internal (physical) level in the database architecture. It also contains all the information needed (e.g., metadata, "data about the data", and internal data structures) to reconstruct the conceptual level and external level from the internal level when needed. Putting data into permanent storage is generally the responsibility of the database engine a.k.a. "storage engine". Though typically accessed by a DBMS through the underlying operating system (and often utilizing the operating systems' file systems as intermediates for storage layout), storage properties and configuration setting are extremely important for the efficient operation of the DBMS, and thus are closely maintained by database administrators. A DBMS, while in operation, always has its database residing in several types of storage (e.g., memory and external storage). The database data and the additional needed information, possibly in very large amounts, are coded into bits. Data typically reside in the storage in structures that look completely different from the way the data look in the conceptual and external levels, but in ways that attempt to optimize (the best possible) these levels' reconstruction when needed by users and programs, as well as for computing additional types of needed information from the data (e.g., when querying the database).

question: What is responsible for putting information into permanent storage? 

answer: database engine

question: What do database administrators closely monitor? 

answer: storage properties and configuration setting

question: What is database storage? 

answer: physical materialization of a database

question: While working, does DBMS store information in one place? 

answer: several types of storage

question: What are huge quantities of information stored as? 

answer: bits
Title: Database
Context: Database access control deals with controlling who (a person or a certain computer program) is allowed to access what information in the database. The information may comprise specific database objects (e.g., record types, specific records, data structures), certain computations over certain objects (e.g., query types, or specific queries), or utilizing specific access paths to the former (e.g., using specific indexes or other data structures to access information). Database access controls are set by special authorized (by the database owner) personnel that uses dedicated protected security DBMS interfaces.

question: What does database access limit? 

answer: who (a person or a certain computer program) is allowed to access what information

question: What are examples of database objects? 

answer: record types, specific records, data structures

question: Who sets database access? 

answer: special authorized (by the database owner) personnel
Title: Database
Context: This may be managed directly on an individual basis, or by the assignment of individuals and privileges to groups, or (in the most elaborate models) through the assignment of individuals and groups to roles which are then granted entitlements. Data security prevents unauthorized users from viewing or updating the database. Using passwords, users are allowed access to the entire database or subsets of it called "subschemas". For example, an employee database can contain all the data about an individual employee, but one group of users may be authorized to view only payroll data, while others are allowed access to only work history and medical data. If the DBMS provides a way to interactively enter and update the database, as well as interrogate it, this capability allows for managing personal databases.

question: What does data security avoid? 

answer: unauthorized users from viewing or updating the database

question: What is a subset of a database called that can be accessed by using a password? 

answer: subschemas

question: What is possible when a DBMS interrogate and update a database? 

answer: managing personal databases
Title: Database
Context: Database transactions can be used to introduce some level of fault tolerance and data integrity after recovery from a crash. A database transaction is a unit of work, typically encapsulating a number of operations over a database (e.g., reading a database object, writing, acquiring lock, etc.), an abstraction supported in database and also other systems. Each transaction has well defined boundaries in terms of which program/code executions are included in that transaction (determined by the transaction's programmer via special transaction commands).

question: What is a unit of work called in a database? 

answer: transaction

question: Are transactions limited? 

answer: Each transaction has well defined boundaries

question: How can database transactions ensure accuracy after a crash? 

answer: fault tolerance
Title: Database
Context: A database built with one DBMS is not portable to another DBMS (i.e., the other DBMS cannot run it). However, in some situations it is desirable to move, migrate a database from one DBMS to another. The reasons are primarily economical (different DBMSs may have different total costs of ownership or TCOs), functional, and operational (different DBMSs may have different capabilities). The migration involves the database's transformation from one DBMS type to another. The transformation should maintain (if possible) the database related application (i.e., all related application programs) intact. Thus, the database's conceptual and external architectural levels should be maintained in the transformation. It may be desired that also some aspects of the architecture internal level are maintained. A complex or large database migration may be a complicated and costly (one-time) project by itself, which should be factored into the decision to migrate. This in spite of the fact that tools may exist to help migration between specific DBMSs. Typically a DBMS vendor provides tools to help importing databases from other popular DBMSs.

question: Why would someone attempt to unite two different databases? 

answer: primarily economical

question: In order to merge, what must the database maintain? 

answer: database related application

question: What are the important parts of the database related application that should be moved? 

answer: conceptual and external architectural levels

question: How can a DBMS database migration be made easier? 

answer: vendor provides tools

question: Can a DBMS be transfered to a different DBMS? 

answer: ano
Title: Database
Context: Sometimes it is desired to bring a database back to a previous state (for many reasons, e.g., cases when the database is found corrupted due to a software error, or if it has been updated with erroneous data). To achieve this a backup operation is done occasionally or continuously, where each desired database state (i.e., the values of its data and their embedding in database's data structures) is kept within dedicated backup files (many techniques exist to do this effectively). When this state is needed, i.e., when it is decided by a database administrator to bring the database back to this state (e.g., by specifying this state by a desired point in time when the database was in this state), these files are utilized to restore that state.

question: Name a reason to take a database backward in time? 

answer: database is found corrupted

question: Is each database backup kept in the same file? 

answer: dedicated backup files

question: Who can restore a database that has been corrupted? 

answer: database administrator

question: What parameter is requiret to restore a database? 

answer: desired point in time
Title: Database
Context: Static analysis techniques for software verification can be applied also in the scenario of query languages. In particular, the *Abstract interpretation framework has been extended to the field of query languages for relational databases as a way to support sound approximation techniques. The semantics of query languages can be tuned according to suitable abstractions of the concrete domain of data. The abstraction of relational database system has many interesting applications, in particular, for security purposes, such as fine grained access control, watermarking, etc.

question: How can static analysis be useful with query languages? 

answer: software verification

question: What do query languages support in abstract interpretation frameworks? 

answer: sound approximation techniques

question: What is a security measure that uses a relational database system? 

answer: watermarking

question: Can query languages be adjusted? 

answer: according to suitable abstractions of the concrete domain of data
Title: Tucson,_Arizona
Context: Tucson (/ˈtuːsɒn/ /tuːˈsɒn/) is a city and the county seat of Pima County, Arizona, United States, and home to the University of Arizona. The 2010 United States Census put the population at 520,116, while the 2013 estimated population of the entire Tucson metropolitan statistical area (MSA) was 996,544. The Tucson MSA forms part of the larger Tucson-Nogales combined statistical area (CSA), with a total population of 980,263 as of the 2010 Census. Tucson is the second-largest populated city in Arizona behind Phoenix, both of which anchor the Arizona Sun Corridor. The city is  located 108 miles (174 km) southeast of Phoenix and 60 mi (97 km) north of the U.S.-Mexico border. Tucson is the 33rd largest city and the 59th largest metropolitan area in the United States. Roughly 150 Tucson companies are involved in the design and manufacture of optics and optoelectronics systems, earning Tucson the nickname Optics Valley.

question: What is the largest populated city in Arizona? 

answer: Phoenix

question: How many miles is Tuscon from the U.S.- Mexico border? 

answer: 60

question: What nickname does Tuscon have because of their many companies involved in optics? 

answer: Optics Valley

question: What was the population of Tuscon according to the 2010 U.S. Census?  

answer: 520,116

question: What was the estimated population of the entire Tuscan area in 2013?  

answer: 996,544

question: Which county is Tucson in? 

answer: Pima County

question: Which university is in Tucson? 

answer: University of Arizona

question: How far is Tucson from Phoenix? 

answer: 108 miles (174 km)

question: How far is Tucson from Mexico? 

answer: 60 mi (97 km)

question: What industry-based nickname does Tucson have? 

answer: Optics Valley
Title: Tucson,_Arizona
Context: Tucson was probably first visited by Paleo-Indians, known to have been in southern Arizona about 12,000 years ago. Recent archaeological excavations near the Santa Cruz River have located a village site dating from 2100 BC.[citation needed] The floodplain of the Santa Cruz River was extensively farmed during the Early Agricultural period, circa 1200 BC to AD 150. These people constructed irrigation canals and grew corn, beans, and other crops while gathering wild plants and hunting. The Early Ceramic period occupation of Tucson saw the first extensive use of pottery vessels for cooking and storage. The groups designated as the Hohokam lived in the area from AD 600 to 1450 and are known for their vast irrigation canal systems and their red-on-brown pottery.[citation needed]

question: What was Tuscon known as 12,000 years ago? 

answer: southern Arizona

question: What group lived in the area that were known for their red-on-brown pottery? 

answer: Hohokam

question: Near what river was a village site dating from 2100 BC found?  

answer: Santa Cruz River

question: Who were probably the first group of people in Tuscan? 

answer: Paleo-Indians

question: How long ago did Tuscan have their first visitors? 

answer: 12,000 years ago

question: How long ago were Paleo-Indians known to be in the Tucson area? 

answer: about 12,000 years ago

question: How old was the village site found near the Santa Cruz River? 

answer: 2100 BC

question: When was the Early Agricultural period? 

answer: 1200 BC to AD 150

question: What happened in the Early Ceramic period? 

answer: the first extensive use of pottery vessels for cooking and storage

question: When did the Hohokam live in the Tucson area? 

answer: from AD 600 to 1450
Title: Tucson,_Arizona
Context: Jesuit missionary Eusebio Francisco Kino visited the Santa Cruz River valley in 1692, and founded the Mission San Xavier del Bac in 1700 about 7 mi (11 km) upstream from the site of the settlement of Tucson. A separate Convento settlement was founded downstream along the Santa Cruz River, near the base of what is now "A" mountain. Hugo O'Conor, the founding father of the city of Tucson, Arizona authorized the construction of a military fort in that location, Presidio San Agustín del Tucsón, on August 20, 1775 (near the present downtown Pima County Courthouse). During the Spanish period of the presidio, attacks such as the Second Battle of Tucson were repeatedly mounted by Apaches. Eventually the town came to be called "Tucson" and became a part of Sonora after Mexico gained independence from Spain in 1821.

question: What year did Mexico gain independence from Spain? 

answer: 1821

question: Who is considered the founding father of Tuscan? 

answer: Hugo O'Conor

question: Who founded the Mission San Xavier del Bac? 

answer: Eusebio Francisco Kino

question: How many miles was Mission San Xavier del Bac from Tuscon? 

answer: 7

question: Which missionary came to the Santa Cruz River area in 1692? 

answer: Eusebio Francisco Kino

question: What religion was Kino? 

answer: Jesuit

question: What mission did Kino found? 

answer: Mission San Xavier del Bac

question: When did Kino found the del Bac mission? 

answer: 1700

question: Who is Tucson's 'founding father'? 

answer: Hugo O'Conor