Home
Current Affairs January 2024

What is the correct answer?

4

Comments whose starting and ending lines are different are known as

A. Inline Comments

B. Multi-line Comments

C. Single Line Comments

D. Varied line Comments

Correct Answer :

B. Multi-line Comments


Comments whose starting and ending lines are different are known as Multi-line Comments.

Related Questions

What is the correct answer?

4

What does the DROP INDEX Statement do?

A. By running this SQL statement, the transaction will be undone and the operations not yet saved to the SQL database will be undone.

B. The SQL database table's index is deleted using this SQL statement.

C. An index is created in a SQL database table with this SQL statement.

D. An existing SQL database is selected with this SQL statement. A database must be selected from several existing databases before you can perform operations on the table.

What is the correct answer?

4

Which of the following is/are transaction control commands in SQL?

A. Commit

B. Rollback

C. Both A. and B.

D. None of the above

What is the correct answer?

4

What does the DISTINCT Clause do?

A. Specify the columns of the table in this SQL clause to return distinct values.

B. By executing this SQL statement, all records in the SQL database will be deleted.

C. The data specified in this table or view is reported in this SQL statement.

D. Changes made in the SQL database transaction are permanently saved using this SQL statement.

What is the correct answer?

4

What does the following statement do?

A. Finds any values that start with a

B. Finds any values that start with a%

C. Finds any values that start with a and are at least 2 characters in length

D. All of the above

What is the correct answer?

4

BETWEEN Operator returns the TRUE value if the column value is

A. <=Value1 & >=Value2

B. <=Value1 & <=Value2

C. >=Value1 & >=Value2

D. >=Value1 & <=Value2

What is the correct answer?

4

Full form of DCL is -

A. Data Control Language

B. Data Commit Language

C. Data Common Language

D. Data Concatenate Language

What is the correct answer?

4

A Key which uniquely identifies each row in the table is known as?

A. Primary Key

B. Unique Key

C. Composite Key

D. Foreign Key

What is the correct answer?

4

We can create View in SQL using

A. CREATE statement

B. CREATE VIEW statement

C. VIEW CREATE statement

D. SQL VIEW statement

What is the correct answer?

4

In the database table, data types describe the kind of ___ that it can contain.

A. Table

B. Data

C. Number

D. None of the above

What is the correct answer?

4

Which of the following is SQL Server Date and Time Data Type?

A. timestamp

B. sql_variant

C. real

D. text

What is the correct answer?

4

What does the TRUNCATE TABLE Statement do?

A. In the database management system, this SQL statement deletes the existing database, together with all the database tables and views.

B. In this SQL statement, the data or records are inserted into an existing database table. One query statement can insert multiple records simultaneously using this statement.

C. By executing this SQL statement, all records in the SQL database will be deleted.

D. The data specified in this table or view is reported in this SQL statement.

What is the correct answer?

4

With which of the following statement(s) can the SQL sub queries be used?

A. SELECT

B. UPDATE

C. INSERT

D. All of the above

What is the correct answer?

4

____ Clause is used in Parent-child relationship in order to join two or more tables.

A. FROM

B. TO

C. WHERE

D. IN

What is the correct answer?

4

Local Temp Variable is used with which sign?

A. ?

B. @

C. #

D. &

What is the correct answer?

4

Which of the following clause cannot be optional in SQL SELECT Statement?

A. WHERE

B. GROUP BY

C. ORDER BY

D. None of the above

What is the correct answer?

4

Which clause is used to retrieve a unique element from the table?

A. SELECT UNIQUE

B. SELECT DISTINCT

C. Both A) and B)

D. None of the above

What is the correct answer?

4

How can we prevent SQL Injection attack?

A. We should pre-define the input type, input field and length of the user data to validate the input for the user authentication.

B. Access privileges should be restricted for the users

C. Administrator accounts should not be used.

D. All of the above

What is the correct answer?

4

What does the DROP TABLE Statement do?

A. The table, its structure, views, permissions, and triggers will also be deleted or removed with this SQL statement.

B. A new table in SQL is created using this SQL statement.

C. Columns in the SQL database can be created, deleted, or modified with this SQL statement.

D. A new database will be created through this SQL statement.

What is the correct answer?

4

NULL means

A. ZERO

B. -1

C. 1

D. Empty

What is the correct answer?

4

The Web SQL API is supported by

A. Opera

B. Google Chrome

C. Android Browsers

D. All of the above

What is the correct answer?

4

The ____ operator cannot be used with the sub query, but within it.

A. IN

B. INTO

C. BETWEEN

D. JOIN

What is the correct answer?

4

Full form of DDL is

A. Data Describe Language

B. Definition Data Language

C. Data Definition Language

D. Data Distinct Language

What is the correct answer?

4

Host-based IDS can be used to monitor

A. Web server logs

B. When something weird occurs

C. Both A) and B)

D. None of the above

What is the correct answer?

4

When SELECT statements used to create Views contain ____ clauses, the views cannot be updated.

A. JOIN

B. HAVING

C. GROUP BY

D. All of the above

What is the correct answer?

4

In order to delete the database, which keyword is used?

A. DROP

B. DELETE

C. ALTER

D. None of the above

What is the correct answer?

4

What does the DROP DATABASE Statement do?

A. The table, its structure, views, permissions, and triggers will also be deleted or removed with this SQL statement.

B. In the database management system, this SQL statement deletes the existing database, together with all the database tables and views.

C. A new database will be created through this SQL statement.

D. In this SQL statement, the data or records are inserted into an existing database table. One query statement can insert multiple records simultaneously using this statement.

What is the correct answer?

4

What does BOOL mean in MySQL Numeric Data Types?

A. A Boolean value is specified by this variable. When a value is nonzero, it is considered false, and zero is considered true.

B. A Boolean value is specified by this variable. When a value is nonzero, it is considered true, and zero is considered false.

C. A Boolean value is specified by this variable. When a value is nonzero, it is considered true, and zero is also considered true.

D. A Boolean value is specified by this variable. When a value is nonzero, it is considered false, and zero is also considered false.

What is the correct answer?

4

What does the following statement do?

A. Finds any values that start with or

B. Finds any value that contains only four characters and second, third characters are 'o', 'r'

C. Finds any values that have or in any position

D. None of the above

What is the correct answer?

4

LIKE clause can be used with

A. % operator

B. _ operator

C. NOT operator

D. All of the above

What is the correct answer?

4

Select the correct statement.

A. DDL consist of 4 commands

B. DCL consist of 2 commands

C. TCL consist of 5 commands

D. DML consist of 3 commands