practice

Practice project recommendations for an intermediate level programmer

I am beginning my first job as a junior software developer at the end of this month. I am about to start my second year of college (part time) and have been only self taught thus far. I find that my largest barricade to developing my skills as a programmer has been a general lack of challenging projects to work on. I have obtained m...

Making human readable representations of an Integer

Here's a coding problem for those that like this kind of thing. Let's see your implementations (in your language of choice, of course) of a function which returns a human readable String representation of a specified Integer. For example: humanReadable(1) returns "one". humanReadable(53) returns "fifty-three". humanReadable(723603) ret...

C++ Practice Problems

I am learning C++ currently and am probably at the intermediate level. I am running out of ideas for what to do with my current programming skill. And, as the title puts it I need some practice problems. ps. maybe the problems can be divided into beginner, intermediate and advanced ...

Recommended projects for beginning programmers?

Just wondering what projects you would recommend to a beginning programmer who already understands the basics of programming, but has little experience actually creating large or practical projects. If possible you could also mention the reasons you chose the project and some advise and common pitfalls. This question isn't really langu...

LINQ practice exercises or puzzles?

I'm still trying to learn LINQ, though it's going more smoothly now that I've started to use it daily at work. I still don't feel good at it, though. Does anyone have any challenging practice exercises or puzzles I can use as a code-kata to improve my skills? I'll leave this as community wiki, so maybe it can grow to a community list. ...

Is mutation testing useful in practice?

It exists the technology of mutation testing. It checks, if the tests are running even if you change the code. If not all is OK, if the tests are running they don't cover all eventualities. There is some theoretical work about it, but I'm interested in the question, if it is useful in practice? Do you have any examples of real life appli...

getting the best record from a file

Hi I have a file with the following text inside mimi,m,70 tata,f,60 bobo,m,100 soso,f,30 I did the reading from file thing and many many other methods and functions, but how I can get the best male name and his grade according to the grade. here is the code I wrote. Hope it's not so long using System; using System.Collections.Gene...

What's a Good First Open Source Project?

I'm currently studying computer science and looking for a good way to practice and hone my programming skills. Contributing to an open source project seems like a natural way to do this to me. I currently know Java, Python, and some C, but wanted to open this up to any established language. In particular, I'm looking for a project tha...

As a budding programmer, what did you do everyday to get better?

Hi everyone! Here's the situation: I want to master Java and I'm thinking what do I need to do everyday to increase my chances of standing out and being hired if let's say I came from another field? If I have 1-2 hours a day of free time, what do you guys think I should do? Thanks in advance! ...

What project would you recommend me to get up to speed with C++

I know that C++ is a very complex language that takes many years of practice to master. Taking that into account do you know of a small project (around a 1k of loc) that tests all of C++ major features (inheritance, pointers, memory management, etc). The thing is I'm a Java/Python programmer and I really want to learn C++ so I've been st...

xPath Traversing

I am trying to use xPath to traverse through the code of a newspaper (for the sake of practice) right now I'd like to get the main article, it's picture and the small description I get of it. But I'm not that skilled in xPath so far and I can't get to the small description. withing this code: <div class="margenesPortlet"> <div class="...

Databases from scratch

How do I create a database management system from scratch? Are there any books, sites and tutorials with great quality? With great quality I mean that it should be simple to use and straight forward in explaining the concepts. Here are examples of caliber quality resources that I'm looking for: If I were to create an operating syste...

How can I exchange the first and last characters of a string in Java?

I am practicing over the summer to try and get better and I am a little stuck on the following: http://www.javabat.com/prob/p123384 Given a string, return a new string where the first and last chars have been exchanged. Examples: frontBack("code") → "eodc" frontBack("a") → "a" frontBack("ab") → "ba" Code: public String fr...

Java practice questions

Hi, i posted the other day with practice questions i was getting stuck with and i am stuck again Please firstly can i ask you dont post full solutions. The question is from here http://www.javabat.com/prob/p141494 and reads Given a string and a second "word" string, we'll say that the word matches the string if it appears at the fro...

Study for Problem Solving Tests?

Hi, I am about to apply for a new IT job. As part of the selection process I have to undergo several hours of problem solving tests. I do not know specifically the nature of these tests but was hoping for suggestions on how I could "study" or practice for these types of tests. Any insights as to the typical nature or make up of these ...

Making a lottery program in Java

I was wondering, what do i need to look at to get cracking with making a programme that can read from a excel file I was thinking of making a programme that uses a excel spreadsheet and reading them in and generating a list of combinations that have not occured yet Its just for a bit of fun, but could be a good challenege thanks ...

Practicing regex

I'd like to learn regex better so that it becomes a more natural option for me. Often problems that could be solved easily by regex I don't even consider using it. Can someone direct me to a resource that gives challenging regex problems like the one in the python challenge that goes something like this but in more of a riddle like fash...

OOD / OOP Etudes / Code exercises

I've been searching the web for some time now. I am looking for small sample exercises for OOD practice (& for some internal TDD workshops). If there is one single place, where this need is being served, please point me to it.. and close this question Constraints: Language-agnostic real world problem Small : Something that takes an ho...

Any great books of algorithm puzzles to practice whiteboard coding with?

I'm looking to get some practice coding solutions to algorithm puzzles on a whiteboard. A friend is going to read puzzles to me (as if he were interviewing me), and I'll solve them on a whiteboard. Does anyone know any great books with algorithm puzzles that would be useful for this? I found a book called Puzzles for Programmers and Pro...

PHP Mass Email Best Practices? (PHPMailer + Gmail)

Hey everyone, I'm thinking about how to handle sending large amounts of email from my web applications, and whether there are any best practices for doing so. StackOverflow is already labeling this as 'subjective', which it may be to an extent, but I need to know the most successful way to implement this system, or whether any standardi...