Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Developer 47 Lessons    Comments List
Pinned    Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Quiz
Richard Rost 
          
15 months ago
LESSON 1:

Q1. What command should NOT be used to create multiple instances of the same form?
A. DoCmd.OpenForm
B. Form.Visible = True
C. Set F = New Form
D. DoCmd.Close

Q2. What is the scope of a variable declared inside a subroutine?
A. Global-level scope
B. Procedural-level scope
C. Module-level scope
D. Form-level scope

Q3. How can you ensure that multiple instances of the same form can be opened simultaneously?
A. Use a different form variable for each instance
B. Use a global variable for all instances
C. Use a collection to store form objects
D. Set the form's Visible property to False

Q4. What does setting a variable to Nothing accomplish?
A. It assigns a global value to the variable
B. It saves the current value of the object to the database
C. It releases the memory allocated to the object
D. It makes the form visible on the screen

Q5. When do you need to set an object variable after declaring it?
A. Before exiting the module
B. After using the object in a procedure
C. Immediately after declaring the variable
D. Only when the object variable is public

Q6. What must be done to prevent all form instances from closing when the main form closes?
A. Use a module-level scope for the collection
B. Use a form's Unload event to close forms
C. Declare the collection as Public in a global module
D. Set the form instances to Read-Only

Q7. Why is it necessary to initialize the OpenForms collection in the form load event?
A. To ensure compatibility with the main menu
B. To prevent runtime errors in the application
C. To guarantee that the collection variable has been set before use
D. To automatically close forms when the form loads

Q8. What application behavior should be considered when using public variables in a developer environment?
A. They can simplify code readability in subroutines
B. They enhance security by restricting access to forms
C. Compile or runtime errors can erase public variables
D. They automatically destroy after each form use

Answers: 1-A; 2-B; 3-C; 4-C; 5-C; 6-C; 7-C; 8-C

DISCLAIMER: Quiz questions are AI generated. If you find any that are wrong, don't make sense, or aren't related to the video topic at hand, then please post a comment and let me know. Thanks.

----

LESSON 2:

Q1. What is the purpose of listing all open forms in the tutorial?
A. To count the total memory usage
B. To help debug the application efficiently
C. To manage multiple instances and track them effectively
D. To close all forms simultaneously

Q2. How do you initialize the collection for open forms to avoid errors?
A. Set the collection to null upon form load
B. Use a check collection subroutine in the form load event
C. Assign the forms directly to an array
D. Restart the application

Q3. Which loop is preferred in the tutorial for listing forms and why?
A. For Each loop; because it is easier to write
B. While loop; because it automatically handles errors
C. Itemized counter loop; because it provides index-based access
D. Do Until loop; because it reduces complexity

Q4. What happens when errors occur in VBA regarding form collection?
A. The error is automatically fixed and proceeds
B. All public variables including the collection are cleared
C. The application crashes and restarts automatically
D. The forms automatically close to prevent errors

Q5. Why does the tutorial advise against using built-in keys for identifying forms?
A. Keys are not supported in the VBA environment
B. Built-in keys are unreliable and difficult to manage
C. They don't offer uniqueness among different forms
D. Built-in keys consume too much memory

Q6. How is a custom key recommended to be stored in the tutorial for identifying forms?
A. In a temporary variable
B. In the form tag property
C. In an unbound textbox on the form
D. In a separate database table

Q7. What problem might arise if the same customer form is opened twice according to the tutorial?
A. The database duplicates the customer data
B. The application crashes due to multiple instances
C. You may encounter write conflicts when saving changes
D. The forms overwrite each other's visual settings

Q8. What ensures that the open forms collection is available when the form loads?
A. Adding a new form event to trigger during form load
B. Manually entering form details in a global array
C. Checking if the open forms collection is null and initializing it
D. Persistently storing form data externally

Q9. What does the tutorial suggest doing in case of errors to maintain the functionality of the form collection?
A. Throwing all errors and restarting the application
B. Implementing error handling to manage error responses
C. Logging errors and manually fixing them post-runtime
D. Disabling error throwing in the form collection module

Answers: 1-C; 2-B; 3-C; 4-B; 5-B; 6-C; 7-C; 8-C; 9-B

DISCLAIMER: Quiz questions are AI generated. If you find any that are wrong, don't make sense, or aren't related to the video topic at hand, then please post a comment and let me know. Thanks.

----

LESSON 3:

Q1. What is the primary purpose of resetting the collection when all forms are closed in the lesson?
A. To save changes made to the open forms
B. To enhance the user interface design of the application
C. To keep memory usage efficient and release unused resources
D. To improve the application's loading speed

