Programming Flashcards

Programming and Software development

1
Q

What is the process of writing and maintaining computer code?

A

Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What was the first high-level programming language?

A

FORTRAN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the most widely used programming language?

A

Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What programming language is used for web development?

A

JavaScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What programming language was developed by Microsoft for Windows applications?

A

C#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What programming language is commonly used for iOS development?

A

Swift

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What programming language is primarily used in Android development?

A

Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the process of finding and fixing errors in code?

A

Debugging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What type of error occurs during program execution?

A

Runtime Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What data structure follows Last-In, First-Out (LIFO)?

A

Stack

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What data structure follows First-In, First-Out (FIFO)?

A

Queue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which sorting algorithm has an O(n²) time complexity?

A

Bubble Sort

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What sorting algorithm is commonly used in databases?

A

Quick Sort

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What programming concept focuses on reusable code?

A

Object-Oriented Programming (OOP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the four principles of Object-Oriented Programming (OOP)?

A

Encapsulation, Inheritance, Abstraction, Polymorphism

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the part of a program that performs a specific task?

A

Function (or Method)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What programming paradigm treats computation as mathematical functions?

A

Functional Programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What keyword is used to define a function in Python?

A

def

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What keyword is used to define a constant in JavaScript?

A

const

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What method is used to handle errors in Python?

A

try-except

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What command is used to install a Python package?

A

pip install [package_name]

22
Q

What language is used to manage relational databases?

A

SQL (Structured Query Language)

23
Q

What SQL command is used to retrieve all data from a table?

A

SELECT * FROM table_name

24
Q

What technique allows running multiple threads simultaneously?

A

Multithreading

25
What does API stand for?
Application Programming Interface
26
What markup language is used to structure web pages?
HTML (HyperText Markup Language)
27
What language is used for styling web pages?
CSS (Cascading Style Sheets)
28
What programming language was developed by Google?
React
29
What JavaScript framework was developed by Facebook?
Golang (Go)
30
What open-source programming language is used for machine learning?
R
31
What command is used to compile a C program?
gcc filename.c -o output
31
What operator is used for exponentiation in Python?
**
32
What is the process of converting high-level code to machine code?
Compilation
33
What type of loop continues until a condition is false?
While Loop
34
What is the term for memory used by a program that is never freed?
Memory Leak
35
What command is used to create a new Git repository?
git inti
36
What command is used to check the status of a Git repository?
git status
37
What is the process of merging code changes in Git?
Pull Request (PR)
38
What tool is used for continuous integration in software development?
Jenkins
39
What is the practice of deploying code updates frequently?
Continuous Deployment
40
What principle prevents direct access to object attributes in OOP?
Encapsulation
41
What tool is used to automate Python environments?
Virtualenv
42
What function prints output in Python?
print()
43
What file extension is used for JavaScript files?
.js
44
What file extension is used for compiled Java files?
.class
45
What is the process of running the same function with different inputs?
Recursion
46
What method is used to send HTTP requests in JavaScript?
fetch()
47
What is the most commonly used NoSQL database?
MongoDB
48
What framework is used for backend web development in Python?
Django
49
What is the method of writing and updating software frequently while keeping systems stable?
Continuous Integration/Continuous Deployment (CI/CD)