Home Page
(current)
Lessons
Articles
Online Programs
Online Programs
->
Programming
->
Programming
Freemarker Template Quiz
10 Questions
15 Questions
20 Questions
30 Questions
Question 1 (1 Points)
วิธีการรวม template อื่นใน Freemarker คือ?**
(1)
`<#import>`
(2)
`<#include>`
(3)
`<#add>`
(4)
`<#append>`
Question 2 (1 Points)
ฟังก์ชันที่ใช้สำหรับการแปลงเป็น string คืออะไร?
(1)
.string()
(2)
.toString()
(3)
.asString()
(4)
.to_string
Question 3 (1 Points)
การนำเข้า template อื่นใช้ directive ไหน?
(1)
`<#import>`
(2)
`<#include>`
(3)
`<#extend>`
(4)
`<#insert>`
Question 4 (1 Points)
ซึ่ง directive ใดที่ใช้สำหรับการจัดการ conditions ใน Freemarker?
(1)
<#cond>
(2)
<#if>
(3)
<#switch>
(4)
<#choice>
Question 5 (1 Points)
หากต้องการใช้ macro, directive ใดที่ควรใช้?
(1)
<#def>
(2)
<#function>
(3)
<#macro>
(4)
<#method>
Question 6 (1 Points)
Freemarker คืออะไร?
(1)
JavaScript Framework
(2)
CSS Preprocessor
(3)
Java Template Engine
(4)
Database Management System
Question 7 (1 Points)
วิธีไหนที่ใช้เพื่อกำหนดค่า default หากตัวแปรไม่มีค่า?
(1)
${variable ?? `default`}
(2)
${variable | `default`}
(3)
${variable ?: `default`}
(4)
${variable! `default`}
Question 8 (1 Points)
ในการประมวลผล template หากเกิดข้อผิดพลาด `TemplateException` มันหมายความว่าอะไร?
(1)
ไม่พบ template
(2)
การเชื่อมต่อฐานข้อมูลล้มเหลว
(3)
มีปัญหาเกี่ยวกับการแปลงข้อมูล
(4)
ผิดพลาดที่เกี่ยวกับ template ระหว่างการประมวลผล
Question 9 (1 Points)
อะไรคือ syntax ที่ถูกต้องสำหรับการตรวจสอบเงื่อนไขใน Freemarker?
(1)
<#if condition>
(2)
<#check condition>
(3)
<#condition>
(4)
<#test condition>
Question 10 (1 Points)
การกำหนด macro ทำได้โดยใช้คำสั่งใด?
(1)
<@define ...>
(2)
<#macro ...>
(3)
<@macro ...>
(4)
<#define ...>
You got
/ 10
Viewers : 6,047
Other Programs
Freemarker Template Quiz
Lessons
Articles
Online Programs