Tag: programming languages

Questions Related to programming languages

  1. Dim query = From product In products.AsEnumerable() Select product

  2. Dim query as select product From product In products.AsEnumerable()

  3. Dim query = From p In products.AsEnumerable() Select p

  4. None of these


Correct Option: A
  1. Commit();

  2. Update();

  3. SubmitChanges();

  4. CommitTransaction();


Correct Option: C
  1. SqlDataAdapter

  2. SqlConnection

  3. SqlDataReader

  4. SqlDataView


Correct Option: D
  1. CreateObjRef

  2. BeginExecuteNonQuery

  3. Prepare

  4. All of the above


Correct Option: D
  1. macro functions are expanded during compile. Inline functions are just usual functions calls

  2. macro functions are expanded during preprocessing and inline functions are expanded during compile

  3. macro functions are expanded during compile and inline functions are expanded during preprocessing

  4. No difference.Both are expanded at compile.


Correct Option: B