Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo

Review Questions

1 .
What is MVC?
  1. the primary design pattern used for SPA applications
  2. a software architecture pattern that separates a system’s presentation, business logic, and data
  3. a software pattern for loose coupling and high cohesion
  4. stands for Multi-Vector Chain, a principal technology used in Web 3.0 blockchain applications
2 .
What is a web application framework?
  1. software designed to aid in developing web applications
  2. software that restricts the boundaries and edges of the network for the application
  3. software that provides cybersecurity for web applications
  4. software that increases the performance of a web application when networking traffic is heavy
3 .
What is a native application framework?
  1. software designed to support development and execution targeted toward a specific platform (e.g., Android, iOS)
  2. program for writing assembly language for a given device
  3. software tools created by a company that also creates the targeted device
  4. software designed for responsive Web 2.0 SPA applications
4 .
List examples of web and native application frameworks.
5 .
Why is it difficult to implement server-side rendering using MVC?
6 .
What is a responsive web application?
  1. a web application that runs very quickly
  2. the web application runs as an SPA
  3. a web application that changes the look and feel based on the user’s credentials
  4. a web application that is effective regardless of a user’s device constraints, such as screen size or orientation
7 .
What is jQuery?
  1. a web application framework like Angular
  2. the official name for JavaScript
  3. an open-source JavaScript library used for browser-based functionality
  4. a Java-based implementation for server-side rendering
8 .
What is the difference between the first and current generations of web frameworks?
  1. The names were changed; however, they have no differences.
  2. Current web frameworks require blockchain, while previous generations did not.
  3. First-generation web frameworks only used HTML and CSS, while current versions use JavaScript.
  4. Current generation web frameworks adhere to updated web standards and resolve issues with the initial implementations.
9 .
What are the differences between Web 2.0 and Web 3.0 applications?
10 .
What is Bootstrap?
  1. a Python-based web application development framework
  2. a tool to control response outputs and convert complex data into content, such as JSON
  3. an open-source, responsive web application framework
  4. a high-level directory used to contain the directories and files necessary to run a Django web application
11 .
Using Bootstrap and Django, what should you do to define the Todo model?
  1. create serializers
  2. use the default Django admin interface to perform CRUD operations on the database
  3. enter category names and click the Post button
  4. install Bootstrap
12 .
Why is the View function important?
  1. The View function enables users to create user interfaces.
  2. The View function creates a Django project, which is needed to contain directories and files.
  3. The View function is required to generate the todo/ directory.
  4. The View function is needed to interact with the database to both create and delete todo items.
13 .
When a Mongoose schema is defined for the todos model, what happens?
  1. A todos collection is created in the MongoDB database.
  2. The REST APIs are built in the MongoDB database.
  3. A todos collection is created in the Express web server.
  4. The REST APIs are created in the Express web server.
14 .
What does the controller do?
  1. The controller contains code that configures the MongoDB database and Mongoose.
  2. The controller contains code that builds the REST APIs.
  3. The controller contains code that creates the React components.
  4. The controller contains code that calls the Mongoose CRUD functions to interact with the MongoDB database.
15 .
What is Postman?
  1. the port that runs the Express web server
  2. an API platform testing tool
  3. the database connection URL to the Mongo DB database
  4. the connection that allows the CRUD functions to interact with the Express web server
16 .
What is the purpose of Axios?
  1. Axios runs the Express web server.
  2. Axios is used by the Node application to fetch data by making requests to a given endpoint.
  3. Axios runs the MongoDB database.
  4. Axios is used by the React application to fetch data by making requests to a given endpoint.
17 .
When using Bootstrap with React and Django to update the Todo web application, what will the React application use to fetch data by making requests to a given endpoint?
  1. Node
  2. Axios
  3. Postman
  4. Django API
18 .
What is needed to configure the Django application so it is allowed to accept in-browser requests that come from React?
  1. CORS
  2. Node
  3. Axios
  4. Proxy
19 .
When using Bootstrap with React and Django to build the Todo web application, how are API requests tunneled from the React application to http://localhost:8000, where they can be received and handled by the Django application?
  1. through an Express web server
  2. through Node
  3. through Postman
  4. through a proxy
20 .
To develop a Todo application for Apple platforms, what IDE should you use?
  1. Android Studio
  2. Django project
  3. Xcode
  4. Axios
21 .
What is a Metro bundler?
  1. a JavaScript bundler that bundles code into a single JavaScript file
  2. a Django bundler that bundles code into a single Django file
  3. an Express web bundler that bundles code into a single Express web file
  4. a Postman bundler that bundles code into a single Postman file
22 .
What must you run to connect the front-end app with the back-end app to create the mobile Todo application?
  1. React Native app
  2. Node app
  3. Express web server
  4. Mongo DB
23 .
What are smart contracts?
  1. agreements between Bootstrap and the Ethereum blockchain to share information
  2. secure digital agreements that enable applications to be used on mobile devices, as well as computers
  3. agreements between React and Node to share information
  4. secure digital agreements that enable users to transact directly with each other via the Web
24 .
When building a Todo Ethereum blockchain Web 3.0 application, what is the purpose of Ganache?
  1. Ganache enables Truffle and Solidity to interact.
  2. Ganache serves as the personal blockchain for development.
  3. Ganache is a tool to develop smart contracts.
  4. Ganache creates the front-end React components.
25 .
What does the Ethereum blockchain do?
  1. creates a secure peer-to-peer network through the use of smart contracts
  2. provides the high-level, object-oriented language needed to implement smart contracts
  3. connects React to the MetaMask plug-in to create smart contracts
  4. creates a migration script to deploy smart contracts to Ganache
Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/introduction-computer-science/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/introduction-computer-science/pages/1-introduction
Citation information

© Oct 29, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.