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)
การใช้ function `upper_case` เพื่อแปลง string เป็นตัวพิมพ์ใหญ่ใน Freemarker ควรใช้รูปแบบใด?
(1)
${string?upper_case}
(2)
${string!upper_case}
(3)
${string?uppercase}
(4)
${string?capitalized}
Question 2 (1 Points)
ในการสร้าง macro แบบนี้ `<@myMacro/>`, directive ไหนที่ใช้ในการกำหนด macro?**
(1)
`<#macro>`
(2)
`<#def>`
(3)
`<#function>`
(4)
`<#create>`
Question 3 (1 Points)
ในการประมวลผล template, คลาสใดใน Java ที่ถูกใช้บ่อยเพื่อใช้งานกับ Freemarker?
(1)
TemplateConfig
(2)
TemplateEngine
(3)
FreeMarkerConfigurer
(4)
TemplateMaker
Question 4 (1 Points)
Freemarker เป็นอะไร?
(1)
เครื่องมือสำหรับการประมวลผลภาษา Java
(2)
Template engine สำหรับ Java
(3)
Framework สำหรับการพัฒนาเว็บ
(4)
ฐานข้อมูลสำหรับเว็บ
Question 5 (1 Points)
เมื่อต้องการทำ nested template directive ใดที่ถูกใช้ใน Freemarker?
(1)
<#include>
(2)
<#nested>
(3)
<#embed>
(4)
<#insert>
Question 6 (1 Points)
ฟังก์ชันที่ใช้สำหรับการแปลงเป็น string คืออะไร?
(1)
.string()
(2)
.toString()
(3)
.asString()
(4)
.to_string
Question 7 (1 Points)
ในการเริ่มต้นการใช้งาน Freemarker, ขั้นตอนแรกที่ควรทำคือ?**
(1)
ประกาศตัวแปร
(2)
ติดตั้ง Freemarker
(3)
สร้าง loop
(4)
ใช้ conditions
Question 8 (1 Points)
เมื่อต้องการ include template อื่นเข้ามา, directive ใดที่ควรใช้?
(1)
<#import>
(2)
<#include>
(3)
<#embed>
(4)
<#join>
Question 9 (1 Points)
สำหรับการเรียกใช้ macro ใน Freemarker ควรใช้รูปแบบใด?
(1)
<@macro_name>
(2)
<#macro_name>
(3)
<.macro_name>
(4)
<:macro_name>
Question 10 (1 Points)
ตัวแปรสามารถใช้งานได้ผ่าน...
(1)
$(variableName)
(2)
${variableName}
(3)
@(variableName)
(4)
&[variableName]
You got
/ 10
Viewers : 7,639
Other Programs
Freemarker Template Quiz
Lessons
Articles
Online Programs