Physics Forums Insights
  • Physics
    • Physics Articles
    • Physics Tutorials
    • Physics Guides
    • Physics FAQs
  • Math
    • Math Articles
    • Math Tutorials
    • Math Guides
    • Math FAQs
  • Bio/Chem/Tech
    • Bio/Chem Articles
    • Computer Science Tutorials
    • Technology Guides
  • Education
    • Education Articles
    • Education Guides
  • Interviews
  • Quizzes
  • Forums
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu

Computer Science Tutorials

Here contain all the technical computer science tutorials. These are technical how-to articles that focus on teaching you a specific skill or how to solve a specific problem. Programming languages from python to C++. Useful for self study or classroom strategy. Learn something new about comp sci today!

chatgpt-reliable

Why ChatGPT Is Unreliable: Design Limits and Misconceptions

July 5, 2023
/
138 Comments
ChatGPT's reliability I'll start with the simple fact: ChatGPT is not a reliable answerer to questions. Wolfram's explanation To try to explain why from…
https://www.physicsforums.com/insights/wp-content/uploads/2023/07/chatgpt-reliable.png 135 240 PeterDonis https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png PeterDonis2023-07-05 06:08:152026-02-17 08:06:52Why ChatGPT Is Unreliable: Design Limits and Misconceptions
pvsnp

P vs. NP and what is a Turing Machine (TM)?

July 25, 2022
/
1 Comment
P or NP This article deals with the complexity of calculations and in particular the meaning of ##P\stackrel{?}{\neq}NP## Before we explain what P and…
https://www.physicsforums.com/insights/wp-content/uploads/2022/07/pvsnp.png 135 240 fresh_42 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png fresh_422022-07-25 08:13:162022-07-25 09:22:26P vs. NP and what is a Turing Machine (TM)?
cpu programming

Parallel Programming on a CPU with AVX-512

April 23, 2022
/
1 Comment
This article is the second of a two-part series that presents two distinctly different approaches to parallel programming. In the two articles, I use different…
https://www.physicsforums.com/insights/wp-content/uploads/2022/04/cpu-programming.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442022-04-23 08:56:072026-02-17 07:45:29Parallel Programming on a CPU with AVX-512
programming gpu

CUDA Regression Line: GPU Parallel Programming Guide

April 16, 2022
/
1 Comment
Overview This article is the first of a two-part series that presents two distinctly different approaches to parallel programming. In the two articles,…
https://www.physicsforums.com/insights/wp-content/uploads/2022/04/programming-gpu.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442022-04-16 15:08:292026-02-17 07:43:34CUDA Regression Line: GPU Parallel Programming Guide
setup raspberry pi cluster

Raspberry Pi Cluster Guide: Parts, MPI & Slurm Tips

December 22, 2021
/
9 Comments
INTRODUCTION As a long-time computer programmer and almost as long a High-Performance Computer (HPC) user, I didn't know anything about how these machines…
https://www.physicsforums.com/insights/wp-content/uploads/2021/12/setup-raspberry-pi-cluster.png 135 240 Dr Transport https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Dr Transport2021-12-22 09:58:562026-02-17 07:42:23Raspberry Pi Cluster Guide: Parts, MPI & Slurm Tips
python sympy module

Python’s Sympy Module and the Cayley-Hamilton Theorem

November 9, 2021
/
0 Comments
Two of my favorite areas of study are linear algebra and computer programming. In this article I combine these areas by using Python to confirm that a…
https://www.physicsforums.com/insights/wp-content/uploads/2021/11/python-sympy-module.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442021-11-09 18:48:332021-11-10 10:42:51Python’s Sympy Module and the Cayley-Hamilton Theorem
android ringtone

Android Ringtone Picker with RingtoneManager (Java)

August 9, 2020
/
3 Comments
Android Ringtone Picker using RingtoneManager In article, I will show you how to create a ringtone picker using the RingtoneManager class in Android.…
https://www.physicsforums.com/insights/wp-content/uploads/2020/08/andriod_ringtone.png 135 240 Wrichik Basu https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Wrichik Basu2020-08-09 08:02:242026-02-17 07:34:11Android Ringtone Picker with RingtoneManager (Java)
artificial intelligence

How AI Is Changing STEM Labs, Classrooms & Industry

