Cs101 Final Spring2006 s3

Embed Size (px)

Citation preview

  • 8/13/2019 Cs101 Final Spring2006 s3

    1/4

  • 8/13/2019 Cs101 Final Spring2006 s3

    2/4

    WWW.VIRTUALIANS.COM Identifiers are names used by JavaScript to refer to variables, objects, properties,methods, and functions.

    An identifier must begin with an alphabetical character (a-z or A-Z), underscore_ character or $ character.

    Subsequent characters can be an alphabetical (a-z or A-B) or numeric character(0-9) or an underscore

    Question No: 2 ( Marks: 2 ) - Please choose one

    Which of the following words cant be used for naming an identifier in JavaScript?

    struct

    plugin

    parent

    package

    Question No: 3 ( Marks: 2 ) - Please choose one

    Data Management comes up with different issues except one:

    Data entry

    Data updates

    Data integrity

    Data security

    Data presentation

    Question No: 4 ( Marks: 2 ) - Please choose one

    VIRTUALIANS.Com is New Name of VUPAGES.Com

    http://www.virtualians.com/http://www.virtualians.com/http://www.virtualians.com/
  • 8/13/2019 Cs101 Final Spring2006 s3

    3/4

    WWW.VIRTUALIANS.COMChoose correct statement.

    The value of a variable can not be changed during execution of the script.

    In JavaScript a variables type is defined before usage.

    The untyped feature makes JavaScript simpler to program in when developing shortprograms.

    The untyped feature makes JavaScript simpler to program in when developing bigprograms.

    Question No: 5 ( Marks: 10 )

    What kind of operations take place inside Microprocessors Building Blocks? Enlist them with briefdescription.

    Question No: 6 ( Marks: 8 )

    Is there any way to call multiple functions with a single event in JavaScript? Give an example.

    Question No: 7 ( Marks: 8 )

    a) Differentiate between SMTP and POP3 server. (3 marks)

    b) How can you justify that a DBMS is better to use than Flat-file database? (5 marks)

    Question No: 8 ( Marks: 8 )

    What will be the output of this programme? Write comments where you find // symbol in thefollowing code.

    function doSomething() { // 1

    setTimeout('doSomething()',10000); // 2}

    // 3document.write(Virtual University of Pakistan);

    VIRTUALIANS.Com is New Name of VUPAGES.Com

    http://www.virtualians.com/http://www.virtualians.com/
  • 8/13/2019 Cs101 Final Spring2006 s3

    4/4

    WWW.VIRTUALIANS.COM

    Question No: 9 ( Marks: 8 )

    a) How Trojan Horses and Worms affect a computer system? What guidelines should be adoptedto troubleshoot with malicious softwares? (6 marks)

    b) Which part of a virus consists of malicious computer instructions? (2 marks)

    VIRTUALIANS.Com is New Name of VUPAGES.Com

    http://www.virtualians.com/http://www.virtualians.com/