FINALTERM EXAMINATION SPRING 2006 CS101 - INTRODUCTION TO COMPUTING

StudentID/LoginID:  ______________________________
Student Name:  ______________________________
Center Name/Code:  ______________________________
Exam Date:  Saturday, August 19, 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.
For Teacher's use only
Question  1  2  3  4  5  6  7  8  9    Total
Marks                
Question No: 1 ( Marks: 2 ) - Please choose one
Which of the following file operations JavaScript can perform on a client computer?
► Read
► Modify
► Arithmetic
► Delete
►Create
Question No: 2 ( Marks: 2 ) - Please choose one
A cell in a spreadsheet can not contain one of the followings:
►Numbers
►Text
►Formulas
►Images
Question No: 3 ( Marks: 2 ) - Please choose one
Suppose that we have two Local Area Networks working on different communication protocols. What
is the right choice to connect them?
►Router
►Bridge
►Gateway
►Modem
Question No: 4 ( Marks: 2 ) - Please choose one
Which of the following words can’t be usedfor naming an identifier in JavaScript?
► struct
► plugin
► parent
► package
Question No: 5 ( Marks: 10 )
a) Classify computer networks according to the network access policy. Write in brief. (5 marks)
b)How DBMS ensures the Security and Integrity ofdata contained in database? (5 marks)
Question No: 6 ( Marks: 8 )
Explain scope of local and global variables in relation to functions in JavaScript? Give an example
of each.
Question No: 7 ( Marks: 8 )
a) Differentiate between SMTP and POP3 server. (3 marks)
b) How you can justify that a DBMS is better touse than Flat-file database? (5 marks)
Question No: 8 ( Marks: 8 )
What will be the output of this programme? Alsowrite comments where you find “//” symbol in
the following code.
<html>
<head>
<script language="JavaScript">
function doSomething() { // 1
setTimeout('doSomething()',10000); // 2
}
</script>
</head>
<body onLoad="doSomething()"> // 3
document.write(“VirtualUniversity of Pakistan”);
</body>
</html>
Question No: 9 ( Marks: 8 )
How “Object-Oriented Graphics” and “Raster Scan Graphics” differ from each other? Which type
of graphic files are easy to transfer over web?