answersLogoWhite

0


Best Answer

A macro is a small 'program' or 'computer' instruction, usually created via a scripting language, the instruction represents a larger sequence of instructions. For example say every morning when you get to work you * open email * open a workspace * open the calculator * open a calendar * log into a webpage well you could record or write all of these as a macro and instead of clicking this that and the other you could click one thing - the macro you recorded or wrote and go get a cup of coffee and when you got back your system would be ready for you to go to work!

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The term macro can mean many things. All macros have a nature of "something pre-recorded or pre-defined." Examples of macros include these:

Some tools can record mouse movements and keyboard activity, store these in "keyboard macros" (the name varies), and replay those pre-defined mouse and keyboard operations on request. For example, a software tester might record and replay user input sequences to automate testing of subsequent versions of a product.

Most standard office applications support the definition of macros. In this context, a macro is a small program, written in a programming language such as VBA (Visual Basic for Applications), Python, Perl, or many others. Macros of this nature are often very simple, but can grow to be very complex programs. For example, a macro in Excel can implement complex user-defined statistic evaluation of data, a macro in a 3D rendering software package can rotate and move a character, etc.

In some programming languages, macros are small named sequences of instructions. When invoked, these sequences are inserted in-situ at compile-time. In the C Programming languages, macros are defined using the preprocessor's #define construct. Many other high-level programming languages and most assembler languages provide similar facilities.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a macro in computer science?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is macro graph?

A science graft.


What has the author Harry R Lewis written?

Harry R. Lewis has written: 'Data structures & their algorithms' -- subject(s): Computer algorithms, Data structures (Computer science) 'An introduction to computer programming and data structures using MACRO-11' -- subject(s): MACRO 11 (Computer program language), Computer programming, Data structures (Computer science) 'Excellence Without a Soul' -- subject(s): Whitman College, Higher Education, Aims and objectives, Academic achievement, Center for Teaching and Learning collection, Harvard University, Universities and colleges


How is a macro different from function in computer?

What_is_the_difference_between_a_macro_and_a_function


What virus attaches to documents such as word or excel files?

Macro viruses use Microsoft Word and Excel's capabilities to embed code and programs into the document. When the document is opened, the macro virus is executed and infects your computer.


Which is better Computer science or information science?

computer science


How does science and technology influence the macro-economic environment?

It provides solid base


Difference between Bachelor of Science in Computer Science and Bachelor of Science with Computer Science?

You don't get a degree with a subject; you get a degree in a subject. Bachelor of Science in Computer Science or Bachelor of Computer Science are common descriptions of this degree.


What are the macro properties of matter?

ask my friend on 0402655877 he a computer geek


What is macro environment and macro economical structure?

I think the questioner has got a computer term (the former) mixed up with an Economics term (the latter).


What is a bscs and mscs?

bachelor of science computer sciencemaster of science computer science


Is computer science more in future?

No. Computer science is now.


What is the open compound I'm taking computer science and math class next semester?

Computer Science A+++