Technology Questions

Q:

Write an SQL Query to find employees whose name starts with an ‘M’?

Answer

SELECT *FROM Employees WHERE EmpName like ‘M%’.


 

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

0 4960
Q:

Can we use include ("xyz.PHP") two times in a PHP page "index.PHP"?

Answer

    Yes we can use include("xyz.php") more than one time in any page. but it create a prob when xyz.php file contain some funtions declaration then error will come for already declared function in this file else not a prob like if you want to show same content two time in page then must incude it two time not a prob

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 4955
Q:

Explain $_FILES Superglobal Array.

Answer

Array                                              Descriptions
--------------------------------           -----------------------------------
$_FILES['userfile']['name']              The original name of the file on the client machine.




$_FILES['userfile']['type']                The MIME type of the file if the browser provided 


                                                   this information. An example would be "image/gif".




$_FILES['userfile']['size']                The size, in bytes, of the uploaded file.




$_FILES['userfile']['tmp_name']      The temporary filename of the file in which the


                                                  uploaded file was stored on the server.




$_FILES['userfile']['error']              The error code  associated with this file upload.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 4880
Q:

What is the need of Response.Output.Write() in Asp.net ?

Answer

Response.Write() and Response.Output.Write() both does the same work for printing output on the screen. But their is a small difference between them. As we can write formatted output using Response.Output.Write() but Response.Write() can't allows the formatted output.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Analyst , IT Trainer

4 4871
Q:

Can any object be stored in a View state in .NET ?

Answer

View state is a repository in an ASP.NET page that can store values that need to be retained during postback.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET
Job Role: Analyst , IT Trainer , Project Manager

2 4865
Q:

What is Cocoa and cocoa touch?

Answer

Cocoa is for Mac App development  and cocoa touch is for apples touch devices - that provide all development environment 


 

Report Error

View answer Workspace Report Error Discuss

Subject: IOS

2 4856
Q:

What are PL/SQL Subprograms? What are its Advantages ?

Answer

Named PL/SQL blocks of code which can be invoked using parameters are called PL/SQL sub programs.


 


Advantages of PL/SQL subprograms are


- The application makes a single call to the database to run a block of statements which improves performance against running SQL multiple times. This will reduce the number of calls between the database and the application.


- PL/SQL is secure since the code resides inside the database thus hiding internal database details from the application. The application will only make a call to the PL/SQL sub program


- PL/SQL and SQL go hand in hand so there would be no need of any translation required between PL/SQL and SQL.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

1 4840
Q:

What is the kind of execution does sequence point allow?

A) Non-overlap B) Overlap
C) Concurrent D) None of these
 
Answer & Explanation Answer: A) Non-overlap

Explanation:

To resolve all the side-effects in the program, the sequence point should not be overlapped.

Report Error

View Answer Report Error Discuss

Filed Under: C++

2 4839