หน้าแรก
(current)
บทเรียน
บทความ
โปรแกรมออนไลน์
โปรแกรมออนไลน์
->
โปรแกรมมิ่ง
->
โปรแกรมมิ่ง
แบบทดสอบ Freemarker Template
10 คำถาม
15 คำถาม
20 คำถาม
30 คำถาม
คำถามข้อที่ 1 (1 คะแนน)
เมื่อต้องการสร้าง nested template ใน Freemarker, directive ใดที่สามารถใช้เพื่อนำเข้า template อื่น?
(1)
<#import>
(2)
<#include>
(3)
<#use>
(4)
<#load>
คำถามข้อที่ 2 (1 คะแนน)
ซึ่ง directive ใดใช้สำหรับการสร้าง macro ใน Freemarker?
(1)
<#func>
(2)
<#define>
(3)
<#macro>
(4)
<#method>
คำถามข้อที่ 3 (1 คะแนน)
ในการประมวลผล template, คลาสใดใน Java ที่ถูกใช้บ่อยเพื่อใช้งานกับ Freemarker?
(1)
TemplateConfig
(2)
TemplateEngine
(3)
FreeMarkerConfigurer
(4)
TemplateMaker
คำถามข้อที่ 4 (1 คะแนน)
เมื่อต้องการแปลง string เป็นเลข, ฟังก์ชันไหนที่เราควรใช้?**
(1)
`toNumber()`
(2)
`parseInt()`
(3)
`stringToNum()`
(4)
`convertToInt()`
คำถามข้อที่ 5 (1 คะแนน)
อะไรคือ syntax ที่ถูกต้องสำหรับการตรวจสอบเงื่อนไขใน Freemarker?
(1)
<#if condition>
(2)
<#check condition>
(3)
<#condition>
(4)
<#test condition>
คำถามข้อที่ 6 (1 คะแนน)
วิธีการแสดงตัวแปร `name` คือ ...
(1)
[name]
(2)
${name}
(3)
(name)
(4)
name{}
คำถามข้อที่ 7 (1 คะแนน)
ซึ่ง directive ใดที่ใช้สำหรับการจัดการ conditions ใน Freemarker?
(1)
<#cond>
(2)
<#if>
(3)
<#switch>
(4)
<#choice>
คำถามข้อที่ 8 (1 คะแนน)
Freemarker คืออะไร?
(1)
เครื่องมือสำหรับการทำ Web scraping
(2)
Framework สำหรับการพัฒนาเว็บ
(3)
Template engine สำหรับการสร้างเอกสารหรือหน้าเว็บ
(4)
Database management system
คำถามข้อที่ 9 (1 คะแนน)
การกำหนด macro ทำได้โดยใช้คำสั่งใด?
(1)
<@define ...>
(2)
<#macro ...>
(3)
<@macro ...>
(4)
<#define ...>
คำถามข้อที่ 10 (1 คะแนน)
วิธีไหนที่ถูกต้องสำหรับการเข้าถึง value ของ key `name` ใน map `user`?
(1)
user.name
(2)
user{name}
(3)
user[name]
(4)
user-name
คุณได้
/ 10
จำนวนคนดู : 5,295
โปรแกรมอื่นๆ
แบบทดสอบ Freemarker Template
บทเรียน
บทความ
โปรแกรมออนไลน์