
522270 - Quiz1 (Class01-02)

Quiz
•
Computers
•
University
•
Hard
Thitinan Pholsook
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
DRAG AND DROP QUESTION
45 sec • 1 pt
หากต้องการให้ได้ผลลัพธ์ดังนี้
2 5 8 11 14 17 20 23
ควรเขียน R script อย่างไร?
seq(from = (a) , to = (b) , by = (c) )
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
จาก R script ดังแสดงด้านล่าง
a <- rep(c(1, 3, 5, 7, 9), each=3)
ผลลัพธ์ a[5] ในข้อใดถูกต้องที่สุด
1
3
5
7
9
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
จาก R script ที่แสดงด้านล่าง
matA <- matrix(1:15, nrow = 3, ncol = 5)
matB <- matA*2
matC <- matB[-2,-1]
ผลลัพธ์ของ matC ในข้อใดถูกต้องที่สุด?
ผิดทุกข้อ
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
จาก R script ที่แสดงในภาพ
ผลลัพธ์ในข้อใดถูกต้องที่สุด?
[1] 1
[1] 2
[1] 4
[1] 6
[1] 8
[1] 10
[1] 1
[1] 3
[1] 5
[1] 7
[1] 9
[1] 1
[1] 2
[1] 4
[1] 8
[1] 1
[1] 4
5.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
จาก R script ที่แสดงดังภาพ
ผลลัพธ์ของ z คือ
6.
DRAG AND DROP QUESTION
1 min • 1 pt
จากข้อมูล
temp <- list(c(3,7,5,6,-1), c(6,9,10,4,5), c(2,8,3,-2,3), c(1,4,-5,2,2), c(0,7,-1,4,2), c(-3,5,7,-4,4), c(3,-3,1,4,1))
หากต้องการผลลัพธ์ตามด้านล่าง
[1] -1 4 -2 -5 -1 -4 -3
ควรเขียน R script อย่างไร
(a) (temp, (b) )
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
จาก R script ด้านล่าง
cities <- c("Bangkok", "Nakhon Ratchasima", "Chiang Rai")
sum_cities <- sum(unlist(lapply(cities, nchar)))
ผลลัพธ์ของ sum_cities คือ
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
หน่วยที่ 1 เทคโนโลยีกับมนุษย์ การออกแบบและเทคโนโลยี ม.1

Quiz
•
7th Grade - University
12 questions
แบบทดสอบก่อน อบรมการสร้างสื่อนวัตกรรมด้วยสมาร์ทโฟน

Quiz
•
University
15 questions
Introduction to data structures

Quiz
•
University
10 questions
scratch

Quiz
•
University
15 questions
HTML + CSS

Quiz
•
University
10 questions
Expression

Quiz
•
University
10 questions
scratch quiz

Quiz
•
1st Grade - University
10 questions
เทคโนโลยีกับมนุษย์

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University