Tag: technology

Questions Related to technology

  1. The entry is a local socket

  2. The entry is a first-in,first-out (FIFO) special file

  3. The entry is an ordinary file

  4. Purged Permissions


Correct Option: B

What error we get when we press enter with out entering any value in map

  1. MAPFAIL

  2. ASRA

  3. ASRB

  4. AEI9


Correct Option: A

how we position the cursor in a cics pogrem statically

  1. send map() cursor()

  2. cursor()

  3. send ()

  4. none of the above


Correct Option: A

Which of the following queries can you use to search for employees with the pattern 'A_B' in their names?

  1. SELECT last_name FROM employees WHERE last_name LIKE '%A_B%' ESCAPE '\';

  2. SELECT last_name FROM employees WHERE last_name LIKE '%A_B%' ESCAPE;

  3. SELECT last_name FROM employees WHERE last_name LIKE 'A_B%' ESCAPE '%';

  4. SELECT last_name FROM employees WHERE last_name LIKE '%A_B%' ESCAPE '\';


Correct Option: D

You would like to display the system date in the format "Monday, 01 June, 2001". Which SELECT statement should you use?

  1. SELECT TO_DATE (SYSDATE, 'FMDAY, DD Month, YYYY') FROM dual;

  2. SELECT TO_CHAR (SYSDATE, 'FMDD, DY Month, YYYY') FROM dual;

  3. SELECT TO_CHAR (SYSDATE, 'FMDay, DD Month, YYYY') FROM dual;

  4. SELECT TO_CHAR (SYSDATE, 'FMDY, DDD Month, YYYY') FROM dual;


Correct Option: C
  1. DELETE employees;

  2. DESCRIBE employees;

  3. ROLLBACK TO SAVEPOINT C;

  4. ALTER TABLE employees SET UNUSED COLUMN sal;

  5. GRANT SELECT ON employees TO SCOTT;


Correct Option: C,D

Which object privileges can be granted on a view?

  1. none

  2. DELETE, INSERT, SELECT

  3. ALTER, DELETE, INSERT, SELECT

  4. DELETE, INSERT, SELECT, UPDATE


Correct Option: D

AI Explanation

To answer this question, we need to understand the concept of object privileges and views.

Object privileges are permissions that can be granted to users on database objects such as tables, views, or procedures. These privileges determine the actions that a user can perform on the object, such as SELECT, INSERT, UPDATE, or DELETE.

A view is a virtual table created from the result of a query. It does not contain any data itself but presents data from one or more underlying tables. Users can interact with views as if they were regular tables, but the underlying data is not directly modified.

In the given options, the correct answer is D. DELETE, INSERT, SELECT, UPDATE. This means that users can be granted the privilege to perform DELETE, INSERT, SELECT, and UPDATE operations on the view. With these privileges, users can modify and retrieve data from the view, just as they would with a regular table.

Let's go through each option to understand why it is correct or incorrect:

Option A) none - This option is incorrect because users can be granted object privileges on views. Option B) DELETE, INSERT, SELECT - This option is incorrect because it does not include the UPDATE privilege, which allows users to modify data in the view. Option C) ALTER, DELETE, INSERT, SELECT - This option is incorrect because it includes the ALTER privilege, which is not applicable to views. The ALTER privilege is used for modifying the structure or properties of database objects, such as tables or procedures. Option D) DELETE, INSERT, SELECT, UPDATE - This option is correct because it includes all the necessary privileges (DELETE, INSERT, SELECT, and UPDATE) that can be granted on a view.

Therefore, the correct answer is D. DELETE, INSERT, SELECT, UPDATE. This option is correct because it includes all the privileges that can be granted on a view.

  1. Dennis Ritchie

  2. Bjarne Stroustrup

  3. James Gosling

  4. Paul Allen


Correct Option: C