TYPO3 CI 2018 8.9 - 8.11

Beschreibung

Programmierung Quiz am TYPO3 CI 2018 8.9 - 8.11, erstellt von Andreas Kirilow am 21/12/2018.
Andreas Kirilow
Quiz von Andreas Kirilow, aktualisiert more than 1 year ago
Andreas Kirilow
Erstellt von Andreas Kirilow vor fast 6 Jahre
7
0

Zusammenfassung der Ressource

Frage 1

Frage
Your website has five pages “A”, “B”, “C”, “D” and “E”. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 1 |*| 2 |*| 3 page.10.1.NO.allWrap = | 
Antworten
  • 1A1 1B1 1C1 2D2 3E3
  • 1A1 2B2 2C2 2D2 3E3
  • 1A 1B 1C 2D 3E
  • 1A 2B 3C 3D 3E
  • 1A 2B 2C 2D 3E

Frage 2

Frage
Your website has only one page “A”. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 1 |*| 2 |*| 3 page.10.1.NO.allWrap = | 
Antworten
  • 1A
  • 2A
  • 3A
  • 1A 2A 3A
  • 3A 1A 2A

Frage 3

Frage
Your website has five pages “A”, “B”, “C”, “D” and “E”. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 1 |*||*| 2 page.10.1.NO.allWrap = | 
Antworten
  • 1A 2B 1C 2D 1E
  • 1A 1B 1C 1D 2E
  • 1A 2B 2C 2D 2E
  • 1A 2B 1C 2D 2E

Frage 4

Frage
Your website has five pages “A”, “B”, “C”, “D” and “E”. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 1 |*| 2||3 |*| 4 page.10.1.NO.allWrap = | 
Antworten
  • 1A 2B 3C 2D 4E
  • 4A 2B 2C 3D 1E
  • 1A 2B 2C 3D 4E
  • 1A 2B 3C 3D 4E

Frage 5

Frage
Your website has five pages “A”, “B”, “C”, “D” and “E”. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 1||2 |*| 3 |*| 4 page.10.1.NO.allWrap = | 
Antworten
  • 1A 2B 1C 3D 4E
  • 1A 2B 3C 3D 4E
  • 1A 2B 1C 2D 3E
  • 1A 2B 2C 3D 4E

Frage 6

Frage
Your website has five pages “A”, “B”, “C”, “D” and “E”. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = 1||2 |*||*| 3 page.10.1.NO.allWrap = | 
Antworten
  • 1A 2B 1C 1D 3E
  • 1A 2B 3C 1D 2E
  • 1A 2B 2C 2D 3E
  • 1A 2B 3C 3D 3E
  • 2A 2B 2C 2D 3E

Frage 7

Frage
Your website has five pages “A”, “B”, “C”, “D” and “E”. What is the output of the following TypoScript code? (1) page = PAGE page.10 = HMENU page.10.1 = TMENU page.10.1.NO.linkWrap = |*||*| 1||2||3 page.10.1.NO.allWrap = | 
Antworten
  • 1A 2B 3C 1D 2E
  • 1A 2B 3C 3D 3E
  • 1A 1B 1C 2D 3E
  • 1A 2B 1C 2D 3E

Frage 8

Frage
You change a setting in the TypoScript Object Browser. Where is this change entered? (2)
Antworten
  • At the beginning of the TypoScript “setup” template.
  • At the end of the TypoScript “setup” template.
  • At the beginning of the TypoScript “constant” template.
  • At the end of the TypoScript “constant” template.
  • In the LocalConfiguration.php file.
  • None of the above answers is correct.

Frage 9

Frage
Your TypoScript code obviously contains a syntax error. How can you find it? (2)
Antworten
  • The error is displayed in the TypoScript Object Browser (TSOB).
  • The error is displayed in the Admin Panel.
  • The error is displayed in the Template Analyzer.
  • The error is displayed in the frontend.

Frage 10

Frage
What is the precise effect of the following two lines of TypoScript code in the constants area? (2) # cat=mytext/ctext/a; type=color; label=text color mytextcolor = red
Antworten
  • The first line is ignored because it is introduced with a comment character.
  • The mytextcolor constant is set to red.
  • A selection field for colors is created in the Constant Editor.
  • This code results in an error message.
  • This code has no effect.

Frage 11

Frage
You create a page with UID 76, an empty navigation title and the title “Test page”. What is the output created by the following script? (1) page = PAGE page.10 = TEXT page.10.value = Certification page.10.data = field:nav_title // field:uid // field:title
Antworten
  • Certification
  • Certification76Test page
  • 76
  • Test page 76Test page

Frage 12

Frage
How can you use TypoScript to determine the name of the frontend user who is logged in? (1)
Antworten
  • {field:name}
  • ${fe_user->name}
  • TSFE:fe_user|user|name
  • $TSFE->fe_user->user->name
  • getIndpEnv:name
  • TSFE[fe_user][user][name]
  • $GLOBALS['TSFE']->fe_user->user['name']

Frage 13

Frage
What is the output of the following TypoScript? (1) page = PAGE page.10 = TEXT page.10.value.data = DB:pages:11:title
Antworten
  • There is no output.
  • The output is DB:pages:11:title.
  • The output is DB pages:11 title.
  • The output consists of the page title of the page with the UID 11.
  • The output consists of the table cell with UID 11 from the pages table.
  • This TypoScript does not create any output, but it saves the data record of the page with UID 11 in a register for use later on.

Frage 14

Frage
You want the page title of the current page to be output. What do you need to add to the script below? (1) page = PAGE page { 10 = TEXT 10.value = The page title of the current page is: {page:title} ??? }
Antworten
  • 10.wrap = $|$
  • You do not need to add anything for the output to be right.
  • 10.dataWrap = {field:title}
  • 10.insertData = 1
  • 10.dataWrap = 1

Frage 15

Frage
What do you have to add to the script below so that the complete URL is output? (1) page = PAGE page { 10 = TEXT 10.data = ??? }
Antworten
  • TYPO3_REQUEST_URL
  • getIndpEnv:TYPO3_REQUEST_URL
  • {getIndpEnv:TYPO3_REQUEST_URL}
  • ${TYPO3_REQUEST_URL}
  • TSFE:TYPO3|REQUEST_URL

Frage 16

Frage
What code is required in place of the question marks in order to achieve the output of all important properties of the current page and the parent pages (such as UID, PID, title, etc.)? (1) page = PAGE page.10 = TEXT page.10.value = TypoScript page.10.???
Antworten
  • data = debug : rootLine
  • data = debug : -1
  • debugData = 1
  • data.debug = rootLine
  • debugData = rootline
  • data.debugData = 1

Frage 17

Frage
What do you have to enter in place of the question marks so that the page title of the current page is output? (1) page = PAGE page.10 = TEXT page.10 { dataWrap = DB:pages:{TSFE:id}:title ??? = <h1>Page title: &nbsp;{|}</h1> insertData = 1 }
Antworten
  • data
  • wrap
  • innerWrap
  • wrap3
  • stdWrap
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Einführung Programmieren
Aaron Welther
Programmierung
So Li
Die Programmierung
Jam Behn
Geschichte Deutschlands
max.grassl
soziale Ungleichheit
Melanie Najm
Nathan der Weise - Zusammenfassung
Laura Overhoff
Gute Gewohnheiten erfolgreicher Schüler
Laura Overhoff
Industrielle Revolution und soziale Frage
bibi97
Vetie Repro 2020
Franziska Piepho