Stellar Study Cards

Best Flashcards for Learning Programming Languages

151 Total Cards in This Deck

Best Flashcards for Learning Programming Languages

Arrow keys or swipe to navigate cards

1 / 151 Total
Programming Concepts

What is a variable in programming?

2 / 151 Total
Programming Concepts

Explain the concept of a loop.

3 / 151 Total
Programming Concepts

Define a function in programming.

4 / 151 Total
Programming Concepts

What is an array?

5 / 151 Total
Programming Concepts

What is the difference between a class and an object?

6 / 151 Total
Programming Concepts

Explain what an algorithm is.

7 / 151 Total
Programming Concepts

What is recursion?

8 / 151 Total
Programming Concepts

What does the term 'inheritance' mean in OOP?

9 / 151 Total
Programming Concepts

Describe the concept of encapsulation.

10 / 151 Total
Programming Concepts

What are conditionals in programming?

11 / 151 Total
Programming Concepts

What is a syntax error?

12 / 151 Total
Programming Concepts

Explain what a data structure is.

13 / 151 Total
Programming Concepts

What is a compiler?

14 / 151 Total
Programming Concepts

What is polymorphism in OOP?

15 / 151 Total
Programming Concepts

Explain the difference between an interpreter and a compiler.

16 / 151 Total
Programming Concepts

What is a pointer in programming?

17 / 151 Total
Programming Concepts

Explain what 'scope' means in programming.

18 / 151 Total
Programming Concepts

What is branching in programming?

19 / 151 Total
Programming Concepts

What is an event in the context of programming?

20 / 151 Total
Programming Concepts

Describe the stack data structure.

21 / 151 Total
Programming Concepts

What is hexadecimal notation?

22 / 151 Total
Programming Concepts

What is the purpose of a loop counter?

23 / 151 Total
Programming Concepts

Explain the term 'iteration' in programming.

24 / 151 Total
Programming Concepts

What is a Boolean?

25 / 151 Total
Programming Concepts

What is a 'syntax tree' or Abstract Syntax Tree (AST)?

26 / 151 Total
Programming Concepts

Define 'Garbage Collection' in the context of programming.

27 / 151 Total
Programming Concepts

What is a library in programming?

28 / 151 Total
Programming Concepts

Explain the concept of a 'token' in programming.

29 / 151 Total
Programming Concepts

What is meant by the term 'debugging'?

30 / 151 Total
Programming Concepts

Describe the heap memory.

31 / 151 Total
Syntax and Structure in Programming Languages

What is the purpose of a 'for' loop in programming?

32 / 151 Total
Syntax and Structure in Programming Languages

How do you declare a variable in JavaScript?

33 / 151 Total
Syntax and Structure in Programming Languages

What is a function in programming?

34 / 151 Total
Syntax and Structure in Programming Languages

How do you create a function in Python?

35 / 151 Total
Syntax and Structure in Programming Languages

Explain an 'if' statement.

36 / 151 Total
Syntax and Structure in Programming Languages

What is an array in programming?

37 / 151 Total
Syntax and Structure in Programming Languages

How do you define an array in Java?

38 / 151 Total
Syntax and Structure in Programming Languages

What is a syntax error?

39 / 151 Total
Syntax and Structure in Programming Languages

Describe a 'while' loop.

40 / 151 Total
Syntax and Structure in Programming Languages

What is a class in object-oriented programming?

41 / 151 Total
Syntax and Structure in Programming Languages

How do you define a class in Java?

42 / 151 Total
Syntax and Structure in Programming Languages

What is a loop control structure?

43 / 151 Total
Syntax and Structure in Programming Languages

What is the use of the 'break' statement?

44 / 151 Total
Syntax and Structure in Programming Languages

Explain what a 'switch' statement is.

45 / 151 Total
Syntax and Structure in Programming Languages

How do you create a switch statement in Java?

46 / 151 Total
Syntax and Structure in Programming Languages

What does 'return' do in a function?

47 / 151 Total
Syntax and Structure in Programming Languages

What is inheritance in object-oriented programming?

48 / 151 Total
Syntax and Structure in Programming Languages

