Unit 3: Package Actions, Excel Automation, QR Codes, and File Operations - Practice Quiz

INT346 — Robotic Process Automation 50 Questions
0 Correct 0 Wrong 50 Left
0/50

1 In the context of Robotic Process Automation (RPA), what is the primary function of a Package?

A. To compress files into a ZIP format for storage.
B. To bundle a specific set of actions or commands needed to perform tasks in a bot.
C. To create a graphical user interface for the end-user.
D. To encrypt data during transmission between the bot and the control room.

2 When integrating package actions into a bot, why is version control of the package important?

A. It automatically converts Excel files to PDF.
B. It increases the execution speed of the bot by .
C. It is required to change the programming language of the bot.
D. It ensures the bot utilizes the correct set of features and bug fixes compatible with the existing code.

3 Which of the following acts as the primary difference between 'Excel Basic' and 'Excel Advanced' packages in many RPA tools?

A. Excel Basic requires Microsoft Excel to be installed, while Advanced does not.
B. Excel Basic supports macros, while Advanced does not.
C. Excel Advanced requires Microsoft Excel to be installed, while Basic does not.
D. Excel Basic can only read CSV files, while Advanced reads XLSX.

4 When using an Excel action to read data, what does the 'Contains Header' option usually signify?

A. The file is password protected.
B. The first row of the data contains formatting styles.
C. The first row of the data contains column names and should not be processed as data.
D. The bot should add a header row to the output file.

5 Which action is required to initiate any read or write operation in an Excel Advanced session?

A. Open/Connect
B. Get All Cells
C. Run Macro
D. Activate Sheet

6 In Excel Automation, what is a 'Session Name' used for?

A. To serve as a unique identifier linking multiple actions to a specific open workbook.
B. To calculate formulas within the spreadsheet.
C. To define the user credentials for logging into Windows.
D. To name the output PDF file.

7 Which file extension is NOT typically supported by standard Excel Basic file operations?

A. .csv
B. .xlsx
C. .xls
D. .exe

8 To read a specific data point from the intersection of the 3rd column and 5th row, which cell reference is used?

A. C5
B. Row3Col5
C. 5C
D. E3

9 What is the result of the 'Get Single Cell' action in an RPA Excel package?

A. It retrieves the value from a specified cell and stores it in a variable.
B. It deletes the content of the cell.
C. It changes the background color of the cell.
D. It merges the cell with the one next to it.

10 Which technique is most efficient for processing a large dataset (e.g., rows) in Excel Automation?

A. Taking a screenshot of every page.
B. Using the 'Get All Cells' action to load data into a DataTable variable and processing in memory.
C. Looping through each row and reading cells one by one.
D. Opening and closing the file for every single row.

11 What does the 'Save As' action allow a bot to do?

A. Only save the changes in the current file.
B. Delete the original file automatically.
C. Save the current workbook with a new name or different file format.
D. Save the workbook to the cloud without a local copy.

12 In Excel Advanced, how can a bot execute complex pre-written VBA code?

A. By converting the file to a text file.
B. By using the 'Run Macro' action.
C. By using the 'Calculate Formula' action.
D. By typing the code into cell A1.

13 When generating a QR Code using RPA, what is the primary input required?

A. The text, URL, or data to be encoded.
B. The color of the QR code.
C. The printer name.
D. The scanning camera resolution.

14 Which action is used to interpret the information contained within a QR code image file?

A. Generate QR Code
B. Image Resize
C. Scan/Read QR Code
D. OCR to Text

15 Which of the following is a valid output format when using a 'Generate QR Code' action?

A. A spreadsheet (.xlsx)
B. A text file (.txt)
C. An image file (e.g., .png or .jpg)
D. An audio file (.mp3)

16 In File Operations, which action is used to combine multiple files into a compressed archive?

A. Concat Text
B. Encrypt Files
C. Zip/Compress Files
D. Merge Files

17 Why is the 'If File Exists' condition critical in file automation workflows?

A. It checks if the file has a virus.
B. It automatically creates the file if it is missing.
C. It renames the file to avoid duplicates.
D. It prevents errors by ensuring a file is present before attempting to read or move it.

18 Which Excel action allows you to filter rows based on specific criteria (e.g., Age )?

A. Filter/AutoFilter
B. Sort Data
C. Find and Replace
D. Merge Cells

19 To iterate through every file within a specific folder, which loop construct is used?

A. Loop for each row in CSV
B. Loop for each file in folder
C. Loop n times
D. While loop

20 When writing data to a text file, what does the 'Append' option do?

A. Adds the new data to the end of the existing content without deleting it.
B. Creates a new file with a timestamp.
C. Overwrites the existing content of the file.
D. Deletes the file before writing.

21 What happens if a bot attempts to 'Create Folder' using a path that already exists?

A. The existing folder is deleted.
B. The computer restarts.
C. The bot usually ignores the command or returns an error depending on configuration.
D. All files inside the folder are duplicated.

22 In Excel Advanced, what is the purpose of the 'Set Cell' action?

A. To read the value of a cell.
B. To lock the cell format.
C. To delete the cell row.
D. To write a value or formula into a specific cell.

23 Which of the following creates a robust file path reference that works across different users' machines?

A. Hardcoding C:\Users\JohnDoe\Documents\file.txt
B. Assuming the file is always on the Desktop.
C. Using only the filename without a path.
D. Using system variables like $System:UserHome$\Documents\file.txt

