0

programming languages Online Quiz - 181

Description: programming languages Online Quiz - 181
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. alter database archivelog;

  2. alter database open resetlogs;

  3. alter database mount exclusive

  4. alter system archive log all


Correct Option: B

Assume the database administrator wanted to limit the amount of idle time that any one user could have during a given session. Which of the following would be used to enforce such a limit?

  1. audit

  2. quota

  3. limit

  4. profile


Correct Option: D

Which command will cause an automatic commit to occur?

  1. CONNECT

  2. RENAME

  3. SELECT

  4. INSERT

  5. DELETE


Correct Option: B
  1. Defers writes for I/O optimization

  2. Uses a LRU algorithm to keep most recently used blocks in memory

  3. Writes to database redo log files as people COMMIT data

  4. Writes all changed (i.e. dirty) buffers to datafiles


Correct Option: C

Which statement about the LGWR is false?

  1. There is only one redo log writer per instance

  2. A commit confirmation may be issued before a transaction has been recorded in the redo log file

  3. During long transactions Oracle can flush data to the redo logs before it is committed

  4. An Oracle instance cannot survive without a redo log writer


Correct Option: B

import java.lang.*; class A { public static void main(String[] args) { String s1=new String("TCS"); String s2="TCS"; System.out.println(s1==s2); System.out.println(s1.equals(s2)); } } What is the Result?

  1. Compile time error

  2. false true

  3. true false

  4. true true


Correct Option: B

import java.lang.*; class A { public static void main(String[] args) { StringBuilder s1="TCS"; String s2=new String("TCS"); System.out.println(s1==s2); System.out.println(s1.equals(s2)); } } What is the Result?

  1. true false

  2. false true

  3. Compile Error

  4. false false


Correct Option: C

import java.lang.*; class A { public static void main(String[] args) { StringBuilder s1=new StringBuilder("TCS"); StringBuilder s2=s1; System.out.println(s1==s2); System.out.println(s1.equals(s2)); } } What is the Result?

  1. false true

  2. false false

  3. true true

  4. true false


Correct Option: C
  1. Initialization

  2. Start of Selection.

  3. At Selection-screen output

  4. At Selection-screen.


Correct Option: B
  1. Start-of- selection

  2. top-of -page

  3. End-of- Selection.

  4. End- of- page


Correct Option: C

What is system variable to handle the function codes?

  1. SY-INDEX

  2. SY-UCOMM

  3. SY-FDPOS

  4. SY-STEPL


Correct Option: B
  1. AT LAST

  2. AT TOP

  3. AT NEW OF

  4. AT END


Correct Option: A

What is output of the this code? REPORT ZTEST. field-symbols: type c. = '10'. write:/ .

  1. 10

  2. Syntax error

  3. Short dump

  4. No Value


Correct Option: C
- Hide questions