Basics Flashcards
What is software?
Programs that run on a computer
What is an algorithm?
A set of step-by-step instructions used to solve a problem
What is a programming language?
A language used to write software
What is code?
Instructions written in a programming language that a computer can execute
What is compilation?
The process of converting human-readable code into machine code that a computer can understand
What is debugging?
The process of finding and fixing errors in a program
What is a program?
A set of instructions written in a programming language that a computer follows to perform a specific task or operation
What is a variable?
A named storage location that holds a value
What is syntax?
The rules that define how a program is written in a particular programming language
What is a computer?
An electronic device that performs tasks and processes data according to software instructions
What is an assignment?
The process of storing a value in a variable using an equal sign (=)
What is an expression?
A combination of variables, values, and operators that produces a result (e.g., x + 2)
What is a function?
A reusable block of code that performs a specific task and can return a value
What is a parameter?
A variable used in a function definition to accept input values
What is an argument?
A value that is passed into a function when it is called
What is a conditional statement?
A programming construct that allows the execution of different blocks of code based on a condition (e.g., if)
What is a loop?
A programming construct that repeats a block of code multiple times (e.g., for, while)
What is iteration?
The act of repeating a process in a loop
What is a class?
A blueprint for creating objects that defines their properties and behaviors
What is an object?
An instance of a class containing specific data and functions
What is a method?
A function that belongs to a class or object
What is recursion?
A programming technique in which a function calls itself to solve a problem
What is a compiler?
A program that translates human-readable code into machine code so it can be executed by a computer
What is an interpreter?
A program that interprets and executes code line-by-line