Tag: programming languages

Questions Related to programming languages

Multiple choice technology programming languages
  1. using System.Collections.Generic; Dictionary < string , StringBuilder >() dctobj = new Dictionary < string , StringBuilder >;

  2. using System.Collections.Generic; Dictionary < string , StringBuilder > dctobj = new Dictionary < string , StringBuilder >();

  3. using System.Collections.Generic; Dictionary < string , StringBuilder > dctobj = new Dictionary < string , StringBuilder >;

  4. using System.Text; Dictionary < string , StringBuilder > dctobj = new Dictionary < string , StringBuilder >();

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology programming languages
  1. both can create connection to excel and flat files

  2. only second can create connection to excel

  3. first one can create connection to both excel and flat files, whereas second one can craete connection only to Excel

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology programming languages
  1. grdtest.AllowCustomPaging = true;

  2. grdtest.AllowPaging = true;

  3. grdtest.CurrentPageIndex = E.NewPageIndex;

  4. Both i and ii

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology programming languages
  1. Late binding defers type identification process until run time, so prefer Late Binding whenever possible

  2. Always enable Option Explicit and Option Strict options(while using Visual Basic.NET)

  3. If Com objects is referred in code, destroy COM objects always after use

  4. While implementing threading, do not use Thread.Abort to terminate other threads

Reveal answer Fill a bubble to check yourself
A Correct answer
Multiple choice technology programming languages
  1. XPathDocument class is very fast, but it is read-only

  2. The XmlDocument class provides editable representation of XML document, but is comparatively slower.

  3. XPathNavigator object can be created using both XPathDocument and XmlDocument classes, which can be used to to select and navigate XML data.

  4. None of the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Multiple choice technology programming languages
  1. Create CHECK constraints on the tables

  2. Create a DDL trigger to rollback any changes to the tables if then changes affect the columns in the view.

  3. Create the view, specifying the WITH SCHEMABINDING option.

  4. Create the view, specifying the WITH CHECK option.

Reveal answer Fill a bubble to check yourself
C Correct answer
Multiple choice technology programming languages
  1. First Deallocate and then close

  2. Use @@FETCH_STATUS = 0 instead of @@FETCH_STATUS <> 0

  3. No need to use "FETCH NEXT FROM test_cursor INTO @Name" again before END statement

  4. Both i and ii

Reveal answer Fill a bubble to check yourself
B Correct answer