C_หน่วย 3

Quiz
•
Computers
•
12th Grade
•
Medium
KruTon Ncw
Used 3+ times
FREE Resource
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';
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Data Handling Introduction

Quiz
•
12th Grade
10 questions
Python Data Types

Quiz
•
9th - 12th Grade
12 questions
Linguagem C parte II

Quiz
•
12th Grade
10 questions
loop for(C)

Quiz
•
9th Grade - University
15 questions
CSE_CodeHS_intro_python_unit_3_5

Quiz
•
9th - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
10 questions
ม.3/2 ภาษา C (1)

Quiz
•
9th - 12th Grade
10 questions
แบบทดสอบหลังเรียน หน่วยที่ 3 วิทยาการคำนวณ ม.5

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade