0% found this document useful (0 votes)
19 views4 pages

UNIT 2 Chapter 5

Uploaded by

ibgo15815
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views4 pages

UNIT 2 Chapter 5

Uploaded by

ibgo15815
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

UNIT 2: ELECTRONIC SPREADSHEET

Chapter 5: Use Macros in Spreadsheet


Book Solution

I. Multiple choice questions

1. Macro Recordings can be enabled from the ________ option in the menu bar.

(a) Sheet (b) Data (c) Tools (d) Window

(c) Tools

2. Which of the following is a valid Macro Name?

(a) 1formatword (b) format word (c) format*word (d) Format_word.

(d) Format_word.

3. Which of the following Libraries contains modules with prerecorded macros and should not be
changed?

(a) My Macros (b) LibreOffice Macros (c) Untitled1 (d) Test.

(b) LibreOffice Macros

4. Identify which of the following is a programming Language.

(a) Calc (b) BASIC (c) Writer (d) Macro.

(b) BASIC

5. The Module can be executed from the IDE by pressing _________________.

(a) F3 (b) F4 (c) F5 (d) F6

(c) F5

6. Which of the following is the default name of the Macro _______________.

(a) Default (b) Main (c) Macro1 (d) Main_Macro

(b) Main
II. Fill in the blanks

1. ________ library is automatically loaded when the document is opened.

2. IDE stands for _______________________________.

3. Macro as a function is capable of accepting ___________ and returning a ____________.

4. Macro ________________ allows us to add, delete a module.

5. The code of macro begins with ______ followed by the name of the macro and ends with _______.

6. By default a macro is saved in the _____________ .

Answers

1. Standard
2. Integrated Development Environment
3. arguments/values, result/value
4. Organizer
5. Sub, End Sub
6. Standard Library

III. 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 the 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

IV. Answer the following questions

1. What is a Macro? List any two real life situations where they can be used.

Ans: A macro is a sequence of instructions or commands that automate repetitive tasks in software
applications. In other words, we can say that a macro is a single instruction that executes a set of
instructions.

The two real-life situations where macros can be used are

1. Data Entry 2. Document Formatting


2. List the actions that are not recorded by a macro.

Ans: Actions that are not recorded by a macro are:

• Opening of windows
• Actions carried out in another window than where the recording was started.
• Window switching
• Actions that are not related to the spreadsheet contents.
• Selections are recorded only if they are done by using the keyboard (cursor traveling), but not
when the mouse is used.
• The macro recorder works only in Calc and Writer.

3. How is LibreOffice Macros Library different from my Macros?

Ans:

LibreOffice Macro Library My Macros


This is inbuilt library in LibreOffice This is user defined library
This library contains inbuilt macros which This library contains macros recorded by
cannot be changed user.

4. Differentiate between predefined function in Calc and Macros as a function

Ans:

Predefined function Macros as a function

These are built in functions These are user defined functions.

It does not involve any programming It involves writing code in Basic.

It cannot be customized It can be customized

5. List the rules that should be kept in mind while naming a macro.

Ans: Rules that should be kept in mind while naming a macro are:

• Name should begin with a letter


• Name should not contain spaces
• Name should not contain special characters except for _(underscore)

6. Give any one advantage of macros.

Ans: The advantages of Macros are:

Macros automate repetitive task. It is time saving. It increases efficiency and consistency.
V. Answer the following.

1. A ________________is a single instruction that executes a set of instructions.

Answer: macro

2. A ___________library is present by default when a spreadsheet is created and saved.

Answer: Standard

3___________ Macros library contains modules with prerecorded macros and should not be changed.

Answer: LibreOffice

4. _____________contain macros that we write or add to LibreOffice.

Answer: My Macros

5. The action recorded by a macro is recorded as instructions in a _________ programming language.

Answer BASIC

6. Choose the macro name from the ________________ to view the associated code.

Answer: Object Catalog

7. A__________ can perform operations on the arguments, perform calculations and return the result.

Answer: function

8. We can write macro instructions in between Function and End Function. (True/False)

Answer: True

9. If all the macros are given the same name then they will overwrite the previous Macro created by that
name. (True/False)

Answer: True

10. What are the rules for naming a Macro, Module or a Library?

Answer: While naming a Macro, Module or a Library the name should:

• Begin with a letter


• Not contain spaces
• Not contain special characters except for _ (underscore)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy