
คำถามเกี่ยวกับภาษา C++
Passage
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
ภัทรพล อาจสันเทียะ
Used 1+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
OPEN ENDED QUESTION
30 sec • 2 pts
การกำหนดค่าเริ่มต้นให้กับตัวแปรในภาษา C++ ทำอย่างไร? ยกตัวอย่าง
Evaluate responses using AI:
OFF
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่งในการแสดงผลค่าตัวแปร int a = 5; ด้วย cout ต้องเขียนอย่างไร?
a) cout << a;
b) cin << a;
c) cout >> a;
d) cin >> a;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ชนิดข้อมูล (data types) ในภาษา C++ มีอะไรบ้างที่สำคัญที่สุด? ยกตัวอย่างอย่างน้อย 3 ชนิดข้อมูล
a) int, float, char
b) string, array, map
c) double, pointer, vector
d) bool, long, list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
อธิบายวิธีการประกาศตัวแปรชนิดจำนวนเต็มในภาษา C++
a) string x;
b) float x;
c) int x;
d) char x;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
อธิบายความหมายของคำสั่ง #include
a) ใช้ในการวนลูปในโปรแกรม
b) ใช้ในการแสดงผลข้อมูล
c) ใช้ในการนำเข้าหัวข้อของไลบรารีที่ใช้สำหรับการรับ-ส่งข้อมูลทางมาตรฐาน
d) ใช้ในการประกาศตัวแปร
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
อธิบายความแตกต่างระหว่างตัวแปร int กับ float
a) int เป็นตัวแปรชนิดจำนวนเต็ม ไม่มีจุดทศนิยม ส่วน float เป็นตัวแปรชนิดจำนวนทศนิยม
b) int เป็นตัวแปรชนิดจำนวนทศนิยม ส่วน float เป็นตัวแปรชนิดจำนวนเต็ม
c) int และ float เป็นตัวแปรชนิดเดียวกัน
d) int
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่ง cout และ cin ในภาษา C++ ใช้ทำอะไร? ยกตัวอย่างการใช้งาน
a) cout ใช้สำหรับรับค่า cin ใช้สำหรับแสดงผล
b) cout และ cin ใช้สำหรับการวนลูปในโปรแกรม
c) cout ใช้สำหรับแสดงผล cin ใช้สำหรับรับค่า
d) cout และ cin ใช้ในการประกาศตัวแปร
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
ป.5 แบบทำสอบหลังเรียน เรืองข้อมูลและสารสนเทศ
Quiz
•
10th Grade
15 questions
EXAMEN EXCEL
Quiz
•
11th Grade
14 questions
ABC in python
Quiz
•
9th Grade
10 questions
แบบทดสอบเรื่องการใช้เทคโนโลยีสารสนเทศอย่างมีความรับผิดชอบ
Quiz
•
9th Grade
10 questions
การออกแบบเทคโนโลยี ม.5
Quiz
•
11th Grade
10 questions
ออกแบบเทคโนโลยี ม.3 หน่วย 1
Quiz
•
9th Grade
10 questions
PC1.8 Evaluate computer program
Quiz
•
9th Grade
10 questions
แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่6
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