July 4, 2020
/
0 Comments
We asked our PF Advisors: “How do you see the rise in A.I. affecting STEM in the lab, classroom, industry, or in everyday society?” We received so…
https://www.physicsforums.com/insights/wp-content/uploads/2020/07/artificial_intelligence2.png 135 240 Greg Bernhardt https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Greg Bernhardt2020-07-04 09:17:322026-01-21 16:24:05How AI Is Changing STEM Labs, Classrooms & Industry
c++ guide for beginners

Beginner C++ Tutorial — Compiler, Types & I/O Basics

January 2, 2020
/
0 Comments
ContentsGetting a C++ Compiler and Compiling Your First Program Simple Datatypes and Declarations Operators and Expressions Input and Output…
https://www.physicsforums.com/insights/wp-content/uploads/2020/03/c-guide-beginners.png 135 240 David Duardo https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png David Duardo2020-01-02 10:42:552026-02-17 07:17:46Beginner C++ Tutorial — Compiler, Types & I/O Basics
recursion in programming

Recursion in Programming and When to Use or Not to Use It

August 23, 2019
/
38 Comments
What is recursion? Recursion is quite simple. It's a subroutine calling itself. It's surprising but some problems that look quite hard can be trivial using…
https://www.physicsforums.com/insights/wp-content/uploads/2019/08/recursion.png 135 240 Bill Hobba https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Bill Hobba2019-08-23 08:27:532026-02-17 07:19:58Recursion in Programming and When to Use or Not to Use It
AVX-512 Programming subtotals

AVX-512 Programming: Extracting Column Subtotals from a Table

March 4, 2019
/
1 Comment
In this Insights article I'll present an example that shows how Intel® AVX-512 instructions can be used to read a whole row of data in a single operation,…
https://www.physicsforums.com/insights/wp-content/uploads/2019/03/AVX-512_Programming_subtotals.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442019-03-04 09:19:092021-01-04 21:08:42AVX-512 Programming: Extracting Column Subtotals from a Table
AVX-512 conclusion

AVX-512 Assembly Programming: Opmask Registers for Conditional Arithmetic Conclusion

February 10, 2019
/
1 Comment
In the first part of this article (AVX-512 Assembly Programing - Opmask Registers for Conditional Arithmetic), we looked at how opmask registers can be…
https://www.physicsforums.com/insights/wp-content/uploads/2019/02/AVX-512_conclusion.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442019-02-10 15:00:532020-12-17 19:17:12AVX-512 Assembly Programming: Opmask Registers for Conditional Arithmetic Conclusion
AVX-512 registers

AVX-512 Assembly Programming: Opmask Registers for Conditional Arithmetic

February 8, 2019
/
2 Comments
This is the second installment in a continuing series of articles on Intel AVX-512 assembly programming. The first installment is An Intro to AVX-512 Assembly…
https://www.physicsforums.com/insights/wp-content/uploads/2019/02/AVX-512_registers_1.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442019-02-08 16:28:382020-12-17 19:17:12AVX-512 Assembly Programming: Opmask Registers for Conditional Arithmetic
AVX-512 Assembly Programming

An Intro to AVX-512 Assembly Programming

February 4, 2019
/
10 Comments
History In 1998, the Intel Corporation released processors that supported SIMD (single instruction, multiple data) instructions, enabling processors to…
https://www.physicsforums.com/insights/wp-content/uploads/2019/02/AVX-512_Assembly_Programming.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442019-02-04 12:38:062021-01-04 21:11:06An Intro to AVX-512 Assembly Programming
Data Structures Programming

Intro to Data Structures for Programming

December 23, 2018
/
11 Comments
Introduction In the first part of this series, I talked about some fundamental notions in the world of algorithms. Beyond the definition of an algorithm,…
https://www.physicsforums.com/insights/wp-content/uploads/2018/12/data_structures_programming.png 135 240 QuantumQuest https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png QuantumQuest2018-12-23 10:45:362024-08-17 16:54:24Intro to Data Structures for Programming
unity orbital mechanics

Unity Orbital Mechanics and AR Scaling: Implementation Guide

