Programming Flashcards
Programming and Software development
What is the process of writing and maintaining computer code?
Programming
What was the first high-level programming language?
FORTRAN
What is the most widely used programming language?
Python
What programming language is used for web development?
JavaScript
What programming language was developed by Microsoft for Windows applications?
C#
What programming language is commonly used for iOS development?
Swift
What programming language is primarily used in Android development?
Java
What is the process of finding and fixing errors in code?
Debugging
What type of error occurs during program execution?
Runtime Error
What data structure follows Last-In, First-Out (LIFO)?
Stack
What data structure follows First-In, First-Out (FIFO)?
Queue
Which sorting algorithm has an O(n²) time complexity?
Bubble Sort
What sorting algorithm is commonly used in databases?
Quick Sort
What programming concept focuses on reusable code?
Object-Oriented Programming (OOP)
What are the four principles of Object-Oriented Programming (OOP)?
Encapsulation, Inheritance, Abstraction, Polymorphism
What is the part of a program that performs a specific task?
Function (or Method)
What programming paradigm treats computation as mathematical functions?
Functional Programming
What keyword is used to define a function in Python?
def
What keyword is used to define a constant in JavaScript?
const
What method is used to handle errors in Python?
try-except
What command is used to install a Python package?
pip install [package_name]
What language is used to manage relational databases?
SQL (Structured Query Language)
What SQL command is used to retrieve all data from a table?
SELECT * FROM table_name
What technique allows running multiple threads simultaneously?
Multithreading