levo

Multiple Forms and Linking to Files

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

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.

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.

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.

Multiple Forms and Linking to Files revision questions

What does Multiple Forms and Linking to Files cover in CCEA A-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.

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.