Programming

0.0(0)
studied byStudied by 3 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/40

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

41 Terms

1
New cards

What is an algorithm?

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

2
New cards

Define a variable in programming.

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

3
New cards

What is a data type?

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

4
New cards

What is a loop in programming?

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

5
New cards

What is a function?

A reusable block of code that performs a specific task.

6
New cards

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.

7
New cards

What is meant by 'debugging'?

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

8
New cards

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.

9
New cards

What is an array?

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

10
New cards

Define 'algorithm efficiency'.

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

11
New cards

What is 'pseudocode'?

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

12
New cards

What is object-oriented programming (OOP)?

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

13
New cards

What is a syntax error?

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

14
New cards

What is a loop counter?

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

15
New cards

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.

16
New cards

Define 'string manipulation'.

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

17
New cards

What is recursion?

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

18
New cards

Explain what a 'module' is in programming.

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

19
New cards

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.

20
New cards

Define 'API'.

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

21
New cards

What is an IDE?

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

22
New cards

What does 'compile' mean in programming?

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

23
New cards

What is a framework in programming?

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

24
New cards

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.

25
New cards

Define 'data structure'.

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

26
New cards

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.

27
New cards

What is iteration in programming?

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

28
New cards

Explain 'exception handling'.

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

29
New cards

What is a 'tuple'?

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

30
New cards

What does 'inheritance' mean in OOP?

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

31
New cards

What is a stack data structure?

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

32
New cards

Define 'queue' in programming terms.

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

33
New cards

What is 'input validation'?

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

34
New cards

What is a 'hash table'?

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

35
New cards

What is a 'syntax tree'?

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

36
New cards

Define 'modularity' in programming.

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

37
New cards

What is object?

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

38
New cards

What does GUI stand for?

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

39
New cards

What is a variable scope?

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

40
New cards

What does recursive function mean?

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

41
New cards

Define 'neural networks' in the context of programming.

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