0

web technology Online Quiz - 155

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

Which of these methods are found in the Object Class?

  1. hashcode()

  2. toString()

  3. equals()

  4. getHashCode()


Correct Option: A,B

Status bar:

  1. Displays your name.

  2. Does not depend on the task you are performing.

  3. Appears at the bottom of the Notes main window.

  4. Doesn't exist at all.


Correct Option: C

In hibernate mapping file, The method is used to generate

  1. the Object for accessing the database

  2. the foreign key for the new record

  3. the primary key for the new record

  4. the Composite key for the new record


Correct Option: A

Which function accepts input from the user?

  1. accept()

  2. prompt()

  3. input()

  4. enter()


Correct Option: B

Which function identifies the data type of the operand?

  1. isNumber()

  2. isString()

  3. typeof()

  4. Option 1 & 2


Correct Option: C

What is the output for the below lines of code? x = 0/0; alert(x);

  1. undefined

  2. infinity

  3. NaN

  4. None of the above


Correct Option: C

What is the output of the alert function for the below lines of code? var sum, Sum; sum = 0; alert(Sum);

  1. 0

  2. undefined

  3. Exception(0365): object undefined!

  4. Javascript error in the browser


Correct Option: B

var mode = 1; switch (mode){ case 1: document.write('Mode value is 1'); case 2: document.write('Mode value is 2'); case 3: document.write('Mode value is 3'); }

  1. Mode value is 1Mode value is 2Mode value is 3

  2. Mode value is 1

  3. JavaScript error in the browser

  4. None of the above


Correct Option: A

Which of the following refers to the parent of a window object?

  1. window.opener

  2. parent

  3. window.parent

  4. All of the above


Correct Option: D
  1. onfocusout

  2. onblur

  3. onfocuslost

  4. All of the above


Correct Option: B

What is the output for the below lines of code? var pattern = /(dr.*ing)/; var sentence = "The day started drizzling, but now it is heavily raining."; pattern.test(sentence); document.write(RegExp.$1);

  1. drizzling, but now it is heavily raining

  2. The day started drizzling, but now it is heavily raining

  3. drizzling

  4. null


Correct Option: A

The prime benefit of testing is that it results in reduce defects

  1. True

  2. False


Correct Option: A

which of the following are true about file Class? choose all that apply.

  1. you can perform file I/O operations by using its methods

  2. you can find size of the file by using its size() method

  3. you can check if file exists by its exist() method

  4. you can delete the file by its delete() method


Correct Option: C,D

What is the value of x in the following code? %let a=2; %let c=3; %let x=&a + &c;

  1. 5

  2. Error in the code

  3. 2 + 3

  4. 2 + 3 ;


Correct Option: C

Who founded ruby?

  1. Guido van Rossum

  2. Larry Wall

  3. Yukihiro Matsumoto

  4. David Heinemeier Hansson


Correct Option: C

Ruby is Written in...?

  1. C

  2. java

  3. C#

  4. cobol


Correct Option: A

Rails is written in..?

  1. java

  2. C

  3. Ruby

  4. Cobol


Correct Option: C

what type of architechture will ROR follows?

  1. SOA

  2. MVP

  3. MVC

  4. DODAF


Correct Option: C
- Hide questions