You are on page 1of 4

http://forum.vupages.

com Largest Online Community of VU Students


FINALTERM EXAMINATION SPRING 2006 CS101 - INTRODUCTION TO COMPUTING (Session - 3 ) Marks: 50 Time: 120min

WWW.VIRTUALIANS.COM WWW.VUPages.com

StudentID/LoginID: Student Name: Center Name/Code: Exam Date:

______________________________ ______________________________ ______________________________ Saturday, August 05, 2006

Please read the following instructions carefully before attempting any of the questions: 1. Attempt all questions. Marks are written adjacent to each question. 2. Do not ask any questions about the contents of this examination from anyone. a. If you think that there is something wrong with any of the questions, attempt it to the best of your understanding. b. If you believe that some essential piece of information is missing, make an appropriate assumption and use it to solve the problem. c. Write all steps, missing steps may lead to deduction of marks. 3. The paper is tool independent. **WARNING: Please note that Virtual University takes serious note of unfair means. Anyone found involved in cheating will get an `F` grade in this course.

Question Marks

For Teacher's use only 4 5 6 7 - Please choose one

Total

Question No: 1

( Marks: 2 )

Which statement is wrong for naming an identifier?

VIRTUALIANS.Com is New Name of VUPAGES.Com

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

WWW.VIRTUALIANS.COM

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

Choose correct statement.

WWW.VIRTUALIANS.COM

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 short
programs.

The untyped feature makes JavaScript simpler to program in when developing big
programs. Question No: 5 ( Marks: 10 )

What kind of operations take place inside Microprocessors Building Blocks? Enlist them with brief description. 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 the following code. <html> <head> <script language="JavaScript"> function doSomething() { setTimeout('doSomething()',10000); } </script> </head>

// 1 // 2

<body onLoad="doSomething()"> // 3 document.write(Virtual University of Pakistan); </body>

VIRTUALIANS.Com is New Name of VUPAGES.Com

</html> Question No: 9

WWW.VIRTUALIANS.COM
( Marks: 8 )

a) How Trojan Horses and Worms affect a computer system? What guidelines should be adopted to 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