Class 11
Information Technology (802)
443 questions available
Refine
All questions
443 resultsWrite an SQL query to display PrName and UnitPrice of products whose manufacturer name starts with 'A' from table GYM.
Show answer
Which logical operator returns true only if BOTH connected conditions are true?
Show answer
Write an SQL query to display PrName and UnitPrice of products whose name contains the word 'Exerciser' from table GYM.
Show answer
Which method converts a String value to an int in Java?
Show answer
Write an SQL query to display Name and cost of shoes with size greater than 8 from table Shoes.
Show answer
Which method converts an integer value to a String in Java?
Show answer
Write an SQL query to display Name and cost of shoes with cost less than 2000 from table Shoes.
Show answer
In the code: if(condition) { statementBlock1; } else { statementBlock2; } — what happens if the condition evaluates to false?
Show answer
Write an SQL query to display Name and cost of shoes of type 'Sports' from table Shoes.
Show answer
Curly braces {} are mandatory around a statement block in an if statement when:
Show answer
Write an SQL query to display Name and cost of shoes with quantity in stock less than 10 from table Shoes.
Show answer
A switch statement is generally preferred over multiple if/else-if statements when:
Show answer
Write the SQL statement to display the structure of the table 'Shoes'.
Show answer
In Java, a variable must be declared before it can be used.
Show answer
Write the SQL statement to view the names of all tables in the currently selected database.
Show answer
The float data type in Java occupies 8 bytes of memory.
Show answer
Write the SQL statement to delete the table named 'Orders' from the database.
Show answer
Object Oriented Programming allows wrapping of data and methods together into a single unit, known as data encapsulation.
Show answer
Write the SQL statement to add a new column 'Games' of type VARCHAR(20) to the table 'Student'.
Show answer
Inheritance in OOP allows a programmer to give a generic name to various methods or operators.