0% found this document useful (0 votes)
29 views15 pages

PAD Logic and Error Handling Guide

Uploaded by

6531201062
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views15 pages

PAD Logic and Error Handling Guide

Uploaded by

6531201062
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

SECTION 1 — PAD LOGIC & ERROR HANDLING (20 questions)

1. Which sequence reflects the correct PAD flow structure for a typical automation?
a. Loop → Launch → Log → Condition → Write
b. Launch → Read → Loop → Condition → Write → Log
c. Read → Log → Loop → Launch → Write
d. Write → Loop → Read → Condition → Log
Answer: b.
The correct pattern matches how PAD is structured in your course.

2. What is the main reason to enable “Clear field before writing”?


a. Prevent selectors from changing
b. Avoid leftover text when writing dynamic values
c. Make the bot run faster
d. Allow multiple browsers to run
Answer: b.

3. In PAD, the Loop/For Each block must be placed correctly because…


a. The bot cannot run without multiple loops
b. PAD only supports one loop
c. Incorrect loop nesting causes incorrect data iteration
d. Loop placement affects UI color
Answer: c.

4. When writing back data to Excel, why should LoopIndex start at 2?


a. Row 2 contains summary data
b. Row 1 is header
c. Row 2 is always blank
d. Excel only writes to even-numbered rows
Answer: b.

5. What happens if you forget to increment LoopIndex after each iteration?


a. PAD will automatically adjust
b. Only last row gets overwritten repeatedly
c. The bot stops
d. Excel freezes
Answer: b.
6. Which variable name is the most readable and recommended?
a. x1
b. abc
c. LoanID
d. __var
Answer: c.

7. PAD automatically generates variables when…


a. You click Save
b. You add an action
c. You rename a flow
d. You press F5
Answer: b.

8. Which of the following is NOT a valid variable type in PAD?


a. List
b. Boolean
c. Hexadecimal
d. DateTime
Answer: c.

9. Which expression is correct for using a variable in PAD?


a. {CustomerName}
b. $CustomerName
c. %CustomerName%
d. #CustomerName#
Answer: c.

10. Which action should be used to remove “% APR” from “15 APR”?
a. Replace text
b. Convert text to number
c. Trim text
d. Split text
Answer: a.

11. PAD’s Flow Variables panel is used for…


a. Monitoring variable creation and usage
b. Changing UI themes
c. Importing PowerPoint files
d. Connecting a joystick
Answer: a.
12. A bot writes the wrong value into an Excel row. What is the MOST likely cause?
a. Excel is outdated
b. LoopIndex not initialized properly
c. Wrong browser instance
d. VPN is off
Answer: b.

13. “First line contains column names” must be enabled when…


a. You want fonts to match
b. You want to access columns by header names
c. You want the bot to skip errors
d. You want to lock Excel
Answer: b.

14. Which action extracts a single text value from a web page?
a. Parse text
b. Extract data from web page
c. Convert text to number
d. Click UI element
Answer: b.

15. The best practice before writing to UI fields is…


a. Click the screen
b. Resize the browser
c. Clear field before writing
d. Add vibration feedback
Answer: c.

16. A selector breaks because the field moved. What was the likely mistake?
a. Using attribute-based selectors
b. Using position-based selectors
c. Using XPath
d. Using semantic labels
Answer: b.

17. Which operator is used for logical AND in PAD expressions?


a. &
b. &&
c. AND
d. +
Answer: c.
18. Which best describes PAD logic?
a. Event-driven programming
b. Deterministic, rule-based automation
c. Predictive machine learning
d. Unstructured multi-agent reasoning
Answer: b.

19. What happens when you enable “On error: Continue flow run”?
a. PAD restarts Windows
b. PAD ignores the error and proceeds
c. PAD deletes variables
d. Browser closes automatically
Answer: b.

20. Which action is used to pause flow execution at a specific step?


a. Pause Bot
b. Freeze Frame
c. Breakpoint
d. Step Over
Answer: c.

SECTION 2 — REGEX & DATA EXTRACTION (20 questions)

21. What does \d{4} match?


a. Four letters
b. Four numbers
c. Any characters
d. A date
Answer: b.

22. Which Regex finds an invoice number like INV-2025?


a. [A-Z]+
b. INV/\d+
c. INV-\d{4}
d. INV:\w
Answer: c.

23. The pattern .+@.+ is commonly used to extract…


a. URLs
b. Phone numbers
c. Email addresses
d. PDF names
Answer: c.

24. Lookbehind (?<=Total: \$) means…


a. Ignore everything after “Total:”
b. Capture the line including “Total:”
c. Capture content only AFTER “Total: $”
d. Capture everything before “Total:”
Answer: c.

25. Regex is especially useful in RPA because…