24 When deleting files, what is the primary risk of using the 'Delete File' action in RPA?

A. It converts the file to a shortcut.
B. It requires internet access.
C. The file might be too large to delete.
D. Permanent data loss if the wrong path pattern is provided.

25 Which Excel action is used to remove a specific worksheet from a workbook?

A. Clear Cells
B. Delete Row
C. Remove Column
D. Delete Worksheet

26 In the context of QR codes, what determines the amount of data that can be stored?

A. The color of the ink used.
B. The file name of the image.
C. The speed of the processor.
D. The version (size of the grid) and error correction level.

27 What is the function of 'Copy File' action?

A. Opens the file for editing.
B. Moves a file from Source to Destination, removing it from Source.
C. Duplicates a file from Source to Destination, keeping the Source intact.
D. Renames a file.

28 Which variable type is most appropriate to store the data retrieved from an 'Excel: Get All Cells' action?

A. Boolean
B. String
C. DataTable / Table
D. Number

29 How can a bot identify the extension of a file during a file loop?

A. It is not possible to check extensions.
B. By opening the file and checking the header.
C. By using the dictionary key associated with the file extension (e.g., $fileDictionary{extension}$).
D. By guessing based on file size.

30 What does the 'Close' action in Excel Automation allow the user to define?

A. The color of the closed window.
B. Whether to save changes or discard them.
C. The password for the computer.
D. Which font to use for the next session.

31 Which of the following is a File Management operation?

A. Scanning a QR code.
B. Summing column A.
C. Sending an email.
D. Renaming a folder.

32 If you need to perform a VLOOKUP operation without opening the Excel UI, which approach is best?

A. Use keystrokes to type VLOOKUP.
B. Manually search with Ctrl+F.
C. Use Database actions to treat the Excel file as a database and run a SQL query.
D. Use Excel Advanced 'VLOOKUP' formula.

33 What is a CSV file?

A. Complex Sheet View
B. Comma Separated Values
C. Computer System Video
D. Compiled Source Value

34 When generating a QR code, what happens if the input text exceeds the capacity of the selected QR version?

A. The action typically fails or throws an error.
B. It generates multiple QR codes automatically.
C. It prints the text below the QR code.
D. The bot automatically compresses the text.

35 Which package action would you use to change the location of a file from Folder A to Folder B?

A. Create File
B. Move File
C. Copy File
D. Rename File

36 In Excel Advanced, what is the effect of 'Find and Replace'?

A. It finds a file on the hard drive and replaces it.
B. It locates the Excel application.
C. It finds the sum of a column.
D. It searches for specific content within the spreadsheet and replaces it with new content.

37 To read a QR code, the input file typically must be:

A. A PDF document with text.
B. An Excel spreadsheet.
C. A Word document.
D. An image file format (PNG, JPG, BMP).

38 Which File Operation is used to organize multiple files into a new hierarchical structure?

A. Print Files
B. Zip Files
C. Read Files
D. Create Folder

39 What is the purpose of the 'Get Active Cell' action?

A. To format the cell.
B. To retrieve the value from the currently selected or highlighted cell in the Excel UI.
C. To activate a specific cell.
D. To find the last used row.

40 When working with date values in Excel via RPA, why is it important to handle format correctly?

A. Excel may store dates as serial numbers (e.g., 44195), requiring conversion to be human-readable.
B. Dates usually take up too much memory.
C. Dates are automatically deleted after 24 hours.
D. RPA bots cannot read numbers.

41 Which action allows a bot to iterate through data in an Excel sheet row by row?

A. Loop: For n times
B. Loop: While x < y
C. If/Else statement
D. Loop: For each row in worksheet/dataset

42 What is the primary benefit of using System Variables (like $CurrentDirectory$) in File Operations?

A. They increase the file size.
B. They allow the bot to be portable across different environments without changing hardcoded paths.
C. They encrypt the file names.
D. They make the bot code shorter.

43 In Excel, what does the 'Go to Cell' action do?

A. It deletes the cell.
B. It changes the cell color.
C. It reads the value of the cell.
D. It moves the active cursor focus to a specific cell address.

44 Which of the following is considered a Data Manipulation technique in Excel automation?

A. Closing the session.
B. Opening the application.
C. Saving the file.
D. Trimming whitespace from text in a column.

45 When using 'Rename File', what must remain unique in the destination folder?

A. The file name.
B. The file size.
C. The file creation date.
D. The file content.

46 What is the result of using a formula like =A1*B1 in the 'Set Cell' action?

A. The bot crashes.
B. The bot writes the text '=A1*B1' as a string literal.
C. Excel calculates the product of values in A1 and B1 and displays the result.
D. The cells A1 and B1 are deleted.

47 Which action checks the size of a file before emailing it?

A. Get File Info / Properties
B. Read File
C. Resize File
D. Open File

48 To convert an Excel file to PDF using RPA, which command is commonly used?

A. Excel: Save As (type PDF) or Export to PDF
B. Move File
C. Rename File to .pdf
D. Zip File

49 What is the main advantage of using 'Close All Excel Windows' at the end of a bot run?

A. It acts as a cleanup step to ensure no orphaned Excel processes consume memory.
B. It saves the data twice.
C. It deletes the Excel application.
D. It speeds up the internet connection.

50 When scanning a QR code containing a URL, the output is typically:

A. An image of the website.
B. The website opens automatically.
C. A Boolean value (True/False).
D. A string variable containing the URL address.