# Questions tagged [beginner]

Add this tag to your question to indicate that you are new to the language of your code. This will often be taken into consideration by reviewers when assessing your code.

7,274 questions
Filter by
Sorted by
Tagged with
128 views

### An electron configuration writer given the number of electrons

I'm new to programming, especially Python (started in python3) and I want to ask if this piece of code is good enough or not. This is part of my personal project, that is, to make a personal library ...
• 163
94 views

### Find prime numbers

I wanted to create a program that lists all prime numbers to a given upper bound and that will also provide the amount of primes in the set. After many hours of trial and error I was able to solve it. ...
• 21
54 views

### C - Linked List Practice

Been studying data structures in C to get more grasp on the fundamentals as a freshman at uni. This is a coding-challenge that I've given to myself to understand Linked Lists better. Basically, my aim ...
1 vote
40 views

### This code allows people to navigate through some artworks

I am new to coding and I have finished a code for a project I have given myself. Everything is functioning the way I want but I was wondering if maybe I could have done some things differently in a ...
• 11
216 views

### Produce an arithmetic progression

I have made a function which takes in an end point and a step, then produces a list of integers with the step in mind. For example, if the end point is 10 and the step is 2, the function should return ...
1 vote
190 views

### Calculate the average score of students

Problem : Imagine you are a developer and get a job in which you need to create a program for a teacher. He needs a program written in c# that calculates the average score of his students. So he wants ...
116 views

This is my first program i write after i finished the c++ tutorials, that program can login and register, the program ask the user to choice login or register after user choice and write his username ...
• 23
799 views

### Finding the perfect statline for a roleplaying game using Python

I made a program for fun that tries to roll a perfect statline, i.e a statline with two groups of only 18s, for a role-playing game. I'm still a newbie in python so mainly trying to learn how to make ...
• 181
141 views

### Python random number guessing game

I've been learning Python for about 4 days now. Python is my first programming language, so I'm not that good at coding yet. I have been programming a little random number game as my first project and ...
74 views

### Outputting a graphic using functions

How would you make this piece of code more simple/efficient? The problem should not be solved with one print statement, rather with functions Could you also give me any advice how I can come to your ...
82 views

### basic tic tac toe

I looked a little into HTML a year ago but decided to try python yesterday and came up with this for tic-tac-toe. I have no programming experience and I haven't yet looked at other peoples versions of ...
• 11
109 views

### Finding the next palindrome number

I wrote a piece of code that generates the next palindromic number and that works fine. However I feel like my code isn't as efficient as it could be. Are there any tweaks that I could implement to ...
• 41
353 views

### Program to add or subtract a pair of numbers

Newbie here :) I have been working on a program that reads a pair of numbers from standard input, along with a mathematical operation and an initial capacity for storing the numbers; and using this ...
228 views

### Simple Console Banking System Java

This is a code that I just wrote is a simple application of a banking system I would like you all to review it all tell me where could I improve it, please feel free to critique it, but be aware that ...
84 views

### Blackjack game in python w/ bot

I am a beginner programmer and this is my first project, a blackjack game with a functioning dealer in python. Any feedback would be appreciated (especially if its about bot improvement). ...
212 views

### Tic Tac Toe game v2

I made the changes that were suggested to improve the program in the previous version. I would like to know if there is anything to improve in terms of handling object oriented programming, variable/...
134 views

### Simple Number guessing game

The question is: Write a C++ program to play a simple number guessing game against a computer opponent. The rules of the games are as follows: The computer randomly selects a secret number between ...
86 views

### Calculating the value of a stock-portfolio over time using Python Pandas

I am quite at the beginning of learning Python and decided to start my own little coding project to improve my skills. The goal of my project is to simulate the past growth of a stock portfolio based ...
79 views

### Validate Finnish IBANs

I am currently studying an online course in Haskell and there are no "model examples" of the assignments after finishing them. I'm slowly getting the hang of this, but I'd like some feedback ...
• 87
209 views

### Tic Tac Toe in Python with OOP

I programmed the tic-tac-toe game in Python using object oriented programming and I wanted to share it here to get some feedback ...
350 views

### Tic Tac Toe game in Java FX

I have programmed a Tic Tac Toe game in JavaFX and would appreciate feedback. Have I gone wrong anywhere? One issue I found and fixed was that I encountered a "Effectively final" error when ...
• 31
125 views

### OOP Matchsticks Game [Update]

I made the changes that were suggested to improve the program in the previous version. I would like to know if it is decent now or is there something to tweak. ...
464 views

### File Concordance

I am working on this Python project, and I pretty much have it done, I just wanted to get a second opinion, to make sure it looks good, and to see if anyone had any tips for it. I also was a little ...
358 views

### Rock, Paper, Scissors game in Python with OOP

I am still practising object oriented programming and I decided to do the rock-paper-scissors game as a project. I listen to constructive criticism to improve the program. ...
168 views