a. It replaces databases
b. Bots love math
c. Most documents are semi-structured or unstructured
d. It makes UI selectors stronger
Answer: c.

26. What does . mean in Regex?


a. Any character
b. Only letters
c. Only numbers
d. Only spaces
Answer: a.

27. Which Regex correctly matches a date after “DATE”?


a. DATE(\d+)
b. (?<=DATE\r\n).+\d{4}
c. [DATE]d{4}
d. DATE\d{2}/\d{2}/\d{4}
Answer: b.

28. Which Regex extracts a Tax ID in format 1234567890?


a. \d{10}
b. [0-9]{8}
c. TID:\d+
d. \d{3}-\d{3}-\d{4}
Answer: a.
29. Why must extracted values be validated before use?
a. Regex may match incorrect patterns
b. Excel requires confirmation
c. Browser auto-correct interferes
d. PDFs cannot be read
Answer: a.

30. Regex \d{2}/\d{2}/\d{4} matches…


a. Email
b. Currency
c. Date (DD/MM/YYYY)
d. Invoice number
Answer: c.

31. When a Regex returns an empty value, the correct bot behavior is…
a. Crash
b. Send to exception path
c. Continue silently
d. Reboot
Answer: b.

32. PAD’s “Parse text” action must have this enabled to interpret patterns:
a. Case sensitive
b. First occurrence only
c. Is regular expression
d. UTF-16
Answer: c.

33. Which symbol means “one or more”?


a. *
b. +
c. ?
d. &
Answer: b.

34. Which Regex extracts “150.25” from “Total: $150.25”?


a. Total: (.*)
b. $\d+
c. (?<=Total: $)[\d.]+
d. ^Total$
Answer: c.

35. For semi-structured documents like PDF invoices, the best approach is…
a. OCR then GPT
b. Manual extraction
c. Regex on extracted text
d. Data scraping
Answer: c.

36. Regex INV-\d{4} would incorrectly match…


a. INV-0000
b. INV-9999
c. INV-ABCD
d. INV-2025
Answer: c.

37. A lookbehind pattern requires…


a. A fixed-length prefix
b. A number
c. A bracket
d. A loop
Answer: a.

38. Regex is considered…


a. Unpredictable
b. A deterministic pattern tool
c. AI-driven
d. Random matching
Answer: b.

39. Which step must happen BEFORE Regex parsing?


a. Extract text from PDF
b. Click UI element
c. Convert to number
d. Write to Excel
Answer: a.
40. The pattern \d{2}-\d{2}-\d{2} fits which format?
a. Email
b. US phone
c. Short date
d. Tax ID
Answer: c.

SECTION 3 — AI + RPA INTEGRATION (Conceptual) (10 questions)

41. RPA is best described as…


a. Predictive AI
b. Deterministic rules-based automation
c. Statistical modeling
d. Deep-learning inference
Answer: b.

42. AI provides ______, while RPA ______.


a. actions; predictions
b. clicks; reasons
c. predictions/insights; executes rules
d. errors; fixes
Answer: c.

43. When combining AI + RPA, which scenario is correct?


a. AI executes Selenium scripts
b. RPA calls AI to classify data, then continues the flow
c. AI replaces loops
d. RPA trains neural networks
Answer: b.

44. Which is true about approvals in automation?


a. Should always be automated
b. Approval never needed
c. Manual review required for sensitive, high-risk decisions
d. AI handles all approvals
Answer: c.

45. What is a common AI+RPA use case in accounting?


a. Solving calculus
b. Emotional sentiment of staff
c. Classifying invoices before routing
d. Generating memes
Answer: c.

46. AI classification is useful when data is…


a. Fully structured
b. Unstructured or semi-structured
c. Numeric only
d. Binary
Answer: b.

47. Which describes the difference between AI and RPA?


a. RPA learns; AI obeys
b. AI is deterministic; RPA is probabilistic
c. AI reasons; RPA executes
d. AI writes Excel formulas; RPA does math
Answer: c.

48. AI assistance is critical when…


a. Values must be classified, predicted, or interpreted
b. All rules are fixed
c. Network is offline
d. Excel is empty
Answer: a.

49. AI cannot reliably do which of the following (in this course context)?
a. Interpret images
b. Make binding financial approvals
c. Summarize emails
d. Suggest risk indicators
Answer: b.

50. Which mindset is recommended when using AI+RPA?


a. Automate everything blindly
b. Understand the logic and WHY behind the flow
c. Memorize steps only
d. Never test flows
Answer: b.
SECTION 4 — LOGGING, GOVERNANCE & RELIABILITY (10 questions)

51. Which log components should always be included?


a. Timestamp, Data, Result, Status
b. Comments, jokes, emojis
c. Browser version
d. CPU usage
Answer: a.

52. What is a common preventable failure?


