Tag: technology

Questions Related to technology

  1. a) When declaring arguments length is not allowed.

  2. b) When declaring arguments each argument must have a mode specified.

  3. c) When declaring arguments each argument must have a length specified.

  4. d) When declaring a VARCHAR2 argument it must be specified.


Correct Option: A
  1. a) In the package body.

  2. b) In the data base triggers.

  3. c) In the package specification.

  4. d) In the procedures declare section using the exact name in each.


Correct Option: A
  1. a) The COMMIT and ROLLBACK commands are allowed in the packaged function.

  2. b) You can not use packaged functions in a query statement.

  3. c) The packaged function cannot execute an INSERT, UPDATE, or DELETE statement against the table that is being queried.

  4. d) The packaged function can execute and INSERT, UPDATE, or DELETE statement against the table that is being queried if it is used in a subquery.

  5. e) The packaged function can execute an INSERT, UPDATEM or DELETE statement against the table that is being queried if the pragma RESTRICT REFERENCE is used.


Correct Option: C
  1. a) GRANT SELECT ON ADD_PLAYER TO PUBLIC;

  2. b) GRANT EXECUTE ON ADD_PLAYER TO PUBLIC;

  3. c) GRANT INSERT ON PLAYER TO PUBLIC;

  4. d) GRANT EXECUTE, INSERT ON ADD_PLAYER TO PUBLIC;

  5. e) REVOKE INSERT ON PLAYER FROM PUBLIC;


Correct Option: B,E

Which of the following is not a java keyword?

  1. assert

  2. interface

  3. extend

  4. transient


Correct Option: C

AI Explanation

To answer this question, we need to understand the concept of Java keywords.

Java keywords are reserved words that have specific meanings and purposes in the Java programming language. These keywords cannot be used as identifiers (such as variable names, class names, or method names) because they are already predefined in the language.

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

Option A) assert - This option is incorrect because "assert" is a Java keyword used for assertions in the code.

Option B) interface - This option is incorrect because "interface" is a Java keyword used to define an interface, which is a collection of abstract methods.

Option C) extend - This option is correct because "extend" is not a Java keyword. "extend" is used in Java to create a subclass and inherit properties and methods from a superclass, but it is not a reserved keyword.

Option D) transient - This option is incorrect because "transient" is a Java keyword used to indicate that a variable should not be serialized during object serialization.

The correct answer is Option C) extend. This option is correct because "extend" is not a Java keyword.

  1. a) When declaring arguments length is not allowed.

  2. b) When declaring arguments each argument must have a mode specified.

  3. c) When declaring arguments each argument must have a length specified.

  4. d) When declaring a VARCHAR2 argument it must be specified.


Correct Option: A
  1. Tells you who's logged in, and what they're doing

  2. Tells you when the user last logged

  3. Lets you change your password

  4. None of the above


Correct Option: A
  1. a) Trap it with a Handler

  2. b) Propagate it to the Calling Environment

  3. c) a & then b

  4. d) b & then a


Correct Option: C