NEW
Font size
WorksheetsReact and NodeJS with Docker
Total questions: 25
Worksheet time: 13mins
DOM (Document Object Model) มีการเก็บข้อมูลในรูปแบบไหน ?
Stack
Tree
File
Array
Components คืออะไร
องค์ประกอบของหน้าเว็บไซต์ โดยแบ่งให้เป็นส่วนย่อยต่าง ๆ เพื่อนำกลับมาใช้ใหม่
ตัวแทนของการทำงานหน้าเว็บไซต์
Folder ของโปรเจค
ส่วนประกอบของการรันโปรเจค ที่ทำให้โปรเจครันได้ง่ายมากขึ้น
ReactJS คืออะไร
Server side Framework
User-interface framework
Library for building interaction interfaces
Meta Framework
เป้าหมายของ React ไว้สำหรับสร้างอะไร ?
Database
Connectivity
User interface
Design Platform
ข้อใดเรียกฟังก์ชัน fetch() ในแท็ก h1 ของ JSX ได้ถูกต้อง
<h1>{fetch()}</h1>
<h1>${fetch()}</h1>
<h1>{fetch}</h1>
<h1>${fetch}</h1>
ฟังก์ชันใดใน React Component จะทำการ overrid เพื่อหยุดการทำงานขณะกำลัง update component
willComponentUpdate
shouldComponentUpdate
componentDidUpdate
componentDidMount
สิ่งใดใช้ส่งข้อมูลใน component จากภายนอก
setState
render with arguments
PropTypes
props
ฟังก์ชันใดใน React Component จะเรียกหลังจากมีการ Render เสร็จแล้ว
componentDidUpdate
componentDidMount
componentMounted
componentUpdated
จะเกิดอะไรขึ้นหากเราทำการเรียก setState() ภายใน render() method
Repetitive output appears on the screen
Duplicate key error
Stack overflow error
Nothing happens
จะกำหนด css แบบ inline เพื่อกำหนด font ขนาด 12px และสี red ใน jsx อย่างไร
style={{font-size:12,color:'red'}}
style={fontSize:'12px',color:'red'}
style={{font-size:12px,color:'red'}}
style={{fontSize:'12px',color:'red'}}
Ref ใช้สำหรับอ้างอิง element หรือ componenent ที่ return โดยอะไร
react()
render()
reduce()
refer()
Babel เป็น JavaScript Transpiler แบบหนึ่ง มีหน้าที่ทำอะไร?
แปลงภาษา CSS ให้อยู่ในรูปแบบ JavaScript ES5 ที่เว็บเบราเซอร์ส่วนใหญ่ทำงานด้วยได้
แปลงภาษา HTML5 ให้อยู่ในรูปแบบ JavaScript ES5 ที่เว็บเบราเซอร์ส่วนใหญ่ทำงานด้วยได้
แปลงภาษา JavaScript รุ่นใหม่ๆ ให้อยู่ในรูปแบบ JavaScript ES5 ที่เว็บเบราเซอร์ส่วนใหญ่ทำงานด้วยได้
ถูกทุกข้อ
ภาษาใด ไม่ได้ ทำงานฝั่ง Frontend
CSS
HTML
.NET
JavaScript
JavaScript ที่ทำงานภายนอก Browser คือ ?
Angular
Vue
Node.JS
React.JS
ECMAScript คืออะไร
ภาษาโปรแกรมมิ่ง
ตัวกำหนดมาตรฐาน
ตัวภาษาที่ทำตามมาตรฐาน
ถูกทุกข้อ
ES6 ถูกปรับปรุงขึ้นครั้งแรกในปีใด
2014
2015
2016
2020
JavaScript เป็นภาษาแบบใด
Compiler
Interpreter
Binary
Machine code
ไฟล์สกุลของภาษา JavaScript แบบมาตรฐานคือ ?
.ts
.js
.jsx
.java
ข้อใดเขียนคำสั่งแสดงผลบนหน้าจอได้ถูกต้อง
document.writeln("Hello World");
document.print("Hello World");
document.write("Hello World");
document.show("Hello World");
ข้อใดสร้างตัวแปรใน javascript ได้ถูกต้อง
var 2b = 300;
var double = 1000;
var age = "John";
var total Price = 1299;
console.warn("Hello");
คำสั่งดังกล่าวคืออะไร
แสดงผล log ออกทาง console แบบปกติ
แสดงผล log ออกทาง console แบบมีสัญลักษณ์แจ้งเตือน
แสดงผล log ออกทาง console แบบมีสัญลักษณ์ Error
ไม่มีข้อใดถูก
"2" > "12" ในภาษา JavaScript จะให้ผลลัพธ์เป็นอะไร
NaN
true
false
undefined
ข้อใดสร้างตัวแปร Array ใน JavaScript ได้ถูกต้อง
var name = ["a","b","c","d"];
var name = ("a,"b","c","d");
var name = {"a","b","c","d"}
ถูกทุกข้อที่กล่าวมาก
let กับ const ต่างกันอย่างไร
let เปลี่ยนแปลงค่าได้ const ไม่สามารถเปลี่ยนแปลงค่าได้
let กำหนดค่าได้ครั้งเดียว const กำหนดค่าได้หลายครั้ง
let เก็บค่าตัวแลข const เก็บค่า string
ถูกทุกข้อ
