
C_หน่วย 3
Authored by KruTon Ncw
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดถูกต้องเกี่ยวกับการตั้งชื่อตัวแปรในภาษาซี
ชื่อตัวแปรต้องไม่ซ้ำกับคำสงวนในภาษา
ชื่อตัวแปรต้องขึ้นต้นด้วยตัวเลข
ชื่อตัวแปรสามารถมีช่องว่างได้
ชื่อตัวแปรต้องขึ้นต้นด้วยตัวอักษรใหญ่เสมอ
ชื่อตัวแปรต้องเป็นคำที่มีความหมายเท่านั้น
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเป็นการตั้งชื่อตัวแปรที่ถูกต้องในภาษาซี
total_sum
1stNumber
number!
char
float%
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดต่อไปนี้เป็นชื่อที่ถูกต้องสำหรับตัวแปรที่ใช้เก็บข้อมูลอายุของบุคคล
person_age
age of person
@agePerson
123age
ถูกทุกข้อ
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ชื่อตัวแปรข้อใดที่ไม่ควรใช้ในภาษาซี
int
score_1
_value
totalValue
var_name
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ชนิดข้อมูล int ใช้สำหรับเก็บข้อมูลประเภทใด
จำนวนเต็ม
ตัวอักษร
ทศนิยม
ข้อมูลบูลีน
สตริง
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือค่าที่ไม่สามารถเก็บในตัวแปรชนิด int ได้
3.14
-100
32767
0
2147483647
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดต่อไปนี้เป็นการประกาศตัวแปรชนิดทศนิยมได้ถูกต้อง
float num = 3.14;
int num = ‘3’;
char num = 3.14;
int num = 3.0;
float num = '3.14';
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
10 questions
รูปแบบภัยคุกคามทางไซเบอร์
Quiz
•
9th - 12th Grade
10 questions
Python Testing
Quiz
•
9th - 12th Grade
10 questions
4.1 วัสดุ (ออกแบบและเทคโนโลยี ม.4)
Quiz
•
9th - 12th Grade
10 questions
พื้นฐานภาษาไพทอน-2-คำสั่ง Print
Quiz
•
7th - 12th Grade
14 questions
Programación y sistemas de información 3º I
Quiz
•
12th Grade
10 questions
Conhecimentos prévios em Java
Quiz
•
10th - 12th Grade
13 questions
Functions
Quiz
•
5th Grade - Professio...
15 questions
Program Implementation
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade