Programming

studied byStudied by 3 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 40

flashcard set

Earn XP

Description and Tags

41 Terms

1

What is an algorithm?

A step-by-step procedure for solving a problem or achieving a specific task.

New cards
2

Define a variable in programming.

A named storage location in memory that can hold a value.

New cards
3

What is a data type?

A classification that specifies the type of data a variable can hold, such as integer, string, or boolean.

New cards
4

What is a loop in programming?

A sequence of instructions that repeats until a certain condition is met.

New cards
5

What is a function?

A reusable block of code that performs a specific task.

New cards
6

What does 'syntax' refer to in programming?

The set of rules that defines the combinations of symbols that are considered to be correctly structured programs.

New cards
7

What is meant by 'debugging'?

The process of finding and resolving defects or problems within a program.

New cards
8

Explain what a conditional statement is.

A programming construct that executes a block of code based on whether a specific condition is true or false.

New cards
9

What is an array?

A collection of items stored at contiguous memory locations, allowing for indexed access.

New cards
10

Define 'algorithm efficiency'.

The measure of the amount of resources (like time and space) an algorithm uses relative to the input size.

New cards
11

What is 'pseudocode'?

A simplified, half-code version of programming that represents the structure of an algorithm without the complexity of syntax.

New cards
12

What is object-oriented programming (OOP)?

A programming paradigm based on the concept of 'objects', which can contain data and code.

New cards
13

What is a syntax error?

An error in the source code that violates the rules of the programming language.

New cards
14

What is a loop counter?

A variable used to control how many times a loop will execute.

New cards
15

What is an event-driven programming model?

A programming paradigm where the flow of the program is determined by events such as user inputs or messages from other programs.

New cards
16

Define 'string manipulation'.

The process of modifying, analyzing, or processing strings of text in programming.

New cards
17

What is recursion?

A programming technique where a function calls itself to solve a smaller instance of the same problem.

New cards
18

Explain what a 'module' is in programming.

A self-contained piece of code that encapsulates a specific functionality, making it reusable.

New cards
19

What is a binary tree?

A data structure where each node has at most two children, typically referred to as the left and right child.

New cards
20

Define 'API'.

Application Programming Interface; a set of rules that allows different software entities to communicate with each other.

New cards
21

What is an IDE?

Integrated Development Environment; software that provides comprehensive facilities to programmers for software development.

New cards
22

What does 'compile' mean in programming?

The process of translating source code written in a high-level programming language into machine code.

New cards
23

What is a framework in programming?

A platform for developing software applications that provides a foundation with predefined code and libraries.

New cards
24

What is the purpose of comments in code?

Comments are used to explain code, making it easier to understand for others or for the future reference of the original author.

New cards
25

Define 'data structure'.

A specific way of organizing and storing data in a computer to facilitate access and modification.

New cards
26

What is the difference between 'compile-time' and 'run-time' errors?

Compile-time errors occur during the compilation phase, while run-time errors occur while the program is executing.

New cards
27

What is iteration in programming?

The process of repeating a sequence of instructions until a specified condition is met.

New cards
28

Explain 'exception handling'.

The process of responding to the occurrence of exceptions – anomalous or exceptional conditions in a program.

New cards
29

What is a 'tuple'?

An ordered collection of elements which can hold a fixed number of elements, similar to an array but immutable.

New cards
30

What does 'inheritance' mean in OOP?

A mechanism where a new class can inherit properties and behavior (methods) from an existing class.

New cards
31

What is a stack data structure?

A collection of elements that follows the Last In First Out (LIFO) principle.

New cards
32

Define 'queue' in programming terms.

A collection of elements that follows the First In First Out (FIFO) principle.

New cards
33

What is 'input validation'?

The process of ensuring that user inputs are correct and fall within the specified range of acceptable values.

New cards
34

What is a 'hash table'?

A data structure that implements an associative array, mapping keys to values for efficient data retrieval.

New cards
35

What is a 'syntax tree'?

A tree representation of the syntactic structure of source code, used in compilers and interpreters.

New cards
36

Define 'modularity' in programming.

The practice of breaking a program into smaller, manageable, and interchangeable parts or modules.

New cards
37

What is object?

An instance of a class that contains data and methods to manipulate that data.

New cards
38

What does GUI stand for?

Graphical User Interface; a way for users to interact with electronic devices using graphical icons and visual indicators.

New cards
39

What is a variable scope?

The region of the program where a variable can be accessed or referenced.

New cards
40

What does recursive function mean?

A function that calls itself either directly or indirectly to solve a problem.

New cards
41

Define 'neural networks' in the context of programming.

A set of algorithms designed to recognize patterns, modeled loosely after the human brain.

New cards

Explore top notes

note Note
studied byStudied by 15 people
925 days ago
5.0(1)
note Note
studied byStudied by 3 people
15 days ago
5.0(1)
note Note
studied byStudied by 44 people
964 days ago
4.7(3)
note Note
studied byStudied by 18 people
806 days ago
5.0(1)
note Note
studied byStudied by 21 people
794 days ago
5.0(1)
note Note
studied byStudied by 11 people
725 days ago
5.0(1)
note Note
studied byStudied by 543 people
1029 days ago
4.8(6)
note Note
studied byStudied by 3 people
654 days ago
5.0(1)

Explore top flashcards

flashcards Flashcard (37)
studied byStudied by 16 people
390 days ago
5.0(1)
flashcards Flashcard (41)
studied byStudied by 7 people
729 days ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 35 people
735 days ago
5.0(1)
flashcards Flashcard (49)
studied byStudied by 21 people
370 days ago
5.0(1)
flashcards Flashcard (57)
studied byStudied by 10 people
637 days ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 1 person
720 days ago
5.0(1)
flashcards Flashcard (87)
studied byStudied by 9 people
782 days ago
5.0(1)
flashcards Flashcard (250)
studied byStudied by 16 people
77 days ago
5.0(1)
robot