Home Answers Questions Question and Answers


 
 

Latest Programming Questions askedAsk your question?

find zip file length lessthen 5MB  March 4, 2013 at 8:23 AM
import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; public cla... View Questions/Answers

How to set target to videos??  March 3, 2013 at 7:02 PM
Hi, i am developing project in HTML 5 with videos so, i am dispalaing videos in two table coloumn,if the video in one coloumn is clicked,it should be played in another coloumn. plzz suggest any idea. thanxx in Advance. ... View Questions/Answers

extract data fom table when a button is clicked in front end page using mysql5.0 and tomcat6.0  March 3, 2013 at 6:51 PM
sir, i want to extract data from table which is stored in mysql5.0 databse, when a button is clicked in front end page using tomcat6.0 ... View Questions/Answers

Advertisement

insert excel sheet into mysql as a table  March 3, 2013 at 6:47 PM
sir, i want to import an excel sheet into mysql5.0 database as in the table format using tomcat 6.0 by jsp ... View Questions/Answers

error  March 3, 2013 at 6:07 PM
whats the error.............. import java.util.Scanner; public class g { public static void main(String[] args) { Scanner s=new Scanner(System.in); int d,x,y; System.out.println("Enter the first number"); x=s.nextInt(); S... View Questions/Answers

how to write function of copy from one to another location in this code  March 3, 2013 at 11:32 AM
I need to write a code to copy a file from one location to another using browse button in it. i have written code for the browse button. please help me to add code for copy using swing!! thanks in advance.** /* For Browse button. */ package com.design; i... View Questions/Answers

JTextfields working with JTextArea  March 3, 2013 at 6:40 AM
I have 2 database tables one is history the other is patient, How can I get which every patient is being displayed on the text fields To have their history on History table displayed on a Jtextarea ... View Questions/Answers

Learn Spring Framework from where?  March 2, 2013 at 11:09 PM
I want to learn the Spring Framework, but don√Ę‚?¨‚?Ęt know where to start learning. I have found the documentation but it does not have the easy to learn examples. So, these are not good for beginners. Could someone suggest me the best url to start learning the Spring Framework? ... View Questions/Answers

Time limit for a question from database injsp  March 2, 2013 at 9:21 PM
Hellu sir i am creating a quiz app in jsp and have here two modules admin and user here admin enter the question and users answer these i want to add a time limit for a question which is fetched from database after the time over i want to show the next question Please help me! Thanks in advanc... View Questions/Answers

active window means  March 2, 2013 at 6:53 PM
active window means what? ... View Questions/Answers

1024 bytes equals to  March 2, 2013 at 6:51 PM
1024 bytes equals to ... View Questions/Answers

can a volatile memory loss data on power cut  March 2, 2013 at 6:48 PM
Can a volatile memory loss ache and main memory content on power cut? ... View Questions/Answers

What is E-Learning?  March 2, 2013 at 6:33 PM
What is E-Learning? ... View Questions/Answers

What is E-Learning?  March 2, 2013 at 6:33 PM
What is E-Learning? ... View Questions/Answers

What is hacker?  March 2, 2013 at 6:30 PM
What is hacker? ... View Questions/Answers

different types of storage devices of a computer  March 2, 2013 at 6:26 PM
What are the different types of storage devices of a computer? ... View Questions/Answers

Examples of optical disk  March 2, 2013 at 6:23 PM
What is the example of Optical disk? Please give me at least one example of it. ... View Questions/Answers

Main job of cpu  March 2, 2013 at 6:19 PM
What is the Main Job of CPU? ... View Questions/Answers

Main memory is also known as  March 2, 2013 at 6:14 PM
Main memory of a computer is also known as ? ... View Questions/Answers

Define computer software.  March 2, 2013 at 6:12 PM
How to define a computer software? ... View Questions/Answers

connection between your computer and local isp  March 2, 2013 at 6:07 PM
What is the connection between your home computer and local ISP called? ... View Questions/Answers

which part of the cpu does math calculations  March 2, 2013 at 5:29 PM
which part of the cpu does math calculations logical calculation? ... View Questions/Answers

What is procedure  March 2, 2013 at 5:23 PM
What is procedure in computers? What are the primary categories of procedures? ... View Questions/Answers

Where i can use UNIX Operating System?  March 2, 2013 at 1:03 PM
Where i can use UNIX Operating System? ... View Questions/Answers

What was ENIAC  March 2, 2013 at 12:58 PM
What was ENIAC? ... View Questions/Answers

One byte consists of how many bits?  March 2, 2013 at 12:55 PM
One byte consists of how many bits? ... View Questions/Answers

What is the use of Bluetooth technology  March 2, 2013 at 12:49 PM
What is the use of Bluetooth technology? ... View Questions/Answers

basic function of computer system  March 2, 2013 at 12:45 PM
What is the basic function of computer system? ... View Questions/Answers

how to measure data transfer speed  March 2, 2013 at 12:42 PM
how to measure data transfer speed? ... View Questions/Answers

GIGO Full Form  March 2, 2013 at 12:39 PM
What is Full form of GIGO? ... View Questions/Answers

What is parallel port  March 2, 2013 at 12:33 PM
What is parallel port and its used for what? ... View Questions/Answers

where are program instructions and data values stored  March 2, 2013 at 12:29 PM
Where are program instructions and data values stored in Computer? ... View Questions/Answers

How to Validate dynamically created text box in HTML using Javascript  March 2, 2013 at 11:59 AM
Here is the HTML code to create text boxes dynamically. It works properly in IE but not in fire fox and chrome. how to make this to work in all browsers. And also how to validate the text boxes created dynamically. <html> <head> <... View Questions/Answers

Why NSMutableDictionary  March 2, 2013 at 11:44 AM
Why NSMutableDictionary is used for? ... View Questions/Answers

ios work with nsdictionary  March 2, 2013 at 11:26 AM
How to work with NSDictionary in Objective C? ... View Questions/Answers

Help me to write this simple java frame program  March 1, 2013 at 6:51 PM
I want to write a Java program for.... To create a frame with 4 text fields;name,street,city and pin;with suitable labels. Also add a button "OK". After enter values and when OK is clicked, corresponding values to be appeared. let it appear below th... View Questions/Answers

recorder screen in java  March 1, 2013 at 4:12 PM
Dear friends, how can I capture the screen in real time? best regards Riccardo Susca ... View Questions/Answers

recorder screen in java  March 1, 2013 at 4:12 PM
Dear friends, how can I capture the screen in real time? best regards Riccardo Susca ... View Questions/Answers

search for particular keyword in the folder documents  March 1, 2013 at 12:42 PM
i am having interface in which i have to enter some keyword through text box and provide path to particular folder. it is a stand alone application so i have to search particular keyword in the folder having document like in pdf , word or excel. and this i have to do through php. ... View Questions/Answers

To write a Java program To create a frame with 4 fields;name,street,city,pin;with suitable table  March 1, 2013 at 11:31 AM
I want to write a Java program To create a frame with 4 fields;name,street,city,pin;with suitable table. Also add a button "OK". when it is clicked, corresponding values to be appeared in text field Can someone write... View Questions/Answers

Java program to create a frame with 4 fields;name,sreet,city,pin;with suitable table  March 1, 2013 at 8:00 AM
Java program to create a frame with 4 fields;name,street,city,pin;with suitable table. Also add a button "OK". whe it is clicked, corresponding values to be appeared in text field ... View Questions/Answers

query  February 28, 2013 at 8:47 PM
Create the following tables and insert 3 appropriate records in each table: Employee(empid, empname, empstreet, empcity) Works(empid, companyid, salary) Locatedin(companycode, compname, compcity) Find the name of all employees who work for a c... View Questions/Answers

query  February 28, 2013 at 8:47 PM
Create the following tables and insert 3 appropriate records in each table: Employee(empid, empname, empstreet, empcity) Works(empid, companyid, salary) Locatedin(companycode, compname, compcity) Find the name of all employees who work for a c... View Questions/Answers

query  February 28, 2013 at 8:47 PM
Create the following tables and insert 3 appropriate records in each table: Employee(empid, empname, empstreet, empcity) Works(empid, companyid, salary) Locatedin(companycode, compname, compcity) Find the name of all employees who work for a c... View Questions/Answers

query  February 28, 2013 at 8:47 PM
Create the following tables and insert 3 appropriate records in each table: Employee(empid, empname, empstreet, empcity) Works(empid, companyid, salary) Locatedin(companycode, compname, compcity) Find the name of all employees who work for a c... View Questions/Answers

type casting  February 28, 2013 at 1:27 PM
int n=20; n=sizeof((char)(float)n); what is n value?? ... View Questions/Answers

RUNNING EJB PROGRAMS  February 28, 2013 at 1:09 PM
how to run ejb programs using weblogic in windowsxp ... View Questions/Answers

how to creating hbm files in hibernate using Myeclipse  February 28, 2013 at 12:51 PM
how to creating hbm files in hibernate using Myeclipse? ... View Questions/Answers

Regular expression  February 28, 2013 at 12:27 PM
can some one explain how below regex works, ndmurl1=${ndmurl#${ndmurl%??????}} ... View Questions/Answers

multithreaded program help!!!!  February 28, 2013 at 6:02 AM
Write a multithreaded program that calculates various statistical values for a list of numbers. This program will be passed a series of numbers on the command line and will then create three separate worker threads. One thread will determine the average of the numbers, the second will determine t... View Questions/Answers

Need Help With This Scenario  February 28, 2013 at 4:34 AM
The bonnet of a car is opened to determine if there is anything wrong with the engine. Firstly, the radiator water is checked. If the radiator water is below the minimum indicator level, it is refilled. Otherwise it is ignored and the engine oil is checked instead. If the oil is dirty, the en... View Questions/Answers

Need Help With This Scenario  February 28, 2013 at 4:34 AM
The bonnet of a car is opened to determine if there is anything wrong with the engine. Firstly, the radiator water is checked. If the radiator water is below the minimum indicator level, it is refilled. Otherwise it is ignored and the engine oil is checked instead. If the oil is dirty, the en... View Questions/Answers

Struts 2 tutorial for beginners with examples  February 27, 2013 at 11:40 PM
Where is the Struts 2 tutorial for beginners with examples on your website. Thanks ... View Questions/Answers

Struts 2 Video Tutorial  February 27, 2013 at 11:14 PM
I think its easy to learn from Struts 2 Video Tutorial. What is the url of Struts 2 Video Tutorial on roseindia.net website? Is there any source code of the tutorial also? Thanks ... View Questions/Answers

example to booking ticket cinema using array  February 27, 2013 at 9:36 PM
example to booking ticket cinema using array ... View Questions/Answers

booking ticket cinema  February 27, 2013 at 9:35 PM
example of coding for booking ticket cinema ... View Questions/Answers

booking ticket cinema in java  February 27, 2013 at 9:20 PM
coding for booking ticket cinema in java ... View Questions/Answers

booking ticket cinema  February 27, 2013 at 9:14 PM
coding for booking ticket cinema in java ... View Questions/Answers

booking ticket cinema  February 27, 2013 at 9:12 PM
coding for booking ticket cinema in java ... View Questions/Answers

How to send boolean array to servlet from java application?  February 27, 2013 at 8:49 PM
Hi, I want to send randomly generated array of boolean values. I used Random function and boolean array length to generate values. My question is I want to send this data to servlet using Post method. I am then deploying that servlet on Google App Engine. How should I do that? Tha... View Questions/Answers

what is class methods in objective c  February 27, 2013 at 12:53 PM
What is class methods in objective c? Explain the class method of objective c with the help of an example. ... View Questions/Answers

what is class methods in objective c  February 27, 2013 at 12:53 PM
What is class methods in objective c? Explain the class method of objective c with the help of an example. ... View Questions/Answers

Insertion Sort Problem  February 27, 2013 at 11:16 AM
So I have this in a class file. It is supposed to be an insertion sorter: int min, index=0, temp; for(int i=0;i<sorted.length;i++){ min=sorted[i]; for(int j=i+1;j<sorted.length;j++){ if(sorted[j]<min){ inde... View Questions/Answers

Shortest the program as possible but output will not change  February 27, 2013 at 8:36 AM
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #define MAX_BUF 50 // Size of the buffer to hold intermediate result #define CUTOFF 18 // Quick sort cutoff typedef int (*Comparable) ( const void *a, cons... View Questions/Answers

Shortest the program as possible but output will not change  February 27, 2013 at 8:36 AM
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #define MAX_BUF 50 // Size of the buffer to hold intermediate result #define CUTOFF 18 // Quick sort cutoff typedef int (*Comparable) ( const void *a, cons... View Questions/Answers

Create a multi-thread program that calcualtes values for a list of numbers  February 27, 2013 at 5:20 AM
Write a multithreaded program that calculates various statistical values for a list of numbers. This program will be passed a series of numbers on the command line and will then create three separate worker threads. One thread will determine the average of the numbers, the second will determine t... View Questions/Answers

patterns  February 27, 2013 at 12:51 AM
1 212 32123 4321234 543212345 I Want Java code for this pattern.................. ... View Questions/Answers

poonik  February 27, 2013 at 12:13 AM
sir plz tell me the logic in java if we input grades(A,B,C..) in marksheet then automatically it converts our grade into marks (1,2,3..)and giva a total marks in marks format(1,2,3) ... View Questions/Answers

Issue when deploying mdb jar in weblogic  February 26, 2013 at 10:16 PM
Hi, I have written the code to read messages from queue.But when i deploy this in weblogic 9.2 after creating a jar file it is showing unmarshaller failed Below is the code MyMdb.java package com.mdb.ejb; import javax.ejb.EJBException; import javax.ejb.MessageDrive... View Questions/Answers

database  February 26, 2013 at 10:13 PM
hi i want to develop one patient database can any one provide me the guide...... ... View Questions/Answers

Java Dictionary-Sort,Extract  February 26, 2013 at 10:12 PM
*I need to make an English(other language) dictionary by collecting english/other language words in a text file;then using that text file I need to sort the words collected in alphabetical order using some hashing or other technique in another text file without occurring of the same word twic... View Questions/Answers

Storing the Color Image pixel values into 2d array  February 26, 2013 at 8:18 PM
i want to store the color image pixel values into 2d array and agiain the array have to store into a text file using java... plz provide the code. ... View Questions/Answers

Java Code Explanation  February 26, 2013 at 7:36 PM
Can you please Explain the following code : import java.util.*; class Difference { public static void main(String args[]) { int n,i,res=0,sum=0,dif; System.out.println("Enter the number"); Scanner in= new Scanner(System.in); ... View Questions/Answers

Java Code Explanation  February 26, 2013 at 7:36 PM
Can you please Explain the following code : import java.util.*; class Difference { public static void main(String args[]) { int n,i,res=0,sum=0,dif; System.out.println("Enter the number"); Scanner in= new Scanner(System.in); ... View Questions/Answers

Itried all possible ways still getting thesame error  February 26, 2013 at 7:02 PM
java.sql.SQLException: Io exception: Got minus one from a read call at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146) at oracle.jdbc.driver.DatabaseError.throwSqlException(Databas... View Questions/Answers

panelGrid header  February 26, 2013 at 6:29 PM
Hi, I am reading through the introduction from the following two link regarding the panelGrid tag. http://www.roseindia.net/jsf/panelGrid.shtml http://roseindia.net/jsf/apache-myfaces-tomahawk/tomahawkpanelGridtag.shtml I have question how we can generate... View Questions/Answers

Get GMT from IP  February 26, 2013 at 5:35 PM
How do I get GMT value from IP address?? Thanx in Adv. ... View Questions/Answers

problem in forwarding response  February 26, 2013 at 1:58 PM
My response is not getting displayed. i have used RequestDispatcher.forward,RequestDispatcher.include and response.sendRedirect.There is no error on console nor any javascript error is shown.Actually Control is not going to any page.I have even tried to submit the form using script tag but same p... View Questions/Answers

Java - How to read a string line per line  February 26, 2013 at 7:59 AM
Java - How to read a string line per line I am trying to find the tutorial for reading the String line per line. I have a String data, which contains many lines. What is the best way to read the big String line per line? Is there any API available in Java for this purpos... View Questions/Answers

Nible is  February 25, 2013 at 5:40 PM
Nible is - 1. Double of byte 2. Half of byte 3. Ten times of byte 4. Five Times of byte 5. All of the above ... View Questions/Answers

a computer network is referred as  February 25, 2013 at 5:37 PM
The structure of interconnecting of nodes of --- a computer network is referred as 1. Network topology 2. Internet 3. Local Area network 4. Wide Area network 5. All of these ... View Questions/Answers

The input device used by computer is  February 25, 2013 at 5:31 PM
The input device used by computer is 1. Motherboard 2. Central Processing Unit 3. Keyboard 4. System Unit 5. All of the above ... View Questions/Answers

The product of data processing is  February 25, 2013 at 5:28 PM
The product of data processing is 1. Data 2. Information 3. Software 4. Computer 5. All of the above ... View Questions/Answers

The CPU(Central processing unit)consist of  February 25, 2013 at 5:26 PM
The CPU(Central processing unit)consist of 1. Input, Output, and Processing 2. Control Unit, Primary storage, and Secondary storage 3. Control unit, arithmetic logic unit, and primary storage 4. All of the above 5. None of these ... View Questions/Answers

One-thousand of a second is called  February 25, 2013 at 5:21 PM
One-thousand of a second is called- 1. Microsecond 2. Millisecond 3. Hour 4. Minute 5. All of the above ... View Questions/Answers

Alternate facilities of programs, data files, hardware equipment, etc.  February 25, 2013 at 5:18 PM
Alternate facilities of programs, data files, hardware equipment, etc. used in case the original one is destroyed, lost or fail to operate is..? 1. Backup 2. Forehead 3. Delete 4. All of the above 5. None of these ... View Questions/Answers

One-Millionth of a second is referred as  February 25, 2013 at 5:14 PM
One-Millionth of a second is referred as -? 1. Microsecond 2. Millisecond 3. Hour 4. Minute 5. All of the above ... View Questions/Answers

Storage medium that loses its contents  February 25, 2013 at 5:11 PM
A Storage medium that loses its contents in the events of power failure is called? 1. Volatile storage 2. Non volatile storage 3. Permanent storage 4. All of the above 5. None of these ... View Questions/Answers

A LSI chip contains the entire CPU of computer except main memory is called  February 25, 2013 at 5:07 PM
A LSI chip contains the entire CPU of computer except main memory is called? 1. Microprocessor 2. Hard Disk 3. Input Device 4. Output Device 5. All of the above ... View Questions/Answers

ascending order of a data hierarchy  February 25, 2013 at 5:04 PM
The ascending order of a data hierarchy is 1. Bit-byte-record-field-file-database 2. Byte-bit-field-record-file-database 3. Byte-bit-record-file-field-database 4. Bit-byte-field-record-file-database 5. All of these ... View Questions/Answers

Combining records from two or more orders files into a single ordered file is called  February 25, 2013 at 4:58 PM
Combining records from two or more orders files into a single ordered file is called? 1. Menu 2. Merging 3. Taking 4. All of the above 5. None of these ... View Questions/Answers

Computer questions for Bank PO Exams and upsc competitive exams  February 25, 2013 at 4:52 PM
Computer questions for Bank PO Exams and upsc competitive exams. These questions will help you to improve your basic knowledge of computers. characteristics of a modem computer... View Questions/Answers

characteristics of a modem computer  February 25, 2013 at 4:23 PM
Which of the following describe one or more characteristics of a modem computer? 1. An electronic device 2. A mechanical device 3. A Electro-mechanical device 4. All of these 5. None of these. ... View Questions/Answers

Transmitting messages over net  February 25, 2013 at 4:21 PM
A method whereby messages to be transmitted between computers are all sent to a central computer, which gathers them and routes them to the appropriate destinations is known as - 1. Message switching 2. Message Delete 3. Message Accept 4. All of the above 5. None of these... View Questions/Answers

from a list of options perform a desired action is referred as  February 25, 2013 at 4:18 PM
A list of options from which a program user can select anyone in order to perform a desired action is referred as - Menu Index Directory All of these None of these ... View Questions/Answers

Electronic spreadsheets are useful in situation  February 25, 2013 at 4:14 PM
Electronic spreadsheets are useful in situation where relatively ---- data must be input.. 1. Small, 2.Large, 3. No, 4. All of the above 5. None is true ... View Questions/Answers

Function of control unit in the CPU  February 25, 2013 at 4:12 PM
Function of control unit in the CPU is - 1. To decode program instructions, 2. To transfer data to primary storage, 3. To perform logical operations, 4. To store program instructions, 5. All of the above. ... View Questions/Answers

primary storage  February 25, 2013 at 4:11 PM
Which of the following is not true for the primary storage? a) It is the part of CPU, b) It allows very fast access of data, c) It is relatively more expensive then other storage devices, d) Can be removed and transported, e) All of the Above ... View Questions/Answers

advantage of stored programs  February 25, 2013 at 4:10 PM
Which of the following is an advantage of stored programs? a) Reliability b)Reduction in operation costs c) The computers becoming general purpose D) All of the above E) None of these... View Questions/Answers

Student database  February 25, 2013 at 3:51 PM
Create a class Student with Name, Gender, and Date of Birth and Input Student and print as ?Dear Mr/Mrs Name, your Age is 99 Years?. Mr/Mrs - only one should be displayed based on their age and Gender ... View Questions/Answers

DMCA.com