wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Test C Robots

Total questions: 54

Worksheet time: 27mins

Name
Class
Date
1.

โครงสร้างภาษาซีสำหรับ c robot simulator

a)


void setup()

{



}

void loop()

{



}


b)


void Main()
{

}
void loop()
{

}

c)

void Main()
{

}
void setup()
{

}

d)

void Main();
{

}
void setup();
{

}

2.

ถ้าจะให้หุ่นยนต์ เดินหน้า ต้องใช้ คำสั่ง อะไร

a)

bk(100);

b)

sl(100);

c)

sr(100);

d)

fd(100);

3.

ถ้าจะให้หุ่นยนต์ หมุนซ้าย ต้องใช้ คำสั่ง อะไร

a)

bk(100);

b)

sl(100);

c)

sr(100);

d)

fd(100);

4.

ถ้าจะให้หุ่นยนต์ หมุนขวา ต้องใช้ คำสั่ง อะไร

a)

bk(100);

b)

sl(100);

c)

sr(100);

d)

fd(100);

5.

ถ้าจะให้หุ่นยนต์ หยุดรอเป็นเวลา 500 วินาที ต้องใช้ คำสั่ง อะไร

a)

bk(500);

b)

sleep(500);

c)

stop(500);

d)

fd(500);

6.

ถ้าต้องการที่จะ ติดตั้งเซ็นเซอร์ ต้องใช้แถบเครื่องมือใด

a)
b)
c)
d)
7.

ถ้าต้องการที่จะ เขียนโค๊ดอัตโนมัติสำหรับควบคุมการเดินตามเส้นโดยการกำหนดเงื่อนไง ต้องใช้แถบเครื่องมือใด

a)
b)
c)
d)
8.

ถ้าต้องการที่จะ เปลี่ยนรูปร่างหุ่นยนต์ ต้องใช้แถบเครื่องมือใด

a)
b)
c)
d)
9.

ข้อใดคือ LCD Output Module เป็นหน้าจอสำหรับแสดงผล ข้อความ ตัวเลข

a)
b)
c)
d)
10.

ข้อใดคือ Digital Switch Input Module เป็นปุ่มแบบดิจิตอล

a)
b)
c)
d)
11.

ข้อใดคือ ชื่อพอร์ต ใช้สำหรับอ่านค่าสีจากพื้นสนาม

a)
b)
c)
d)
12.

ข้อใดคือ Motor DC Output Module เป็นส่วนจำลองการทำงานวงจรจ่ายไฟกระแสตรงของมอเตอร์

a)
b)
c)
d)
13.

ถ้าต้องการให้ เซ็นเซอร์แสดงที่หุ่นยนต์ จำนวน 5 ตัว ต้องเลือกข้อใด

a)

PA0,PA1,PA2,PA3,PA4,PA5,PA6,PA7,PA8 และ Visible point on robot

b)

Visible point on robot

c)

PA0,PA1,PA2,PA3,PA4 และ Visible point on robot

d)

PA4,PA5,PA6,PA7,PA8 และ Visible point on robot

14.

ถ้าต้องการ เข้าโปรแกรม C Robot Simulator ต้องเข้าที่รูป Icon ใด

a)
b)
c)
d)
15.

ถ้าจะให้หุ่นยนต์ เก็บกระป๋องหรือเก็บลูกบอล ต้องใช้ คำสั่ง อะไร

a)

ao();

b)

keep_up();

c)

keep_down();

d)

fd(100);

16.

ถ้าจะให้หุ่นยนต์ วางกระป๋องหรือวางลูกบอล ต้องใช้ คำสั่ง อะไร

a)

ao();

b)

keep_up();

c)

keep_down();

d)

fd(100);

17.

ถ้าจะให้หุ่นยนต์ หยุดทั้งหมด ต้องใช้ คำสั่ง อะไร

a)

ao();

b)

keep_up();

c)

keep_down();

d)

fd(100);

18.

ถ้าต้องการที่จะ เริ่มการจำลองการทำงานของหุ่นยนต์จาก SourceCode ต้องใช้แถบเครื่องมือใด

a)
b)
c)
d)
19.

ถ้าต้องการที่จะ หยุดจำลองการทำงานของหุ่นยนต์ ต้องใช้แถบเครื่องมือใด

a)
b)
c)
d)
20.

ถ้าต้องการที่จะ คอมไพล์ Compile ต้องใช้แถบเครื่องมือใด

a)
b)
c)
d)
21.

The ROBOTC symbol  "&&"  means?

a)

and

b)

or

c)

either or

d)

also

22.

Think about the project. Which type of robot did you work on

a)

a. A house-cleaning robot

t

b)

b. A radio-controlled car

c)

c. A smart Home system

d)

d. A line follower robot

23.

You want to program your car. First, you create step-by-step instructions. What

do you use?

a)

a. Decision tree

b)

b. Microcontroller

c)

c. Flowchart

d)