Q2. Which method is suggested for checking if a form in the collection is open or closed?
A. Access a random property of the form
B. Use a built-in function to check form status
C. Use a property from the form that displays a status message
D. Check if the form can be minimized

Q3. What type of loop is suggested for traversing the forms in the open forms collection?
A. For each loop to specifically manage the form count
B. Counter-based loop for ease of exiting when conditions are met
C. Recursive loop to manage nested collections
D. Infinite loop to ensure all forms are processed

Q4. How does the lesson suggest handling errors when checking if a form is open?
A. Log the error and skip the form
B. Change the form's properties to indicate it's closed
C. Use "On Error" to redirect to a specific part of the code for closed forms
D. Restart the check with a new form collection

Q5. What is the instructor's opinion on Microsoft's documentation about keys in the context of collections?
A. It provides an excellent resource for all developers
B. It is often incomplete and not very useful
C. It is comprehensive but hard to understand
D. It is outdated and needs an update

Q6. What does the instructor do with their lesson content to seek improvement suggestions?
A. Shares it on online forums for public feedback
B. Sends it to other developers in the field
C. Uploads it to chat GPT for analysis and feedback
D. Publishes it in a programming magazine

Q7. What is one suggestion given by the analysis for optimizing the collection reset?
A. Always clear the entire collection without checks
B. Preserve all valid forms and only remove closed ones
C. Use system default methods for resetting the collection
D. Avoid unnecessary checks to increase speed

Q8. What is the purpose of using a Boolean flag in the open forms checking loop?
A. To monitor the number of open forms
B. To indicate if at least one form is found open
C. To track if the loop starts correctly
D. To signal when to restart the collection analysis

Q9. What alternative method is mentioned for managing form properties instead of visibly tracking them?
A. Utilizing the title property of the form
B. Utilizing the tag property of the form
C. Using the form's tooltip property
D. Applying the border color property

Q10. Why does the instructor mention they prefer Google Docs over Word during certain phases?
A. Google Docs is the industry standard for document preparation
B. Google Docs allows easier online access and collaboration
C. Word processing capabilities in Google Docs are superior
D. Google Docs provides better offline storage

Answers: 1-C; 2-A; 3-B; 4-C; 5-B; 6-C; 7-B; 8-B; 9-B; 10-B

DISCLAIMER: Quiz questions are AI generated. If you find any that are wrong, don't make sense, or aren't related to the video topic at hand, then please post a comment and let me know. Thanks.

----

LESSON 4:

Q1. What is the purpose of checking the collection before creating a new form?
A. To verify if a specific customer ID is available for creation
B. To ensure the collection has enough memory for new forms
C. To check if the form is already open and avoid creating duplicates
D. To log which forms are open for debugging purposes

Q2. Why is 'On Error Resume Next' used in the code?
A. To stop the program from running after an error
B. To continue executing the code even after errors occur
C. To manually handle specific errors with a custom message
D. To alert the user about possible syntax errors

Q3. What does the statement 'F.setfocus' accomplish in the code?
A. Closes the form if it is already open
B. Changes the form's layout to focus mode
C. Sets the input focus to an already open form
D. Highlights a specific section of the form

Q4. How can you restart the collection of open forms?
A. By clicking a "Refresh" button
B. By setting 'OpenForms' to an empty array
C. By setting 'OpenForms' to nothing
D. By restarting the application

Q5. Why is repositioning code added after making the form visible in 'open forms.add'?
A. To ensure that forms appear in predefined positions
B. To maximize form size before repositioning
C. To prevent the form from closing accidentally
D. To load specific content in the form based on position

Q6. Which language does not use short-circuit evaluation that can optimize condition checks?
A. Python
B. Java
C. VBA
D. C++

Q7. What is a possible issue caused by not turning off error handling after use?
A. Errors remain unhandled, causing program crashes
B. The program exits successfully with a log
C. Prevents multiple forms from opening simultaneously
D. Future code errors are ignored, leading to unresolved issues

Q8. Why might you want to clear and reset the collection in an application running all day?
A. To add new, unopened forms easily
B. To reduce the size and memory usage of the application
C. To make debugging easier and more efficient
D. To ensure all forms open at the same location

Answers: 1-C; 2-B; 3-C; 4-C; 5-A; 6-C; 7-D; 8-B.

DISCLAIMER: Quiz questions are AI generated. If you find any that are wrong, don't make sense, or aren't related to the video topic at hand, then please post a comment and let me know. Thanks.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer 47 Lessons.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 6:32:51 AM. PLT: 1s