Jtv Evaluation Natural Quiz 4 (40 Questions)

40 Questions | Attempts: 69
Share

SettingsSettingsSettings
Evaluation Quizzes & Trivia

This is  4 of xx evaluation quizzes to help you evaluate Adabas Natural Language Skills.


Questions and Answers
  • 1. 
    If you need to delete a Natural object but have forgotten the name you need to enter the following.
    • A. 

      DISPLAY *

    • B. 

      LIST ALL OBJECTS

    • C. 

      LIST *

    • D. 

      All of above

    • E. 

      None of above

  • 2. 
    When a user-specific editor profile does not exist, the default profile SYSTEM is displayed.  This default profile can be used to create a user-specific profile.   When a user-specific profile exists already, it is displayed instead of the SYSTEM profile.
    • A. 

      True

    • B. 

      False

  • 3. 
    All system variables begin with either an asterisk (*)  or  #
    • A. 

      True

    • B. 

      False

  • 4. 
    To compile and execute a source program, you use the system command EXECUTE. 
    • A. 

      True

    • B. 

      False

  • 5. 
    To execute a program that already exists in compiled form, you use the system command RUN.
    • A. 

      True

    • B. 

      False

  • 6. 
    The Natural ________  is a kind of "intermediate storage" in which you can store Natural commands, user-defined commands, and input data to be used by an INPUT statement.
  • 7. 
    In the stack you can store a series of functions which are frequently executed one after the other, such as a series of logon commands.
    • A. 

      True

    • B. 

      False

  • 8. 
    The processing of the commands/data stored in the stack is always the same.
    • A. 

      True

    • B. 

      False

  • 9. 
    Choose all that are valid.
    • A. 

      If a command is expected, that is, the NEXT prompt is about to be displayed, Natural first checks if a command is on the top of the stack. If there is, the NEXT prompt is suppressed and the command is read and deleted from the stack; the command is then executed as if it had been entered manually in response to the NEXT prompt.

    • B. 

      If an input statement containing input fields is being executed, Natural first checks if there are any input data on the top of the stack. If there are, these data are passed to the INPUT statement (in delimiter mode); the data read from the stack must be format-compatible with the variables in the INPUT statement; the data are then deleted from the stack.

    • C. 

      If an INPUT statement was executed using data from the stack and this INPUT statement is re-executed via a REINPUT statement, the INPUT statement screen will be re-executed displaying the same data from the stack as when it was executed originally. With the REINPUT statement, no further data are read from the stack.

    • D. 

      When a Natural program terminates normally, the stack is flushed beginning from the top until either a command is on the top of the stack or the stack is cleared.

    • E. 

      When a Natural program is terminated via the terminal command "%%" or with an error, the ENTIRE stack is cleared.

  • 10. 
    When data/commands are to be placed on the stack via the STACK parameter, multiple commands must be separated from one another by a semicolon(;)
    • A. 

      True

    • B. 

      False

  • 11. 
    Data for multiple INPUT statements must be separated from one another by a colon (:).  Data that are to be read by a separate INPUT statement must be preceded by a colon.  If a command is to be stacked which requires parameters, no colon is to be placed between the command and the parameters.
    • A. 

      True

    • B. 

      False

  • 12. 
    The STACK statement can NOT be used within a program to place data/commands in the stack. 
    • A. 

      True

    • B. 

      False

  • 13. 
    The execution of a FETCH or RUN statement that contains parameters to be passed to the invoked program will result in these parameters being placed on top of the stack.
    • A. 

      True

    • B. 

      False

  • 14. 
    The contents of the stack can be deleted with the DELETE statement.
    • A. 

      True

    • B. 

      False

  • 15. 
    If you wish to use the current date in a specific representation, you MUST define a date field and specify an edit mask for it.
    • A. 

      True

    • B. 

      False

  • 16. 
    The session/profile parameter DFOUT only applies to date fields in INPUT, DISPLAY, WRITE and PRINT statements for which no edit mask is specified, and for which no DF parameter applies. 
    • A. 

      True

    • B. 

      False

  • 17. 
    The  __________  parameter determines the format in which the values of date variables are placed on the stack via a STACK, RUN or FETCH statement. 
  • 18. 
    The session/profile parameter DFSTACK only applies to date fields used in STACK, FETCH and RUN statements for which no DF parameter has been specified.
    • A. 

      True

    • B. 

      False

  • 19. 
    The  _____________  parameter can be set in the Natural parameter module/file, dynamically when Natural is invoked, or with the system command GLOBALS.  It is evaluated at runtime.
  • 20. 
    Text elements may be concatenated by using a  _____________.
  • 21. 
    The text itself may be 1 to ___  characters and must not be continued from one line to the next.
  • 22. 
    To use an entire source-code line for a user comment, you can enter the following *, **, and _____ 
  • 23. 
    With the SUBSTRING option, you can compare 
    • A. 

      A part of a binary field

    • B. 

      A part of an alpahnumeric field

    • C. 

      A part of an alphanumeric field and a binary field

  • 24. 
    With the  ___________   option you can check selected positions in a field. 
  • 25. 
    You must specify the full length of field in a mask. 
    • A. 

      True

    • B. 

      False

Back to Top Back to top
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.