0

programming languages Online Quiz - 350

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

Can you have two stored functions with the same name?

  1. True

  2. False


Correct Option: A

Can you call a stored function in the constraint of a table?

  1. True

  2. False


Correct Option: B

Can 2 functions have same name & input parameters but differ only by return data type?

  1. True

  2. False


Correct Option: B

Can views be specified in a trigger statement?

  1. True

  2. False


Correct Option: B

Can Long/Long RAW be clustered?

  1. True

  2. False


Correct Option: B

Can Long/Long RAW be clustered?

  1. True

  2. False


Correct Option: A

Can null keys be entered in cluster index, normal index?

  1. True

  2. False


Correct Option: A

Which is the first event in page life-cycle Event?

  1. PreLoad

  2. Load

  3. InitComplete

  4. PreInit


Correct Option: D

You need to obtain performance information about your Web Application. You should use which of the following?

  1. Data Readers

  2. Performance Counters

  3. Web Performance Counters

  4. Data Performance Counters


Correct Option: B

What is the name given to the type of assembly that contains localized resources?

  1. Module

  2. Private

  3. Satellite

  4. Shared


Correct Option: C

Name two properties common in every validation control

  1. ControlToValidate property and Text property

  2. CompareTovalidate and ControlTovalidate

  3. CompareToValidate and Text Property

  4. CompareToValidate and ID property


Correct Option: A

How many version of .NET Framework has been released -

  1. 3

  2. 4

  3. 5

  4. 6


Correct Option: D

Which of the following abbreviations is incorrectly expanded?

  1. GAC- Global Assembly Cache

  2. FCL - Framework Class Library

  3. WF - Window Workflow Foundation

  4. LINQ - Language Integrated Query


Correct Option: C

Which object can help you maintain data across users?

  1. The Session object.

  2. The Application object.

  3. The Response object

  4. The Server object


Correct Option: B

AI Explanation

To answer this question, you need to understand the concept of maintaining data across users in a web application.

Option A) The Session object - This option is incorrect. The Session object is used to store and retrieve user-specific data during a user session. It allows you to maintain stateful information for each individual user, but it does not help in maintaining data across multiple users.

Option B) The Application object - This option is correct. The Application object is a server-side object that helps in maintaining data across multiple users. It is shared across all users and can store and retrieve data that needs to be shared among different sessions or users.

Option C) The Response object - This option is incorrect. The Response object is used to send the output to the client's browser. It does not help in maintaining data across users.

Option D) The Server object - This option is incorrect. The Server object represents the web server and is responsible for handling incoming requests and generating responses. It does not help in maintaining data across users.

The correct answer is B) The Application object. This option is correct because it allows you to store and retrieve data that needs to be shared among different sessions or users in a web application.

Windows Workflow Foundation - the new user interface system was introduced with

  1. .NET Framework 1.1

  2. .NET Framework 2.0

  3. .NET Framework 3.0

  4. .NET Framework 3.5


Correct Option: C

The New object Relational Mapping (ORM) framework to be introduced with Microsoft.Net 3.5 SP1 is known as

  1. ADO.ORM

  2. ADO.NET Data Services

  3. ADO.Hibernate

  4. ORM.ADO


Correct Option: B

Which class do you implement to customize the storage of viewstate into sql server?

  1. SaveViewState

  2. LoadViewState

  3. PageStatePersister

  4. SqlPageStatePersister


Correct Option: C

.NET Framework 3.5 Language Integrated Query (LINQ) support all the listed providers except

  1. LINQ to ORACLE

  2. LINQ to XML

  3. LINQ to Objects

  4. LINQ to SQL


Correct Option: A

The property TypeName must be set for which ASP.NET data source control?

  1. AccessDataSource

  2. SqlDataSource

  3. ObjectDataSource

  4. XmlDataSource


Correct Option: C

Which of the following is used for adding client side script to C# code ?

  1. AddJavaScript

  2. RegisterClientScript

  3. AddClientScript

  4. RegisterJavascript


Correct Option: B

AI Explanation

To answer this question, you need to understand how to add client-side script to C# code.

Let's go through each option to understand why it is correct or incorrect:

Option A) AddJavaScript - This option is incorrect because there is no built-in method named "AddJavaScript" in C# for adding client-side script.

Option B) RegisterClientScript - This option is correct because the "RegisterClientScript" method is used in C# to add client-side script to the page.

Option C) AddClientScript - This option is incorrect because there is no built-in method named "AddClientScript" in C# for adding client-side script.

Option D) RegisterJavascript - This option is incorrect because the correct method name is "RegisterClientScript", not "RegisterJavascript".

The correct answer is B) RegisterClientScript. This option is correct because it is the method used in C# for adding client-side script to the page.

- Hide questions