a. Missing FX Rate
b. Missing electricity
c. Keyboard unplugged
d. User not smiling
Answer: a.

53. Hardcoded paths should be avoided because…


a. They look ugly
b. They break easily across machines
c. They use more RAM
d. PAD disallows them
Answer: b.

54. A bot that logs steps is more…


a. Auditable and traceable
b. Slow
c. Fragile
d. Predictive
Answer: a.

55. Which is a best practice?


a. No logs needed
b. Only log successful steps
c. Log exceptions and key events
d. Log only the result
Answer: c.

56. Governance ensures…


a. Excel runs faster
b. Flows are secure, controlled, and compliant
c. Users can bypass MFA
d. Unlimited browser instances
Answer: b.

57. A bot writing to the wrong column is a failure in…


a. UI Selector
b. Governance
c. Excel write-back logic
d. AI reasoning
Answer: c.

58. For reliability, dynamic Excel ranges are preferred over…


a. Semi-dynamic ranges
b. Hardcoded cell coordinates
c. Headers
d. Tables
Answer: b.

59. Which practice improves audit readiness?


a. No comments
b. Single-statement logs
c. Detailed logs with timestamps
d. Delete logs frequently
Answer: c.

60. Traceability means…


a. Bot can track documents & show how decisions were made
b. Bot can predict the future
c. Flow runs invisibly
d. Data is encrypted
Answer: a.

SECTION 5 — VIBE ACCOUNTING & VIBE CODING MINDSET (10 questions)

61. Vibe Coding means…


a. Coding in Python only
b. Coding with natural language
c. Dancing while coding
d. AI writing poetry
Answer: b.

62. Accounting + Logic + Automation =


a. Traditional finance
b. Modern digital finance
c. Manual bookkeeping
d. AI auditing
Answer: b.

63. In Vibe Coding, you should NOT…


a. Understand the WHY
b. Design exception logic
c. Press buttons manually
d. Memorize steps without understanding
Answer: d.

64. Which mindset is emphasized?


a. “Press buttons fast”
b. “Think in data + logic”
c. “Do the same task repeatedly”
d. “Ignore errors”
Answer: b.

65. Exception logic should be designed because…


a. It makes bots prettier
b. Flows must survive unexpected inputs
c. AI said so
d. Users get bored
Answer: b.

66. Vibe Accounting encourages accountants to…


a. Do more manual tasks
b. Understand logic behind every step
c. Ignore automation
d. Memorize button clicks
Answer: b.

67. Combining data + logic + automation creates…


a. Bigger Excel files
b. Value creation at scale
c. More meetings
d. More compliance issues
Answer: b.

68. “You don’t press buttons — you design flows.” This implies…
a. Accountants become automation designers
b. Buttons are illegal
c. AI blocks UI access
d. Flows run only on mobile
Answer: a.

69. Vibe Coding is closest to…


a. Traditional scripting
b. Prompt engineering with business logic
c. Linux admin
d. Network security
Answer: b.

70. The best way to learn Vibe Coding is to…


a. Copy steps blindly
b. Practice thinking process + logic design
c. Memorize 100 selectors
d. Randomly click UI elements
Answer: b.

SECTION 6 — PRACTICE & THINKING PROCESS (10 questions)

71. What builds true confidence in automation?


a. Reviewing exercises repeatedly
b. Never testing
c. Waiting for luck
d. Asking AI only
Answer: a.

72. The exam emphasizes…


a. Copying steps
b. Understanding thinking process
c. Memorizing UI layouts
d. Guessing
Answer: b.
73. Why is practice essential in PAD?
a. PAD is unpredictable
b. Selectors must be tested in real scenarios
c. AI deletes flows randomly
d. Excel changes daily
Answer: b.

74. Most PAD mistakes happen due to…


a. Computer speed
b. Incorrect logic thinking
c. UI theme
d. Dark mode
Answer: b.

75. To debug effectively, you should…


a. Add breakpoints
b. Restart PC
c. Delete flow
d. Pray
Answer: a.

76. “Focus on patterns, not steps” means…


a. Memorize UI colors
b. Understand underlying logic
c. Ask for screenshots
d. Avoid Regex
Answer: b.

77. A strong automation thinker always…


a. Trusts selectors blindly
b. Designs exception handling
c. Forgets logic
d. Writes code manually
Answer: b.

78. Good practice before exam:


a. Build flows from scratch
b. Only read theory
c. Avoid touching PAD
d. Watch memes
Answer: a.

79. If a field changes location but label stays, you should use…
a. Position selectors
b. Attribute-based XPath
c. Guessing
d. Manual typing
Answer: b.

80. The final exam tests your ability to…


a. Copy UI positions
b. Think logically across RPA patterns
c. Write Python scripts
d. Memorize Regex
Answer: b.

You might also like