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,563
questions
8
votes
3
answers
1k
views
C - mini string lib
I'm currently going through nand2tetris, mainly as an excuse to learn C via writing some non-trivial programs. As I've already done it in python, I've began to 'port' over some of the python features ...
6
votes
3
answers
118
views
Number Guesser Game in plain C
I am trying to relearn the C language and thought making small projects would be a good way to do it. The code I wrote works perfectly as intended.
I am just here to see if there are any better ...
4
votes
1
answer
55
views
Parsing Lists: BIO 2024 Q2
I was practising question 2a of the British Informatics Olympiad 2024 past paper.
In this task you will manipulate lists of integers to create new lists. There are three fundamental lists that you ...
9
votes
2
answers
1k
views
Rock paper scissor game in Javascript
I am new to Javascript, and I made a simple Rock Paper scissor game with some basic UI. We can play the game for how much longer we want and can check the score of both computer and our. It's a ...
7
votes
4
answers
752
views
adding data to a CSV file for it to be read
I'm making a program that lets you enter a name and house that adds it to the CSV file for it to be read and print out "Tre is in house Dragon", etc. The code works; I'm just wondering if ...
3
votes
3
answers
73
views
Bash script to automate post install process on Fedora
The script runs fine, and it seems to be working correctly. I'm looking for some criticism of the structure of the code, errors, bad practices, beginner's pitfalls, and bad code in general.
I'm ...
4
votes
2
answers
350
views
BIO 2021 Q3a: Window Dressing (BFS in C++)
I was practicing question 3a of the British Informatics Olympiad 2021 past paper.
A shop is looking to display some boxes (conveniently labelled A, B, …) in their window. There is a
desired order for ...
4
votes
1
answer
126
views
BIO 2021 Q1a: Down Pat
I was practicing question 1a of the British Informatics Olympiad 2021 past paper.
A pat is a single letter or a string of letters which can be split into a left and right string (of at least 1 letter)...
9
votes
4
answers
1k
views
Guess-the-number game in Python
This is just something I did in my free time. How can I improve my code as a beginner?
Is there an alternative to using isalpha()
What are other efficient ways to ...
9
votes
7
answers
1k
views
Rudimentary black jack game implementation
I started the 100 Days of Code: The Complete Python Bootcamp about a week ago. I finished day 11, and I wrote a rudimentary blackjack game. I'm just looking for some advise on how I did.
Am I showing ...
3
votes
1
answer
87
views
another first tic-tac-toe game
I made this tic-tac-toe game in c# after learning the language around a week ago. Can somebody tell me if this code is good or bad?
...
4
votes
1
answer
109
views
Simple CLI Hangman Game in C#
I'm a beginner at C#, and this is a console application that I wrote as I'm attempting to recreate simple games such as Hangman, TicTacToe, etc. I'm wondering if there's any logic in my code that's ...
8
votes
2
answers
1k
views
Beginner level password generator optimization
I've been learning python for a few days now, and I programmed this password generator after today's lesson (following the 100 days of code on udemy course). This code works like it should and gives ...
4
votes
2
answers
156
views
Excel sheet manipulation program
I'm very new to programming, and I'm hoping I can get feedback on the code I wrote - anything is helpful - what to split into different files (right now 1 large file), perhaps a way to break up the <...
1
vote
1
answer
105
views
Bird struct and other type of birds
I am learning Go and trying to write a Bird design in Go. Here is the code. How can I improve it?
bird/bird.go
...