student

OO vs Simplicity when it comes to user interaction

Firstly, sorry if this question is rather vague but it's something I'd really like an answer to. As a project over summer while I have some downtime from Uni I am going to build a monopoly game. This question is more about the general idea of the problem however, rather than the specific task I'm trying to carry out. I decided to build...

How can a student programmer improve his teamwork skill?

I am a student right now. Recently, I am working in a project as a leader with three other students. Due to the lack of experience, our project is progressing slowly and our members are frustrated. They do not feel sense of accomplishment in the project. I am pressured and frustrated, too. But as a team leader, I think I need to push the...

taking integer input in java

I am actually new to java programming and am finding it difficult to take integer input and storing it in variables...i would like it if someone could tell me how to do it or provide with an example like adding two numbers given by the user.. ...

What are good criteria for grading programming assignments?

I'm going to be teaching a scripting and tool development class to a group of 3D animators. In amongst teaching them coding fundamentals, I plan to have them pick a repetitive task they must perform frequently and have them iteratively develop a tool to automate or simplify this task as an assignment. What I'd like to know are some cri...

Passing objects and object oriented design best practices

I'm a university student learning programming. For practice I'm writing a blackjack program. I'm using C++ and doing an object oriented approach to this. I have a Deck class designed that basically builds and shuffles a deck of cards. The deck generated is composed of an array of 52 Card class objects. That's what I have so far. My pl...

Data Structures... so how do I understand them?

So I am a Computer Science student and in about a week or so... I will be retaking a Data Structures course, using C++ for applying the theory. Yes, I did say "retaking". I took the course last Fall and I feel like there is more that I need to learn. Being a student, I feel that I MUST know the basics because it will be much easier to un...

Query MySQL for permissions in PHP

I have a site where a user can have multiple permissions (view, edit, delete, create). Each of these is stored as a tinyint(1) field in the database. I'm looking for the best (quickest?) way to query MySQL to see if the user has the ability to see this page. Here is a snippet: $user = mysql_real_escape_string($user); $resultset = mysql...

How long to spend exclusively on SE fundamentals?

Some quick background: This Fall, I'm heading into my second year perusing a BS in Software Engineering. I picked up programming in my first year of high school, learning languages like Basic and PHP. My senior year of high school was when I got much more serious. For the last two years, I've been reading for about two hours a day. I do...

Student wanting to go to a developer conference

I'm a 21 year old student in my last year of University, and I am looking for information about developer conferences. I live in Derby (United Kingdom) and there's not (As far as I know) many conferences local to where I live. I do have a car at my disposal so travelling shouldn't be a problem. I was hoping somebody could recommend the...

Adaptive Keyboard applications

Folks, Can you see any potentially breathtaking applications for these unique keyboards ? (youtube videos at the bottom) http://www.acm.org/uist/uist2010/Student_Contest.html The main crux is where can a constantly modifying input device generate higher productivity as against a normal input device? Can the keyboard's input device be ...

What hourly wage would an ActionScript 3.0 programmer intern expect on one year's experience?

I have been offered 8 hours a week part-time ActionScript 3.0 developing while I am studying at University, and have been asked how much I expect to be paid for an 8-hour day. I have one year's experience with the language, as with Java and C#, so I know more about general OOP than specifically ActionScript. There is some brief portfoli...

Project for a small group of students

Hi. Can anyone suggest a project idea or some open source project for a small group of students (3-5). I want them to learn how to work in team (VCS, unit testing, continuous integration) as well as to practice in design patterns implementation. P.S. Java or C++. ...

Under what scenarios would one want to connect to a host other than localhost?

What I mean is when: mysql_connect('localhost', 'root', 'root'); I provide 'localhost' as the first argument without ever stopping to think what purpose it serves. I guess the opposite would be remote host, but when would you actually use it? Hope it is not a too stupid question, but I really dont know why its there... ...

Creating a .tgz with windows ?

Hi, Sorry, just a quick question before I submit an assignment online. I just followed this guide - http://www.ehow.com/how_6104990_create-_tgz-file-windows.html to make a .tgz file from one of my folder. I then renamed the file created from .tar.gz to a .tgz. I was just wondering would this have the exact same result as the instruct...

validating user input

I am almost done with this but there are 2 things that are stumping me in my code. When I query a user for the test score, if the score is not within the 0-100 range, I want to not accept it and then tell them why and ask for another input. I also want to print the letter grade for their average next to their average score. For some reas...

Ruby, does it allow Cartesian product constructors?

As the title states, does Ruby allow Cartesian product types? I can't find anything on it anywhere. Thanks ...

Is it necessary to delete elements as an array shrinks?

Hi I'm a student writing a method that removes zeros from the end of an array of ints, in c++. The array is in a struct, and the struct also has an int that keeps track of the length of the array. The method examines each element starting from the last, until it encounters the first non-zero element, and marks that one as the "last ele...