100 ChatGPT Programming Prompts PDF
100 ChatGPT Programming Prompts PDF
Prompts
Explore the power of Chat GPT faster with these prompts.
Beginner
Implement a linear search algorithm in Python to find a specific value in an
array.
Write a bubble sort algorithm in Java to sort an array of integers in ascending
order.
Develop a binary search algorithm in C++ to search a sorted array for a
specific value.
IDE Juggernaut
Implement a breadth-first search algorithm in Python to traverse a graph data
structure.
Write a dynamic programming algorithm in Java to solve the knapsack
problem.
Develop a code formatter in Python that formats and indents the given code
according to a set of rules.
Develop a to-do list application in Swift that allows users to add, edit, and delete
tasks.
Examples
Write code snippets in Rust that demonstrate basic syntax, control structures,
and data types.
Build a simple web application in Flask that displays a list of items and allows
users to add, edit, and delete items.
Write code snippets in a new database query language that demonstrate how to
insert, update, and retrieve data from a database.
Write a function that takes [parameter type and description] as input and returns
[type + functional explanation of output]
Write a function that takes [parameter type and description] as input and returns
[type + functional explanation of output] in [language]
Write a function that takes [parameter type and description] as input and
[transformation] and returns [type] in [language + library]
Examples
For Beginners
Write a function that takes two integers as input and returns their sum.
Build a function that takes a list of numbers as input and returns the average.
Write a function that takes a list of strings as input and returns the longest
string.
Write a function that takes a positive integer as input and returns its factorial.
Write a function that takes a string and a substring as input and returns the
number of occurrences of the substring in the string.
Write a function that takes two strings as input and returns a string that is the
concatenation of the input strings.
Write a function that takes a list of integers as input and returns the second
largest integer.
Write a function that takes a positive integer as input and returns a list of its
divisors.
Write a function that takes a list of numbers as input and returns a list of the
squares of the numbers.
Write a function that takes a string as input and returns a string with all the
letters in reverse order.
Implement a function that takes a list of numbers as input and returns the
median.
Implement a function that takes a string as input and returns the longest
palindromic substring.
Write a function that takes a list of strings as input and returns the list of
anagrams.
Implement a function that takes a list of numbers as input and returns the
largest contiguous sum.
Write a function that takes a list of integers as input and returns a list of all the
prime numbers.
Write a function that takes two strings as input and returns the edit distance
between them.
Implement a function that takes a list of numbers as input and returns the
longest increasing subsequence.
Write a function that takes a string as input and returns the longest common
prefix among all the words in the string.
Implement a function that takes a graph as input and returns the shortest path
between two nodes.
Write a function that takes a list of numbers as input and returns a list of all
the combinations of the numbers that add up to a target sum.
Implement a function that takes a list of strings as input and returns the
longest common substring among all the strings.
Develop a chatbot that can answer questions about a specific domain using a
knowledge graph.
Write a program that implements a variational autoencoder (VAE) to generate
new data points.
Develop a platform for hosting and sharing interactive programming tutorials.
Javascript
Develop a real-time chat application using Node.js, Express, and Socket.io.
Develop a recipe database and search engine that allows users to search for
recipes based on ingredients or dietary restrictions using Vue.js and a
MongoDB database.
Implement a task management app that allows users to create, manage, and
track their to-do lists using jQuery and a MySQL database.
Develop a job board that allows users to search and apply for job postings
using Node.js, Express, and Elasticsearch.
Implement a budgeting app that tracks a user's expenses and income to help
them stay within their budget using Next.js and a NoSQL database.
Develop a music player app that allows users to search, play, and save songs
using Angular and a NoSQL database.
Implement a real-time voting system that allows users to vote on various
topics using Node.js, Express, and an EOSIO contract to store the data in a
table using EOSJS.
Write a program that implements a job board using React components and
PrimeNG.
Develop a budgeting app that tracks a user's expenses and income using
React components and Shards.
Develop a platform for hosting and sharing code snippets using React
components and Element.
Write a program that implements a recommendation system for movies or TV
shows using React components and Tachyons.
Python
Develop a web scraper that can scrape data from a specific website and store
it in a database using Beautiful Soup and SQLAlchemy.
Implement a simple blogging platform that allows users to create, edit, and
view blog posts using Flask and Jinja.
Develop a weather app that displays real-time weather information for a
user's location using Django and the OpenWeatherMap API.
Implement a recommendation system that suggests items based on a user's
previous purchases or interests using Pandas and Scikit-learn.
Develop a scheduling app that allows users to create and manage
appointments and events using Pyramid and SQLAlchemy.
Implement a chatbot that can respond to user inquiries in a conversational
PHP
Develop a web scraper that can scrape data from a specific website and store
it in a database using the PHP Simple HTML DOM Parser library and the
Doctrine ORM library.
Implement a weather app that displays real-time weather information for a
user's location using the OpenWeatherMap API and the Laravel framework.
Implement a recommendation system that suggests items based on a user's
previous purchases or interests using the PHP Machine Learning library.
Develop a scheduling app that allows users to create and manage
appointments and events using the Symfony framework and a SQL database.
Implement a chatbot that can respond to user inquiries in a conversational
manner using the Doctrine ORM library and the Slim framework.
Develop a recipe database and search engine that allows users to search for
recipes based on ingredients or dietary restrictions using the Doctrine ORM
library and a SQL database.
Implement a task management app that allows users to create, manage, and
track their to-do lists using the Slim framework and a SQL database.
Develop a platform for hosting and sharing code snippets that allows users to
view and comment on each other's code using the Laravel framework and a
MySQL database.
Go
Implement a web scraper that can scrape data from a specific website and
store it in a database using the Goquery library and the GORM library.
Develop a weather app that displays real-time weather information for a
user's location using the OpenWeatherMap API and the Echo framework.
Implement a recommendation system that suggests items based on a user's
previous purchases or interests using the Golearn library.
Develop a scheduling app that allows users to create and manage
appointments and events using the Gorilla Mux library and a SQL database.
Implement a chatbot that can respond to user inquiries in a conversational
manner using the GORM library and the Gin framework.
Develop a recipe database and search engine that allows users to search for
recipes based on ingredients or dietary restrictions using the GORM library
and a SQL database.
Implement a task management app that allows users to create, manage, and
track their to-do lists using the Echo framework and a SQL database.
Develop a platform for hosting and sharing code snippets that allows users to
view and comment on each other's code using the Gin framework and a
NoSQL database.
Implement a job board that allows users to search and apply for job postings
using the Echo framework and Elasticsearch.
Develop a budgeting app that tracks a user's expenses and income to help
them stay within their budget using the Gin framework and a NoSQL
database.
Implement a music player app that allows users to search, play, and save
Solidity
Develop a decentralized voting system on the Ethereum network to securely
record and count votes.
Implement a token-based rewards program for an online platform that
incentivizes users to engage with content and perform specific actions.
Develop a decentralized marketplace for buying and selling goods and
services using smart contracts and the Ethereum network.
Examples
Explain the difference between object-oriented programming and functional
programming.
Discuss the benefits and limitations of using microservices architecture in
software development.
Explain how machine learning and artificial intelligence are being used in
software development today.
Discuss the benefits and challenges of using decentralized systems in software
development.
Explain how software design patterns can be used to simplify and improve the
development process.