
คำถามเกี่ยวกับภาษา C++
Authored by ภัทรพล อาจสันเทียะ
Computers
9th - 12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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 ใช้ในการประกาศตัวแปร
Access all questions and much more by creating a free account
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
16 questions
C-Programming Basics
Quiz
•
12th Grade
10 questions
Computer Graphics
Quiz
•
12th Grade
10 questions
การพัฒนาโปรแกรมประยุกต์
Quiz
•
12th Grade - University
10 questions
ทดสอบพื้นฐานการใช้งานคอมพิวเตอร์
Quiz
•
9th - 12th Grade
10 questions
แบบทดสอบก่อนเรียน หน่วยที่ 1 การแก้ปัญหาและขั้นตอนวิธี ม.4/1
Quiz
•
10th Grade
17 questions
Вводное по Unity C#
Quiz
•
1st - 11th Grade
10 questions
M.5 วิทยาการคำนวณ 2
Quiz
•
11th Grade
10 questions
แบบทดสอบหลังเรียน photoshop cs //selection
Quiz
•
9th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade