1/15
These flashcards cover fundamental concepts, definitions, and programming practices introduced in the Computer Science I lecture.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
Data Types
Classifications of data that tell the compiler or interpreter how the programmer intends to use the data.
Variables
Named storage locations in memory that can hold different values during the execution of a program.
Arithmetic Operations
Mathematical calculations performed using operators such as addition, subtraction, multiplication, and division.
Compiler
A program that translates source code written in a high-level language into machine code.
Interpreter
A program that executes instructions written in a programming or scripting language without requiring them to have been compiled into machine language.
Algorithm
A step-by-step procedure for solving a problem or performing a task.
Source Code
The human-readable instructions and statements written in a programming language.
Machine Code
Low-level code that is directly executed by the computer's CPU.
High-Level Language (HLL)
A programming language that is more abstract than assembly or machine code, making it easier for humans to read and write.
printf
A standard library function in C used to output formatted text to the console.
Variable Declaration
The process of defining a variable's type and name before using it in a program.
Function Header
The line in a function that specifies the function's name, return type, and parameters.
Identifier
A name given to a variable, function, or other user-defined item in a program.
Keyword
Reserved words in a programming language that have special meaning and cannot be used as identifiers.
Common Programming Errors
Frequent mistakes made by programmers such as syntax errors and logical errors.
Arithmetic Operation Example
Calculating the sum of numbers using n(a+b)/2 formula.