The public code is SaveAsFile(). It takes a URL, checksum and authentication info, and downloads the artifact and its hash using HTTP. It saves the content as a ...
• 173
1 vote
88 views

### Progressively erase tail of a Python list

Hey I started programming in python few days ago and decided to write a programme without any tutorial. You give it a list and then my programme erases last item of list until there's only one item. I ...
34 views

### How would I put this set of javascript if statements with varying IDs and Values in one smaller statement? [closed]

I'm wanting to reduce the amount of code in this set of statements, as it seems quite repetitive: ...
246 views

### User input is vowel or consonant: first C steps

Background Just got started with C and now am testing a few pages and simple problems to get the syntax right. On Programiz they provide a few very easy problems with solutions. This program checks if ...
• 217
1k views

### Python budget calculator

I have, after years of excuses, started programming. Well honestly, I was not able to find any one interested in helping me with my start-up idea. So I had no choice but to ask myself 'How hard can ...
597 views

### Wordle puzzle game

I am a beginner programmer with not much experience, the little I do have is with Python specifically. With all the fuss going around about the popular word game "Wordle" I wanted to ...
1 vote
44 views

### Another generic dynamic arrays in C

Wrote this (and others not here) as an exercise to explore how generics could be implemented in C. Question -- if I were to support out-of-band error setting, how would that look like for ...
182 views

### Matchsticks game in Python

I made the following game in Python applying object oriented programming and I would like to know if there is something to improve. PS: My native language is Spanish, if you see something wrong ...
39 views

### Text-Based TicTacToe in c++

The goal of this program is to create text based tic-tac-toe What I know: Base level java (till arrays & functions) The same goes for c++ What I did: I) Variable count: This used to count the ...
• 21
114 views

### Hangman game in Python with OOP

I made the hangman game using OOP. It is the first "big" project I do using OOP. I would like to know if there is something to improve in the program I made. This is the code: ...
166 views

### Command Line Parser for my VBA package manager written in Python

As the title suggests, I'm creating a package manager for VBA which is modelled loosely on conda/ poetry, allowing you to install VBA modules potentially into "environments", but certainly ...
• 2,050
142 views

### Create a formatted calendar

I'm working on a project that creates a calendar based on user input of a month and a year. With that information, the code should count the number of days in that month and output a calendar. I would ...
81 views

### String Reversal in C - K&R Book Exercise 1-19

I'm a Python programmer / teacher who was a CIS major in college. I'm going back to school to get my masters in CS probably, and the first course is a prerequisite Intro to Programming in C / C++. I'...
661 views

### Calculating Discount C++

The following question is from the book Problem Solving With C++. This is given as an exercise in the chapter "Functions for all subtasks": Write a function that calculates a discount ...
841 views

### Face tracking with recognition and age/gender detection

This program loads a video, detects and tracks faces in the video and detects the estimated age and gender of each person. The objective is to collect data on the number of unique people in a video ...
• 81
1 vote
37 views

### Define multiple buttons for Windows commands

I'm teaching myself Python. I wrote this code for work to help me troubleshoot end users PCs. It opens a GUI with a selection of buttons. It's written in python using pyinstaller to convert it to an ...
420 views

### (Beginner) Mastermind game in Python

After completing an introduction to Python tutorial, I wanted to put my basic knowledge of control flow and data structures to use, and felt this was a great choice for my first program. I created the ...
• 83
25 views

### Initialize and run/stop subprograms in ViewModels

I make WPF application and I need start "subprograms" (scan directory & send to the API for now, in future - accept incoming files) in MainViewModel, ...
• 123
57 views

### Advent of Code 2021 Day 4

Here is my attempt at Advent of Code Day 4 using Haskell. A file contains list of number in first line. And subsequent lines have the bingo Cards ...
• 237
64 views

Details: Based on the input parameter to return corresponding output which is needed for setting & accessing Internet over interface [ppp0]. If the SIM is registered[ status = 1]. This script will ...
1 vote
108 views

### Try-catch-finally with 'using' in ADO.NET

I want to check if I'm correctly disposing of resources using Ado.NET. I'm not sure when the 'using' statement makes .Dispose() irrelevant. Please bear in mind I'm aware I shouldn't hardcode my SQL ...
1 vote
42 views

### Multiple grouped value select component

I've been designing a React component to select countries that a user has visited, grouped by continent. This component is a part of larger project but is relatively self contained. This is my first ...
• 63
143 views

### CodeForce 230 Dragon Fighting, Sorting without using array

Problem: https://codeforces.com/problemset/problem/230/A Kirito is stuck on a level of the MMORPG he is playing now. To move on in the game, he's got to defeat all $n$ dragons that live on this ...
1 vote
47 views

### Student Registry Program

Or in other words, a student database program. What does the code do? Checks if there is a text file - if not, creates one with table such as: student's name student's surname student's id and so on....