0

web technology Online Quiz - 11

Description: web technology Online Quiz - 11
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

Is there any advantage of using System.String over String.Builder

  1. It is immutable

  2. Simplifies strng manipulations

  3. Simplifies concurrent multithreaded programming

  4. None of the above


Correct Option: C

How do you change the text color of an element?

  1. text-color:

  2. font-color:

  3. color:

  4. fgcolor:


Correct Option: C

Which is the best forward only read only cursor available to read the data

  1. DataReader

  2. DataAdapter

  3. DataSet

  4. None of the above


Correct Option: A
  1. Serialized

  2. OptionalAttribute

  3. NonSerializable

  4. Deserialized


Correct Option: C

Which type of control should I use when i want to display a certain information from database but it layout which can be purely HTML based?

  1. HTML Server control

  2. Web Server Control

  3. HTML Control

  4. None of the above


Correct Option: A

What would you do to the object which is expected to be no -longer in use

  1. Declare as null

  2. Declare as Null and Call the dispose method

  3. Call GC.SupressFinalize method for the object

  4. None of the above


Correct Option: B
  1. if(stringValue == null)

  2. if(string.IsNullOrEmpty(stringValue))

  3. if(stringValue == DbNull.value)

  4. None of the above


Correct Option: C

Why would you not use System.Web.Mail instead of System.Net.Mail

  1. It does not cover all the functions as covered by System.Net.Mail

  2. It is obsolete as compared to System.Net.Mail

  3. It is not secure way of sending mails.

  4. None of the above


Correct Option: B

PHP stands for :

  1. Personal Home Page

  2. Personal Hypertext Processor

  3. PHP: Hypertext Preprocessor

  4. Private Home Page


Correct Option: C

PHP server scripts are surrounded by delimiters, which?

  1. ...&>

  2. ...?>

  3. ...


Correct Option: C
  1. printf("Hello World")

  2. echo "Hello World";

  3. "Hello World";

  4. Document.write("Hello World");


Correct Option: B

All variables in PHP start with which symbol?

  1. @

  2. #

  3. &

  4. $

  5. %


Correct Option: D

How do you get information from a form that is submitted using the "get" method?

  1. Request.Form;

  2. Request.QueryString;

  3. Request_Get("");

  4. $GET[]

  5. $_GET[];


Correct Option: E

By which variable we can retrieve the value passed by the GET and POST Method?

  1. $_REQUEST[]

  2. $_GET[]

  3. $_POST[]

  4. $_SESSION[]


Correct Option: A
  1. Will run smoothly

  2. Will generate fetal error.

  3. Generate error and continue executing.

  4. Stop the running.


Correct Option: B,D
  1. mysql con=new mysql("Connection string")

  2. mysql("database name");

  3. mysql_connect("database name")

  4. mysql_connect("database",username,password)


Correct Option: D
- Hide questions