
Binding
Authored by Tasanawan Soonklang
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ข้อใดไม่สามารถใช้ตั้งชื่อตัวแปรในภาษา Python ได้
last_updated
_temp
ผลบวก
continue
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ข้อใดเป็นการตัวชื่อแบบ Camel Case
last_name
lastName
last-name
LastName
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ข้อใดเป็นชื่อตัวแปร/ชื่อฟังก์ชันใน Python ที่ถูกต้องตาม PEP 8 – Style Guide for Python Code
reverse_name
(Snake case)
ReverseName
(Pascal case)
reverseName
(Camel case)
reverse-name
(Kebab case)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดจับคู่ Binding time ไม่ถูกต้อง
* คือ operator ในการคูณ : Language design time
ชนิดข้อมูลของตัวแปรใน Java : Compile time
ค่าของตัวแปร local ในฟังก์ชันภาษา C: Link time
float ใช้พื้นที่ 4 ไบต์: Language implementation time
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ข้อใดเป็น dynamic binding ในภาษา C (เกิดขึ้น ณ ตอน runtime)
int x;
x = 6;
static int x = 5;
int x จองพื้นที่ในหน่วยความจำ 4 ไบต์
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดกล่าวถูกต้อง
ภาษา Java เป็น Dynamic type binding
ภาษา Python เป็น Static type binding
ภาษา Java ประกาศตัวแปรแบบ explicit declaration
ภาษา C ประกาศตัวแปรแบบ implicit declaration
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
ข้อใดพื้นที่ในหน่วยความจำสำหรับจัดเก็บ (storage allocation)
static, frame, type
stack, static, heap
local, global
explicit storage, implicit storage
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?