บทที่ 5/13 · 18 คำ · จำได้แล้ว 0
Programming fundamentals
พื้นฐานการเขียนโปรแกรม
อัลกอริทึม, ขั้นตอนวิธี
a set of step-by-step rules that a computer follows to solve a problem or complete a task
The new algorithm finds the shortest delivery route in seconds.
อัลกอริทึมใหม่สามารถหาเส้นทางจัดส่งที่สั้นที่สุดได้ในไม่กี่วินาที
Social media platforms use algorithms to decide which posts users see.
คำพ้องความหมายprocedureformulaprocessmethodroutineคำตรงข้ามrandomnesschanceguessworkซอร์สโค้ด, รหัสต้นฉบับ
the original instructions of a program, written by programmers in a form people can read
Only senior developers can change the source code of the core system.
เฉพาะนักพัฒนาอาวุโสเท่านั้นที่แก้ไขซอร์สโค้ดของระบบหลักได้
The client asked for a copy of the source code when the project ended.
คำพ้องความหมายcodeprogram codeคำตรงข้ามexecutablebinary codeภาษาโปรแกรม, ภาษาเขียนโปรแกรม
a formal language with its own words and rules, such as Python or Java, used to write computer programs
Python is the main programming language used by our data team.
Python เป็นภาษาโปรแกรมหลักที่ทีมข้อมูลของเราใช้
The job requires experience in at least one object-oriented programming language.
ไวยากรณ์, ซินแท็กซ์
the rules for how words, symbols and punctuation must be written in a programming language
The program will not run because there is a syntax error on line 42.
โปรแกรมจะไม่ทำงานเพราะมีข้อผิดพลาดด้านไวยากรณ์ในบรรทัดที่ 42
Python syntax is simple, which makes it good for beginners.
ตัวแปร
a named place in a program that stores a value which can change while the program runs
Give each variable a clear name so others understand your code.
ตั้งชื่อตัวแปรแต่ละตัวให้ชัดเจนเพื่อให้คนอื่นเข้าใจโค้ดของคุณ
The bug happened because the variable was never set to zero.
ชนิดข้อมูล, ประเภทข้อมูล
the kind of value a variable can hold, such as a number, text or true/false
The error appeared because the function expected a number but received a text data type.
ข้อผิดพลาดเกิดขึ้นเพราะฟังก์ชันคาดหวังตัวเลข แต่ได้รับข้อมูลชนิดข้อความ
Choose the right data type for each column in the table.
คำสั่งเงื่อนไข
a programming instruction, such as if/else, that runs different code depending on whether a condition is true
A conditional statement checks whether the user is logged in before showing the page.
คำสั่งเงื่อนไขจะตรวจสอบว่าผู้ใช้ล็อกอินอยู่หรือไม่ก่อนแสดงหน้าเพจ
Too many nested conditional statements make the code hard to test.
การเขียนโปรแกรมเชิงวัตถุ, OOP
a style of programming that organizes code into objects that contain both data and functions
Java and C# are popular languages for object-oriented programming.
Java และ C# เป็นภาษาที่นิยมใช้สำหรับการเขียนโปรแกรมเชิงวัตถุ
The interview included questions on object-oriented programming concepts like classes and inheritance.
สภาพแวดล้อมการพัฒนาแบบบูรณาการ, IDE
integrated development environment: a software application with tools for writing, testing and debugging code
Most of our developers use Visual Studio Code as their IDE.
นักพัฒนาส่วนใหญ่ของเราใช้ Visual Studio Code เป็น IDE
A good IDE highlights errors while you type.
