InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is Buffer-copy? |
|
Answer» Buffer-COPY is ONE STATEMENT. This is used to bulk copy of a source RECORD to a target record by copying each source field to the target field of the same NAME. Buffer-Copy is one statement. This is used to bulk copy of a source record to a target record by copying each source field to the target field of the same name. |
|
| 2. |
What Is The Use Of Etime & What Does It Returns? |
Answer»
|
|
| 3. |
What Is The Use Of Delimiter? |
|
Answer» The Delimiter is a character that is USED to SEPARATE the field values. The DEFAULT delimiter is space. The Delimiter is a character that is used to separate the field values. The default delimiter is space. |
|
| 4. |
What Is No-wait? |
|
Answer» When one procedure is accessing a table in EXCLUSIVE LOCK mode at the same time some other procedure TRY to access the same table it will not wait till the table is released if the no-wait option is used. When one procedure is accessing a table in exclusive lock mode at the same time some other procedure try to access the same table it will not wait till the table is released if the no-wait option is used. |
|
| 5. |
Can We Create A Word-index For An Array Field? |
|
Answer» No, we can’t CREATE a word-index for an ARRAY FIELD. No, we can’t create a word-index for an array field. |
|
| 6. |
Tools To Develop Web Based Application? |
| Answer» | |
| 7. |
What Are The Types Of Scoping And Their Uses? |
|
Answer»
Strong scope eg :- Do for loop Weak scope . eg :- for each loop Strong scope eg :- Do for loop |
|
| 8. |
What Is Record Scoping? |
|
Answer» To IDENTIFY the SCOPE of the RECORD. To identify the scope of the record. |
|
| 9. |
What Is The Syntax For Xref? |
|
Answer» COMPILE <external-procedure>SAVE XREF <XREF-filename> Compile <external-procedure>save XREF <XREF-filename> |
|
| 10. |
What Is The Use Of Xref? |
|
Answer» XREF is USED to FIND out the INDEX being used in a FILE XREF is used to find out the index being used in a file |
|
| 11. |
What Is The Use Of No-error? |
|
Answer» No-error STATEMENT which is USED to SUPPRESS the PROGRESS ERRORS. No-error statement which is used to suppress the progress errors. |
|
| 12. |
What Is The Difference Between Find-first And For-first? |
|
Answer» For-first:
Find-first:
For-first: Find-first: |
|
| 13. |
What Is The Difference Between Find & Find-first? |
|
Answer» FIND: In find statements if there are any non-primary key records which has DUPLICATION will PROVIDE AMBIGUOUS error Find-first: In find-first statements the ambiguous error will be overcome because which is return the first record from the buffer Find: In find statements if there are any non-primary key records which has duplication will provide ambiguous error Find-first: In find-first statements the ambiguous error will be overcome because which is return the first record from the buffer |
|
| 14. |
How Will You Fetch Single Record & Multiple Records? |
| Answer» | |
| 16. |
How Many Primary Keys Will Be In A Single Table? |
|
Answer» Only ONE PRIMARY KEY in a SINGLE table Only one primary key in a single table |
|
| 17. |
What Are The Methods In Error-status? |
Answer»
|
|
| 18. |
How Will You Track The Error In The Statement? |
|
Answer» USING ERROR-status FUNCTION we can TRACK the error in the STATEMENT. Using error-status function we can track the error in the statement. |
|
| 19. |
What Are The Types Of Frames? |
Answer»
|
|
| 20. |
What Is A Frame? |
|
Answer» FRAME is a rectangular DISPLAY AREA with in the WINDOW. It is used to display field level widgets. Frame is a rectangular display area with in the window. It is used to display field level widgets. |
|
| 21. |
What Is Function? |
|
Answer» FUNCTION is a sub-program like procedure but it can RETURN only one SINGLE VALUE. Function is a sub-program like procedure but it can return only one single value. |
|
| 22. |
What Are The Types Of Programming Models? |
| Answer» | |
| 23. |
How Will You Define A Parameter? |
|
Answer»
DEFINE <parameter-type> parameter <parameter NAME> as <data-type> no-undo. Example: Define INPUT parameter ip_a as integer no-undo. Syntax: Define <parameter-type> parameter <parameter Name> as <data-type> no-undo. Example: Define input parameter ip_a as integer no-undo. |
|
| 25. |
What Is The Use Of Parameter? |
|
Answer» The PARAMETER is used to PASSING the ARGUMENT to FUNCTION and procedure. The parameter is used to passing the argument to function and procedure. |
|
| 26. |
How Will You Run External Procedure Persistently? |
|
Answer» Run <EXTERNAL PROCEDURE name> PERSISTENT set <HANDLE VARIABLE Name> Run <external procedure name> persistent set <Handle Variable Name> |
|
| 27. |
What Is Persistent Procedure? |
|
Answer» It’s the PROCEDURE which keeps the value of the external procedure using handle variable. This variable will be valid until we CLOSE the PROGRESS session. It’s the procedure which keeps the value of the external procedure using handle variable. This variable will be valid until we close the progress session. |
|
| 28. |
What Are The Types Of Procedures? |
Answer»
|
|
| 29. |
What Is The Difference Between Prompt-for & Set? |
|
Answer» Prompt-for: This is USED to GET input for both VARIABLE and database. SET: This is used to get input only for variable. Prompt-for: This is used to get input for both variable and database. Set: This is used to get input only for variable. |
|
| 30. |
What Is Editing Block? |
|
Answer» Editing BLOCK is used to GET the input from the USER:
Editing block is used to get the input from the user: |
|
| 31. |
What Is Trigger Block? |
|
Answer» It’s a BLOCK which contains one or more STATEMENTS. WHENEVER an event occurs the CORRESPONDING trigger block will be FIRED. It’s a block which contains one or more statements. whenever an event occurs the corresponding trigger block will be fired. |
|
| 32. |
What Are The Types Of Blocks? |
| Answer» | |
| 33. |
What Is The Use Of Num-entries? |
|
Answer» NUM-ENTRIES is used to RETURN the no of entries available in the list . SYNTAX: Num-entries(<variable-list>). NUM-ENTRIES is used to return the no of entries available in the list . Syntax: Num-entries(<variable-list>). |
|
| 34. |
What Is The Use Of Entry? |
|
Answer» It is used to EXTRACT a string from the LIST. This FUNCTION takes two parameters ONE is the position of the string and another one is the list. Syntax: Entry (<Position of a String><variable-List>). It is used to extract a string from the list. This function takes two parameters one is the position of the string and another one is the list. Syntax: Entry (<Position of a String><variable-List>). |
|
| 35. |
What Are The Types Of Looping Statement? |
Answer»
|
|
| 36. |
How Many Date Formats Available In Progress? |
|
Answer» TWO TYPES of DATE FORMAT AVAILABLE:
Two types of date format available: |
|
| 37. |
Why We Are Using No-undo? |
|
Answer» WHENEVER we change the VALUE of a variable, it will store the PREVIOUS value into the before IMAGE file. To avoid this reason, we are using no-undo while DECLARING the variable. Whenever we change the value of a variable, it will store the previous value into the before image file. To avoid this reason, we are using no-undo while declaring the variable. |
|
| 38. |
What Is The Syntax For Variable Declaration? |
|
Answer» DEFINE variable <variable-name> as <data-type>format<format-value> INITIAL <initial-value> no-undo Example: Define variable lv_a as INTEGER format 999 initial 1 no-undo. Define variable <variable-name> as <data-type>format<format-value> initial <initial-value> no-undo Example: Define variable lv_a as integer format 999 initial 1 no-undo. |
|
| 39. |
What Is The Syntax For Message Statement? |
|
Answer» Syntax: MESSAGE “<message TEXT>” view-as alert-box <message type> buttons <button type> Message type:
Buttons:
Example:Message “welcome to progress” view-as alert-box information buttons ok. Syntax: Message “<message text>” view-as alert-box <message type> buttons <button type> Message type: Buttons: Example:Message “welcome to progress” view-as alert-box information buttons ok. |
|
| 41. |
What Is The Latest Version In Progress And In Which Are Currently Working? |
| Answer» | |