- ตัวดำเนินการ
-
เรียนรู้
เรียน Python ตัวอย่างที่รันได้, NumPy, pandas และอื่น ๆ เรียน AI / Machine Learningโครงข่ายประสาท ML และ LLM ตั้งแต่ศูนย์ เรียน C และ C++ พอยน์เตอร์ หน่วยความจำ STL และ C++ สมัยใหม่ เรียน C#พื้นฐาน C#, OOP, LINQ, async และแบบฝึกหัด .NET เรียน Matplotlibกราฟเส้น แท่ง กระจาย และวงกลม พร้อมตัวแสดงภาพแบบโต้ตอบ เรียน RustOwnership, trait, การจัดการข้อผิดพลาด และ thread เรียน GoSlice, interface, goroutine และ channel อัลกอริทึม Python การค้นหา การเรียงลำดับ รีเคอร์ชัน และภาพจำลอง O(n) อัลกอริทึม C และ C++ เปรียบเทียบการเขียนด้วย C และ C++ เขียนโปรแกรมสำหรับเด็ก เรียนเขียนโปรแกรมผ่านการเล่น!
- ควิซใหม่
- โจทย์ใหม่
- สำหรับครูใหม่
- อัปเดต
- เลี้ยงกาแฟสักแก้ว
ควิซ Python: #scope
ควิซเกี่ยวกับ #scope 4 ชุด พร้อมคำอธิบายทุกคำตอบ
4
ขอบเขตตัวแปรและ global
ยาก
ชื่อแบบ local และ global, nonlocal, closure และกับดัก UnboundLocalError
Python · ฟังก์ชัน
#scope#closures#gotchas
10 ข้อ · ~8 นาที
ยังไม่เริ่ม
เริ่ม
1
let, const & var
ง่าย
Know when to use
let, const or var and how each one is scoped.
JavaScript · JavaScript Basics
#variables#scope
10 ข้อ · ~5 นาที
ยังไม่เริ่ม
เริ่ม
3
Scope & Hoisting
ปานกลาง
Predict what happens when variables and functions are used before their declaration.
JavaScript · Functions & Scope
#scope#hoisting
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม
5
Scope & Lifetime
ปานกลาง
Know where each C variable can be used and how long it lives, from blocks to globals.
C · Functions & Scope
#scope#lifetime
10 ข้อ · ~6 นาที
ยังไม่เริ่ม
เริ่ม