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)
Freemarker เป็น ...
(1)
Framework สำหรับ Web Development
(2)
ฐานข้อมูล SQL
(3)
Template Engine
(4)
Programming Language
Question 2 (1 Points)
แท็กไหนที่ใช้สำหรับการแสดงค่า default ในกรณีที่ตัวแปรไม่มีค่า?**
(1)
${variable!default}
(2)
${variable?default}
(3)
${variable=default}
(4)
${default?variable}
Question 3 (1 Points)
ถ้าต้องการจัดการข้อผิดพลาดที่เกิดขึ้นจากการไม่พบตัวแปร ควรใช้คำสั่งใด?
(1)
<#error>
(2)
<#missing>
(3)
<#try>
(4)
<#fail>
Question 4 (1 Points)
เมื่อต้องการทำ nested template directive ใดที่ถูกใช้ใน Freemarker?
(1)
<#include>
(2)
<#nested>
(3)
<#embed>
(4)
<#insert>
Question 5 (1 Points)
การนำเข้า template อื่นใช้ directive ไหน?
(1)
`<#import>`
(2)
`<#include>`
(3)
`<#extend>`
(4)
`<#insert>`
Question 6 (1 Points)
ซึ่ง directive ใดใช้สำหรับการสร้าง macro ใน Freemarker?
(1)
<#func>
(2)
<#define>
(3)
<#macro>
(4)
<#method>
Question 7 (1 Points)
Freemarker มีประเภทอย่างไร?
(1)
ภาษาโปรแกรม
(2)
ฐานข้อมูล
(3)
Template engine
(4)
บริการเว็บ
Question 8 (1 Points)
แท็กไหนที่ใช้สำหรับการรวม templates อื่นเข้ามาใน template หลัก?**
(1)
<#insert>
(2)
<#include>
(3)
<#combine>
(4)
<#merge>
Question 9 (1 Points)
ในการสร้าง custom directive, คลาสไหนใน Java ที่ควรถูก implement?**
(1)
Directive
(2)
TemplateDirective
(3)
TemplateDirectiveModel
(4)
CustomDirective
Question 10 (1 Points)
วิธีไหนที่ใช้เพื่อกำหนดค่า default หากตัวแปรไม่มีค่า?
(1)
${variable ?? `default`}
(2)
${variable | `default`}
(3)
${variable ?: `default`}
(4)
${variable! `default`}
You got
/ 10
Viewers : 6,355
Other Programs
Freemarker Template Quiz
Lessons
Articles
Online Programs