levo

Building a Desktop Solution with a Database

Choosing the database and the development tool

  • 3 things to know
  • A2 Unit 2

Overview

Difference between a file-based and a server-based database, database driver or provider and data source in a desktop application.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Why should the choice of tool be justified in the documentation?

Key term

What is the difference between a file-based and a server-based database?

Key term

When is a file-based database the right choice?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    On what grounds is a database management system chosen for a desktop solution?

    Model answer

    It is chosen on whether it supports the relational features the design needs, whether it runs on the hardware available, whether it is affordable or already licensed, whether one user or several will use it at once, and whether the developer and the future maintainer can work with it.

  2. 2

    What is the difference between a file-based and a server-based database?

    Model answer

    A file-based database is a single file opened directly by the application, which suits one user on one machine. A server-based database runs as a service that applications connect to, which is what allows several users, proper locking and central backup.

  3. 3

    When is a file-based database the right choice?

    Model answer

    When one person uses the solution on one machine, the data volume is modest, and simplicity of installation matters more than concurrent access, since there is then no server to install or administer.

  4. 4

    When must a server-based database be used?

    Model answer

    Whenever several people will use the solution at the same time, because the server is what serialises their updates, enforces locking and keeps one authoritative copy of the data.

  5. 5

    Why must the development tool and the database be able to work together?

    Model answer

    The application reaches the database through a driver or provider for that product, so a database with no provider for the chosen language cannot be connected to at all, whatever its other merits.

  6. 6

    What is a database driver or provider?

    Model answer

    A driver or provider is the software component that translates between the application's data-access code and the particular database product, so the same code can address a different database by changing the provider and the connection details.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A null is the of one.
absencepresencetype

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AA null means no value has been recorded.
BZero and an empty string are values.
CA null is the absence of a value.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

An error is the mistake a person made.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Building a Desktop Solution with a Database, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.