Refine
All questions
351 resultsWhich method of the Integer wrapper class allows access to the primitive int value it holds?
Show answer
Define Superkey, Key, Candidate Key and Primary Key in one or two lines each.
Show answer
A parameterless wrapper class cannot convert a String into its corresponding numeric value.
Show answer
Explain the five types of constraints in the relational model with a suitable example for each.
Show answer
Thread priority levels in Java can range from 1 to 10, set using the setPriority() method.
Show answer
SQL comprises which two sub-languages?
Show answer
How can threads be created in Java? Briefly name the two approaches.
Show answer
In SQL terminology, what do relation, tuple, and attribute correspond to respectively?
Show answer
Give the wrapper class names for the primitive data types: int, float, double, long, short, byte.
Show answer
Which data type in MySQL is used to store a fixed-length character string?
Show answer
Write a Java class 'ExtendThread' that extends the Thread class, overrides run() to print 'Created a Thread' followed by counts 1 to 3, and show how to instantiate and start it from main.
Show answer
Which data type stores a variable-length character string with a maximum of n characters?
Show answer
Which of the following sectors is mentioned as a domain where database applications are commonly used?
Show answer
In the data type DECIMAL(m,d), what does 'd' represent?
Show answer
In a hospital database application, which of these would typically be stored?
Show answer
Which SQL command is used to create a new table?
Show answer
In the XYZ Shopping Website case study, the CATEGORY table's primary key is:
Show answer
Which command is used to remove an entire database from the server?
Show answer
In the PRODUCT table schema PRODUCT(Product_id, Name, Category_id, Price, Quantity, Discount, Brand, Color, Size, Seller_id, Description), Category_id in this table acts as a:
Show answer
Which command tells the MySQL server which database to use for subsequent statements?