Java Online Quiz
Description: Questions about Java,Git,JUnit and SQL | |
Number of Questions: 60 | |
Created by: Amal Dixit | |
Tags: programming |
Denormalization is
Data Definition Language (DDL) statements are used to define database structure or schema
DML stands for
DDL stands for
Which SQL statement is used to insert new data in a database?
What is SQL Injection?
The SQL UPDATE statement can...
Which of the following are typical commands of DML?
SQL stands for:
A constraint is applied to a row and not a column
A primary key is used to uniquely identify a particular entry or row in a table.
In a one-to-one relationship, you typically use a third table as an association or join table.
DDL Statements include commands like INSERT, UPDATE, and DELETE?
Which command is used to remove a table from memory?
A subquery is a SQL query that inserts a record into a table.
Which of the following returns the number of records in the result from a SELECT query?
Which of the following retrieves all columns and all rows from the Customers table?
CRUD stands for:
Use the AS keyword to specify an alias
A join can be used to combine information from two separate tables
What is required of a primary key? (Select all that apply)
What do we call a field that references a field in another table?
Insert is a part of this sublanguage
UPPER(), ABS(), CONCAT() are examples of
MAX(), SUM(), and COUNT() are examples of
Referential integrity stipulates
In SQL, NULL values
The UNIQUE constraint requires that values must be
A sequence is
What do we call a primary key that consists of multiple columns in a table?
Which of the following statements are correct about JUnit?
Which of the following annotation causes that method to be run before each Test method?
Which of the following classes implement the Map interface? (Choose all that apply)
What is garbage collection?
What is test-driven development?
What is unit testing?
What is JUnit?
A mock is used to
What language does Gradle use for declaring the project configuration
Which interface does not extend the Collection interface?
A class can be abstract, even if all of its methods are concrete.
The equals() method is equivalent to the == operator, unless overridden
Java can be run on any machine that has a JVM
What is the standard signature for the main method?
An unchecked exception must be dealt with in a try/catch block.
A sub class can access private members of the super class.
Method overriding is
How do you get the size of an array?
Which of the following are Short-Circuit?
Serializable interface methods must be implemented in the class it extends.
Under what situation do you obtain a default constructor?
The changes to the instance variables of one object also have an effect on the instance variables of the other object.
A try-finally block is legal and does not require a catch block.
What is the root interface of the Collections API?
Which one of these is NOT a benefit provided by an IDE?
What is the purpose of the Java compiler?
What is the proper format for assigning a value to a variable?
What is the difference between the = and == operators?
If one class can be described as a "specific example" of another, that relationship can be described through inheritance