A question bank for every class and subject
Practice questions, with answers and explanations included
794 questions available
Refine
All questions
794 resultsConvert: 3 MB = ______ GB.
Show answer
In Object Oriented Programming, a program is viewed as:
Show answer
Write a SQL query to display the names of all products from a table named GYM.
Show answer
Convert: 4 MB = ______ GB.
Show answer
A class is best described as:
Show answer
Write a SQL query to display names of all products from table GYM with UnitPrice less than 20000.
Show answer
Convert: 5 MB = ______ GB.
Show answer
An object is:
Show answer
Write SQL statements for the following on table GYM(PrCode, PrName, UnitPrice, Manufacturer): (a) Display details of products with unit price between 20000 and 30000. (b) Display all rows sorted in descending order of unit price. (c) Apply a 10% discount reduction on the Unit Price of all products.
Show answer
Convert: 2 GB = ______ TB.
Show answer
In a class Book with data members Title, Author, Publisher and methods display() and getPrice(), the data members are also called:
Show answer
Explain the difference between DELETE and DROP commands in SQL.
Show answer
Convert: 3 GB = ______ TB.
Show answer
A special method used to initialize the data members of a class when an object is created is called a:
Show answer
Which window in NetBeans IDE is used to change the properties of a currently selected control on the form?
Show answer
Convert: 4 GB = ______ TB.
Show answer
Which of these statements about a Java constructor is TRUE?
Show answer
Controls that act as a background for other controls (e.g., Frame) are called:
Show answer
Convert: 5 GB = ______ TB.
Show answer
If a class defines only a parameterized constructor, what happens when you try to create an object without arguments, e.g., new Book()?