0

programming languages Online Quiz - 210

Description: programming languages Online Quiz - 210
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

It is better to buffer a table when

  1. When a table is read infrequently

  2. When a table is linked to check tables

  3. When a table is read frequently and the data seldom changes

  4. When a single record is to be picked up


Correct Option: C

Data element is an example of:

  1. Physical Definition

  2. Business Object

  3. Semantic Domain

  4. Technical Domain


Correct Option: C

In Inner and outter join

  1. Buffers are always used

  2. Choice of buffer can be made to use

  3. Buffers are always bypassed

  4. None of above


Correct Option: C

What is the difference between Synchronous and Asynchronous updates?

  1. In synchronous processing, the program waits: control returns to the program only when the task has been completed

  2. In asynchronous processing, the program does not wait: the system returns control after merely logging the request for execution

  3. In asynchronous processing, the program waits: control returns to the program only when the task has been completed

  4. In synchronous processing, the program does not wait: the system returns control after merely logging the request for execution


Correct Option: A,B

Which of the following lines will compile without warning or error

  1. float f=1.3;

  2. int i=10;

  3. char c="a";

  4. byte b=257;

  5. boolean b=null;


Correct Option: B

A byte can be of what size

  1. -128 to 127

  2. (-2 power 8 )-1 to 2 power 8

  3. -255 to 256

  4. depends on the particular implementation of the Java Virtual machine


Correct Option: A

Which of the following most closely describes a bitset collection?

  1. A class that contains groups of unique sequences of bits

  2. A method for flipping individual bits in instance of a primitive type

  3. An array of boolean primitives that indicate zeros or ones

  4. A collection for storing bits as on-off information, like a vector of bits


Correct Option: D
  1. No

  2. Case sensitivity is compiler-determined

  3. Yes

  4. Don't Know


Correct Option: C

What does the code "cout<

  1. 0

  2. 1

  3. Compiler error: Lvalue required

  4. Don't Know


Correct Option: B

If the program completes executing successfully, what value should the function main() return?

  1. 0

  2. 1

  3. void

  4. Don't Know


Correct Option: A
  1. The computer will output "0123...99"

  2. The computer will output "0123...100"

  3. The output is undefined

  4. Don't know


Correct Option: C

What is the outcome of the line of code "cout<

  1. 16

  2. 17

  3. 16.5

  4. Error


Correct Option: A
  1. A positive value

  2. A negative value

  3. Zero

  4. Compile Error


Correct Option: C
  1. Error

  2. True

  3. False

  4. Can't Say


Correct Option: C
- Hide questions