index int64 1 3M | answer stringclasses 4
values | category stringclasses 20
values | image stringlengths 1 109k | source stringclasses 565
values | l2-category stringclasses 6
values | comment stringclasses 176
values | split stringclasses 1
value | hint stringclasses 263
values | question stringlengths 10 291 | A stringlengths 1 463 | B stringlengths 1 462 | C stringlengths 1 463 ⌀ | D stringlengths 1 460 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2,001,489 | C | object_localization | 1489 | finegrained_perception (instance-level) | null | dev | null | กล้วยสีแดงอยู่ตรงมุมไหน | ล่างซ้าย | ล่างขวา | บนขวา | บนซ้าย | |
2,001,492 | A | object_localization | 1492 | finegrained_perception (instance-level) | null | dev | null | ส้มอยู่ตรงมุมไหน | ซ้าย | ขวา | บน | ล่าง | |
2,001,493 | B | object_localization | 1493 | finegrained_perception (instance-level) | null | dev | null | มีกล้วยอยู่ในรูปภาพกี่ลูก? | 4 | 5 | 3 | 6 | |
2,001,495 | A | object_localization | 1495 | finegrained_perception (instance-level) | null | dev | null | แอปเปิลอยู่มุมไหน? | ซ้าย | ขวา | บน | ล่าง | |
2,001,497 | C | object_localization | 1497 | finegrained_perception (instance-level) | null | dev | null | มุมใดที่ไม่มีผลไม้? | ล่างซ้าย | ล่างขวา | บนขวา | บนซ้าย | |
2,001,499 | B | object_localization | 1499 | finegrained_perception (instance-level) | null | dev | null | น้ำผลไม้ อยู่ตรงมุมไหน? | ซ้าย | ขวา | บน | ล่าง | |
2,001,500 | D | object_localization | 1500 | finegrained_perception (instance-level) | null | dev | null | มีกล้วยอยู่ในรูปภาพกี่ลูก? | 4 | 5 | 3 | 2 | |
2,001,501 | A | object_localization | 1501 | finegrained_perception (instance-level) | null | dev | null | มุมใดที่ไม่มีจานวางอยู่? | มุมล่างซ้าย | มุมล่างขวา | มุมบนขวา | มุมบนซ้าย | |
2,001,504 | A | object_localization | 1504 | finegrained_perception (instance-level) | null | dev | null | กล้วยอยู่ที่ไหน? | ซ้าย | ขวา | ขึ้น | ลง | |
2,001,505 | A | object_localization | 1505 | finegrained_perception (instance-level) | null | dev | null | มีผลไม้กี่ชนิดในภาพ? | 5 | 4 | 3 | 2 | |
2,001,506 | B | object_localization | 1506 | finegrained_perception (instance-level) | null | dev | null | มีโดนัทกี่ชิ้นในรูปภาพ? | 5 | 6 | 4 | 3 | |
2,001,507 | B | object_localization | 1507 | finegrained_perception (instance-level) | null | dev | null | มุมใดที่ไม่มีจานวางอยู่? | มุมล่างซ้าย | มุมล่างขวา | มุมบนขวา | มุมบนซ้าย | |
2,001,510 | B | object_localization | 1510 | finegrained_perception (instance-level) | null | dev | null | โดนัทอยู่ที่ไหน? | ซ้าย | ขวา | ขึ้น | ลง | |
2,001,511 | B | object_localization | 1511 | finegrained_perception (instance-level) | null | dev | null | มุมใดที่ไม่มีอาหาร? | ล่างซ้าย | ล่างขวา | บนขวา | บนซ้าย | |
2,001,514 | C | object_localization | 1514 | finegrained_perception (instance-level) | null | dev | null | เค้กสตรอว์เบอร์รีอยู่ที่ไหน? | ล่างซ้าย | ล่างขวา | บนขวา | บนซ้าย | |
2,001,515 | C | object_localization | 1515 | finegrained_perception (instance-level) | null | dev | null | มีโดนัทกี่ชิ้น? | 3 | 4 | 2 | 1 | |
2,001,516 | D | object_localization | 1516 | finegrained_perception (instance-level) | null | dev | null | โดนัทถูกกัดที่ทิศทางใด? | ซ้าย | ขวา | ขึ้น | ลง | |
2,001,517 | A | object_localization | 1517 | finegrained_perception (instance-level) | null | dev | null | มีช็อกโกแลตมัชคินส์ทั้งหมดกี่ชิ้น? | 4 | 5 | 3 | 2 | |
2,001,518 | B | object_localization | 1518 | finegrained_perception (instance-level) | null | dev | null | สุนัขอยู่ที่ไหน? | ด้านล่างซ้าย | ด้านล่างขวา | ด้านบนขวา | ด้านบนซ้าย | |
2,001,519 | D | object_localization | 1519 | finegrained_perception (instance-level) | null | dev | null | แมวอยู่ที่ไหน? | ล่างซ้าย | ล่างขวา | บนขวา | บนซ้าย | |
2,001,521 | B | object_localization | 1521 | finegrained_perception (instance-level) | null | dev | null | แมวหันหน้าไปทางไหน? | ซ้าย | ขวา | ขึ้น | ลง | |
2,001,522 | D | object_localization | 1522 | finegrained_perception (instance-level) | null | dev | null | สุนัขหันหน้าไปทางทิศใด? | ซ้าย | ขวา | ขึ้น | ลง | |
2,001,523 | C | object_localization | 1523 | finegrained_perception (instance-level) | null | dev | null | สุนัขกำลังมองไปทางทิศใด? | ซ้าย | ขวา | ขึ้น | ลง | |
2,001,524 | D | object_localization | 1524 | finegrained_perception (instance-level) | null | dev | null | สุนัขกำลังมองไปทางทิศใด? | ซ้าย | ขวา | ขึ้น | ลง | |
2,001,526 | B | object_localization | 1526 | finegrained_perception (instance-level) | null | dev | null | แมวอยู่ที่ไหน? | ล่างซ้าย | ล่างขวา | บนขวา | บนซ้าย | |
2,001,530 | C | object_localization | 1530 | finegrained_perception (instance-level) | null | dev | null | จักรยานอยู่ไหน | ล่างซ้าย | ล่างขวา | บนขวา | บนซ้าย | |
2,001,531 | D | object_localization | 1531 | finegrained_perception (instance-level) | null | dev | null | มีสุนัขทั้งหมดกี่ตัว? | 2 | 6 | 3 | 4 | |
2,001,532 | C | object_localization | 1532 | finegrained_perception (instance-level) | null | dev | null | บุคคลในภาพหันหน้าไปทางใด? | ซ้าย | ขวา | ด้านหน้า | ด้านหลัง | |
2,001,534 | A | object_localization | 1534 | finegrained_perception (instance-level) | null | dev | null | มีสุนัขทั้งหมดกี่ตัว? | 1 | 3 | 0 | 2 | |
2,001,535 | C | physical_property_reasoning | 1535 | attribute_reasoning | null | dev | null | วัตถุที่แสดงในรูปนี้คือ: | โดยทั่วไปพบในหินอัคนี เช่น หินบะซอลต์และหินแกรนิต | มีจุดหลอมเหลวต่ำเมื่อเทียบกับแร่ธาตุอื่นๆ | เป็นสารที่แข็งที่สุดตามธรรมชาติบนโลก | นำไฟฟ้าได้ดีที่อุณหภูมิห้อง | |
2,001,536 | C | physical_property_reasoning | 1536 | null | attribute_reasoning | null | dev | null | วัตถุที่แสดงในรูปนี้คือ: | มีจุดเดือดต่ำเมื่อเทียบกับโลหะอื่นๆ | ถูกดูดติดด้วยแม่เหล็ก | เป็นโลหะเพียงชนิดเดียวที่เป็นของเหลวที่อุณหภูมิห้อง | สามารถละลายในน้ำได้ง่าย |
2,001,538 | C | physical_property_reasoning | 1538 | https://image.baidu.com/search/detail?ct=503316480&z=&tn=baiduimagedetail&ipn=d&word=%E6%B0%A6&step_word=&ie=utf-8&in=&cl=2&lm=-1&st=-1&hd=&latest=©right=&cs=4215392,2179438032&os=2766074397,4250466693&simid=4215392,2179438032&pn=1&rn=1&di=7214885350303334401&ln=1473&fr=&fmq=1687242100404_R&ic=0&s=undefined&se=&sme... | attribute_reasoning | null | dev | null | วัตถุที่แสดงในรูปนี้คือ: | มีจุดเดือดสูงเมื่อเทียบกับก๊าซเฉื่อยอื่นๆ | เป็นธาตุที่มีมากที่สุดในจักรวาล | เป็นก๊าซที่ไม่มีสีและไม่มีกลิ่น | สามารถแตกตัวเป็นไอออนเพื่อสร้างพลาสมาได้ |
2,001,539 | C | physical_property_reasoning | 1539 | https://image.baidu.com/search/detail?ct=503316480&z=0&tn=baiduimagedetail&ipn=d&word=%E6%B0%AE%E6%B0%94&step_word=&ie=utf-8&in=&cl=2&lm=-1&st=-1&hd=&latest=©right=&cs=4248676968,1071124668&os=3803940349,2709450609&simid=4248676968,1071124668&pn=2&rn=1&di=7214885350303334401&ln=1580&fr=&fmq=1687242225846_R&ic=0&s=u... | attribute_reasoning | null | dev | null | วัตถุที่แสดงในรูปนี้คือ: | มีจุดเดือดสูงเมื่อเทียบกับก๊าซอื่นๆ | เป็นตัวนำไฟฟ้าที่ดี | คิดเป็นประมาณ 78% ของบรรยากาศของโลก | เป็นโลหะที่มักใช้ในวัสดุก่อสร้าง |
2,001,573 | C | image_style | 1573 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTeKFjsOvL3Px0B6cHAO0wCn4a5OvNW_DyfTg&usqp=CAU | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพวาดสีน้ำมัน | ภาพสเก็ตช์ |
2,001,574 | D | image_style | 1574 | http://m.sjmrsh.com/upload/201910/20/201910202152104062.jpg | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพวาดสีน้ำมัน | ภาพสเก็ตช์ |
2,001,575 | D | image_style | 1575 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRen8j7eNMsWB1b8syLd2qgjAaI-DDnqZGK7A&usqp=CAU | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพวาดสีน้ำมัน | ภาพสเก็ตช์ |
2,001,576 | D | image_style | 1576 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพวาดสีน้ำมัน | ภาพสเก็ตช์ | |
2,001,578 | A | image_style | 1578 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพวาดสีน้ำมัน | ภาพสเก็ตช์ | |
2,001,579 | A | image_style | 1579 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพวาดสีน้ำมัน | ภาพสเก็ตช์ | |
2,001,580 | B | image_style | 1580 | https://images.unsplash.com/photo-1554080353-a576cf803bda?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8cGhvdG98ZW58MHx8MHx8fDA%3D&w=1000&q=80 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพวาดสีน้ำมัน | ภาพสเก็ตช์ |
2,001,582 | B | image_style | 1582 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพวาดสีน้ำมัน | ภาพสเก็ตช์ | |
2,001,583 | C | image_style | 1583 | coarse_perception | null | dev | null | ภาพนี้จัดอยู่ในหมวดหมู่ใด | ภาพวาด | แผนที่ | ภาพถ่ายจากระยะไกล | รูปถ่าย | |
2,001,585 | C | image_style | 1585 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRvPu3rp8hL9NVM-ZvMUUUduv0i4oVwsTn_Ew&usqp=CAU | coarse_perception | null | dev | null | ภาพนี้จัดอยู่ในหมวดหมู่ใด | ภาพวาด | แผนที่ | ภาพถ่ายจากระยะไกล | รูปถ่าย |
2,001,586 | B | image_style | 1586 | coarse_perception | null | dev | null | ภาพนี้จัดอยู่ในหมวดหมู่ใด | ภาพวาด | แผนที่ | ภาพถ่ายจากระยะไกล | รูปถ่าย | |
2,001,588 | B | image_style | 1588 | coarse_perception | null | dev | null | ภาพนี้จัดอยู่ในหมวดหมู่ใด | ภาพวาด | แผนที่ | ภาพถ่ายจากระยะไกล | รูปถ่าย | |
2,001,589 | D | image_style | 1589 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพวาด | ภาพทางการแพทย์ CT | 8-บิต | |
2,001,591 | D | image_style | 1591 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพวาด | ภาพทางการแพทย์ CT | 8-บิต | |
2,001,592 | C | image_style | 1592 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพถ่ายทางการแพทย์ CT | 8-bit | |
2,001,594 | C | image_style | 1594 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSEHsv2PhsESZmoLDd3OePr_ccTM5STCuUmig&usqp=CAU | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ศิลปะดิจิทัล | ภาพถ่าย | ภาพถ่ายทางการแพทย์ CT | 8-bit |
2,001,595 | C | image_style | 1595 | coarse_perception | null | dev | null | ภาพนี้แสดงสไตล์อะไร? | สมัยใหม่ (modernism) | ดาไดสม์ (dadaism) | อิมเพรสชั่นนิสม์ (impressionism) | หลังอิมเพรสชั่นนิสม์ (post-Impressionism) | |
2,001,597 | C | image_style | 1597 | coarse_perception | null | dev | null | ภาพนี้แสดงสไตล์อะไร? | สมัยใหม่ (modernism) | ดาไดสม์ (dadaism) | อิมเพรสชั่นนิสม์ (impressionism) | หลังอิมเพรสชั่นนิสม์ (post-Impressionism) | |
2,001,598 | D | image_style | 1598 | coarse_perception | null | dev | null | ภาพนี้แสดงสไตล์อะไร? | สมัยใหม่ (modernism) | ดาไดสม์ (dadaism) | อิมเพรสชั่นนิสม์ (impressionism) | หลังอิมเพรสชั่นนิสม์ (post-Impressionism) | |
2,001,602 | A | image_style | 1602 | coarse_perception | null | dev | null | ภาพนี้แสดงสไตล์อะไร? | สมัยใหม่ (modernism) | ดาไดสม์ (dadaism) | อิมเพรสชั่นนิสม์ (impressionism) | หลังอิมเพรสชั่นนิสม์ (post-Impressionism) | |
2,001,603 | C | image_style | 1603 | coarse_perception | null | dev | null | ภาพนี้แสดงสไตล์อะไร? | สมัยใหม่ (modernism) | ดาไดสม์ (dadaism) | อิมเพรสชั่นนิสม์ (impressionism) | หลังอิมเพรสชั่นนิสม์ (post-Impressionism) | |
2,001,604 | B | image_style | 1604 | coarse_perception | null | dev | null | ภาพนี้แสดงสไตล์อะไร? | สมัยใหม่ (modernism) | ดาไดสม์ (dadaism) | อิมเพรสชั่นนิสม์ (impressionism) | หลังอิมเพรสชั่นนิสม์ (post-Impressionism) | |
2,001,605 | B | image_style | 1605 | coarse_perception | null | dev | null | ภาพนี้แสดงสไตล์อะไร? | สมัยใหม่ (modernism) | ดาไดสม์ (dadaism) | อิมเพรสชั่นนิสม์ (impressionism) | หลังอิมเพรสชั่นนิสม์ (post-Impressionism) | |
2,001,606 | B | image_style | 1606 | coarse_perception | null | dev | null | ภาพนี้แสดงสไตล์อะไร? | สมัยใหม่ (modernism) | ดาไดสม์ (dadaism) | อิมเพรสชั่นนิสม์ (impressionism) | หลังอิมเพรสชั่นนิสม์ (post-Impressionism) | |
2,001,608 | C | image_style | 1608 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ภาพถ่ายจุลทรรศน์ | ภาพวาดนามธรรม | ภาพ MRI | ไอคอน | |
2,001,609 | C | image_style | 1609 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ภาพถ่ายจุลทรรศน์ | ภาพวาดนามธรรม | ภาพ MRI | ไอคอน | |
2,001,612 | D | image_style | 1612 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ภาพถ่ายจุลทรรศน์ | ภาพวาดนามธรรม | ภาพ MRI | ไอคอน | |
2,001,614 | A | image_style | 1614 | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ภาพถ่ายจุลทรรศน์ | ภาพวาดนามธรรม | ภาพ MRI | ไอคอน | |
2,001,615 | A | image_style | 1615 | https://visualsonline.cancer.gov/retrieve.cfm?imageid=2129&dpi=300&fileformat=jpg | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ภาพถ่ายจุลทรรศน์ | ภาพวาดนามธรรม | ภาพ MRI | ไอคอน |
2,001,617 | B | image_style | 1617 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTjkFCAW4seymvwKGOhBaXc270NkGrPuk8gog&usqp=CAU | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ภาพถ่ายจุลทรรศน์ | ภาพวาดนามธรรม | ภาพ MRI | ไอคอน |
2,001,618 | B | image_style | 1618 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQFfqKc-4Ux5lraCcdE-3aJG8aVsVF9LwuAUA&usqp=CAU | coarse_perception | null | dev | null | ภาพนี้อยู่ในหมวดหมู่ใด | ภาพถ่ายจุลทรรศน์ | ภาพวาดนามธรรม | ภาพ MRI | ไอคอน |
2,001,619 | C | image_style | 1619 | coarse_perception | null | dev | null | ภาพวาดนี้เป็นสไตล์อะไร | ภาพวาดกัวช | ภาพวาดปากกาและหมึก | ภาพวาดหมึกจีน | ภาพวาดสีน้ำ | |
2,001,620 | C | image_style | 1620 | coarse_perception | null | dev | null | ภาพวาดนี้เป็นสไตล์อะไร | ภาพวาดกัวช | ภาพวาดปากกาและหมึก | ภาพวาดหมึกจีน | ภาพวาดสีน้ำ | |
2,001,621 | C | image_style | 1621 | coarse_perception | null | dev | null | ภาพวาดนี้เป็นสไตล์อะไร | ภาพวาดกัวช | ภาพวาดปากกาและหมึก | ภาพวาดหมึกจีน | ภาพวาดสีน้ำ | |
2,001,623 | D | image_style | 1623 | coarse_perception | null | dev | null | ภาพวาดนี้เป็นสไตล์อะไร | ภาพวาดกัวช | ภาพวาดปากกาและหมึก | ภาพวาดหมึกจีน | ภาพวาดสีน้ำ | |
2,001,628 | B | image_style | 1628 | https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ8zKWV_vEQ2DdaDkW8O18gKbV1JoBW1mvW-w&usqp=CAU | coarse_perception | null | dev | null | ภาพวาดนี้เป็นสไตล์อะไร | ภาพวาดกัวช | ภาพวาดปากกาและหมึก | ภาพวาดหมึกจีน | ภาพวาดสีน้ำ |
2,001,629 | B | image_style | 1629 | coarse_perception | null | dev | null | ภาพวาดนี้เป็นสไตล์อะไร | ภาพวาดกัวช | ภาพวาดปากกาและหมึก | ภาพวาดหมึกจีน | ภาพวาดสีน้ำ | |
2,001,630 | B | image_style | 1630 | https://texashistory.unt.edu/ark:/67531/metapth861210/m1/1/med_res/ | coarse_perception | null | dev | null | ภาพวาดนี้เป็นสไตล์อะไร | ภาพวาดกัวช | ภาพวาดปากกาและหมึก | ภาพวาดหมึกจีน | ภาพวาดสีน้ำ |
2,001,632 | C | structuralized_imagetext_understanding | 1632 | https://www.w3schools.com/python/trypython.asp?filename=demo_indentation2 | logic_reasoning | null | dev | null | โค้ด Python ใดที่จะสร้างผลลัพธ์ตามที่แสดงในรูปภาพ? | #นี่คือความคิดเห็น
print("สวัสดี, โลก!") | if 5 > 2:
print("ห้ามากกว่าสอง!") | if 5 > 2:
print("ห้ามากกว่าสอง!")
print("ห้ามากกว่าสอง!") | if 5 > 2:
print("ห้ามากกว่าสอง!")
if 5 > 2:
print("ห้ามากกว่าสอง!") |
2,001,636 | D | structuralized_imagetext_understanding | 1636 | https://www.w3schools.com/python/trypython.asp?filename=demo_dictionary_brand | logic_reasoning | null | dev | null | โค้ด Python ใดที่จะสร้างผลลัพธ์ตามที่แสดงในรูปภาพ? | thisdict = {
"brand": "Ford",
"electric": False,
"year": 1965,
"colors": ["red", "white", "blue"]
}
print(thisdict) | thisdict = dict(name = "John", age = 37, country = "Norway")
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1965
}
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1965
}
print(thisdict["brand"]) |
2,001,637 | A | structuralized_imagetext_understanding | 1637 | https://www.w3schools.com/python/trypython.asp?filename=demo_dict_datatypes | logic_reasoning | null | dev | null | โค้ด Python ใดที่จะสร้างผลลัพธ์ตามที่แสดงในรูปภาพ? | thisdict = {
"brand": "Ford",
"electric": False,
"year": 1966,
"colors": ["red", "white", "blue"]
}
print(thisdict) | thisdict = dict(name = "John", age = 38, country = "Norway")
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1966
}
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1966
}
print(thisdict["brand"]) |
2,001,638 | B | structuralized_imagetext_understanding | 1638 | https://www.w3schools.com/python/trypython.asp?filename=demo_dict_constructor | logic_reasoning | null | dev | null | โค้ด Python ใดจะสร้างผลลัพธ์ตามที่แสดงในรูปภาพ | thisdict = {
"brand": "Ford",
"electric": False,
"year": 1967,
"colors": ["red", "white", "blue"]
}
print(thisdict) | thisdict = dict(name = "John", age = 39, country = "Norway")
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1967
}
print(thisdict) | thisdict = {
"brand": "Ford",
"model": "Mustang",
"year": 1967
}
print(thisdict["brand"]) |
2,001,639 | C | structuralized_imagetext_understanding | 1639 | https://www.w3schools.com/python/trypython.asp?filename=demo_for_string | logic_reasoning | null | dev | null | โค้ด Python ใดจะสร้างผลลัพธ์ตามที่แสดงในรูปภาพ | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
break
print(x) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x) | for x in "banana":
print(x) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
print(x)
if x == "banana":
break |
2,001,642 | B | structuralized_imagetext_understanding | 1642 | https://www.w3schools.com/python/trypython.asp?filename=demo_for_continue | logic_reasoning | null | dev | null | โค้ด Python ใดจะสร้างผลลัพธ์ตามที่แสดงในรูปภาพ | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
break
print(x) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x) | for x in "banana":
print(x) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
print(x)
if x == "banana":
break |
2,001,643 | C | structuralized_imagetext_understanding | 1643 | https://www.w3schools.com/python/trypython.asp?filename=demo_for_continue | logic_reasoning | null | dev | null | โค้ด Python ใดจะสร้างผลลัพธ์ตามที่แสดงในรูปภาพ | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
p1.myfunc() | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
del p1.age
print(p1.age) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x) | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __str__(self):
return f"{self.name}({self.age})"
p1 = Person("John", 36)
print(p1) |
2,001,645 | A | structuralized_imagetext_understanding | 1645 | https://www.w3schools.com/python/trypython.asp?filename=demo_class4 | logic_reasoning | null | dev | null | โค้ด Python ใดจะสร้างผลลัพธ์ตามที่แสดงในรูปภาพ | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
p3.myfunc() | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def myfunc(self):
print("Hello my name is " + self.name)
p1 = Person("John", 36)
del p1.age
print(p3.age) | fruits = ["apple", "banana", "cherry"]
for x in fruits:
if x == "banana":
continue
print(x) | class Person:
def __init__(self, name, age):
self.name = name
self.age = age
def __str__(self):
return f"{self.name}({self.age})"
p1 = Person("John", 36)
print(p3) |
2,001,647 | C | structuralized_imagetext_understanding | 1647 | https://www.w3schools.com/js/tryit.asp?filename=tryjs_function_return | logic_reasoning | null | dev | null | โค้ดใดที่จะสร้างหน้าเว็บเพจนี้ในเบราว์เซอร์? | <!DOCTYPE html>
<html>
<body>
<h1>ฟังก์ชัน JavaScript</h1>
<p>เรียกใช้ (call) ฟังก์ชันเพื่อแปลงจากฟาเรนไฮต์เป็นเซลเซียส:</p>
<p id="demo"></p>
<script>
function toCelsius(f) {
return (5/9) * (f-32);
}
let value = toCelsius();
document.getElementById("demo").innerHTML = value;
</script>
</body>
</html> | <!DOCTYPE html>
<html>
<body>
<h1>ฟังก์ชัน JavaScript</h1>
<p>การใช้ฟังก์ชันเป็นตัวแปร:</p>
<p id="demo"></p>
<script>
let text = "อุณหภูมิคือ " + toCelsius(77) + " องศาเซลเซียส.";
document.getElementById("demo").innerHTML = text;
function toCelsius(fahrenheit) {
return (5/9) * (fahrenheit-32);
}
</script>
</body... | <!DOCTYPE html>
<html>
<body>
<h1>ฟังก์ชัน JavaScript</h1>
<p>เรียกใช้ฟังก์ชันที่ทำการคำนวณและส่งกลับผลลัพธ์:</p>
<p id="demo"></p>
<script>
let x = myFunction(4, 3);
document.getElementById("demo").innerHTML = x;
function myFunction(a, b) {
return a * b;
}
</script>
</body>
</html> | <!DOCTYPE html>
<html>
<body>
<h1>ฟังก์ชัน JavaScript</h1>
<p>เรียกใช้ (call) ฟังก์ชันที่แปลงจากฟาเรนไฮต์เป็นเซลเซียส:</p>
<p id="demo"></p>
<script>
function toCelsius(f) {
return (5/9) * (f-32);
}
let value = toCelsius(77);
document.getElementById("demo").innerHTML = value;
</script>
</body>
</html> |
2,001,651 | C | structuralized_imagetext_understanding | 1651 | https://www.w3schools.com/js/tryit.asp?filename=tryjs_objects_create_2 | logic_reasoning | null | dev | null | โค้ดใดที่จะสร้างหน้าเว็บเพจนี้ในเบราว์เซอร์? | <!DOCTYPE html>
<html>
<body>
<h2>วัตถุ JavaScript</h2>
<p>เมธอดของวัตถุคือคำจำกัดความของฟังก์ชันที่เก็บไว้ในค่าคุณสมบัติ</p>
<p id="demo"></p>
<script>
// สร้างวัตถุ:
const person = {
firstName: "John",
lastName: "Doe",
id: 5566,
fullName: function() {
return this.firstName + " " + this.lastName;
}
};
// แสดงข้อมู... | <!DOCTYPE html>
<html>
<body>
<h2>วัตถุ JavaScript</h2>
<p>หากคุณเข้าถึงเมธอดของวัตถุโดยไม่ใช้ (), จะคืนค่าคำจำกัดความของฟังก์ชัน:</p>
<p id="demo"></p>
<script>
// สร้างวัตถุ:
const person = {
firstName: "John",
lastName : "Doe",
id : 5566,
fullName : function() {
return this.firstName + " " + this.lastName;
}
};
... | <!DOCTYPE html>
<html>
<body>
<h2>วัตถุ JavaScript</h2>
<p id="demo"></p>
<script>
// สร้างวัตถุ:
const person = {
firstName: "John",
lastName: "Doe",
age: 50,
eyeColor: "blue"
};
// แสดงข้อมูลบางส่วนจากวัตถุ:
document.getElementById("demo").innerHTML =
person.firstName + " คือ " + person.age + " ปี.";
</script>
<... | <!DOCTYPE html>
<html>
<body>
<h2>วัตถุ JavaScript</h2>
<p>มีสองวิธีที่แตกต่างกันในการเข้าถึงคุณสมบัติของวัตถุ</p>
<p>คุณสามารถใช้ person.property หรือ person["property"].</p>
<p id="demo"></p>
<script>
// สร้างวัตถุ:
const person = {
firstName: "John",
lastName : "Doe",
id : 5566
};
// แสดงข้อมูลบางส่วนจากวัตถุ:... |
2,001,653 | A | structuralized_imagetext_understanding | 1653 | https://www.w3schools.com/js/tryit.asp?filename=tryjs_objects_method | logic_reasoning | null | dev | null | โค้ดใดจะสร้างหน้าเว็บเพจนี้ในเบราว์เซอร์? | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>เมธอดของออบเจ็กต์คือคำจำกัดความของฟังก์ชันที่เก็บไว้เป็นค่าคุณสมบัติ</p>
<p id="demo"></p>
<script>
// สร้างออบเจ็กต์:
const person = {
firstName: "John",
lastName: "Doe",
id: 5568,
fullName: function() {
return this.firstName + " " + this.lastName;
}
};
... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>ถ้าคุณเข้าถึงเมธอดของออบเจ็กต์โดยไม่ใช้ (), มันจะส่งคืนคำจำกัดความของฟังก์ชัน:</p>
<p id="demo"></p>
<script>
// สร้างออบเจ็กต์:
const person = {
firstName: "John",
lastName : "Doe",
id : 5568,
fullName : function() {
return this.firstName + " " + this.la... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p id="demo"></p>
<script>
// สร้างออบเจ็กต์:
const person = {
firstName: "John",
lastName: "Doe",
age: 52,
eyeColor: "blue"
};
// แสดงข้อมูลบางส่วนจากออบเจ็กต์:
document.getElementById("demo").innerHTML =
person.firstName + " is " + person.age + " years old... | <!DOCTYPE html>
<html>
<body>
<h2>JavaScript Objects</h2>
<p>มีสองวิธีที่แตกต่างกันในการเข้าถึงคุณสมบัติของออบเจ็กต์</p>
<p>คุณสามารถใช้ person.property หรือ person["property"].</p>
<p id="demo"></p>
<script>
// สร้างออบเจ็กต์:
const person = {
firstName: "John",
lastName : "Doe",
id : 5568
};
// แสดงข้อมูลบางส่ว... |
2,001,655 | B | structuralized_imagetext_understanding | 1655 | https://zhuanlan.zhihu.com/p/374461054 | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | def list_to_dictionary(keys, values):
return dict(zip(keys, values))
list1 = [1, 2, 4]
list2 = ['one', 'two', 'three']
print(list_to_dictionary(list1, list2)) | def list_to_dictionary(keys, values):
return dict(zip(keys, values))
list1 = [1, 2, 3]
list2 = ['one', 'two', 'three']
print(list_to_dictionary(list1, list2)) | def list_to_dictionary(keys, values):
return dict(zip(keys, values))
list1 = [0, 2, 3]
list2 = ['one', 'two', 'three']
print(list_to_dictionary(list1, list2)) | def list_to_dictionary(keys, values):
return dict(zip(keys, values))
list1 = [1, 4, 3]
list2 = ['one', 'two', 'three']
print(list_to_dictionary(list1, list2)) |
2,001,656 | D | structuralized_imagetext_understanding | 1656 | https://zhuanlan.zhihu.com/p/374461055 | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | a, b = 1,0
try:
print(a/b)
except ZeroDivisionError:
print("Can not divide by zero")
finally:
print("block") | a, b = 1,2
try:
print(a/b)
except ZeroDivisionError:
print("Can not divide by zero")
finally:
print("Executing finally block") | a, b = 1,1
try:
print(a/b)
except ZeroDivisionError:
print("Can not divide by zero")
finally:
print("Executing finally block") | a, b = 1,0
try:
print(a/b)
except ZeroDivisionError:
print("Can not divide by zero")
finally:
print("Executing finally block") |
2,001,657 | C | structuralized_imagetext_understanding | 1657 | https://zhuanlan.zhihu.com/p/374461056 | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | list = ["Hello", "world", "Bye!"]
combined_string = " ".join(list)
print(combined_string) | list = ["world", "Ok", "Bye!"]
combined_string = " ".join(list)
print(combined_string) | list = ["Hello", "world", "Ok", "Bye!"]
combined_string = " ".join(list)
print(combined_string) | list = ["Hello", "world", "Ok"]
combined_string = " ".join(list)
print(combined_string) |
2,001,658 | A | structuralized_imagetext_understanding | 1658 | https://zhuanlan.zhihu.com/p/374461057 | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | from collections import Counter
result = Counter('banana')
print(result) | from collections import Counter
result = Counter('apple')
print(result) | from collections import Counter
result = Counter('Canada')
print(result) | from collections import Counter
result = Counter('strawberry')
print(result) |
2,001,659 | D | structuralized_imagetext_understanding | 1659 | https://www.runoob.com/python/python-while-loop.html | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | count = 1
while (count < 9):
print 'The count is:', count
count = count + 1
print "Good bye!" | count = 0
while (count < 9):
print 'The count is:', count
count = count + 2
print "Good bye!" | count = 0
while (count < 10):
print 'The count is:', count
count = count + 1
print "Good bye!" | count = 0
while (count < 9):
print 'The count is:', count
count = count + 1
print "Good bye!" |
2,001,660 | D | structuralized_imagetext_understanding | 1660 | https://www.runoob.com/python/python-while-loop.html | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | count = 0
while count < 5:
print count, " is less than 5"
count = count + 1
else:
print count, " is not less than 6" | count = 0
while count < 5:
print count, " is less than 5"
count = count + 2
else:
print count, " is not less than 5" | count = 1
while count < 5:
print count, " is less than 5"
count = count + 1
else:
print count, " is not less than 5" | count = 0
while count < 5:
print count, " is less than 5"
count = count + 1
else:
print count, " is not less than 5" |
2,001,662 | C | structuralized_imagetext_understanding | 1662 | https://www.runoob.com/python/python-lists.html | logic_reasoning | null | dev | null | รหัส Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | list = []
list.append(’Microsoft')
list.append('Runoob')
print list | list = []
list.append('Runoob')
list.append('Google')
print list | list = []
list.append('Google')
list.append('Runoob')
print list | list = []
list.append(’Baidu')
list.append('Runoob')
print list |
2,001,663 | A | structuralized_imagetext_understanding | 1663 | https://www.runoob.com/python/python-lists.html | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | list1 = ['physics', 'chemistry', 1997, 2000]
print list1
del list1[2]
print "After deleting value at index 2 : "
print list1 | list1 = ['physics', 'chemistry', 1997, 2000]
print list1
del list1[4]
print "After deleting value at index 2 : "
print list1 | list1 = ['physics', 'chemistry', 1997, 2000]
print list1
del list1[3]
print "After deleting value at index 2 : "
print list1 | list1 = ['physics', 'chemistry', 1998, 2000]
print list1
del list1[2]
print "After deleting value at index 2 : "
print list1 |
2,001,664 | C | structuralized_imagetext_understanding | 1664 | https://www.runoob.com/python/python-tuples.html | logic_reasoning | null | dev | null | รหัส Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | tup1 = ('physics', 'chemistry', 1990, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print "tup1[0]: ", tup1[0]
print "tup2[1:5]: ", tup2[1:5] | tup1 = ('physics', 'chemistry', 1990, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print "tup1[0]: ", tup1[0]
print "tup2[2:5]: ", tup2[1:5] | tup1 = ('physics', 'chemistry', 1997, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print "tup1[0]: ", tup1[0]
print "tup2[1:5]: ", tup2[1:5] | tup1 = ('physics', 'chemistry', 1997, 2000)
tup2 = (1, 2, 3, 4, 5, 6, 7 )
print "tup1[0]: ", tup1[0]
print "tup2[1:5]: ", tup2[2:5] |
2,001,665 | A | structuralized_imagetext_understanding | 1665 | https://www.runoob.com/python/python-variable-types.html | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | counter = 100
miles = 1000.0
name = "John"
print counter
print miles
print name | counter = 110
miles = 1000.0
name = "John"
print counter
print miles
print name | counter = 100
miles = 1001.0
name = "John"
print counter
print miles
print name | counter = 100
miles = 1000.0
name = "Gary"
print counter
print miles
print name |
2,001,666 | C | structuralized_imagetext_understanding | 1666 | https://www.runoob.com/python/python-variable-types.html | logic_reasoning | null | dev | null | รหัส Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | print str
print str[0]
print str[1:5]
print str[2:]
print str * 2
print str + "TEST" | print str
print str[0]
print str[2:5]
print str[3:]
print str * 2
print str + "TEST" | print str
print str[0]
print str[2:5]
print str[2:]
print str * 2
print str + "TEST" | print str
print str[1]
print str[2:5]
print str[2:]
print str * 2
print str + "TEST" |
2,001,667 | B | structuralized_imagetext_understanding | 1667 | https://www.runoob.com/python/python-variable-types.html | logic_reasoning | null | dev | null | รหัส Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | list = [ 'runoob', 787 , 2.23, 'john', 70.2 ]
tinylist = [123, 'john']
print list
print list[0]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist | list = [ 'runoob', 786 , 2.23, 'john', 70.2 ]
tinylist = [123, 'john']
print list
print list[0]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist | list = [ 'runoob', 786 , 2.23, 'john', 70.2 ]
tinylist = [123, 'john']
print list
print list[1]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist | list = [ 'runoob', 786 , 2.23, 'john', 70.2 ]
tinylist = [124, 'john']
print list
print list[0]
print list[1:3]
print list[2:]
print tinylist * 2
print list + tinylist |
2,001,668 | C | structuralized_imagetext_understanding | 1668 | https://www.runoob.com/python/python-variable-types.html | logic_reasoning | null | dev | null | โค้ด Python ใดสามารถสร้างเนื้อหาของรูปภาพได้? | dict = {}
dict['one'] = "This is one"
dict[2] = "This is two"
tinydict = {'name': 'runoob','code':6735, 'dept': 'sales'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values() | dict = {}
dict['one'] = "This is one"
dict[2] = "This is two"
tinydict = {'name': 'runoob','code':6734, 'dept': 'cost'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values() | dict = {}
dict['one'] = "This is one"
dict[2] = "This is two"
tinydict = {'name': 'runoob','code':6734, 'dept': 'sales'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values() | dict = {}
dict['one'] = "This is TWO"
dict[2] = "This is two"
tinydict = {'name': 'runoob','code':6734, 'dept': 'sales'}
print dict['one']
print dict[2]
print tinydict
print tinydict.keys()
print tinydict.values() |
2,001,669 | C | structuralized_imagetext_understanding | 1669 | https://www.runoob.com/python/python-reg-expressions.html | logic_reasoning | null | dev | null | รหัส Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | import re
print(re.match('http', 'www.runoob.com').span())
print(re.match('com', 'www.runoob.com')) | import re
print(re.match('www', 'www.runoob.com'))
print(re.match('com', 'www.runoob.com')) | import re
print(re.match('www', 'www.runoob.com').span())
print(re.match('com', 'www.runoob.com')) | import re
print(re.match('www', 'www.runoob.com').span())
print(re.match('cn', 'www.runoob.com')) |
2,001,670 | D | structuralized_imagetext_understanding | 1670 | https://www.runoob.com/python/python-reg-expressions.html | logic_reasoning | null | dev | null | รหัส Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | import re
line = "Cats are smarter than pigs"
matchObj = re.match( r'(.*) are (.*?) .*', line, re.M|re.I)
if matchObj:
print "matchObj.group() : ", matchObj.group()
print "matchObj.group(1) : ", matchObj.group(1)
print "matchObj.group(2) : ", matchObj.group(2)
else:
print "No match!!" | import re
line = "Cats are smarter than pigs"
matchObj = re.match( r'(.*) are (.*?) .*', line, re.M|re.I)
if matchObj:
print "matchObj.group() : ", matchObj.group()
print "matchObj.group(1) : ", matchObj.group(1)
print "matchObj.group(2) : ", matchObj.group(3)
else:
print "No match!!" | import re
line = "Cats are smarter than dogs"
matchObj = re.match( r'(.*) are (.*?) .*', line, re.M|re.I)
if matchObj:
print "matchObj.group() : ", matchObj.group()
print "matchObj.group(1) : ", matchObj.group(1)
print "matchObj.group(2) : ", matchObj.group(2)
else:
print "No match" | import re
line = "Cats are smarter than dogs"
matchObj = re.match( r'(.*) are (.*?) .*', line, re.M|re.I)
if matchObj:
print "matchObj.group() : ", matchObj.group()
print "matchObj.group(1) : ", matchObj.group(1)
print "matchObj.group(2) : ", matchObj.group(2)
else:
print "No match!!" |
2,001,671 | C | structuralized_imagetext_understanding | 1671 | https://www.runoob.com/python/python-reg-expressions.html | logic_reasoning | null | dev | null | โค้ด Python ใดสามารถสร้างเนื้อหาของรูปภาพได้? | import re
def double(matched):
value = int(matched.group('value'))
return str(value * 2)
s = 'A23G4HFD568'
print(re.sub('(?P<value>\d+)', double, s)) | import re
def double(matched):
value = int(matched.group('value'))
return str(value * 2)
s = 'B23G4HFD567'
print(re.sub('(?P<value>\d+)', double, s)) | import re
def double(matched):
value = int(matched.group('value'))
return str(value * 2)
s = 'A23G4HFD567'
print(re.sub('(?P<value>\d+)', double, s)) | import re
def double(matched):
value = int(matched.group('value'))
return str(value * 3)
s = 'A23G4HFD567'
print(re.sub('(?P<value>\d+)', double, s)) |
2,001,672 | C | structuralized_imagetext_understanding | 1672 | https://www.runoob.com/python/python-reg-expressions.html | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | import re
result = re.findall(r'(\w+)=(\d+)', 'set width=20 and height=15')
print(result) | import re
result = re.match(r'(\w+)=(\d+)', 'set width=20 and height=10')
print(result) | import re
result = re.findall(r'(\w+)=(\d+)', 'set width=20 and height=10')
print(result) | import re
result = re.findall(r'(\w+)=(\d+)', 'set width=30 and height=10')
print(result) |
2,001,674 | C | structuralized_imagetext_understanding | 1674 | https://www.runoob.com/python/python-modules.html | logic_reasoning | null | dev | null | โค้ด Python ใดที่สามารถสร้างเนื้อหาของรูปภาพได้? | import numpy
content = dir(math)
print content | import math
content = locals(math)
print content | import math
content = dir(math)
print content | import re
content = dir(math)
print content |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.