Logo/

Database and Web Basics

Log in

Made with ScholarlyMake flashcards like these from your own notes

Database and Web Basics

Questions and answers

118 cards
  1. Question:What is a record in a database table?

    Answer:A row representing a specific entity instance.

  2. Question:What is a primary key?

    Answer:A unique identifier for each record in a table.

  3. Question:What is a relational database?

    Answer:Structured database with tables and relationships (SQL-based).

  4. Question:What characterizes a NoSQL database?

    Answer:Unstructured data or flexible schemas for scalability.

  5. Question:What is an object-oriented database?

    Answer:Stores data as objects analogous to programming objects.

  6. Question:What is a hierarchical database?

    Answer:Data organized in a tree-like structure.

  7. Question:What is a network database?

    Answer:Graph-like structure enabling complex relationships.

  8. Question:Name an example of a relational database system.

    Answer:MySQL (or PostgreSQL, Oracle).

  9. Question:Name an example of a NoSQL database.

    Answer:MongoDB (or Cassandra).

  10. Question:Name an example of an object-oriented database.

    Answer:db4o (or ObjectDB).

  11. Question:Name an example of a hierarchical database.

    Answer:IBM IMS.

  12. Question:What is the purpose of a primary key in a table?

    Answer:To uniquely identify each record.

  13. Question:How do relational databases organize data?

    Answer:In tables with defined relationships.

  14. Question:What is a record?

    Answer:A single data row in a table.

  15. Question:What is a table’s role?

    Answer:To store data for a specific entity.

  16. Question:What is a field’s role?

    Answer:To store a specific attribute of the entity.

  17. Question:What is data integrity in databases?

    Answer:Accuracy, consistency, and reliability of data.

  18. Question:What is the primary purpose of the DBMS implemented at ABC Boutique?

    Answer:Replace manual spreadsheets with a centralized database system.

  19. Question:Which CRUD operations are essential in interacting with the database?

    Answer:Create, Read, Update, Delete (CRUD).

  20. Question:During SDLC planning, why is understanding data requirements important for database design?

    Answer:To define data scope and plan resources.

  21. Question:What role does requirement analysis play in SDLC databases?

    Answer:Defines data needs and relationships to meet user needs.

  22. Question:How does database design influence software architecture in the design phase?

    Answer:Data models determine tables, relationships, and constraints.

  23. Question:Why are tests in the testing phase important for databases?

    Answer:Validate data integrity and performance under load.

  24. Question:What happens during the deployment phase regarding databases?

    Answer:Migrate data and optimize the production database.

  25. Question:What maintenance activities are typical for databases post-deployment?

    Answer:Backups, updates, performance tuning, and security checks.

  26. Question:Name a modern programming language commonly used in web development and its typical use?

    Answer:Python for web development, data science, and automation.

  27. Question:What is the role of HTML in modern programming?

    Answer:Foundational markup for structuring web pages.

  28. Question:What is the significance of CRUD in database interactions?

    Answer:Core operations to manage persistent data.

  29. Question:Why is user training important when deploying a DBMS?

    Answer:Ensures staff can effectively use inventory and sales features.

  30. Question:What challenge might ABC Boutique face before DBMS implementation?

    Answer:Manual, error-prone inventory and sales tracking.

  31. Question:How can the database design accommodate future growth?

    Answer:Scalable schema, flexible relationships, and indexing.

  32. Question:What is the difference between planning phase data requirements and design phase data modeling?

    Answer:Planning defines data needs; design implements structure and constraints.

  33. Question:What is HTML used for in web development?

    Answer:Structuring and presenting web content with markup elements

  34. Question:What is the primary role of Python in software development?

    Answer:Readability and versatility across domains

  35. Question:What is the client-side language commonly used for interactive web pages?

    Answer:JavaScript

  36. Question:Which language is traditionally used for enterprise applications and Android development via the JVM?

    Answer:Java

  37. Question:What framework is commonly associated with C# for enterprise solutions?

    Answer:.NET framework

  38. Question:What is a key feature of Kotlin that improves safety in Android development?

    Answer:Null safety

  39. Question:Which language is described as modern, interoperable with Java, and popular for Android development?

    Answer:Kotlin

  40. Question:What is the main purpose of HTML in the Lab Exercise section?

    Answer:Create a simple web page structure with headings, paragraphs, and images

  41. Question:In the Python lab, what is the primary programming task?

    Answer:Create a simple calculator that takes user input and performs a calculation

  42. Question:What issue is highlighted when entering a non-numeric value in the Python calculator?

    Answer:Input cannot be converted to a number (invalid input)

  43. Question:What is the purpose of the SDK in software development life cycle planning?

    Answer:Plan scope, objectives, timeline, resources and tech stack.

  44. Question:Name a functional requirement for an online bookstore app.

    Answer:Users can search books by author, genre, or title.

  45. Question:What non-functional requirement is specified for search responsiveness?

    Answer:Search responses within 2 seconds.

  46. Question:Which language is suggested for front-end structure in the case study?

    Answer:HTML.

  47. Question:Which language is suggested for server-side logic in the case study?

    Answer:Python.

  48. Question:Which language is suggested for database management in the case study?

    Answer:C#.

  49. Question:What is the role of wireframes in the design phase?

    Answer:Visualize UI layout and structure.

  50. Question:How can database design impact performance and usability?

    Answer:Affects data access, scalability, and user experience.

  51. Question:During SDLC, what is a key activity in the Requirement Analysis phase?

    Answer:Document functional and non-functional requirements.

  52. Question:What is a prerequisite question in the Design Phase about architecture choices?

    Answer:How do design choices impact performance and usability?

  53. Question:What language is mentioned for setting up the back-end in the design task?

    Answer:Python (Django framework).

  54. Question:What is the main objective of the Case Study: Developing an Online Bookstore Application?

    Answer:Understand SDLC phases and how languages fit into development.

  55. Question:In the given lab, what operation is demonstrated after inputting two numbers?

    Answer:Addition, subtraction, multiplication, and division.

  56. Question:What does the code snippet use to ensure accurate division in C#?

    Answer:Casting to double for division.

  57. Question:Which phase includes creating a requirement document with examples?

    Answer:Requirement Analysis phase.

  58. Question:What does the program count from 1 to 5 in the sample code?

    Answer:A simple loop printing numbers 1 through 5.

  59. Question:What is the suggested purpose of using HTML for wireframes in the design task?

    Answer:To outline the front-end structure.

  60. Question:Why is it important to test both functional and non-functional requirements?

    Answer:Ensures the system meets user needs and performance standards.

  61. Question:What is the significance of SDLC in software development projects?

    Answer:Provides a structured process from planning to maintenance.

  62. Question:What is the primary objective of the bookstore online platform project in the planning phase?

    Answer:Create a user-friendly, efficient, secure app for customers and admins

  63. Question:Which technologies are proposed for front-end structure and interactivity in the planning phase?

    Answer:HTML for structure, JavaScript for interactivity

  64. Question:What are the four components of the requirements document in analysis phase?

    Answer:Functional and non-functional requirements, plus stakeholder needs

  65. Question:Give an example of a functional requirement for the bookstore system.

    Answer:Users can search for books by author, genre, or title

  66. Question:Give an example of a non-functional requirement for the bookstore system.

    Answer:System responds to searches within 2 seconds

  67. Question:How does gathering accurate requirements affect project success?

    Answer:Ensures correct scope, reduces rework, aligns stakeholders, guides design

  68. Question:What design artifacts are requested in the design phase?

    Answer:UI wireframes, database schema, and system architecture

  69. Question:Which language is specified for front-end wireframes in the design tasks?

    Answer:HTML

  70. Question:What is the purpose of the database schema design in C# during the design phase?

    Answer:Store books, orders, and customer details

  71. Question:Which framework is proposed for back-end setup in the design phase?

    Answer:Python's Django

  72. Question:How can design choices impact performance and usability?

    Answer:Affects response times, scalability, navigation, and user satisfaction

  73. Question:What challenges might arise during the coding phase when integrating multiple languages?

    Answer:Interoperability, data format consistency, deployment, and tooling differences

  74. Question:Name three components to be developed during the implementation phase.

    Answer:Front-end HTML pages, JavaScript interactivity, Python back-end logic

  75. Question:What CRUD operations must be implemented in the database integration task?

    Answer:Create, Read, Update, Delete

  76. Question:Why is user acceptance testing (UAT) important in the testing phase?

    Answer:Validates usability and ensures system meets user needs

  77. Question:What types of tests are conducted in the testing phase?

    Answer:Unit testing, integration testing, and user acceptance testing

  78. Question:What steps are involved in deploying the bookstore application?

    Answer:Prepare production environment, configure security, and deploy to web server

  79. Question:What should be ensured during deployment for a production environment?

    Answer:Security, configuration, and performance tuning

  80. Question:In maintenance, what should be monitored regularly?

    Answer:Performance issues, security vulnerabilities, and user-reported bugs

  81. Question:What is a practical way to implement new features after deployment?

    Answer:Based on user feedback and changing business needs

  82. Question:How does HTML, JavaScript, Python, and C# contribute to the bookstore system?

    Answer:HTML structures pages, JavaScript adds interactivity, Python handles backend logic, C# manages data storage

  83. Question:What is a common reflection question about the analysis phase in this project?

    Answer:What challenges did the bookstore face that justified a new system?

  84. Question:Why is testing critical in a web-based application?

    Answer:Ensures reliability, usability, and aligns with requirements

  85. Question:What is the primary objective during the Planning Phase of the SDLC for the online bookstore?

    Answer:Define scope, objectives, timeline, and resources (HTML, JavaScript, Python, C#) to guide development.

  86. Question:Name a functional requirement for the bookstore system.

    Answer:Book browsing, shopping cart, user authentication, admin panel for inventory.

  87. Question:What non-functional requirement asserts system performance during searches?

    Answer:Search responses within 2 seconds.

  88. Question:How can wireframes and database design impact application performance?

    Answer:UI layout and data schema affect usability, load times, and scalability.

  89. Question:What is a key challenge when integrating HTML, JavaScript, Python, and C# in a single project?

    Answer:Inter-language interoperability and maintaining consistent data flow.

  90. Question:Why is unit testing essential in the Testing Phase?

    Answer:Verifies each component (e.g., Python backend transactions) works correctly.

  91. Question:What is the role of integration testing in this project?

    Answer:Ensure HTML, JavaScript, and Python components work together seamlessly.

  92. Question:Why is User Acceptance Testing (UAT) important for the project?

    Answer:Validates usability and requirement completion from the end-user perspective.

  93. Question:What steps ensure smooth deployment of a web application?

    Answer:Prepare production environment, configure security, optimize performance, set up CI/CD, monitor post-launch.

  94. Question:During Maintenance Phase, what should the team monitor after deployment?

    Answer:Performance issues, security vulnerabilities, and user-reported bugs.

  95. Question:What kind of feature updates might be implemented based on user feedback?

    Answer:New payment methods and personalized book recommendations.

  96. Question:How can design choices affect performance and usability?

    Answer:Database structure and UI layout influence response times and user experience.

  97. Question:What is the purpose of the admin panel in the requirements?

    Answer:Manage inventory and oversee backend operations.

  98. Question:Which languages are designated for front-end structure and back-end server logic in this project?

    Answer:HTML for front-end, Python with Django for back-end.

  99. Question:What does CRUD stand for in the context of database operations?

    Answer:Create, Read, Update, Delete.

  100. Question:What is a key impact of design choices on application performance?

    Answer:Database structure and UI layout influence performance and usability.

  101. Question:How can a well-planned database structure affect scalability?

    Answer:Enables efficient queries and easier growth as data increases.

  102. Question:Why is UI layout important for user experience?

    Answer:A clear layout reduces effort and improves task success.

  103. Question:What challenge arises from using HTML for the home, search, and detail pages?

    Answer:Ensuring consistent, accessible navigation across pages.

  104. Question:How does JavaScript interactivity affect perceived performance?

    Answer:Reactive updates can make the app feel faster and more responsive.

  105. Question:What backend functionality is essential for user authentication and order processing?

    Answer:Secure authentication and reliable order workflow.

  106. Question:What integration challenge comes from connecting Python backend to a C#-based database?

    Answer:Cross-language data access and differing data models.

  107. Question:What is a common strategy to address cross-language integration issues?

    Answer:Use well-defined APIs and data serialization formats.

  108. Question:Why is unit testing Python components important in this context?

    Answer:Ensures correctness of backend transactions.

  109. Question:What is the purpose of integration testing in a multi-language system?

    Answer:Verify components work together end-to-end.

  110. Question:Why is user acceptance testing (UAT) critical for a bookstore app?

    Answer:Confirms usability and that requirements meet user needs.

  111. Question:What steps are typically involved in preparing for deployment?

    Answer:Configure security, performance tuning, and production readiness checks.

  112. Question:What ongoing tasks are essential in the maintenance phase?

    Answer:Monitor performance, fix bugs, and roll out feature updates.

  113. Question:How can user feedback drive continuous improvement?

    Answer:Prioritize enhancements aligned with user needs and business goals.

  114. Question:What is a key benefit of integrating HTML, JavaScript, Python, and C#?

    Answer:Combines structure, interactivity, logic, and data management.

  115. Question:What design consideration affects both performance and usability in SDLC?

    Answer:Balancing efficient data access with intuitive interfaces.

  116. Question:What testing phase validates that the system meets acceptance criteria?

    Answer:User Acceptance Testing (UAT) checks.

  117. Question:Which phase focuses on securing production deployment?

    Answer:Deployment phase.

  118. Question:What is a strategy to manage cross-language data exchange?

    Answer:Standardize on API contracts and data formats (e.g., JSON, REST).