0

programming languages Online Quiz - 86

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

Referential integrity refers to what

  1. The enforced uniqueness of row in a table

  2. The enforced uniqueness of column in a table

  3. Ensuring that a foreign key attribute cannot be null

  4. The Enforced synchronization of primary key and foreign key values


Correct Option: D

Python can be easily integrated with which of the following?

  1. C,C++

  2. Active X,Java

  3. Dotnet

  4. Options 1 and 3

  5. Options 1 and 2


Correct Option: E

Which of the following is true about python?

  1. Fixing mistakes in programs is slow

  2. It does not have debugging features built-in

  3. Python in interpreted language can be tested as soon as it is wriiten,without waiting for its code to compile

  4. It doesn't provide interface to major Databases

  5. It has less text manipulation feature


Correct Option: C

What is the output? X=10 while X; X=X+1 if X%2 !=0:continue Print X

  1. 1 23 4 5

  2. 8 6 4 2 0

  3. 8 7 6 5 4

  4. 4 5 6 7 8

  5. 0 2 4 6 8


Correct Option: B

The important feature of python function?

  1. def

  2. lambda

  3. filter

  4. tokens

  5. Options 1,2 and 3


Correct Option: E

Companies that use Python?

  1. Yahoo

  2. HP

  3. Google

  4. Linux Weekly News

  5. Yahoo,Google and Linux Weekly News


Correct Option: E

HISTOGRAM Statement is uesd to read database field defined as

  1. Descriptor

  2. Super Descriptors

  3. Sub Descriptors

  4. Any Column


Correct Option: A,B,C
  1. A processing loop to be initiated

  2. Provide access to any database fields

  3. Process the column values

  4. Returns the number of rows


Correct Option: A,D

Starting and ending values may be specified using the keywords

  1. STARTING and ENDING

  2. Cannot be Specifed

  3. THRU

  4. None of the above


Correct Option: A,C
  1. in an online exchange between several open source developers

  2. over a long holiday weekend

  3. as a commercial package

  4. None of the above


Correct Option: B
  1. Sets all properties to their initial value

  2. Sets all properties to null

  3. Repopulates all properties from the request parameters

  4. None of the above


Correct Option: D

Each Struts Action element is uniquely identified by its

  1. Input attribute

  2. Name attribute

  3. Page attribute

  4. Path attribute


Correct Option: D

The name of the Application Resources file is set by the servlet init-param named

  1. application

  2. resources

  3. ApplicationResources

  4. messages


Correct Option: A

The validating init-param of the ActionServlet is used to

  1. Bypass calls to the ActionForm validate method

  2. Bypass validation of the Struts configuration file

  3. Generate an error message if an unknown message key is used

  4. None


Correct Option: B
  1. Use an asterisk for the path property

  2. Set the "default" property of the mapping to "true"

  3. Set the "unknown" property of the mapping to "true"

  4. Set the "missing" init-param of the ActionServlet to the mapping's path


Correct Option: C

In Struts 1.1, you can change how Struts populates a form by

  1. Overriding the populate method of the ActionForm

  2. Overriding the processPopulate method of the Request Processor

  3. Overriding the populateBean method of the ActionMapping

  4. None


Correct Option: B

The tag is:

  1. Always converts HTML markup to entity equivalents, like <

  2. Never converts HTML markup to entity equivalents

  3. Converts markup when filter=true

  4. Converts markup when markup=false


Correct Option: C

To prevent possible security issues with the tag, you should

  1. Call the reset method if validation fails

  2. Set the tag's redisplay property to false

  3. Set the tag's reset property to false

  4. Use a plain html tag instead


Correct Option: B
- Hide questions