What is the correct way to create a function in PHP?
create myFunction()
function myFunction()
new_function myFunction()
calling_funtion myFunction()
What is the correct way to connect to a MySQL database?
dbopen("localhost");
mysql_open("localhost");
mysql_connect("localhost")
connect_mysql("localhost");
A DataView provides different views of which one of the following objects?
RowSet
DataRelation
DataTable X
DataSet
Recordset
Declarative security does which one of the following?
It sets the permissions on any value types that are declared.
It configures the machine's system security policy.
It is implemented by code and does not use attributes.
It uses attributes to place security information into the metadata of your code.
It sets the permissions on any reference types that are declared.
By default, when does the JIT compiler usually compile a method?
When the developer packages the application
When the application loads
The first time it is called
When the application is installed
Each time it is called
Stacy wants to populate a select dropdown combo box with data in a data store. Stacy wants a fast, forward only, read-only database connection using ADO.NET.
A DataAdapter object
A Command object
A DataReader object
A Recordset object
A Connection object
Which one of the following statements is true about events and delegates?
Events must know what object handles its event.
An event can only have one event handler.
Delegates are not type-safe.
A class with events can only raise a single event.
A delegate can only hold methods that match the delegate's method signature
Joe adds security features to his code by adding attributes; he does not have to write any other specific security code.
Declarative Security
Role-Based Security Permissions
Code Access Permissions
Identity Permissions
Imperative Security
What does the .NET PermView.exe utility do?
It is used to view the minimal, optional, and refused permission sets requested by an assembly.
It establishes a permanent view of the managed heap
It provides an interface to the persistable dynamic assemblies stored on disk.
It sets the permissions on a Dataset view object
It persists the view of a Dataset by serializing the view to an XML stream
Which one of the following statements is true with respect to the Common Language Runtime (CLR)?
The Common Language Run-time compiles source code to MSIL code.
The C# and VB.NET compilers compile source code to native code
Code compiled in one .NET language can interact with code compiled in a different .NET language
The CLR does NOT implement a Common Type System