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

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

A. It is required to change the programming language of the bot.
B. It increases the execution speed of the bot by .
C. It automatically converts Excel files to PDF.
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 Advanced requires Microsoft Excel to be installed, while Basic does not.
B. Excel Basic requires Microsoft Excel to be installed, while Advanced does not.
C. Excel Basic supports macros, while Advanced 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 bot should add a header row to the output file.
B. The first row of the data contains formatting styles.
C. The file is password protected.
D. The first row of the data contains column names and should not be processed as data.

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

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

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

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

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

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

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

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

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 changes the background color of the cell.
C. It merges the cell with the one next to it.
D. It deletes the content of the cell.

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

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

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

A. Save the current workbook with a new name or different file format.
B. Only save the changes in the current file.
C. Delete the original file automatically.
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 using the 'Run Macro' action.
B. By typing the code into cell A1.
C. By using the 'Calculate Formula' action.
D. By converting the file to a text file.

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

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

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

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

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

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

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

A. Merge Files
B. Concat Text
C. Zip/Compress Files
D. Encrypt 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 prevents errors by ensuring a file is present before attempting to read or move it.
C. It renames the file to avoid duplicates.
D. It automatically creates the file if it is missing.

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

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

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

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

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

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

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

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

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

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

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

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

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

A. It requires internet access.
B. The file might be too large to delete.
C. It converts the file to a shortcut.
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. Delete Row
B. Clear Cells
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 version (size of the grid) and error correction level.
B. The file name of the image.
C. The speed of the processor.
D. The color of the ink used.

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

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

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

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

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

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

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

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

31 Which of the following is a File Management operation?

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

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

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

33 What is a CSV file?

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

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

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

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

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

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

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

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

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

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

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

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

A. To retrieve the value from the currently selected or highlighted cell in the Excel UI.
B. To activate a specific cell.
C. To format the 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. Dates usually take up too much memory.
B. Excel may store dates as serial numbers (e.g., 44195), requiring conversion to be human-readable.
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. If/Else statement
C. Loop: While x < y
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 encrypt the file names.
B. They allow the bot to be portable across different environments without changing hardcoded paths.
C. They increase the file size.
D. They make the bot code shorter.

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

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

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

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

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 writes the text '=A1*B1' as a string literal.
B. The bot crashes.
C. The cells A1 and B1 are deleted.
D. Excel calculates the product of values in A1 and B1 and displays the result.

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

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

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

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

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

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

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

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