A question bank for every class and subject
Practice questions, with answers and explanations included
794 questions available
Refine
All questions
794 resultsWhich SQL statement removes data (rows) from a table?
Show answer
Differentiate between LAN and WAN.
Show answer
In Java, array indices start from:
Show answer
Which operator is used for pattern matching of strings in SQL?
Show answer
Differentiate between LAN and MAN.
Show answer
For an array declared as double[] marks = new double[5];, what is the valid range of index values?
Show answer
Which wildcard character in the LIKE clause matches exactly one character?
Show answer
Differentiate between MAN and WAN.
Show answer
Which property of an array gives its size (number of elements)?
Show answer
Which operator is used to fetch records where a column value lies within a specified range, inclusive of the bounds?
Show answer
Differentiate between Internet and WWW.
Show answer
What exception is thrown when an array is accessed using an index outside its valid range?
Show answer
Which logical operator returns TRUE only when both conditions in a WHERE clause are TRUE?
Show answer
What will be the final value of sum1 after this code executes? int sum1 = 3; sum1 = sum1 + 1; sum1 = sum1 + 1; sum1 = sum1 + 1; sum1 = sum1 + 1;
Show answer
A method in Java is best described as:
Show answer
Which operator/keyword must be used to test whether a column value IS a NULL value (since = NULL is undefined)?
Show answer
Consider: int anumber = 14; if (anumber >= 10) jLabel1.setText("first string"); else jLabel1.setText("second string"); jLabel2.setText("third string"); What is displayed in jLabel1 and jLabel2?
Show answer
Which return type is used for a method that does NOT return any value?
Show answer
Which SQL clause is used to sort the result set of a query?
Show answer
What is wrong with the test condition: if( (ctr < 5) && (ctr > 30) )