1. Write a program to calculate the factorial of a given
number.
2. Explain the difference between monolithic architecture
and microservices architecture.
3. Write a Python script to scrape data from a website.
4. Describe the concept of recursion and provide an example.
5. Write a Java program to implement a binary search
algorithm.
6. Explain the difference between HTTP and HTTPS.
7. Write a C++ program to implement a stack data structure.
8. Describe the concept of object-oriented programming and
provide an example.
9. Write a JavaScript program to implement a simple
calculator.
10. Explain the difference between a while loop and a for
loop.
11. Write a Python program to implement a chatbot.
12. Describe the concept of Big O notation and provide an
example.
13. Write a Java program to implement a sorting algorithm.
14. Explain the difference between a linked list and an
array.
15. Write a C++ program to implement a queue data structure.
16. Describe the concept of inheritance in object-oriented
programming.
17. Write a JavaScript program to implement a game of
Tic-Tac-Toe.
18. Explain the difference between a function and a method.
19. Write a Python program to implement a web crawler.
20. Describe the concept of polymorphism in object-oriented
programming.
21. Write a Java program to implement a graph data
structure.
22. Explain the difference between a stack and a queue.
23. Write a C++ program to implement a binary tree data
structure.
24. Describe the concept of encapsulation in object-oriented
programming.
25. Write a JavaScript program to implement a simple neural
network.
26. Explain the difference between a for loop and a foreach
loop.
27. Write a Python program to implement a natural language
processing algorithm.
28. Describe the concept of abstraction in object-oriented
programming.
29. Write a Java program to implement a dynamic programming
algorithm.
30. Explain the difference between a monolithic architecture
and a service-oriented architecture.
31. Write a C++ program to implement a hash table data
structure.
32. Describe the concept of composition in object-oriented
programming.
33. Write a JavaScript program to implement a game of Chess.
34. Explain the difference between a 32-bit and 64-bit
processor.
35. Write a Python program to implement a machine learning
algorithm.
36. Describe the concept of dependency injection in
object-oriented programming.
37. Write a Java program to implement a genetic algorithm.
38. Explain the difference between a compiler and an
interpreter.
39. Write a C++ program to implement a finite state machine.
40. Describe the concept of lazy loading in object-oriented
programming.
41. Write a JavaScript program to implement a simple
operating system.
42. Explain the difference between a process and a thread.
43. Write a Python program to implement a recommendation
system.
44. Describe the concept of design patterns in
object-oriented programming.
45. Write a Java program to implement a decision tree
algorithm.
46. Explain the difference between a relational database and
a NoSQL database.
47. Write a C++ program to implement a compiler.
48. Describe the concept of type inference in programming
languages.
49. Write a JavaScript program to implement a simple
compiler.
50. Explain the difference between a static and dynamic
programming language.
51. Write a Python program to implement a natural language
processing algorithm.
52. Describe the concept of garbage collection in programming
languages.
53. Write a Java program to implement a machine learning
algorithm.
54. Explain the difference between a 32-bit and 64-bit
operating system.
55. Write a C++ program to implement a web browser.
56. Describe the concept of recursion in programming
languages.
57. Write a JavaScript program to implement a game of Go.
58. Explain the difference between a monolithic architecture
and a microservices architecture.
59. Write a Python program to implement a recommendation
system.
60. Describe the concept of polymorphism in programming
languages.
61. Write a Java program to implement a genetic algorithm.
62. Explain the difference between a compiler and an
interpreter.
63. Write a C++ program to implement a finite state machine.
64. Describe the concept of lazy loading in programming
languages.
65. Write a JavaScript program to implement a simple
operating system.
66. Explain the difference between a process and a thread.
67. Write a Python program to implement a machine learning
algorithm.
68. Describe the concept of design patterns in programming
languages.
69. Write a Java program to implement a decision tree
algorithm.
70. Explain the difference between a relational database and
a NoSQL database.
71. Write a C++ program to implement a compiler.
72. Describe the concept of type inference in programming
languages.
73. Write a JavaScript program to implement a simple
compiler.
74. Explain the difference between a static and dynamic
programming language.
75. Write a Python program to implement a natural language
processing algorithm.
76. Describe the concept of garbage collection in
programming languages.
77. Write a Java program to implement a machine learning
algorithm.
78. Write a program to find the maximum sum of a subarray
within a given array.
79. Implement a binary search algorithm to find an element
in a sorted array.
80. Write a program to determine whether a given string is a
palindrome.
81. Implement a sorting algorithm (such as bubble sort or
selection sort) to sort an array of integers.
82. Write a program to find the first duplicate in an array
of integers.
83. Implement a graph data structure and perform basic graph
operations (such as adding nodes and edges).
84. Write a program to determine whether a given number is
prime.
85. Implement a stack data structure and perform basic stack
operations (such as push and pop).
86. Write a program to find the minimum window that contains
all elements of a given array.
87. Implement a dynamic programming algorithm to solve the
Fibonacci sequence.
88. Write a program to determine whether a given string is
an anagram of another string.
89. Implement a queue data structure and perform basic queue
operations (such as enqueue and dequeue).
90. Write a program to find the maximum sum of a subsequence
within a given array.
91. Implement a binary tree data structure and perform basic
tree operations (such as inserting and deleting nodes).
92. Write a program to determine whether a given number is a
power of two.
93. Implement a hash table data structure and perform basic
hash table operations (such as inserting and retrieving elements).
94. Write a program to find the first occurrence of a given
element in an array.
95. Implement a greedy algorithm to solve the activity
selection problem.
96. Write a program to determine whether a given string is a
valid parentheses sequence.
97. Implement a depth-first search algorithm to traverse a
graph.
98. Write a program to find the minimum number of operations
required to transform one string into another.
99. Implement a breadth-first search algorithm to traverse a
graph.
100. Write a program to determine whether a given array is a
permutation of another array.
0 Comments