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)
ฟังก์ชันที่ใช้สำหรับการแปลงเป็น string คืออะไร?
(1)
.string()
(2)
.toString()
(3)
.asString()
(4)
.to_string
Question 2 (1 Points)
คำสั่งไหนที่สามารถใช้เพื่อแปลงข้อมูลเป็น string ใน Freemarker?
(1)
`asString()`
(2)
`.to_string`
(3)
`.string`
(4)
`toString()`
Question 3 (1 Points)
เมื่อต้องการใช้ conditional statement ใน Freemarker ควรใช้ directive ใด?
(1)
<#if>
(2)
<#check>
(3)
<#condition>
(4)
<#verify>
Question 4 (1 Points)
เมื่อต้องการเข้าถึง key ของ map ใน Freemarker, ควรใช้ syntax ใด?
(1)
map.key
(2)
map->key
(3)
map[key]
(4)
map:{key}
Question 5 (1 Points)
ควรใช้ directive ใดเมื่อต้องการพิมพ์ค่าออกมาโดยไม่ประมวลผลบางส่วนของ template?
(1)
<#raw>
(2)
<#noparse>
(3)
<#noeval>
(4)
<#plaintext>
Question 6 (1 Points)
ในการประมวลผล template, คลาสใดใน Java ที่ถูกใช้บ่อยเพื่อใช้งานกับ Freemarker?
(1)
TemplateConfig
(2)
TemplateEngine
(3)
FreeMarkerConfigurer
(4)
TemplateMaker
Question 7 (1 Points)
ใน Freemarker, การอ้างถึงตัวแปรใช้เครื่องหมายใด?
(1)
{}
(2)
[]
(3)
()
(4)
${}
Question 8 (1 Points)
แท็กไหนที่ใช้เพื่อจัดการกับข้อผิดพลาดใน template?
(1)
`<#try>`
(2)
`<#error>`
(3)
`<#exception>`
(4)
`<@catch>`
Question 9 (1 Points)
ในการเริ่มต้นการใช้งาน Freemarker, ขั้นตอนแรกที่ควรทำคือ?**
(1)
ประกาศตัวแปร
(2)
ติดตั้ง Freemarker
(3)
สร้าง loop
(4)
ใช้ conditions
Question 10 (1 Points)
ถ้าต้องการวนซ้ำข้อมูลใน List ควรใช้ directive ใด?
(1)
<#list>
(2)
<#loop>
(3)
<#foreach>
(4)
<#iterate>
You got
/ 10
Viewers : 6,084
Other Programs
Freemarker Template Quiz
Lessons
Articles
Online Programs