Which of the following is the main reason to use Apps Script with Google Sheets?
Think about what automation means in daily tasks.
Apps Script helps automate repetitive tasks like updating data or sending emails, saving time and reducing errors.
You want to update a Google Sheet every day with new sales data from another source automatically. What is the best way to do this using Apps Script?
Think about how to make the update happen automatically every day.
Setting a time-driven trigger runs the script automatically at set times, like daily, without manual action.
You create a custom Apps Script function DOUBLE(value) that returns twice the input number. What will be the output in cell B1 if you enter =DOUBLE(5)?
function DOUBLE(value) {
return value * 2;
}Think about what doubling 5 means.
The function multiplies the input by 2, so 5 becomes 10.
Which Apps Script method correctly writes the value "Hello" into cell A1 of the active sheet?
Remember the method to set a single cell's value.
The correct method is getRange('A1').setValue('Hello'). Other options use invalid methods.
You have an Apps Script with a function that sends an email when a cell value changes. You set an onEdit trigger. Which of the following is true about when the email will be sent?
Think about what triggers respond to user actions versus script actions.
The simple onEdit trigger runs only when a user edits the sheet manually, not when scripts change values.