August 6, 2018
/
2 Comments
In this Insight I describe implementing basic orbital mechanics simulations in the Unity game engine and an approach to scaling the simulation for Augmented…
https://www.physicsforums.com/insights/wp-content/uploads/2018/08/unity_orbital_mechanics.png 135 240 Russell Patterson https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Russell Patterson2018-08-06 16:16:142026-01-24 08:17:08Unity Orbital Mechanics and AR Scaling: Implementation Guide
algorithms

Intro to Algorithms for Programming

May 19, 2018
/
28 Comments
Many threads here at PF include some questions about how to learn to program. This is asked by Physics students who want to learn programming to help their…
https://www.physicsforums.com/insights/wp-content/uploads/2018/05/algorithms.png 135 240 QuantumQuest https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png QuantumQuest2018-05-19 21:17:352024-08-17 16:39:00Intro to Algorithms for Programming
processing

The Joy of Processing

April 18, 2017
/
11 Comments
In the early days of the personal computer revolution, computers were small, simple, and easy to operate. It was always great fun to write BASIC games…
https://www.physicsforums.com/insights/wp-content/uploads/2017/04/processing.png 135 240 jedishrfu https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png jedishrfu2017-04-18 13:16:252026-02-16 21:45:49The Joy of Processing
computermath

Why Can’t My Computer Do Simple Arithmetic?

January 29, 2016
/
46 Comments
The first computer I owned was an Apple IIe computer, with a CPU that ran at slightly over 1 Megahertz (MHz), and with 64 Kilobytes (KB) of RAM, together…
https://www.physicsforums.com/insights/wp-content/uploads/2016/01/computermath.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442016-01-29 14:57:302025-01-26 09:34:34Why Can’t My Computer Do Simple Arithmetic?
pythondebug2

Simple Python Debugging with Pdb: Part 2

November 26, 2015
/
2 Comments
This Insight article is the continuation of the first article, Simple Python Debugging with Pdb: Part 1.In this article, let's look at another important…
https://www.physicsforums.com/insights/wp-content/uploads/2015/11/pythondebug2.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442015-11-26 07:27:392023-08-11 07:53:48Simple Python Debugging with Pdb: Part 2
pythondebug1a

Learn Simple Python Debugging with Pdb

November 24, 2015
/
6 Comments
I'm pretty new to Python, so I was looking around for some debugging tools. At first, I dismissed Pdb (Python debugger) as being too primitive, but after…
https://www.physicsforums.com/insights/wp-content/uploads/2015/11/pythondebug1a.png 135 240 Mark44 https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Mark442015-11-24 13:50:312024-08-17 06:28:41Learn Simple Python Debugging with Pdb

Trending Articles

  • What Planck Length Is and It’s Common Misconceptions
  • Animal Speed Scaling: Body-Lengths per Second Across Sizes
  • Unity Orbital Mechanics and AR Scaling: Implementation Guide
  • Exploring the Anatomy of Compton Scattering
  • Scientific Inference: Do We Really Need Induction?
  • The 7 Basic Rules of Quantum Mechanics
  • Mathematical Proofs: How to Understand and Write Them
  • David Hestenes on Geometric Algebra: Applications & Learning
  • How to Model a Magnet Falling Through a Conducting Pipe
  • Why You Can’t Quantum Tunnel Through a Wall

Physics Forums

  • Classical Physics
  • Atomic and Condensed Matter
  • Quantum Physics
  • Special and General Relativity
  • Beyond the Standard Model
  • High Energy, Nuclear, Particle Physics
  • Astronomy and Astrophysics
  • Cosmology
  • Other Physics Topics

Receive Insights Articles to Your Inbox

Enter your email address:

Blog Information

  • Become a Member!
  • Write for Us!
  • Table of Contents
  • Blog Author List

Popular Topics

astronomy (17) black holes (17) classical physics (35) cosmology (16) education (23) electromagnetism (19) general relativity (19) gravity (24) interview (21) mathematics (39) mathematics self-study (21) Physicist (26) programming (18) Quantum Field Theory (31) quantum mechanics (36) quantum physics (24) relativity (40) Special Relativity (16) technology (19) universe (21)
2026 © Physics Forums, ALL RIGHTS RESERVED - Contact Us - Privacy Policy - About PF Insights
  • Link to X
  • Link to Facebook
  • Link to LinkedIn
  • Link to Youtube
Scroll to top Scroll to top Scroll to top