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)
การทำเงื่อนไข if-else ใน Freemarker ใช้ directive อะไร?
(1)
`<#if>`
(2)
`<#condition>`
(3)
`<#choose>`
(4)
`<#select>`
Question 2 (1 Points)
ถ้าต้องการเรียงลำดับ elements ของ list, function ใดที่ Freemarker ใช้ได้?
(1)
sort()
(2)
order()
(3)
arrange()
(4)
sequence()
Question 3 (1 Points)
เมื่อต้องการสร้าง macro, ควรใช้ directive ใด?**
(1)
<#func>
(2)
<#macro>
(3)
<#define>
(4)
<#method>
Question 4 (1 Points)
จากตัวเลือกต่อไปนี้ อันไหนไม่ใช่ built-in ของ Freemarker?
(1)
upper_case
(2)
length
(3)
size
(4)
split
Question 5 (1 Points)
ถ้าต้องการวนซ้ำข้อมูลใน List ควรใช้ directive ใด?
(1)
<#list>
(2)
<#loop>
(3)
<#foreach>
(4)
<#iterate>
Question 6 (1 Points)
การใช้ conditions ใน Freemarker ทำได้โดยใช้คำสั่งใด?
(1)
<#if ...> ...
(2)
<#condition ...> ...
(3)
<#cond ...> ...
(4)
<#switch ...> ...
Question 7 (1 Points)
วิธีการแสดงตัวแปร `name` คือ?**
(1)
`{name}`
(2)
`$(name)`
(3)
`${name}`
(4)
`[name]`
Question 8 (1 Points)
ในการเริ่มต้นการใช้งาน Freemarker, ขั้นตอนแรกที่ควรทำคือ?**
(1)
ประกาศตัวแปร
(2)
ติดตั้ง Freemarker
(3)
สร้าง loop
(4)
ใช้ conditions
Question 9 (1 Points)
`${...}` ใช้เพื่ออะไร?
(1)
แสดงค่าของตัวแปร
(2)
การวนซ้ำ
(3)
การสร้าง directive
(4)
การสร้าง comment
Question 10 (1 Points)
เมื่อต้องการทำ nested template directive ใดที่ถูกใช้ใน Freemarker?
(1)
<#include>
(2)
<#nested>
(3)
<#embed>
(4)
<#insert>
You got
/ 10
Viewers : 7,380
Other Programs
Freemarker Template Quiz
Lessons
Articles
Online Programs