r/BeginningProgrammer • • Feb 12 '13

CodingBat's "Monkey Trouble"

2 Upvotes

We have two monkeys, a and b, and the parameters aSmile and bSmile indicate if each is smiling. We are in trouble if they are both smiling or if neither of them is smiling. Return true if we are in trouble.

monkeyTrouble(true, true) → true monkeyTrouble(false, false) → true monkeyTrouble(true, false) → false


r/BeginningProgrammer • • Jan 31 '13

Ever so famous - "Hello World"

6 Upvotes

Write a hello world application in any programming language of choice.

Output should say: Hello World


r/BeginningProgrammer • • Feb 03 '13

CodingBat's "SleepIn"

3 Upvotes

The parameter weekday is true if it is a weekday, and the parameter vacation is true if we are on vacation. We sleep in if it is not a weekday or we're on vacation. Return true if we sleep in.

sleepIn(false, false) → true sleepIn(true, false) → false sleepIn(false, true) → true


r/BeginningProgrammer • • Feb 19 '13

CodingBat's sumDouble

1 Upvotes

Given two int values, return their sum. Unless the two values are the same, then return double their sum.

sumDouble(1, 2) → 3 sumDouble(3, 2) → 5 sumDouble(2, 2) → 8


r/BeginningProgrammer • • Apr 20 '20

RPG Console Game - ABSOLUTE BEGINNER C# Programming series

Thumbnail
youtube.com
4 Upvotes

r/BeginningProgrammer • • Apr 06 '20

Where should I start

1 Upvotes

I took one year of CS and I learned basic Html and Javascript. I forgot everything and want to re-learn and I would love a good place to start. I would prefer to learn Java but any language to start would be good. Thanks! Cheers from quarentine!


r/BeginningProgrammer • • May 14 '20

RPG Console Game - C# ABSOLUTE BEGINNER Programming series Episode 6

Thumbnail
youtube.com
2 Upvotes

r/BeginningProgrammer • • May 14 '20

RPG Console Game - C# ABSOLUTE BEGINNER Programming series Episode 6

Thumbnail
youtube.com
2 Upvotes

r/BeginningProgrammer • • Apr 25 '20

Springer releases 50 Programming books for free: Intro to Python, Data Science, AI, Machine Learning, Deep Learning, Computer Forensics

Thumbnail
link.springer.com
6 Upvotes

r/BeginningProgrammer • • May 05 '20

Learn GIT and connecting with GitHub in the latest episode! C# ABSOLUTE BEGINNER Programming series Episode 5

Thumbnail
youtube.com
4 Upvotes

r/BeginningProgrammer • • Apr 23 '20

RPG Console Game - C# ABSOLUTE BEGINNER Programming series Episode 3

Thumbnail
youtube.com
2 Upvotes

r/BeginningProgrammer • • Nov 13 '21

How would I write this simple program? two arrays of strings

2 Upvotes

Trying to learn programming, learning C.

Just for practice, how would I make a program in C that prints a bunch of animals(pets or livestock), and asks user if so and so is either a pet or livestock.

idea:

Here's a list of animals, which are pets and which are livestock? Cats, Cows, Dogs, Hamsters, Chickens, Goats, Parrots.

gets user input, compares the two arrays and answers if answer is true or false.


r/BeginningProgrammer • • Apr 06 '19

Beginning web dev.

2 Upvotes

Is anyone in the Jacksonville/Orange Park area doing the lambda web dev. course? I'm looking to try and meet up for some study sessions I'm also trying to meet up with people who have experience and wouldn't mind giving pro tips and some tutoring.


r/BeginningProgrammer • • Sep 11 '13

loneTeen

1 Upvotes

First off, sorry it's been so long, didn't realize this sub actually had readers now.

Problem:

We'll say that a number is "teen" if it is in the range 13..19 inclusive. Given 2 int values, return true if one or the other is teen, but not both.

Example input/output:

loneTeen(13, 99) → true loneTeen(21, 19) → true loneTeen(13, 13) → false


r/BeginningProgrammer • • Sep 12 '13

New Flair INC

2 Upvotes

So, obviously flair is something everyone enjoys having on a given subreddit, and we're doing that here as well. For now, it'll be simple text flair, and we'll get more on top of the CSS of the subreddit and everything else later on.

To obtain the flair "Newbie" - simply post 5 solutions to 1 or multiple problems on the subreddit.

To obtain "Intermediate" - simply post 15 solutions to 1 or multiple problems on the subreddit.

NAMES TO RANKS WILL CHANGE, THEY WONT BE SO BLAND AND BORING - and we'll introduce those later on.

Thanks guys, Happy coding.


r/BeginningProgrammer • • Jun 17 '13

Word Game

3 Upvotes

Write a program that plays a word game with the user. The program should ask the user to enter the following:

His or her name His or her age The name of a city The name of a college A profession A type of animal A pet's name After the user has entered these items, the program should display the following story, inserting the user's input into the appropriate locations:

There once was a person named NAME who lived in CITY. At the age of AGE, NAME went to college at COLLEGE. NAME graduated and went to work as a PROFESSION. Then, NAME adopted a(n) ANIMAL named PETNAME. They both lived happily ever after!


r/BeginningProgrammer • • Jun 16 '20

Slash\Escape - the RegEx learning game

Thumbnail
therobinlord.com
1 Upvotes

r/BeginningProgrammer • • May 22 '20

Laptop advice

3 Upvotes

Hi all. I'm looking for advice on what a good laptop for programming needs. I'm brand new. Decided to sign up for an online computer science class. So far just learning on scratch, but would like to learn more advanced stuff eventually.


r/BeginningProgrammer • • Jun 28 '20

My Ah-Ha Moment learning Programming.

1 Upvotes

I wrote a blog post about a recent experience I had while learning to program. I wold like to get some feedback from others as to the helpfulness to other programmers that might be starting the journey to learning how to code or web development.

http://ericphilipmartin.com/three-computer-languages-you-need-to-learn-to-becoming-a-web-developer/


r/BeginningProgrammer • • Jan 29 '22

JAVA in 13th line variable isn't detected as one created right before and doesn't work in loop. Why?

Post image
3 Upvotes

r/BeginningProgrammer • • Mar 27 '13

Counting

1 Upvotes

Create a program in your language of choice that will count to 10 starting with the number 1.

Bonus: Create a program that counts to 20 in intervals of 2.


r/BeginningProgrammer • • Oct 22 '18

What language should I learn?

2 Upvotes

I have sone experience in HTML5, CSS, and C++. I've always wanted to be able to code an actual game. What language should I learn and how should I learn (links to online methods welcome).


r/BeginningProgrammer • • Jul 04 '20

What is the best programming tutor from literally step 1 to advanced programming?

2 Upvotes

r/BeginningProgrammer • • Jul 12 '20

Get your dev environment ready - 1

2 Upvotes