หน้าแรก
(current)
บทเรียน
บทความ
โปรแกรมออนไลน์
โปรแกรมออนไลน์
->
โปรแกรมมิ่ง
->
โปรแกรมมิ่ง
แบบทดสอบ Freemarker Template
10 คำถาม
15 คำถาม
20 คำถาม
30 คำถาม
คำถามข้อที่ 1 (1 คะแนน)
Freemarker คืออะไร?
(1)
JavaScript Framework
(2)
CSS Preprocessor
(3)
Java Template Engine
(4)
Database Management System
คำถามข้อที่ 2 (1 คะแนน)
`${...}` ใช้เพื่ออะไร?
(1)
แสดงค่าของตัวแปร
(2)
การวนซ้ำ
(3)
การสร้าง directive
(4)
การสร้าง comment
คำถามข้อที่ 3 (1 คะแนน)
เมื่อต้องการทำ nested template directive ใดที่ถูกใช้ใน Freemarker?
(1)
<#include>
(2)
<#nested>
(3)
<#embed>
(4)
<#insert>
คำถามข้อที่ 4 (1 คะแนน)
การกำหนด macro ทำได้โดยใช้คำสั่งใด?
(1)
<@define ...>
(2)
<#macro ...>
(3)
<@macro ...>
(4)
<#define ...>
คำถามข้อที่ 5 (1 คะแนน)
วิธีใดที่ใช้สำหรับการแสดงตัวแปร?
(1)
[${variable}]
(2)
@variable@
(3)
{{variable}}
(4)
${variable}
คำถามข้อที่ 6 (1 คะแนน)
การใช้ conditions ใน Freemarker ทำได้โดยใช้คำสั่งใด?
(1)
<#if ...> ...
(2)
<#condition ...> ...
(3)
<#cond ...> ...
(4)
<#switch ...> ...
คำถามข้อที่ 7 (1 คะแนน)
การสร้าง macro ใน Freemarker ใช้ directive ไหน?
(1)
`<#define>`
(2)
`<#macro>`
(3)
`<#function>`
(4)
`<#template>`
คำถามข้อที่ 8 (1 คะแนน)
หากต้องการจัดการข้อผิดพลาดและแสดงข้อความ "An error occurred", directive ใดที่ควรใช้?**
(1)
`<#error>`
(2)
`<#fail>`
(3)
`<#catch>`
(4)
`<#attempt>`
คำถามข้อที่ 9 (1 คะแนน)
เมื่อต้องการแสดงข้อความเฉพาะเมื่อตัวแปร `isEmpty` มีค่าเป็น `true`, ควรใช้ directive ใด?
(1)
<#if isEmpty>
(2)
<#elseif isEmpty>
(3)
<#else isEmpty>
(4)
<#unless isEmpty>
คำถามข้อที่ 10 (1 คะแนน)
อะไรคือ directive ที่ใช้สำหรับการวนซ้ำใน Freemarker?
(1)
`<@iterate>`
(2)
`<#for>`
(3)
`<#list>`
(4)
`<#loop>`
คุณได้
/ 10
จำนวนคนดู : 6,363
โปรแกรมอื่นๆ
แบบทดสอบ Freemarker Template
บทเรียน
บทความ
โปรแกรมออนไลน์