















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















































































Question 1. Which Deluge data type is best suited for storing a list of email addresses entered by a user? A) Text B) Number C) List D) Map Answer: C Explanation: The List data type holds an ordered collection of values, ideal for multiple email addresses. Question 2. In Deluge, which operator would you use to concatenate two text strings? A) + B) & C). D) ++ Answer: A Explanation: The plus (+) operator joins two text strings in Deluge. Question 3. What does the Deluge function input.Name return when used inside a form workflow? A) The form’s unique ID B) The value entered in the field named “Name” C) The name of the current user D) The name of the form itself Answer: B
Explanation: input references the current form record; input.Name fetches the value of the field “Name”. Question 4. Which conditional statement correctly checks if a numeric variable age is greater than or equal to 18? A) if(age > 18) B) if(age >= 18) C) if(age = 18) D) if(age < 18) Answer: B Explanation: The >= operator checks for greater than or equal to. Question 5. Which built‑in Deluge function returns the current date and time? A) now() B) today() C) currentdate() D) datetime() Answer: A Explanation: now() provides the current timestamp including time. Question 6. To delete a record from the “Leads” form where the ID equals 101, which Deluge task is appropriate? A) delete from Leads where ID = 101; B) Leads.delete(101); C) deleteRecord("Leads",101); D) delete Leads[101];
D) for each(email in emailList) { } Answer: A Explanation: Deluge uses for each syntax to loop through collections. Question 10. In Zoho Creator, which report type is best for visualizing sales data by region in a card‑like layout? A) List B) Kanban C) Pivot D) Calendar Answer: B Explanation: Kanban reports display records as cards grouped by a column, ideal for region‑based visualization. Question 11. What is the primary purpose of the “Validate” field property in a form? A) To hide the field from users B) To enforce data integrity before saving a record C) To set a default value D) To make the field read‑only Answer: B Explanation: Validation rules ensure entered data meets defined criteria before submission. Question 12. Which Deluge function would you use to convert a string “2023- 08 - 15” into a date value? A) toDate("2023- 08 - 15") B) date("2023- 08 - 15")
C) parseDate("2023- 08 - 15") D) stringToDate("2023- 08 - 15") Answer: A Explanation: toDate() parses a string into a date object. Question 13. In a page, which tag is used to embed a Deluge script that runs when the page loads? A) B)
Question 18. In a Zoho Creator page, which markup language is primarily used to define UI components? A) HTML B) XML C) ZML (Zoho Markup Language) D) JSON Answer: C Explanation: ZML is Zoho’s proprietary markup for building UI elements in pages. Question 19. Which Deluge task is used to send an email from within a workflow? A) sendmail B) sendMail(to, subject, body) C) sendMail(to, subject, body, from) D) sendMail(to, subject, body, from, cc) Answer: C Explanation: The sendMail function requires at least to, subject, body, and from parameters. Question 20. What does the fetch task do in Deluge? A) Retrieves records from a Zoho Creator form B) Calls an external API using GET/POST C) Downloads a file from Zoho Docs D) Generates a PDF report Answer: B Explanation: fetch is used to make HTTP requests to external services.
Question 21. Which of the following best describes a “Map” in Deluge? A) An ordered collection of values B) A key‑value pair collection where keys are unique C) A list of numeric indices D) A visual representation of data on a geographic map Answer: B Explanation: Maps store data as unique keys associated with values. Question 22. To enforce that a numeric field “Quantity” cannot be negative, which validation rule should you apply? A) Quantity > 0 B) Quantity >= 0 C) Quantity != 0 D) Quantity < 0 Answer: B Explanation: >= 0 ensures the value is zero or positive. Question 23. Which Deluge function converts a number to a string? A) toString(123) B) string(123) C) format(123) D) numToStr(123) Answer: A Explanation: toString() casts a numeric value to a text string.
Question 27. Which of these is a valid way to call a custom function named calculateDiscount from a workflow? A) calculateDiscount(); B) invoke calculateDiscount(); C) call calculateDiscount(); D) function.calculateDiscount(); Answer: A Explanation: Direct function name with parentheses executes the custom function. Question 28. In a page, how can you display the value of a Deluge variable totalAmount inside an HTML paragraph? A)
${totalAmount}
B)#totalAmount#
C){{totalAmount}}
D)[[totalAmount]]
Answer: A Explanation: ${} syntax injects Deluge variables into ZML/HTML. Question 29. Which operator would you use to test if two Boolean expressions are both true? A) && B) || C) & D) and Answer: AExplanation: && is the logical AND operator. Question 30. What is the effect of setting a form field’s “Display Type” to “Hidden” in the UI? A) The field is not stored in the database. B) The field is visible but read‑only. C) The field is not shown to users but its value can be used in scripts. D) The field is deleted permanently. Answer: C Explanation: Hidden fields retain data and are accessible in Deluge but are invisible on the form. Question 31. Which Deluge function can be used to parse a JSON string into a map? A) parseJSON() B) getJSON() C) jsonParse() D) toMap() Answer: A Explanation: parseJSON() converts a JSON formatted string into a Deluge map. Question 32. In a workflow, which event type fires before a record is saved to the database? A) On Submit B) On Load C) On Success D) On Validate
Answer: B Explanation: info prints output to the debug console. Question 36. Which built‑in function returns the number of days between two date variables d1 and d2? A) daysBetween(d1,d2) B) diffDays(d1,d2) C) dateDiff(d1,d2) D) dateBetween(d1,d2) Answer: A Explanation: daysBetween() calculates the integer difference in days. Question 37. In a Zoho Creator page, which tag allows you to embed a Zoho CRM view? A) B) C) D) Answer: B Explanation: `` is used to embed CRM components inside Creator pages. Question 38. Which statement correctly creates a new record in the “Contacts” form using Deluge? A) insert into Contacts (Name, Email) values ("John","[email protected]"); B) Contacts.add({"Name":"John","Email":"[email protected]"}); C) newRecord = Contacts(); newRecord.Name="John"; newRecord.Email="[email protected]"; newRecord.save();
D) Both B and C are correct. Answer: D Explanation: Both add() with a map and creating an instance then saving are valid. Question 39. Which of the following best describes the purpose of “User Permissions” in Zoho Creator? A) To style the UI theme B) To control which users can view, add, edit, or delete records C) To configure API endpoints D) To set default field values Answer: B Explanation: Permissions define access rights at the application, form, and report levels. Question 40. When using the invokeUrl task to perform a POST request, which parameter specifies the payload? A) data B) body C) requestBody D) postData Answer: B Explanation: The body parameter holds the data sent with a POST request. Question 41. Which Deluge operator is used to check if variable a is not equal to variable b? A) != B) <>
D) It encrypts the script Answer: B Explanation: Functions encapsulate logic for reuse across multiple workflows. Question 45. Which of the following is a correct way to format a number price to two decimal places in Deluge? A) price = price.toFixed(2); B) price = round(price,2); C) price = format(price,"#.00"); D) price = price.format(2); Answer: B Explanation: round(number, places) returns the number rounded to the specified decimal places. Question 46. To retrieve the name of the current application, which Deluge function is used? A) zoho.appname() B) zoho.currentapp() C) zoho.app() D) zoho.getAppName() Answer: B Explanation: zoho.currentapp() returns the application’s name. Question 47. Which workflow component lets you schedule a Deluge script to run at a specific time each day? A) On Submit
B) On Load C) Scheduled Workflow D) Manual Trigger Answer: C Explanation: Scheduled Workflows run automatically based on defined timing. Question 48. In a List report, which setting controls the number of records displayed per page? A) Pagination Size B) Records Per Page C) Page Limit D) Row Count Answer: B Explanation: “Records Per Page” determines page size. Question 49. Which of the following is not a valid way to pass data from a form to a page? A) Using URL parameters B) Storing data in a global variable C) Using a custom function that returns the data D) Directly referencing input inside the page’s `` Answer: D Explanation: input is only available within form scripts; pages need URL params or other mechanisms. Question 50. What does the getRecords function do when called on a form?
Question 53. Which built‑in function can you use to generate a random integer between 1 and 100? A) random(1,100) B) randInt(1,100) C) randomInt(1,100) D) getRandom(1,100) Answer: A Explanation: random(min,max) returns a random integer within the range. Question 54. To enforce that a text field “Email” contains a valid email address, which validation rule should be applied? A) isEmail() B) email() C) regex("^\S+@\S+\.\S+$") D) contains("@") Answer: C Explanation: A regular expression validates proper email format. Question 55. Which of the following statements correctly creates a nested map with a key “address” that itself contains “city” and “zip”? A) map = {"address":{"city":"NY","zip":"10001"}}; B) map = {"address":["city":"NY","zip":"10001"]}; C) map = {"address":"city:NY,zip:10001"}; D) map = {"address":("city":"NY","zip":"10001")}; Answer: A Explanation: Nested curly braces create a map within a map.
Question 56. When integrating with Zoho Books via Deluge, which built‑in function simplifies the API call? A) zoho.books.getRecords() B) zoho.books.invoke() C) zoho.books.connect() D) zoho.books.api() Answer: A Explanation: Zoho provides service‑specific functions like zoho.books.getRecords(). Question 57. Which of the following is a correct way to convert a list nums to a comma‑separated string? A) nums.join(","); B) toString(nums); C) nums.toString(","); D) join(nums, ","); Answer: A Explanation: join(separator) concatenates list elements with the given delimiter. Question 58. In a page, which attribute of `` specifies the form to be displayed? A) name B) formlink C) formname D) src Answer: C