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)
แท็กไหนที่ใช้สำหรับการแสดงค่า default ในกรณีที่ตัวแปรไม่มีค่า?**
(1)
${variable!default}
(2)
${variable?default}
(3)
${variable=default}
(4)
${default?variable}
Question 3 (1 Points)
หากต้องการทำ loop ใน Freemarker ควรใช้ directive ใด?
(1)
<#foreach>
(2)
<#iterate>
(3)
<#loop>
(4)
<#list>
Question 4 (1 Points)
Freemarker คืออะไร?
(1)
เครื่องมือสำหรับการทำ Web scraping
(2)
Framework สำหรับการพัฒนาเว็บ
(3)
Template engine สำหรับการสร้างเอกสารหรือหน้าเว็บ
(4)
Database management system
Question 5 (1 Points)
เมื่อต้องการใช้ template ซ้อนกัน (nested templates) คำสั่งใดที่ใช้?
(1)
<#include>
(2)
<#insert>
(3)
<#embed>
(4)
<#nest>
Question 6 (1 Points)
การใส่ comment ใน Freemarker template ที่จะไม่แสดงในผลลัพธ์สุดท้าย ควรใช้ syntax ใด?
(1)
(2)
// Comment
(3)
-- Comment --
(4)
<#-- Comment -->
Question 7 (1 Points)
Freemarker เป็นอะไร?**
(1)
เป็นภาษาโปรแกรมมิ่ง
(2)
เป็น template engine
(3)
เป็น framework สำหรับเว็บ
(4)
เป็นระบบจัดการฐานข้อมูล
Question 8 (1 Points)
แท็กไหนที่ใช้สำหรับการรวม templates อื่นเข้ามาใน template หลัก?**
(1)
<#insert>
(2)
<#include>
(3)
<#combine>
(4)
<#merge>
Question 9 (1 Points)
อะไรคือ directive สำหรับการตรวจสอบเงื่อนไขใน Freemarker?**
(1)
`<#if>`
(2)
`<#check>`
(3)
`<#condition>`
(4)
`<#verify>`
Question 10 (1 Points)
เมื่อใช้ Freemarker กับ Spring Framework, คลาสไหนที่ใช้สำหรับการตั้งค่า Freemarker?**
(1)
`FreeMarkerConfigurer`
(2)
`FreeMarkerInitializer`
(3)
`FreeMarkerSettings`
(4)
`TemplateConfig`
You got
/ 10
Viewers : 5,555
Other Programs
Freemarker Template Quiz
Lessons
Articles
Online Programs