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)
อะไรคือ syntax ที่ถูกต้องสำหรับการตรวจสอบเงื่อนไขใน Freemarker?
(1)
<#if condition>
(2)
<#check condition>
(3)
<#condition>
(4)
<#test condition>
Question 2 (1 Points)
ในการประมวลผล template, คลาสใดใน Java ที่ถูกใช้บ่อยเพื่อใช้งานกับ Freemarker?
(1)
TemplateConfig
(2)
TemplateEngine
(3)
FreeMarkerConfigurer
(4)
TemplateMaker
Question 3 (1 Points)
เมื่อต้องการสร้าง macro, ควรใช้ directive ใด?**
(1)
<#func>
(2)
<#macro>
(3)
<#define>
(4)
<#method>
Question 4 (1 Points)
ถ้าต้องการประกาศตัวแปรใหม่ใน template ควรใช้ directive ใด?
(1)
<#var>
(2)
<#declare>
(3)
<#set>
(4)
<#initialize>
Question 5 (1 Points)
อะไรที่ถูกใช้เป็น directive สำหรับการตรวจสอบเงื่อนไขใน Freemarker?
(1)
<#if>
(2)
<#condition>
(3)
<#check>
(4)
<#verify>
Question 6 (1 Points)
วิธีการรวม template อื่นใน Freemarker คือ?**
(1)
`<#import>`
(2)
`<#include>`
(3)
`<#add>`
(4)
`<#append>`
Question 7 (1 Points)
หากต้องการจัดการข้อผิดพลาดและแสดงข้อความ "An error occurred", directive ใดที่ควรใช้?**
(1)
`<#error>`
(2)
`<#fail>`
(3)
`<#catch>`
(4)
`<#attempt>`
Question 8 (1 Points)
Freemarker เป็นอะไร?**
(1)
เป็นภาษาโปรแกรมมิ่ง
(2)
เป็น template engine
(3)
เป็น framework สำหรับเว็บ
(4)
เป็นระบบจัดการฐานข้อมูล
Question 9 (1 Points)
สำหรับการเรียกใช้ macro ใน Freemarker ควรใช้รูปแบบใด?
(1)
<@macro_name>
(2)
<#macro_name>
(3)
<.macro_name>
(4)
<:macro_name>
Question 10 (1 Points)
วิธีการแสดงตัวแปร `name` คือ ...
(1)
[name]
(2)
${name}
(3)
(name)
(4)
name{}
You got
/ 10
Viewers : 5,693
Other Programs
Freemarker Template Quiz
Lessons
Articles
Online Programs