How do you implement inheritance in Java?

49 / 151 Total
Syntax and Structure in Programming Languages

What is a method in the context of a class?

50 / 151 Total
Syntax and Structure in Programming Languages

How do you declare a method in Java?

51 / 151 Total
Syntax and Structure in Programming Languages

What is encapsulation in OOP?

52 / 151 Total
Syntax and Structure in Programming Languages

Explain what a constructor is in a class.

53 / 151 Total
Syntax and Structure in Programming Languages

How do you create a constructor in Java?

54 / 151 Total
Syntax and Structure in Programming Languages

What is polymorphism in programming?

55 / 151 Total
Syntax and Structure in Programming Languages

What is an abstract class?

56 / 151 Total
Data Types and Structures

What is a data type?

57 / 151 Total
Data Types and Structures

What are primitive data types?

58 / 151 Total
Data Types and Structures

How do you declare an integer in Python?

59 / 151 Total
Data Types and Structures

What is a composite data type?

60 / 151 Total
Data Types and Structures

What data structure is best for storing key-value pairs?

61 / 151 Total
Data Types and Structures

What is a tuple?

62 / 151 Total
Data Types and Structures

How is a list different from a tuple in Python?

63 / 151 Total
Data Types and Structures

What is an array?

64 / 151 Total
Data Types and Structures

What is a string in programming?

65 / 151 Total
Data Types and Structures

How would you iterate over a list in Python?

66 / 151 Total
Data Types and Structures

What is a set in Python?

67 / 151 Total
Data Types and Structures

How do you add an element to a set in Python?

68 / 151 Total
Data Types and Structures

What is a linked list?

69 / 151 Total
Data Types and Structures

What is the main advantage of using a linked list over an array?

70 / 151 Total
Data Types and Structures

What is a stack?

71 / 151 Total
Data Types and Structures

What operations are commonly associated with a stack?

72 / 151 Total
Data Types and Structures

What is a queue?

73 / 151 Total
Data Types and Structures

What operations are commonly associated with a queue?

74 / 151 Total
Data Types and Structures

How would you define a class in Python?

75 / 151 Total
Data Types and Structures

What is the difference between a class and an object?

76 / 151 Total
Control Flow

What is a control flow statement in programming?

77 / 151 Total
Control Flow

How does an if-else statement work?

78 / 151 Total
Control Flow

What is a loop in programming?

79 / 151 Total
Control Flow

Define a switch-case statement.

80 / 151 Total
Control Flow

What is the difference between a for loop and a while loop?

81 / 151 Total
Control Flow

How do you end an infinite loop in a program?

82 / 151 Total
Control Flow

What is the purpose of a break statement?

83 / 151 Total
Control Flow

Explain the continue statement in loops.

84 / 151 Total
Control Flow

Why use a do-while loop instead of a while loop?

85 / 151 Total
Control Flow

What is short-circuit evaluation in conditional statements?

86 / 151 Total
Control Flow

Explain the syntax of a for-each loop.

87 / 151 Total
Control Flow

What happens if there is no condition in a loop?

88 / 151 Total
Control Flow

Describe how nested loops function.

89 / 151 Total
Control Flow

What distinguishes recursion from loops?

90 / 151 Total
Control Flow

What is the purpose of a condition block in control flow?

91 / 151 Total
Functions and Methods

What is a function in programming?

92 / 151 Total
Functions and Methods

How do you define a function in Python?

93 / 151 Total
Functions and Methods

What are method functions in object-oriented programming?

94 / 151 Total
Functions and Methods

How do you call a function in JavaScript?

95 / 151 Total
Functions and Methods

What is a return statement in a function?

96 / 151 Total
Functions and Methods

What is the difference between parameters and arguments?

97 / 151 Total
Functions and Methods

How do you create a method in a Java class?

98 / 151 Total
Functions and Methods

What is a lambda function?

99 / 151 Total
Functions and Methods

Why are functions important in programming?

100 / 151 Total
Functions and Methods

What is a higher-order function?

101 / 151 Total
Functions and Methods

How do you declare a function in C?

102 / 151 Total
Functions and Methods

