programming languages Online Quiz - 240
Description: programming languages Online Quiz - 240 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
What does Debug.assert() do?
Which of the below is false about Struct.
Connection string entries in web.config file can be encrypted using following tool(S): 1. aspnet_regiis.exe 2. aspnet_wp.exe 3. svcutil.exe
Which one of following is false about Microsoft-provided data provider classes in ADO.NET ?
Which statement is true for primary key and a unique key?
What is true for DELETE & TRUNCATE commands?
Consider the table and query below: row_id seat_1 seat_2 seat_3 1 boy boy boy 2 girl girl girl 3 boy girl boy 4 girl boy girl 5 boy boy girl 6 girl boy boy SELECT * FROM seating WHERE seat_2 = 'boy' ORDER BY seat_3 DESC, seat_1 Which row is first in the results set returned by the SQL statement above?
Consider the following query: SELECT firstname, lastname, SUM(salary) FROM employees GROUP BY firstname, lastname HAVING SUM(salary) > 20000 ORDER BY lastname ASC Which part of the sample code above contains the SQL default and is therefore NOT necessary in the SQL statement?
Which of the following is the correct syntax for using Dictionary object in your code:
Which of the following is not true about Microsoft Silverlight:
Which is false about reading/writing XML data using System.Xml:
While creating a view from two tables, you need to ensure that view cannot be affected by modifications to underlying table schema. What should you do to accomplish this goal with least possible amount of overhead?
You have created a cursor named test_cursor inside your stored procedure. Following is the cursor code: --------------------------------------------------------------------- DECLARE @Name AS VARCHAR(100) DECLARE test_cursor CURSOR FOR SELECT empname FROM Employee Order BY empid OPEN test_cursor FETCH NEXT FROM test_cursor INTO @Name WHILE @@FETCH_STATUS <> 0 BEGIN -- Do your internal procesing here FETCH NEXT FROM test_cursor INTO @Name END CLOSE test_cursor DEALLOCATE test_cursor --------------------------------------------------------------------- What correction is required in the code above?
When you need to perform complex calculations or access external resources in SQL Server 2005, which one of the following programming methods do you use?