d. Sensors

24.

The robot follows lines by looking for changes in infrared light. Which component does it use for this?

a)

a. Remote

b)

b. IR sensor

c)

c. Ambient light sensor

d)

d. Obstacle avoidance sensor

25.

What is Arduino?

a)

Programming language

b)

Image editing software

c)

Open-source electronics platform

d)

Text editor

26.

What language is the Arduino IDE built on?

a)

Java

b)

HTML

c)

C/C++

d)

Python

27.

THESE PINS ARE?

a)

Digital pins

b)

Pines PWM

c)

Analog Pins

d)

Microcontroller

28.

These Pins are ?

a)

Digital Pins

b)

Pines PWM

c)

Analog pins

d)

Microcontroller

29.

What is the highlighted part

a)

Power Regular

b)

Drums

c)

Voltage Regulator

d)

Microcontroller

30.

What is the highlighted part

a)

Connector for external power supply

b)

Power Button

c)

Connector USB

31.

How many digital input/output pins does the Arduino Uno have?

a)

10

b)

19

c)

14

d)

21

32.

what is the name of this chip

a)

Break

b)

Twix

c)

Embedded

d)

Arduino

33.

what is the main role of this chip

a)

to heat the board

b)

save the programmed input only

c)

being the brain of the Arduino

d)

there is no role at all

34.

Identify this component

a)

Arduino Uno board

b)

Raspberry Pi

c)

Breadboard / Protoboard

d)

White Plastic Board

35.

How many types of arduinos do we have?

a)

5

b)

6

c)

8

d)

3

36.

A function is a series of programming statements that can be called by name. Which command is called once when the program starts:

a)

loop()

b)

setup()

c)

(output)

d)

(input)

37.

Arduino คืออะไร?

a)

ภาษาโปรแกรม

b)

โปรแกรมแต่งภาพ

c)

แพลตฟอร์มอิเล็กทรอนิกส์โอเพ่นซอร์ส

d)

โปรแกรมแก้ไขข้อความ

38.

Arduino IDE สร้างขึ้นจากภาษาใด

a)

Java

b)

HTML

c)

C/C++

d)

Python

39.

Arduino UNO ใช้พินอนาล็อกจำนวนเท่าใด

a)

6

b)

14

c)

20

d)

24

40.

PIN เหล่านี้คืออะไร?

a)

หมุดดิจิตอล

b)

ไพน์ PWM

c)

หมุดอนาล็อก

d)

ไมโครคอนโทรลเลอร์

41.

พินเหล่านี้คือ ?

a)

พินดิจิตอล

b)

ไพน์ PWM

c)

หมุดอนาล็อก

d)

ไมโครคอนโทรลเลอร์

42.

ส่วนไหนไฮไลท์

a)

พลังงานปกติ

b)

กลอง

c)

ตัวควบคุมแรงดันไฟฟ้า

d)

ไมโครคอนโทรลเลอร์

43.

ส่วนไหนไฮไลท์

a)

ขั้วต่อสำหรับแหล่งจ่ายไฟภายนอก

b)

ปุ่มเปิด/ปิด

c)

ขั้วต่อ USB

44.

Arduino Uno มีพินอินพุท/เอาท์พุทดิจิตอลจำนวนเท่าใด

a)

10

b)

19

c)

14

d)

21

45.

อุปกรณ์อัจฉริยะช่วยเปิดหรือปิดไฟได้

a)

จริง

b)

แฟลซ

46.

ชิปตัวนี้ชื่ออะไร

a)

หยุดพัก

b)

Twix

c)

ฝังตัว

d)

Arduino

47.

Arduino เป็นเครื่องมือราคาแพง

a)

ใช่

b)

ไม่

48.

Arduino ต้องการโปรแกรมเมอร์ผู้เชี่ยวชาญ

a)

ไม่

b)

ใช่

49.

เราสามารถตั้งโปรแกรมอินพุตโดยไม่ต้องใส่ Arduino

a)

ไม่

b)

ใช่

50.

หน้าที่หลักของชิปนี้คืออะไร

a)

เพื่อให้ความร้อนแก่กระดาน

b)

บันทึกอินพุตที่ตั้งโปรแกรมไว้เท่านั้น

c)

เป็นสมองของ Arduino

d)

ไม่มีบทบาทเลย

51.

Arduino มีพอร์ต USB

a)

ใช่

b)

ไม่

52.

ระบุส่วนประกอบนี้

a)

บอร์ด Arduino Uno

b)

ราสเบอร์รี่ปี่

c)

บอร์ดทดลอง

d)

กระดานพลาสติกสีขาว

53.

Arduinos มีกี่ประเภท?

a)

5

b)

6

c)

8

d)

3

54.

Arduino สามารถโต้ตอบกับ...

a)

ปุ่ม ไฟ LED

b)

สมาร์ทโฟน

c)

เซ็นเซอร์

d)

ทั้งหมดข้างต้น