1. Home
  2. Explore
  3. Computer Science
  4. Transaction Processing Foundations

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Transaction Processing Foundations

  • 77Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Transaction Processing

What is transaction processing, and what kinds of systems commonly depend on it?

77 questions

  1. 1

    What is transaction processing, and what kinds of systems commonly depend on it?

    Model answer

    Transaction processing manages operations so they are completed correctly and reliably, as in banking, airline reservations, and other systems requiring dependable updates.

    Explanation

    The content presents transaction processing as the foundation for systems that must avoid incorrect or incomplete operations.

  2. 2

    What error in the bank-statement example demonstrated a failure of transaction processing?

    Model answer

    The system recorded two withdrawals of $100, then required a person to cancel the second withdrawal manually instead of processing the operation correctly.

    Explanation

    A correct transaction system should prevent or automatically recover from such inconsistent updates.

  3. 3

    How can transaction-processing mechanisms transform an ordinary sequential program?

    Model answer

    They can make a non-fault-tolerant sequential program concurrent, fault tolerant, automatically scheduled, and load balanced.

    Explanation

    Transaction processing was described as a reusable layer that adds these capabilities to otherwise ordinary programs.

  4. 4

    Why was transaction processing characterized as a kind of computing 'pixie dust'?

    Model answer

    It can add several powerful system properties to an existing program without requiring the application programmer to implement each property independently.

    Explanation

    The metaphor emphasizes how broadly transaction processing improves program behavior.

  5. 5

    How does simulation-based computational science differ from data-mining computational science?

    Model answer

    Simulation-based science uses a model to generate and study simulated behavior, whereas data-mining science analyzes large collections of observations produced by real instruments.

    Explanation

    The lecture identifies data analysis as a second major branch of computational science alongside simulation.

  6. 6

    Why can the universe be viewed as a simulator in data-driven astronomy?

    Model answer

    Instead of simulating the universe with a model, scientists observe the universe directly and analyze the data it produces.

    Explanation

    Astronomical observations provide the experimental output that researchers mine for patterns.

  7. 7

    Why does data-driven astronomy require automated analysis?

    Model answer

    Astronomical instruments produce more data than humans can inspect individually, so computers must search the data for objects, trends, and unusual patterns.

    Explanation

    The quantity of observations makes manual examination impractical.

  8. 8

    What are examples of patterns astronomers can search for in large data sets?

    Model answer

    They can search for unusual objects, highly redshifted objects that may be quasars, very cold objects such as brown dwarfs, and broader trends.

    Explanation

    These searches illustrate how data mining supports both discovery and classification.

  9. 9

    What is a brown dwarf, according to the content?

    Model answer

    A brown dwarf is larger than a planet but smaller than the Sun and is not undergoing thermonuclear activity; it emits heat largely because of gravitational effects.

    Explanation

    Brown dwarfs were presented as objects that became easier to characterize through large surveys.

  10. 10

    What is meant by the claim that astronomers are following Moore's law?

    Model answer

    Astronomical data collection is growing rapidly, approximately doubling every two years as telescopes and detectors improve.

    Explanation

    The growth results from larger telescope apertures and more efficient detectors such as CCDs.

  11. 11

    What do telescope aperture and CCD efficiency measure in the lecture's comparison?

    Model answer

    Aperture represents how many photons a telescope can collect, while CCD efficiency represents how effectively those photons are captured as pixels.

    Explanation

    The two measurements describe the amount of light collected and the efficiency of recording it.

  12. 12

    What scale of data is associated with modern astronomical observations?

    Model answer

    A single basic astronomical data set can be several terabytes, while accumulated astronomical archives can reach petabytes.

    Explanation

    The lecture gives roughly 4 terabytes for a sky image at a stated resolution and describes archives containing petabytes.

  13. 13

    Why do astronomical data sets have strong temporal and spectral dimensions?

    Model answer

    Astronomers observe objects at different times and across different parts of the electromagnetic spectrum, and stars and galaxies can change over time.

    Explanation

    Unlike many particle-physics observations, astronomical objects have important variation in both time and wavelength.

  14. 14

    What makes astronomy data unusually suitable for broad public access?

    Model answer

    Astronomical data is generally noncommercial, has little privacy risk, and is produced within a culture of sharing and publication.

    Explanation

    These characteristics distinguish it from commercially sensitive or personally identifying data.

  15. 15

    Why does the rapid doubling of astronomical data have a democratizing effect?

    Model answer

    Earlier data becomes publicly available while new data is being collected, allowing researchers around the world to access a large historical data set.

    Explanation

    Public archives let people outside major observatories conduct meaningful research using shared observations.

  16. 16

    Why is simply downloading an entire astronomical archive usually impractical?

    Model answer

    The archives can be petabytes in size, may require substantial network capacity, and require storage systems capable of holding the data.

    Explanation

    The content uses a slow telephone connection as an example of an unsuitable transfer method.

  17. 17

    What information should accompany a published scientific result besides its numerical answer?

    Model answer

    It should identify the question, units, precision or error range, and the processing steps or methods used to obtain the result.

    Explanation

    Scientific data must be interpretable and reproducible rather than presented as unexplained numbers.

  18. 18

    Why is data provenance important in astronomy?

    Model answer

    Researchers need to know where the data came from and which processing steps and algorithms transformed the original observations.

    Explanation

    Provenance helps users evaluate reliability and understand how published values were produced.

  19. 19

    Why is it often best to leave astronomical data at the archive where it originated?

    Model answer

    The archive's creators understand the data and its processing history best, and most researchers cannot maintain a complete copy of a petabyte-scale archive.

    Explanation

    Distributed access avoids unnecessary copying while preserving expert stewardship.

  20. 20

    What is the central goal of the Virtual Observatory?

    Model answer

    It aims to federate astronomical archives so that users everywhere can access and query them as a coordinated collection of data.

    Explanation

    The Virtual Observatory treats independently managed archives as a broad, accessible research resource.

  21. 21

    Why is the internet described as the world's best telescope in the Virtual Observatory concept?

    Model answer

    The internet provides access to observations covering the whole sky and many spectral bands without requiring every researcher to operate a physical telescope.

    Explanation

    Online archives make the combined observational power of many instruments broadly accessible.

  22. 22

    What is a federated database in the context of astronomy?

    Model answer

    It is a system that allows multiple independently managed databases to be accessed and queried as a coordinated or homogeneous data collection.

    Explanation

    Federation connects archives such as those associated with different telescopes or surveys.

  23. 23

    Why should each astronomical archive continue to manage the data it collected?

    Model answer

    The collecting organization understands the observations, processing history, and scientific context of its own data best.

    Explanation

    Federation provides common access without requiring all data to be centralized.

  24. 24

    What are the main advantages of the Virtual Observatory over traditional telescope observation?

    Model answer

    Users can access data whenever they want, analyze observations from many instruments, and combine information with existing literature without traveling to a telescope.

    Explanation

    Online access reduces dependence on limited observing time, weather, location, and individual facilities.

  25. 25

    What does it mean for the Virtual Observatory to be a 'smart telescope'?

    Model answer

    It can provide observations of an object from multiple observatories and spectral bands, along with related objects and relevant scientific literature.

    Explanation

    The system enriches a single observation by connecting it to broader contextual information.

  26. 26

    Why is federation especially feasible for new astronomical surveys?

    Model answer

    Many new surveys are still designing their software and publication systems, so common standards can influence their data interfaces from the beginning.

    Explanation

    It is easier to coordinate systems before incompatible designs become established.

  27. 27

    What are major technical challenges in federating astronomical surveys?

    Model answer

    Challenges include managing petabyte-scale data, resolving metadata differences, supporting multiresolution and time-varying data, and improving visualization and analysis tools.

    Explanation

    Federation requires agreement about both data management and how scientific meaning is represented.

  28. 28

    Why is cross-correlation of astronomical data difficult?

    Model answer

    The data is multidimensional, has different resolutions, changes over time, and may contain noise or contamination from sources such as airplanes and cosmic rays.

    Explanation

    Matching observations across archives requires determining whether apparently different measurements refer to the same object.

  29. 29

    Why is observing an object in multiple spectral bands scientifically valuable?

    Model answer

    Different spectral bands can reveal different structures or physical properties of the same object.

    Explanation

    The Crab Nebula, for example, looks substantially different in radio, optical, infrared, and X-ray observations.

  30. 30

    Why can a single astronomical image contain multiple false colors?

    Model answer

    The image may combine observations from several optical color bands, assigning artificial colors to represent measurements that are not directly visible as those colors.

    Explanation

    A composite image can merge several distinct pictures into one visual representation.

  31. 31

    What is the object-matching problem in multiwavelength astronomy?

    Model answer

    Researchers must determine whether observations that look different in different spectral bands or at different times correspond to the same physical object.

    Explanation

    Objects can vary in appearance across wavelength and time, making identification nontrivial.

  32. 32

    What is the traditional approach to clustering astronomical data?

    Model answer

    Astronomers inspect plots and use manually guided computer algorithms to identify clusters, correlations, and trends.

    Explanation

    The process has become increasingly computational but still depends heavily on human direction and visual inspection.

  33. 33

    What would a more automated approach to astronomical data mining do?

    Model answer

    It would search a data set automatically across many combinations of variables, identify clusters or trends, and suggest potentially interesting relationships.

    Explanation

    Automation could replace much of the repetitive plotting and searching currently performed by researchers.

  34. 34

    Why are higher-dimensional correlations difficult for current astronomical methods?

    Model answer

    Astronomers commonly inspect two-dimensional plots, which makes three-, four-, and five-dimensional relationships harder to discover systematically.

    Explanation

    The limitation comes from relying on visual representations designed primarily for two dimensions.

  35. 35

    What role does the human eye traditionally play in astronomical data analysis?

    Model answer

    Researchers visually inspect plots for straight lines, trends, clusters, or other patterns that may indicate meaningful relationships.

    Explanation

    The lecture suggests that algorithms could eventually perform much of this pattern detection.

  36. 36

    Why do astronomers often have privileged access to newly collected survey data?

    Model answer

    They may spend a decade or more designing and building an instrument, so they are typically given initial access before the data becomes public.

    Explanation

    This period allows the instrument builders and survey team to obtain first results from their substantial investment.

  37. 37

    What is the Sloan Digital Sky Survey's basic data organization?

    Model answer

    It includes processed photometric objects, spectrographic objects, spectral lines, observation plates, sky regions, and larger sky stripes.

    Explanation

    These entities represent images, spectra, measurements, and spatial groupings within the survey.

  38. 38

    What is a plate in the Sloan survey data model?

    Model answer

    A plate groups the spectra collected during a particular observation, often during one observing session.

    Explanation

    The survey records many spectra together according to the observation in which they were obtained.

  39. 39

    How much Sloan data was described as raw data and processed data?

    Model answer

    The survey had approximately 333 terabytes of raw data and about 505050 gigabytes of processed data containing roughly 151515 million objects and their attributes.

    Explanation

    Processed data is much smaller because it summarizes and analyzes the original observations.

  40. 40

    Why was a database useful for replacing Sloan's original file-based workflow?

    Model answer

    A database could index the processed data and allow astronomers to express searches as queries instead of manually scanning ASCII files with C programs and scripts.

    Explanation

    The goal was to reduce week-long programming and data-analysis tasks to much faster database operations.

  41. 41

    What types of questions are especially common in the Sloan survey?

    Model answer

    Many questions are spatial, such as finding objects in a region of the sky, while others search for particular properties, correlations, or spectral characteristics.

    Explanation

    The survey's data model must support both spatial access and scientific filtering.

  42. 42

    Why was a specialized spatial access method needed for the Sloan database?

    Model answer

    Many queries involve positions on the celestial sphere, but the database system being used did not provide adequate spherical spatial indexing.

    Explanation

    Ordinary spatial methods may not handle the geometry of the sky effectively.

  43. 43

    How can moving objects be detected from Sloan observations?

    Model answer

    The telescope captures different spectral bands at different times, so an object that changes position between exposures can be identified by comparing its measured locations.

    Explanation

    The Earth's motion across the sky and sequential CCD exposures provide multiple time-separated measurements.

  44. 44

    Why can a fast-moving object appear as several different database objects?

    Model answer

    If it moves substantially between exposures, its detections may not align during registration, causing the data pipeline to record each position as a separate object.

    Explanation

    The database must reconstruct the identity of the moving object from its separated detections.

  45. 45

    How was a fast-moving asteroid-like object identified in the described query?

    Model answer

    The search looked for detections that were elongated in different color frames, had little or no signal in other bands, and lined up along a consistent path.

    Explanation

    The spatial pattern across sequential exposures distinguished moving objects from ordinary stationary sources.

  46. 46

    What was the performance improvement from using a database for the difficult moving-object search?

    Model answer

    A previous script took about three days, whereas the database query found three candidate objects in about eleven minutes.

    Explanation

    The result demonstrated that SQL and database execution could handle a search previously considered impractical with SQL.

  47. 47

    Why was one of the moving-object candidates rejected?

    Model answer

    Inspection showed that it was a cosmic ray rather than a genuine astronomical object.

    Explanation

    Database searches can generate false positives that require scientific validation.

  48. 48

    What were the general performance results for the Sloan query workload?

    Model answer

    Most queries ran in about a minute, some in seconds, and none took much more than approximately half an hour.

    Explanation

    These results were substantially faster than writing and running separate file-processing programs.

  49. 49

    Why is parallel processing important for large astronomical searches?

    Model answer

    Many searches scan the entire database, so using multiple processors in parallel greatly increases the rate at which the data can be examined.

    Explanation

    The described system scanned data at roughly 250250250 megabytes per second using multiprocessor hardware.

  50. 50

    What advantage does SQL provide over a typical custom C program in this setting?

    Model answer

    SQL can automatically choose query plans, use appropriate indexes, and parallelize searches across processors.

    Explanation

    These capabilities reduce the amount of low-level optimization that application programmers must implement themselves.

  51. 51

    Why are many astronomical queries described as 'needles in a haystack' searches?

    Model answer

    They seek a small number of unusual objects hidden within a very large data set, often requiring a scan of nearly all records.

    Explanation

    The system therefore needs extremely efficient scanning and filtering rather than only point lookups.

  52. 52

    Why are counting and binning common operations in astronomical analysis?

    Model answer

    Astronomers frequently summarize large populations by counting objects and grouping measurements into ranges or bins.

    Explanation

    These operations reveal distributions and broad trends across the survey.

  53. 53

    Why is data loading difficult in astronomical databases?

    Model answer

    The incoming data is large, complex, and dirty, and loading it requires handling inconsistent values, errors, and evolving formats.

    Explanation

    The lecture identifies data ingest as one of the major practical weaknesses of the system.

  54. 54

    How can database querying support quality assurance in an astronomical survey?

    Model answer

    Queries can expose suspicious values, unexpected zeros, unusually large error bars, and other patterns that reveal bugs in the data-processing pipeline.

    Explanation

    Researchers using the database may be among the first people to inspect the processed data systematically.

  55. 55

    What did SQL enable in the Sloan target-selection example?

    Model answer

    A SQL query selected a poorly represented class of galaxies for additional spectroscopy, replacing a difficult program that controlled telescope-plate drilling.

    Explanation

    The query made an adjustment that would otherwise have required modifying a complex and rarely changed program.

  56. 56

    What was the result of the SQL-based target-selection process?

    Model answer

    It achieved approximately a 99%99\%99% success rate in selecting targets and increased the available spectra for that galaxy class from roughly 101010 to about 1,0001{,}0001,000.

    Explanation

    The example shows how database queries can shorten scientific turnaround and expand a data set.

  57. 57

    What is the difference between raw data and cooked data in the Sloan survey?

    Model answer

    Raw data consists of the original observations, while cooked data has been processed into identified objects, measurements, spectral information, and related attributes.

    Explanation

    The processed representation is smaller and more directly useful for scientific queries.

  58. 58

    Why are visualization tools important for the Virtual Observatory?

    Model answer

    Researchers need effective ways to explore multidimensional, multiband, and time-varying data, but existing visualization tools were described as inadequate.

    Explanation

    The lecture identifies visualization as a major area in which little progress had yet been made.

  59. 59

    What educational uses were proposed for the SkyServer and Virtual Observatory?

    Model answer

    They can teach astronomy, data analysis, redshifts, spectra, error bars, and data mining using public data sets that students can explore directly.

    Explanation

    The system was initially designed for outreach but also proved useful to professional astronomers.

  60. 60

    How do SkyServer learning activities encourage discovery-based education?

    Model answer

    Students work with real survey data in extended activities and can discover concepts such as the Hubble diagram and redshifts through analysis.

    Explanation

    The activities combine subject knowledge with practical experience interpreting scientific data.

  61. 61

    What interface options were offered for querying SkyServer?

    Model answer

    Users could submit SQL directly, while a graphical interface was being developed to display the schema and automate joins through point-and-click interaction.

    Explanation

    The goal was to make database access useful without requiring every user to learn SQL.

  62. 62

    What kinds of output can an astronomical web service provide?

    Model answer

    It can return formats such as HTML, XML, comma-separated data, and FITS files used widely by astronomers.

    Explanation

    Multiple output formats support both human browsing and programmatic scientific analysis.

  63. 63

    Why is XML alone an insufficient abstraction for publishing scientific data?

    Model answer

    XML represents data but not the programs or methods needed to interpret and manipulate that data.

    Explanation

    The content argues that useful publication requires interfaces or methods in addition to serialized values.

  64. 64

    What should a scientific web service publish besides its data?

    Model answer

    It should publish the methods it supports, the schemas describing its inputs and outputs, and the conventions needed to call those methods.

    Explanation

    This allows clients to discover and use the service programmatically.

  65. 65

    What is the purpose of an interface definition in a web service?

    Model answer

    It specifies the available methods, their parameters, their return values, and the schemas describing the exchanged data.

    Explanation

    The interface acts as an internet-based contract between a client and a service.

  66. 66

    How does a remote procedure call to a geospatial or astronomical service work?

    Model answer

    A client invokes a method, the request is encoded and sent across the network, the server processes it against its database, and the result is encoded and returned to the client.

    Explanation

    The process includes marshaling, remote execution, and unmarshaling of the returned data.

  67. 67

    What is the early-binding versus late-binding issue in scientific web services?

    Model answer

    Early binding returns data in predefined classes or structures known at compile time, whereas late binding returns flexible documents such as XML whose fields can evolve.

    Explanation

    The trade-off is between strong predefined interfaces and adaptability to changing scientific schemas.

  68. 68

    What basic properties might be included in a common astronomy data model?

    Model answer

    Astronomical objects may have spatial position, observation time, velocity, spectral measurements, and other measured parameters.

    Explanation

    These properties form a shared core even though new object attributes may continue to be discovered.

  69. 69

    Why is schema evolution unavoidable in astronomy?

    Model answer

    Astronomers continually discover new scientifically important attributes, so a fixed schema cannot capture every future measurement or interpretation.

    Explanation

    Flexible extensions are needed because the scientific meaning of objects develops over time.

  70. 70

    What is metadata in the context of astronomical archives?

    Model answer

    Metadata is information describing the data, including its attributes, units, source, processing history, authorship, and provenance.

    Explanation

    Metadata makes observations understandable and allows users to assess how they were produced.

  71. 71

    Why are standard units important when federating astronomical archives?

    Model answer

    Common units allow measurements from different archives to be compared, combined, and queried without ambiguity.

    Explanation

    Examples include standardized representations for degrees, frequency, and astronomical magnitudes.

  72. 72

    Why is metadata particularly difficult to standardize?

    Model answer

    Astronomical schemas evolve, different surveys use different conventions, and even the names and meanings of attributes may change as scientific understanding develops.

    Explanation

    A common schema must balance interoperability with the need to represent new information.

  73. 73

    How does the culture of astronomy affect the design of scientific archives?

    Model answer

    Because astronomers commonly download data from multiple archives into private workspaces and modify or combine it, archives must support flexible extraction, extension, and republication.

    Explanation

    Users do not merely consume fixed records; they create new interpretations and derived data.

  74. 74

    How might computational astronomy change professional roles within astronomy?

    Model answer

    It may create or strengthen separate roles for telescope operators, data curators, analysis-tool developers, algorithm designers, and researchers who interpret scientific trends.

    Explanation

    People may participate in several roles, but the daily activities associated with each role can differ.

  75. 75

    Why is genome data not simply an identical database problem to astronomical data?

    Model answer

    Astronomy emphasizes spatial, spectral, and positional queries, whereas genomics emphasizes sequences, similarity, distance, and matching.

    Explanation

    Although both fields produce large data sets, their basic objects, operations, indexes, and visual metaphors differ.

  76. 76

    What database ideas from astronomy may still apply to genomics?

    Model answer

    Database technology can help manage workflows, track processing, organize large data sets, and support collections of reusable queries and analysis tools.

    Explanation

    The general benefits of structured data management remain useful even when domain-specific indexing differs.

  77. 77

    Why is the Virtual Observatory considered a useful research test bed for distributed systems?

    Model answer

    It requires multiple independent archives and web services to exchange data and work together across organizational and technical boundaries.

    Explanation

    Federated astronomical archives provide a realistic environment for testing service integration and distributed querying.

1 of 77
Question 1 of 77

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent