No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
41 Posted Topics
I'm basically wanting to design a java questionaire gui (not on java) basically just a program that holds a bunch of questions and the corresponding correct answers. So the question i would imagine i would make appear on the label and then having four possible answers a b c and … | |
Hi guys, I have some fundamental holes in my understanding of programming, so help would be appreciated, I’ve always had a problem getting my head around it. I don't have a very strong mental model of how the code flows. My main problem is i think i understand the syntax, … | |
Hi guys, I’ve written an application and I’m trying to utilise a database behind it. I’ve created a mysql database, and table which all appears to work correctly. I appear to have connected to the db correctly too. And hit a bit of a brick wall. As a side-note, within … | |
Hi guys, I'm quite unsure of what i'm doing here and could use some guidance. I've searched but haven't found any links that were focused enough. My objective is to connect my application to a database for the first time. I've never done this before so it's essentially a learning … | |
Hi guys, okay 2 questions, please see the below code. 1.) Why in the code below, does my incrementing ScoreInt not work ? need a fresh pair of eyes. 2.) The time in my form when run only displays the time the application was initially run, but does not update... … | |
Hi guys, See below. I actually broke this when trying to fix it (trying to add in the return 1,2,3 for the different possibilities), but basically I'm currently struggling with using forms. Using 2 random numbers the user must enter the correct answer for multiplying the random numbers. How can … | |
Hi guys, Question 1. I'm a pretty rubbish coder, haven't really done much of it in the couple of years since my degree, at work they've recently expressed an interest in getting me back into it. My problem is that i feel as though I've been taught the syntax (which … | |
Hi guys, i'm using a php response once the javascript has validated the form. I've tested it from(/on?) the server and the the form is submitting so javascript is working fine, then it reaches the php and although it was working fine earlier, displaying the 'score' etc now after i … | |
I'm looking for assessment questions which test a persons ability to abstract(assuming no programming knowledge). I've search all over online and found very little. Also what questions could i use to test someones abilty to think of different uses for objects. Any help would be appreciated. | |
Hi guys, I'm doing a project that assesses programmers potential, i've done a great deal of it. The abilities involved like Logic & Problem solving, ability to abstract etc. I'm having some trouble with putting questions together based on these abilities, i've read through other examples of peoples questions, and … | |
Hi, sorry if this is an obvious question ive never written a java applet before. I'm looking to write a simple math questions program with a scanner input etc. Can you use a console via an applet? as in inbed within the website a form of console ? that the … | |
Hi guys, I'm doing a dissertation on the skills necessary to do a CS degree, within which I'm going to design a website that assesses prospective CS students and their ability to cope with the harder more technical and analytical skills. I'm basically just looking for some experienced perspectives, brainstorming … | |
I dont really know specifically what im searching for, which is why i haven't just found this via searching the web. Have you guys come accross or know of any sort of quiz questions like where it gives you a for loop which isn't in the normal format and then … | |
Hi guys revising for an exam and im fine with the theory stuff but heres one question: A large ornamental garden is open to the members of the public who can enter through two gates: east gate or the west gate. The management wants to determine how many people there … | |
Hi guys, just looking for a bit of help. I've fallen victim to a particularly bad teacher with concurrency and now i have an exam in 2 weeks. I've been relying on online tutorials but the vast majority of it still escapes me. Can i ask what mutex is ? … | |
I've looked a lot but found very little and i was just wondering if someone has some experience in this and can point me in the right direction. I found the Fault tree analysis, but i'm not sure really if thats right for this, and i cant really figure it … | |
Hi guys, I'm still learning java and to code in general. How would i take a word, open a web browser, and define the word in google ? Is that even possible ? | |
What css do i use to set up the standard 5 box website? i forget its formal name, whats it called? The website layout, with a header, footer, centred centre page and the a right and left side. | |
Hi guys I have an html, css and there might even be some javascript in there (but dont worry about that!). Its a two hour practical exam, and im a little bit rusty with html and css (mostly rusty with css). When i've written websites in the past i take … | |
Hi im still quite a terrible programmer, so some of this is just confirmation of stuff i think is right (and please correct me if i have the wrong idea!) How would you program an anogram maker ? I was thinking of breaking up a String with substring, and then … | |
Hi guys, got a few questions 1. i have initialised my collection with a few objects, how do i set the make etc when i initialise them (i have the set methods). So in the line below where would i put setMake()? would it work with a . accesor after … | |
Hi guys i've written a hash table as a collection for a program the key is a string, show below: [CODE]private Hashtable<String, Planes> planesFlying = new Hashtable<String, Planes>();[/CODE] How can i write a comparator to sort this into alphabetical order? i've tried a lot. Do you need to overide equals … | |
Hi guys for my first piece of work on javascript i have to check a few html form questions which is provided. But im pretty clueless on how to do it, or even start it. First of all how would i check like a drop down menu had the right … | |
I need to create date objects, to do that i think i need to use simpleDateFormat buuutt I'm using a startDate and endDate as parameters, so i dont know what to do. I've got another method that returns an int for number of days between them. Sorry I'm still an … | |
Hi guys I'm trying to learn animation/graphics(they're synonymus to me) what would really help me is a working model of a line turning on an intersection. I've searched around and all i can find is clocks and stuff but all i want is the basic code to cause a line … | |
Hi guys, I'm really new to graphics and im trying to pick it up but struggling with a few points. Can someone provide some code on how i can set where a graphics shape should be created/spawn? eg like (32, 11) 32 pixels on the horizontal axis and 11 pixels … | |
Hey guys, having a bit of a problem with validating some really basic strict html forms. Below (in the code tags) are the validators comments. [CODE] character data is not allowed here <option value="d" />d/ Talking</option> end tag for element "option" which is not open <option value="d" />d/ Talking</option> [/CODE] … | |
Okay I've got 2 more problems for you guys! 1. I have to insert images using css (so im using background img) which works fine, and i've background-positioned it right, which is fine, but obviously the text goes over it. How can i change it so the text stops before … | |
Hi, quite new to css and as part of an assignment we have to create a set html page to look like it should using css. My problem(the relevant code is provided), is that the menu at the top where it looks like: first second third fourth I need it … | |
I I'm pretty new to css, for uni we have to design this website (as specified and without moding the html) and im having trouble with a few things. I cant really post the code because none of the images will work (they are stored and passworded on the university … | |
Hi guys, why wont this work. I'm still learning and have no experience with graphics of any kind. Just trying to put the image onto the background. The link directory is right i think. [CODE] import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import javax.swing.*; //inc javax.swing.ImageIcon public class TheArea … | |
Hi guys, my lecturer has mentioned overriding the equals method before. Am I correct in saying that you override the equals method so that instead of checking if two objects have the same reference it checks their values? And therefore is it also right that there is only one code … | |
Hi guys just wanting some help with exceptions. I understand the try and catch concept but I struggle more with the throw and throws concept, it is my understanding (that may be incorrect), that you a method can be like [CODE]public class thisMethod throws whateverException[/CODE] Am I right in thinking … | |
Hi guys just wanted some clarification on two issues. Nested Loops, I just want to clarify how i should read these for example: [CODE] public void nestedForLoop() { int i = 0; int j = 0; for (i = 0; i < 10; i++) { for (j = 0; j … | |
Hi guys do you know of any sites where i can go through some java questions in preparation for a java exam. In the sort of style for example where you are provided a for loop and which isn't in the normal format and then asks you what would x … | |
Hi guys, I'm still quite new to programming and have an exam soon where we have to hand-write programs(no IDE). Never done this before, just you guys all give fantastic guidance, i wanted to see what you all thought. Any general advice would be appreciated! Theres some small things im … | |
Hi guys, I'm returning this, it is similar to how you percieve dollars, $"32.95" etc. I calculate it in cents which is an int, but the problem is the second half cuts off the 10s of cents part if the number is less than that. eg/ 32.08. Any ideas ? … | |
How do you write a driver class? i've never used one before and its sort of dropped into the spec of this program. It uses public static void main(String[] args){} right? i have 4 other classes, so what should i do? | |
I need this to try every ables[z] and the move on to another check. How can i check if its finished without finding the right word in the ables against the other array. Or if its finished and has found the word. [code] for(int i = 0; i < array1.length; … | |
How can i insert a decimal point into either an integer or a String(probably a String), 2 decimals from the right? like with money? eg/ 13922 139.22 | |
So the program I have is supposed to read from a file take that data (which is split into three parts divided by a space). These Strings need to be read and stored in an appropriate field. Now i dont know how to do this, I've tried with an array … |
The End.