Google Apps Script - Exercise Coding Projects - Adding Images from the Web and Drive to Google Docs

Google Apps Script - Exercise Coding Projects - Adding Images from the Web and Drive to Google Docs

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This tutorial demonstrates how to use Google App Script to add images to a Google Doc. It covers selecting images from Google Drive and web URLs, creating a Google Doc with a script, and setting up a UI menu. The video explains how to fetch images in BLOB format, handle permissions, and insert images at the cursor location. It also shows how to manage image IDs from Google Drive and optimize the script for multiple image options.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two sources of images mentioned for insertion into a Google Doc?

Local Storage and Web URLs

Web URLs and Cloud Storage

Google Drive and Web URLs

Google Drive and Local Storage

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in setting up a script to add images to a Google Doc?

Run the on open function

Create a new Google Doc

Access the command palette

Fetch the image URL

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the UI menu in the Google Doc script?

To store images

To add test content

To run specific functions

To fetch image URLs

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of the 'on open' method in the script?

To save the document

To delete the document

To run code when the document is opened

To close the document

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to fetch an image from a web URL?

Data Fetch

Web Fetch

Image Fetch

URL Fetch

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What format is used to handle images fetched from a web URL?

BLOB

PNG

GIF

JPEG

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What must be done before a script can fetch an image from a URL?

Move the image to Google Drive

Rename the image

Download the image

Review and accept permissions

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?