Tag: programming languages

Questions Related to programming languages

  1. addition

  2. subtraction

  3. raising to a power

  4. finding the quotient

  5. finding the lowest value


Correct Option: A,C,E
  1. Subqueries can contain GROUP BY and ORDER BY clauses

  2. Main query and subquery can get data from different tables

  3. Main query and subquery must get data from the same tables

  4. Subqueries can contain ORDER BY but not the GROUP BY clause

  5. Only one column or expression can be compared between the main query and subqeury

  6. Multiple columns or expressions can be compared between the main query and subquery


Correct Option: A,B,F
  1. SELECT TO_CHAR('ll-oct-2007'. 'miDdspth "of Month. Year') FROM DUAL:

  2. SELECT TO_CHAR(TO_DATE('ll-oct-2007'X 'miDdspth of month, year') FROM DUAL;

  3. SELECT TO_CHAR(TO_DATE('ll-oct-2007'). 'miDdthsp "of* Month. Year') FROM DUAL;

  4. SELECT TO_DATE(TO_CHAR('ll-oct-20077fiiiDdspth "of" Month. Year')) FROM DUAL:


Correct Option: C
  1. The default internal storage of dates is in the numeric format

  2. The default internal storage of dates is in the character format

  3. The RR date format automatically calculates the century from the SYSDATE function and does not allow the user to enter the century

  4. The RR date format automatically calculates the century from the SYSDATE function but allows the user to enter the century if required


Correct Option: A,B
  1. A subquery that defines a view cannot include the GROUP BY clause

  2. A view is created with the subquery having the DISTINCT keyword can be updated

  3. A view that is created with the subquery having the pseudo column ROWNUM keyword cannot be updated

  4. A Data Manipulation Language (DML) operation can be performed on a view that is created with the subquery having all the NOT NULL columns of a table


Correct Option: C,D
  1. It ignores NULL values

  2. Reversing the order of the intersected tables alters the result.

  3. The names of columns in all SELECT statements must be identical.

  4. The number of columns and data types must be identical for all SELECT statements in the


Correct Option: D
  1. 1> filename

  2. 2> /dev/null

  3. &> filename

  4. 2> filename


Correct Option: B
  1. less filename

  2. rm filename

  3. dl filename

  4. touch filename


Correct Option: B