Chapter 5 Using Macros in
Spreadsheet Question Answer
Class 10 IT using LibreOffice
Chapter 5 Using Macros in Spreadsheet
Question Answer Class 10 IT
A. Multiple choice questions
1. Macro Recordings can be enabled from the ________ option in the
menu bar.
(a) Sheet
(b) Data
(c) Tools
(d) Window
Answer:(c) Tools
2. Which of the following is an invalid Macro Name?
(a) 1formatword
(b) format word
(c) format*word
(d) Format_word
Answer:(d) Format_word
3. Which of the following Libraries contains modules with
prerecorded macros and should not be changed?
(a) My Macros
(b) LibreOfficeMacros
(c) Untitled1
(d) Test
Answer:(b) LibreOfficeMacros
4. Identify which of the following is a programming Language?
(a) Calc
(b) BASIC
(c) Writer
(d) Macro
Answer:(b) BASIC
5. The Module can be executed from the IDE by pressing _____________.
(a) F3
(b) F4
(c) F5
(d) F6
Answer:(c) F5
6. Which of the following is the default name of the Macro
_______________.
(a) Default
(b) Main
(c) Macro1
(d) Main_Macro
Answer:(b) Main
Using Macros in Spreadsheet Question Answer
Class 10 IT
B. Fill in the blanks
1. ________ library is automatically loaded when the document is opened.
Standard
2. IDE stands for _______________________________.
Integrated Development Environment
3. Macro as a function is capable of accepting ___________ and returning a
____________.
arguments/values, result/value
4. Macro ________________ allows us to add, delete a module.
Organizer
5. The code of macro begins with __________ followed by the name of the
macro and ends with __________.
Sub, End Sub
6. By default a macro is saved in the _____________ .
Standard Library
C. State whether the following statements are True or False
1. Macro is a group of instructions executing a single instruction. [False]
2. Once created, Macro can be used any number of times. [True]
3. By default, the Macro recording feature is turned on. [False]
4. It is not possible to stop recording of a Macro. [False]
5. Every Macro should be given a unique name.[True]
6. A macro once created can be edited later.[True]
D. Answer the following questions
1. What is a Macro? List any two real life situations where they can be
used.
Answer: A macro in LibreOffice is a sequence of instructions that automate
tasks. They are useful for repetitive tasks to save time and reduce errors.
Two real-life situations where macros can be used are:
i) Automating Monthly Reports: For example, generating a sales report
every month by extracting data from various sheets and compiling them into a
single document.
ii) Data Formatting: Automatically formatting a large dataset, such as
applying specific fonts, colors, and borders to tables in a document.
2. List the actions that are not recorded by a macro.
Answer: Actions not recorded by a macro in LibreOffice include:
i) Moving the cursor with the mouse.
ii) Opening and closing dialogs or interacting with dialog controls (other than
simple actions like clicking a button).
3. How is LibreOffice Macros Library different from my Macros?
Answer:
LibreOffice Macros Library: This contains macros provided by LibreOffice or
installed extensions. They are accessible to all documents and users within
the LibreOffice suite.
My Macros: These are user-defined macros specific to an individual user’s
profile. They are usually customized for personal use and can be accessed
across different documents created by the user.
4. Differentiate between predefined function in Calc and Macros as a
function
Answer:
Predefined Functions in Calc: These are built-in functions provided by Calc,
such as SUM(), AVERAGE(), and VLOOKUP(). They are optimized for
performance and ease of use, requiring no programming knowledge.
Macros as a Function: Macros are custom scripts written by users to
perform complex or repetitive tasks that predefined functions cannot handle.
Writing and using macros require some programming knowledge, typically in
languages like Basic or Python.
5. List the rules that should be kept in mind while naming a macro.
Answer:
i) The name must start with a letter or an underscore (_).
ii) Subsequent characters can be letters, numbers, or underscores.
iii) The name should not contain spaces or special characters (e.g., @, #, $,
%, etc.).
iv) The name should be descriptive of the macro’s function for clarity and
future reference.
6. Give any one advantage of macros.
Answer:
Efficiency Improvement: Macros significantly increase productivity by
automating repetitive tasks, reducing the time and effort required to perform
them manually.