What is method overloading in Java?

103 / 151 Total
Functions and Methods

How do you pass arguments to a function in Python?

104 / 151 Total
Functions and Methods

What does the self parameter do in Python methods?

105 / 151 Total
Functions and Methods

What is recursion?

106 / 151 Total
Functions and Methods

Explain the concept of a static method.

107 / 151 Total
Functions and Methods

How do you define a default parameter value in Python?

108 / 151 Total
Functions and Methods

What is a decorator in Python?

109 / 151 Total
Functions and Methods

What is a constructor method in object-oriented programming?

110 / 151 Total
Functions and Methods

What is method overriding?

111 / 151 Total
Error Handling

What is error handling and why is it important in programming?

112 / 151 Total
Error Handling

What is a try-catch block and how is it used?

113 / 151 Total
Error Handling

What is the purpose of a finally block in error handling?

114 / 151 Total
Error Handling

How do you throw an exception manually in Java?

115 / 151 Total
Error Handling

What is an unchecked exception in Java?

116 / 151 Total
Error Handling

What is the difference between an error and an exception?

117 / 151 Total
Error Handling

Describe the use of the throws keyword in Java.

118 / 151 Total
Error Handling

What is a custom exception and how do you create one?

119 / 151 Total
Error Handling

Why should exception messages be clear and informative?

120 / 151 Total
Error Handling

What is stack unwinding in the context of error handling?

121 / 151 Total
Libraries and Frameworks

What is a framework in software development?

122 / 151 Total
Libraries and Frameworks

How does a library differ from a framework?

123 / 151 Total
Libraries and Frameworks

What is the purpose of the React library?

124 / 151 Total
Libraries and Frameworks

Name one popular framework for backend development in JavaScript.

125 / 151 Total
Libraries and Frameworks

What is the main feature of Django?

126 / 151 Total
Libraries and Frameworks

What is TensorFlow used for?

127 / 151 Total
Libraries and Frameworks

What does the Flask framework emphasize?

128 / 151 Total
Libraries and Frameworks

What is the Angular framework primarily used for?

129 / 151 Total
Libraries and Frameworks

Why is jQuery still used in web development?

130 / 151 Total
Libraries and Frameworks

What is Bootstrap used for in web development?

131 / 151 Total
Libraries and Frameworks

What is Vue.js?

132 / 151 Total
Libraries and Frameworks

What are the advantages of using a framework?

133 / 151 Total
Libraries and Frameworks

What is the primary use of Node.js?

134 / 151 Total
Libraries and Frameworks

What are Flask Blueprints?

135 / 151 Total
Libraries and Frameworks

How does Laravel benefit developers?

136 / 151 Total
Best Practices and Design Patterns

What is the Singleton Pattern?

137 / 151 Total
Best Practices and Design Patterns

What is the Factory Pattern?

138 / 151 Total
Best Practices and Design Patterns

How does the Observer Pattern work?

139 / 151 Total
Best Practices and Design Patterns

What is the purpose of the Strategy Pattern?

140 / 151 Total
Best Practices and Design Patterns

Can you explain the Decorator Pattern?

141 / 151 Total
Best Practices and Design Patterns

What is Dependency Injection?

142 / 151 Total
Best Practices and Design Patterns

What is DRY in programming?

143 / 151 Total
Best Practices and Design Patterns

Explain the concept of SOLID principles.

144 / 151 Total
Best Practices and Design Patterns

What is the Open/Closed Principle?

145 / 151 Total
Best Practices and Design Patterns

Describe the Liskov Substitution Principle.

146 / 151 Total
Best Practices and Design Patterns

What is the Interface Segregation Principle?

147 / 151 Total
Best Practices and Design Patterns

What is the significance of the Dependency Inversion Principle?

148 / 151 Total
Best Practices and Design Patterns

What is TDD?

149 / 151 Total
Best Practices and Design Patterns

Explain the concept of Refactoring.

150 / 151 Total
Best Practices and Design Patterns

What is an Anti-pattern and how does it differ from a Design Pattern?

151 / 151 Total
Best Practices and Design Patterns

How can you implement the DRY principle in your code?