Andreas Kirilow
Quiz von , erstellt am more than 1 year ago

Programmierung Quiz am TYPO3 CI 2018 8.1 bis 8.3, erstellt von Andreas Kirilow am 20/12/2018.

8
0
0
Andreas Kirilow
Erstellt von Andreas Kirilow vor fast 6 Jahre
Schließen

TYPO3 CI 2018 8.1 bis 8.3

Frage 1 von 12

1

Which of the following objects are not TypoScript top level objects? (2)

Wähle eine oder mehr der folgenden:

  • config

  • TEXT

  • styles

  • GMENU

  • PAGE

  • includeLibs

Erklärung

Frage 2 von 12

1

Which of these statements about TypoScript are true? (2)

Wähle eine oder mehr der folgenden:

  • TypoScript is a programming language like ActionScript or JavaScript.

  • TypoScript is an extension for TYPO3.

  • TypoScript can be used to configure TYPO3.

  • TypoScript mainly controls the output of the website in the frontend.

  • Extensive knowledge of PHP is required to use TypoScript.

Erklärung

Frage 3 von 12

1

You want to assign a multi-line value. Which of the following code sections are syntactically correct as replacements for
the question marks? (1)
page = PAGE
page.10 = TEXT
???

Wähle eine oder mehr der folgenden:

  • It is not possible to specify multi-line values in TypoScript; you can assign only single-line
    values.

  • Answer
    page.10.value (
    Hello
    World
    )

  • Answer
    page.10.value = (
    HelloWorld
    )

  • Answer
    page.10.value = (Hello
    World)

  • Answer
    page.10.value (Hello
    World
    )

Erklärung

Frage 4 von 12

1

It is possible to comment out lines in TypoScript. Which characters can be used as comment characters? (4)

Wähle eine oder mehr der folgenden:

  • //

  • /* ... */

  • #

  • /

  • <!-- ... ->

Erklärung

Frage 5 von 12

1

What do you enter in the constants area to make the following TypoScript setup code functional? (1)

config.language = {$langKey}
config.sys_language_uid = 1
config.htmlTag_langKey = {$langKey}

Wähle eine oder mehr der folgenden:

  • $langKey = de

  • {$langkey = en}

  • langKey = jp

  • langkey = cn

  • LANGKEY = at

Erklärung

Frage 6 von 12

1

What is the function of the following TypoScript code? (1)

page.meta.DESCRIPTION = {$meta.description}
page.meta.DESCRIPTION.override.field = description

Wähle eine oder mehr der folgenden:

  • The value of field description is used.

  • If the description field contains no value, the corresponding constant is used.

  • The description field is always overwritten by the value of the corresponding constant.

  • The value of the constant is used.

Erklärung

Frage 7 von 12

1

The Fluid template of the page.10 object contains a variable {emailaddress}, which needs to be replaced by the value foo.
How can you achieve this? (1)

Wähle eine oder mehr der folgenden:

  • You enter the following code in the TypoScript constant area:
    page.10.templates.placeholder.emailaddress = TEXT
    page.10.templates.placeholder.emailaddress.value = foo

  • You enter the following code in the TypoScript setup area:
    page.10.templates.placeholder.emailaddress = TEXT
    page.10.templates.placeholder.emailaddress.value = foo

  • You enter the following code in the TypoScript setup area:
    page.10.templates.variables = EMAIL
    page.10.templates.variables.address = foo

  • You enter the following code in the TypoScript constant area:
    page.10.variables.emailaddress = TEXT
    page.10.variables.emailaddress.value = foo

  • You enter the following code in the TypoScript setup area:
    page.10.variables.emailaddress = TEXT
    page.10.variables.emailaddress.value = foo

Erklärung

Frage 8 von 12

1

What is the output produced by the following TypoScript code? (1)
page = PAGE
page.10 = COA
page.10 {
30 = TEXT
30.value = A
30.wrap = B|C
40 = HTML
40.value = D
40.wrap = E|F
20 < .30
40.value = G
}

Wähle eine oder mehr der folgenden:

  • BACEGF

  • DBACD

  • DBACG

  • EDFBACEGF

  • DBACEGF

  • DBACEDF

  • BACBAC

Erklärung

Frage 9 von 12

1

What is the output produced by this TypoScript code? (1)
page = PAGE
page.10 = COA
page.10 {
30 = TEXT
30.value = A
40 = TEXT
40.value = B
20 = TEXT
20.value = C
20.stdWrap.append < .30
10 = TEXT
10.prepend < .40
10.value = D
}

Wähle eine oder mehr der folgenden:

  • ABDC

  • ABCD

  • BDCAAB

  • ABCADB

  • BDCAB

  • DBCAB

Erklärung

Frage 10 von 12

1

What is the output produced by this TypoScript code? (1)
temp.text1 = TEXT
temp.text1.value = Certification
page = PAGE
page.10 =< temp.text1
temp.text1.wrap = TYPO3-|!

Wähle eine oder mehr der folgenden:

  • Certification

  • TYPO3-!

  • TYPO3-Certification!

  • There is no output.

  • !

Erklärung

Frage 11 von 12

1

What is the output produced by the following TypoScript code? (1)

object1 = TEXT
object1.value = value1
page = PAGE
page {
10 <= object1
15 < object1
15.value = -
20 < object1
}
object1.value = value3

Wähle eine oder mehr der folgenden:

  • value1

  • -value1

  • value1-value1

  • value1-value3

  • value3-value1

Erklärung

Frage 12 von 12

1

What code do you enter in place of the question marks so that the output of the script is AB? (1)

lib.obj = COA
lib.obj {
10 = COA
10.10 = TEXT
10.10.value = A
10.20 < .10
}
page = PAGE
page.10 = COA
page.10 {
10 =< lib.obj
???
}

Wähle eine oder mehr der folgenden:

  • 10.value = B

  • 10.10.value = B

  • 10.20.value = B

  • 10.10.20.value = B

  • 10.10.20.10.value = B

  • 10.10.10.20.value = B

Erklärung