FINALTERM EXAMINATION SPRING 2006 VU CS101 - INTRODUCTION TO COMPUTING (Session - 3 )


.
FINALTERM EXAMINATION
SPRING 2006
CS101 - INTRODUCTION TO COMPUTING (Session - 3
)
Marks: 50
Time: 120min
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.
For Teacher's use only
Question
Marks
1 2 3 4 5 6 7 8 9 Total
Question No: 1
( Marks: 2 )
- Please choose one
Which statement is wrong for naming an identifier?
.
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 can’t 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
.
Choose correct statement.
The value of a variable can not be changed during execution of the script.
In JavaScript a variable’s 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);
// 1
// 2
}
</script>
</head>
<body onLoad="doSomething()"> // 3
document.write(“Virtual University of Pakistan”);
</body>
.
</html>
Question No: 9
( 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)

No comments: