Abap 7.4 - chapter 11 - unicode

INFO
STADISTICS
RECORDS
Title of test:
Abap 7.4 - chapter 11 - unicode

Description:
ABAP 7.4 - Chapter 11 - Unicode

Author:
ONKIDONKI
(Other tests from this author)

Creation Date:
17/04/2017

Category:
Others
Click 'LIKE' to follow the bests test of daypo at facebook
Last comments:
No comments about this test.
Make a comment?
Login at daypo to comment the test.
Content:
To simplify preparation for the conversion to Unicode, select the Unicode checks active checkbox in the program attributes True False.
For a Unicode program, a stricter syntax check is performed than is for non-Unicode programs True False.
Programs that are required to run in both systems should therefore also be tested on both platforms True False.
In a Unicode system, both Unicode and non-Unicode programs can be executed True False.
Non-Unicode programs can be executed in non-Unicode and also Unicode systems True False.
Just as outdated and dangerous language constructs are declared obsolete and are no longer permitted for use in ABAP Objects, the rules for Unicode programs also offer increased security when programming True False.
When creating a new program, the recommendation is for you to always identify the program as a non-Unicode program True False.
One of the most important differences between a Unicode and non-Unicode program is the... clear distinction between byte-type and character-type data objects and the restriction of data types whose objects can be viewed as character type clear distinction betweennumeric-type and character-type data objects and the restriction of data types whose objects can be viewed as character type clear distinction betweennumeric-type and character-type data objects and the restriction of data types whose objects can be viewed as numeric type.
The following data types are considered a Character-Type Data Objects: (There are five correct answers) C D N T string int x timestamp.
What is correct to say about Unicode: (There are three correct answers) In non-Unicode programs, only the elementary data objects shown are now character type Structures are character-type data objects if they do not contain only flat character-type components The Unicode fragment view splits a structure into fragments A fragment is a grouping of structure components of the same or similar data types In nested structures, the elementary components on the lowest nesting depth are taken into account when forming fragments in nested structures.
The following parts of a structure are each grouped to form fragments: Consecutive flat character-like Consecutive flat byte-like Consecutive numeric Each individual numeric type P In deep structures Each alignment gap.
In Unicode programs, a structure can now essentially only be used at an operand position that expects a single field if the structure is character type True False.
In non-Unicode programs, elementary data objects of types X and XSTRING are byte type. In Unicode programs, data objects of this type are generally handled as character type True False.
In Unicode programs a structure that contains a numeric component can be used at a numeric operand position True False.
In Unicode programs, the storage of byte strings in character-type containers causes problems because the byte order of character-type data objects in Unicode systems is platform-dependent True False.
Offset and/or length specifications are not permitted for character-type and byte-type data objects True False.
The rules that determine which data objects in Unicode programs count as character-type or byte-type objects do not allow for offset and length specifications for data objects of numeric data types True False.
The method of using data objects of type C as containers for storing structures of different types, which often are not known until runtime, where components are accessed using offset and length, is good possibility in Unicode programs True False.
In Unicode, an offset and/or length specification for a structure is only permitted if the structure is: (There are two correct answers) A character type Flat Deep Nested.
The most important differences between the behavior of a Unicode program and a non-Unicode program are the changed conversion rules for structures, assignments, and comparisons True False.
Two structures in Unicode programs are only compatible when all alignment gaps are identical on all platforms. This applies in particular for alignment gaps that are created by included structures True False.
What is correct to say about the differences between non-Unicode and Unicode programs: (There are three correct answers) In non-Unicode programs, incompatible flat structures are treated as fragment view of the structures In Unicode programs, conversion rules apply that assign the Unicode fragment view of the structures In non-Unicode programs, flat structures are treated as data objects of type C for an assignment to or from an elementary data object In Unicode programs, a conversion rule applies according to which the structure must be the character type, either completely or at least for the initial fragment.
Assign the Enhancement Category to their meanings Not classified Cannot be enhanced Can be enhanced and character-type Can be enhanced and character-type or numeric Any enhancements.
What is correct to say about Unicode: (There are three correct answers) Byte and character string processing are strictly separated. The operands of byte string processing must be byte-type data objects, and operands in character string processing must be character-type data objects. In Unicode programs, statements that can be used for byte and character string processing require that a distinction be made within the statement by the optional addition IN BYTE MODE or IN CHARACTER MODE. In this case IN CHARACTER MODE is the default There are relational operators for byte strings and for character strings. In Unicode programs, the latter (for example, CO, CA, CS) can no longer be used for byte strings. For byte strings, there are new relational operators (for example, BYTECO, BYTE-CA, and BYTE-CS). In particular, in a non-Unicode program, STRLEN can now be used only for character-type arguments, whereas XSTRLEN is available for byte-type arguments.
What is correct to say about Unicode and files: (There are three correct answers) When you open the file, the access type and the file storage type must be specified explicitly using the additions INPUT|OUTPUT|APPENDING|UPDATE and [LEGACY] BINARY|TEXT MODE When you open a file in TEXT MODE, the ENCODING addition must be used to specify the character representation When you open a file in LEGACY MODE, the byte order (endian) and a non-Unicode code page must be specified In Unicode programs, if nothing is entered, a file is opened with implicit standard settings.
How can Unicode checks be made? Select all that apply (There are two correct answers) In any system (after release 6.10) by specifying the program has Unicode checks active By running Transaction UCCHECK Only in a Unicode system or as part of a conversion to a Unicode system Cannot be enforced.
Memory requirements are identical in a non-Unicode system and in a Uni-code system True False.
What is the difference between a Unicode and non-Unicode program? Select all that apply Byte-type data objects cannot be assigned to character-type data objects Byte-type data objects cannot be compared to character-type data objects Offset positioning in a Unicode structure is restricted to character data objects Offset positioning in a Unicode structure is restricted to flat data objects.
Two structures in Unicode programs are only compatible if all alignment gaps are identical on all platforms True False.
What does the enhancement category for a database table or structure do? Select all that apply (There are three correct answers) Makes a table Unicode-compliant Specifies the types of changes that can be made to the structure Can produce warnings at incompatible points for the structure Can identify where program behavior may change.
What must you specify in a Unicode system when opening a file in TEXT MODE? The ENCODING addition The byte order The code page.
Which you should specify in a non-Unicode system when opening a file in TEXT MODE? Select all that apply The ENCODING addition The byte order The code page.
Which elementary field types are considered a character type? Select all that apply. (There are five correct answers) C D F I N String T X XString.
Which elementary field types are considered a character type? Select all that apply. (There are four correct answers) C D F I N String T X XString.
Report abuse Terms of use
By using daypo, you agree that we and our partner companies can define cookies for different purposes, such as customize the content and advertising. To change the settings or more information: cookie policy.