levo

Multiple Forms and Linking to Files

  • 11 subtopics
  • 33 things to know
  • AS Unit 2

Learn Multiple Forms and Linking to Files in runs of four questions, then keep it with spaced repetition.

What Multiple Forms and Linking to Files covers

Multiple Forms and Linking to Files is examined in Unit AS 2, Event Driven Programming — an internally assessed portfolio. It covers why an application needs more than one form, creating, showing, hiding and closing a form, modal and modeless forms, passing data between forms, menus, menu items and shortcuts, Toolbars and navigation buttons, designing navigation for a multi form application, reading and writing text files, binary files and streams, object serialisation and object files and choosing between text, binary and object files.

Where it is assessed

AS Unit 2

Event Driven Programming — an internally assessed portfolio.

Check the CCEA specification ↗

The 11 subtopics

Each one has its own page. CCEA AS Software Systems Development students sit this topic in the first year.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What happens to a form's contents when it is disposed of, and why must a secondary window not close the application?

Key term

What is a stream, and how does an input stream differ from an output stream?

Key term

Give two reasons an application is built from several forms rather than one.

Key term

What is a modal form?

Evaluation

What is the advantage of passing a value through the constructor of the second form?

Key term

What is a menu bar?

Key term

What is a toolbar?

Key term

What is a navigation map?

Key term

What is a text file?

Key term

What is object serialisation?

Key term

Which file type suits data that must be opened in a spreadsheet, and why?

Key term

What is a splash screen?

Process

What two steps are needed to implement a second form on the screen in code?

Key term

What is a modeless form?

Process

How does a modal dialog return a value to the form that opened it?

Key term

What is a drop-down menu?

Key term

Why does a toolbar button usually show an icon rather than a caption?

Key term

What is a dead end screen?

Evaluation

Give two advantages of storing data in a text file.

Key term

What is a binary file?

Key term

What is deserialisation?

Key term

Which file type suits a large table of numbers read repeatedly, and why?

Key term

Explain why a login screen is usually a separate form from the main window.

Key term

The Java code FrmReport f = new FrmReport(); f.setVisible(true); runs in a handler and the button is clicked twice. How many report windows appear?

Key term

What happens to the calling code when a modal form is shown?

Key term

Why can the calling form not read a modeless form's fields immediately after showing it?

Key term

What is a submenu?

Key term

What must a toolbar button provide because its icon may not be understood?

Key term

How is the number of clicks needed to reach a feature a measure of design quality?

Evaluation

Give two disadvantages of a text file for numeric data.

Key term

Why is a whole number stored in fewer bytes in a binary file than in a text file?

Key term

What is an object file?

Key term

Why is a text file the easiest format to debug?

Take Multiple Forms and Linking to Files further

The same content, four other ways.

Commonly confused

Pairs that lose marks when they are blurred together.

  • Serial access vs Direct access

    Serial access: reaching a record by passing every earlier one in turn. Direct access: jumping straight to a calculated position.

Questions from this topic

Each one with the model answer underneath.

  1. 1

    Give two reasons an application is built from several forms rather than one.

    Model answer

    Several forms keep each screen focused on one task, and the user is not shown fields belonging to a job they are not doing.

  2. 2

    What is a splash screen?

    Model answer

    A splash screen is a short-lived form shown while an application starts, and a splash screen displays the product name and a progress message.

  3. 3

    What is a main form or parent form?

    Model answer

    A main form is the window opened at startup that stays for the life of the application and from which the other forms are reached.

  4. 4

    Explain why a login screen is usually a separate form from the main window.

    Model answer

    A login screen is separate so the main window is only built once the credentials are accepted, and the login form is then closed and cannot be returned to.

  5. 5

    What is a dialog box?

    Model answer

    A dialog box is a small form that asks for one decision or one piece of information and then closes.

  6. 6

    Give an example of a task that suits its own form and one that does not.

    Model answer

    Editing a customer record suits its own form, while a single confirmation question does not and is better served by a small pre-built message box.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

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

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A null is the of one.
absencepresencetype

Blank Blitz consolidates the facts

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

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

An error is the mistake a person made.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

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

Multiple Forms and Linking to Files revision questions

Is Multiple Forms and Linking to Files examined at AS in CCEA Software Systems Development?
Yes. It sits in AS Unit 2, which you take in the first year, so it is on the AS paper as well as counting towards the full A level.
What does Multiple Forms and Linking to Files cover in CCEA AS-Level Software Systems Development?
11 subtopics: why an application needs more than one form, creating, showing, hiding and closing a form, modal and modeless forms, passing data between forms, menus, menu items and shortcuts, toolbars and navigation buttons, designing navigation for a multi form application, reading and writing text files, binary files and streams, object serialisation and object files and choosing between text, binary and object files. Each one has its own page with questions and model answers.
How is Multiple Forms and Linking to Files organised?
By the CCEA CL4 specification, subtopic by subtopic, so it matches the order you are taught it in.

Every question in Multiple Forms and Linking to Files, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

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