
ข้อสอบก่อนเรียน หน่วยที่ 3 ตัวแปรการกำหนดค่าและชนิดข้อมูล
Authored by นางสาวศรารัตน์ วรรณแจ่ม
Computers
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใด ไม่ใช่ วิธีการตั้งชื่อตัวแปรที่ถูกต้อง
ชื่อตัวแปรจะต้องเริ่มต้นด้วยตัวอักษรหรือตัวอักษรขีดล่าง_(Underscore)
ชื่อตัวแปรสามารถเริ่มต้นด้วยตัวเลขได้
ชื่อตัวแปรสามารถมีได้ทั้งตัวอักษรตัวเลขและขีดล่าง (Az, 0-9 และ _)
ชื่อตัวแปรตัวพิมพ์เล็กและตัวพิมพ์ใหญ่จะแตกต่างกัน เรียกว่าเป็น case sensitive
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
2.จงพิจารณาการตั้งชื่อตัวแปรต่อไปนี้ว่าข้อใดผิด
ก. 5not
ข. Num
ค. Product_id
ง. Grade
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
3.ข้อใดคือคำสงวนในไพทอน
ก. Import
ข. Continue
ค. Global
ง. ถูกทุกข้อ
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. ตัวแปรชนิดใดคือชนิดที่เป็น Complex ไม่ต้องใช้คำสั่ง import ก็สามารถทำงานได้
ก. Time
ข. Date
ค. MySQL.Connect
ง. Float
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
5. ข้อใดทำการแปลงข้อมูลชนิดสตริงเป็นจำนวนทศนิยมได้ถูกต้อง
ก. y = float(x) + flo
ข. flo = float(input("กรุณาป้อนตัวเลขของคุณ : "))
ค. float(152.124)
ง. x = "152.124"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. ข้อใด ใช้ฟังก์ชั่นการแปลงเลขฐานที่ต้องการเป็นเลขฐานแปดที่ถูกต้อง กำหนดให้ x = 6749
ก. print (bin(x))
ข. print (hex (x))
ค. print (int (x))
ง. print (oct(x))
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
7. กำหนดให้ b = 251.147e-2 ตัวอังษร e มีความหมายว่าอย่างไร
ก. ใช้เพื่อระบุเลขยกกำลังของ 7
ข ใช้เพื่อระบุเลขยกกำลังของ -2
ค. ใช้เพื่อระบุของ 10 ยกกำลังของ -2
ง. ไม่มีข้อใดถูกต้อง
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
ระบบทางเทคโนโลยีที่ซับซ้อน
Quiz
•
12th Grade
10 questions
Digital Technology
Quiz
•
12th Grade
10 questions
การคิดเชิงออกแบบ ม.5
Quiz
•
8th - 12th Grade
10 questions
แบบทดสอบก่อนเรียน การสร้างภาพเคลื่อนไหว ครั้งที่ 2
Quiz
•
10th - 12th Grade
15 questions
หน่วยที่2การสร้างมูลค่าเพิ่มให้ผลิตภัณฑ์หรือบริการ
Quiz
•
11th Grade - University
15 questions
Unit4-รหัสเทียม
Quiz
•
12th Grade
10 questions
แบบทดสอบเรื่อง Google Site
Quiz
•
1st - 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade