You are on page 1of 68

vujannat.ning.

com
Largest Online Community of VU Students

FINAL TERM EXAMINATION


Total Marks:60
SEMESTER FALL 2005
CS101-INTRODCUTION TO COMPUTING [Session-4] Duration: 120 min

StudentID/LoginID

Name

PVC Name/Code

Date 17 - 3 - 2006

Maximum Time Allowed: (2 Hour)

Please read the following instructions carefully before attempting any question:

1. This examination is closed book, closed notes, closed neighbors.


2. Answer all questions.
a. There is no choice.
b. You will have to answer correctly all questions in this examination to get the maximum
possible marks.
3. 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.
4. All Web development questions should be answered using the HTML/JavaScript syntax.

**WARNING: Please note that Virtual University takes serious notice of using unfair means.
Anyone found involved in cheating will get `F` grade in this course.

For Teachers Use Only


Questions Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q9 Total
Marks
Question No: 1 Marks:10
Write down the code, to take two input numbers from user (As shown in Fig 5.1 and 5.2), compare them
and show results, whether they are same or not (As shown in fig 5.3). View the given below Image very
carefully and try to fulfill all requirements given in image.

(Hint: Make web page using Use JavaScript to Compare two numbers)

Fig 5.1

Fig 5.2
Fig 5.3

Question No: 2 Marks:9


Describe the following terms?
• FTP.
• Telnet Protocol.
• IP Address.

Question No: 3 Marks:6


What are local variables? Compare them with global variables?

Question No: 4 Marks:10


Examine the logic of following pseudo code:

initialize x to 10
initialize y to 0
initialize sum to 0
Repeat while (y <= 6)
{
Add x and y and put results into sum
decrement x by 2
increment y by 3
}
print sum
Stop
What will be the value of the variables “sum, x and y”, each time after the loop
is executed?

Question No: 5 Marks: 10


Write down a JavaScript function with the name “BinConvert( )” that takes a
decimal number and converts it into its equivalent binary number and displays
the result in browser. Call that function in the body of the web page.
Question No: 6 Marks: 5
What is database? Describe Data Integrity?

Question No: 7 Marks: 2


Web server:

A. Is a software to deliver e-mail


B. Is a computer that store and deliver web pages
C. Does not allow electronic chatting
D. Does not have a Domain name

Question No: 8 Marks: 2


Ports are:

A. Input devices
B. Output devices
C. Used to allow I/O devices to communicate with the CPU
D. Able to process incoming data

Question No: 9 Marks: 2


A Hyperlink is a:

A. Connection between two computers


B. Connection between two countries on the net
C. Gateway to the next web page
D. Gateway between five continents

Question No: 10 Marks: 2


Vacuum Tubes are:

A. Smaller then transistors


B. Made up of two or more electrodes in a glass metal tube
C. Used in IBM PC
D. Invented by Tim Berners lee

Question No: 11 Marks: 2


Memory inside a microprocessor is called

A. RAM
B. ROM
C. Cache
D. Pre-fetch buffer
WWW. vujannat.ning.COM

www. vujannat.ning.com

CS101 Introduction to Computing


Final Term Examination - February 2005
Time Allowed: 150 Minutes

Instructions
Please read the following instructions carefully before attempting any question:

1. This examination is closed book, closed notes, closed neighbors.


2. Answer all questions.
a. There is no choice.
b. You will have to answer all questions correctly in this examination to get the
maximum possible marks.
3. 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.
4. Examination also consists of multiple-choice questions [MCQs]. Choose or Highlight
only one choice as your answer.
a. If you believe that two (or more) of the choices are the correct ones for a
particular question, choose or highlight the best one.
b. On the other hand, if you believe that all of the choices provided for a particular
question are the wrong ones, choose or highlight the one that appears to you as
being the least wrong.
5. All Web development questions should be answered using the HTML/JavaScript syntax.

**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.

Total Marks: 50 Total


Questions: 14

Question No. 1 Marks : 2

Micro controller

1 Are faster then microprocessor


2 Is another name for microprocessor?
3 Are complete computer on a chip
4 Cost thousands of dollar per piece

Question No. 2 Marks : 2

Two major types of software are

1 Application Software , System Software


2 Application Software , Database Software
3 System Software , Database Software
4 Database Software , Embedded Software

Question No. 3 Marks : 5

How Operating System software does manage a device when a particular application is
executed? Explain with at least one example?

Question No. 4 Marks : 2

Word representing the protocol in URL http://www.microsoft.com is

1 www
2 Microsoft
3 microsoft.com
4 http

Question No. 5 Marks : 5

What do you know about WWW and what are the basic elements of web design?

Question No. 6 Marks : 5

What do you know about Neural Networks and give any two examples.

Question No. 7 Marks : 5

Define and explain Greedy Algorithm briefly. You are also required to give key advantage and
an example of Greedy Algorithm.

Question No. 8 Marks : 6

Determine the correct reserved words of JavaScript from the following list and explain them
briefly.

1 document
2 read
3 alert
4 delete
5 function
6 comment
Question No. 9 Marks : 6

Discuss any three issues/characteristics of Data Management.

Question No. 10 Marks : 11

Write function using JavaScript. The name of function will be "display( )". The "display( )"
function will display the following string as shown below:
3 2
X +Y

[Hint: Use string methods sub( ) and sup( )]


The "display( )" function should be called at onLoad event.

Question No. 11 Marks : 2

Consider the following code


pitch = "hard"
bowler="slow"
if ( (pitch == "hard") || (bowler == "fast") )
myStatus = "Bouncer" ;
else
myStatus = "Short Pitch" ;

Variable myStatus will contain the value:

1 Bouncer
2 Short Pitch
3 Hard
4 Slow

Question No. 12 Marks : 2

What does the following J avaScript code

function changeBgcolor()
{
oldColor = window.document.bgColor;
window.document.bgColor = "pink";
window. alert("The old color was " + oldColor);
}

1 Change the Color of Window document to pink and nothing else


2 Change the Color of Window document to pink and display the name of old Color in a
dialogue box
3 Change the Color of Window document to Blue and displays name of old color in a
dialogue box
4 Create a form in window document

Question No. 13 Marks : 10


Examine and explain the logic of following pseudo code:

Let the decimal number be an integer x, x > 0


Let the binary equivalent be an empty string y
Repeat while x > 0
{
Determine the quotient & remainder of x ÷ 2
y = CONCATENATE( remainder, y )
x = quotient
}
Print y
Stop

Question No. 14 Marks : 12

You are required to develop a web page using HTML and JavaScript. First page should take
two inputs as maximum and minimum limit as shown in Fig 1.1. The first input must be
greater than or equal to 1 and the second input must be less than or equal to 6. Minimum
limit should be less than the Maximum limit. Generate Headings by this minimum and
maximum limit as shown in Fig 1.2. The Headings must be generated when Submit button is
clicked.
[Example: Min Limit: 3 and Max Limit: 5, So the heading H3, H4 and H5 will be generated.]

Fig: 1.1
Fig: 1.2
vujannat.ning.com
http://vujannat.ning.com
Largest Online Community of VU Students
FINAL TERM EXAMINATION
Total Marks:60
SEMESTER FALL 2005
CS101-INTRODCUTION TO COMPUTING [Session-3] Duration: 120 min

StudentID/LoginID

Name

PVC Name/Code

Date 17 - 3 - 2006

Maximum Time Allowed: (2 Hour)

Please read the following instructions carefully before attempting any question:

1. This examination is closed book, closed notes, closed neighbors.


2. Answer all questions.
a. There is no choice.
b. You will have to answer correctly all questions in this examination to get the maximum
possible marks.
3. 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.
4. All Web development questions should be answered using the HTML/JavaScript syntax.

**WARNING: Please note that Virtual University takes serious notice of using unfair means.
Anyone found involved in cheating will get `F` grade in this course.

For Teachers Use Only


Questions Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q9 Total
Marks
Question No: 1 Marks:10
Write down the code, to take an input numbers from user (As shown in Fig 5.1), Check it, whether it’s an
even number or odd, and display the results as alert (As shown in fig 5.2). View the given below Image
very carefully and try to fulfill all requirements given in image.

(Hint: Make web page using Use JavaScript to check whether its an even number or odd)

(Fig 5.1)
(Fig 5.2)

Question No: 2 Marks:9


Describe the following terms?
• Instant messaging.
• VoIP.
• Domain Names.

Question No: 3 Marks:6


Define function, and its advantages?

Question No: 4 Marks:10


Write down Pseudo Code in which there are two variables named as "x", "y" and "z". Multiply these two
variables "x" and "y" with each other. Store result in variable "z". Print the value of "z".

Question No: 5 Marks: 10


View the following JavaScript Code:
<body>
<html>
<a ref=”www.yahoo.com”>
<img = “Hello.gif”>
<td>
<tr>First</tr>
<tr>Second</tr>
<tr>Third</tr>
</td>
</html>
Identify the errors
WWW.V
b) View the following JavaScript Cod e:
x=1;
while (x>6000);
document.write(x)
x=x+1
1. Identify the errors
2. How many times the while loop will be executed.

Question No: 6 Marks: 5


Describe Payload and Transmission mechanism of virus?

Question No: 7 Marks: 2


Which of the following cannot come between the <Body></Body> tag

A. <P>
B. <A HERF></A>
C. <Title></Title>
D. <BR></BR>

Question No: 8 Marks: 2


Modem is used:

A. Only to enter data into computer


B. For calculating huge numbers
C. For communication of data between internet and your computer
D. To write information on the world wide web

Question No: 9 Marks: 2


Search engines:

A. Scan the entire web for the desired information


B. Search the news groups for the required information
C. Make the list of images that are available on the net
D. Are built to facilitate the scientists

Question No: 10 Marks: 2


ARPANET is a:
A.
WWW
World’s first network
B. Network protocol
C. Latest Internet site
D. Internet game

Question No: 11 Marks: 2


A group of binary digits that a computer manipulate as a unit is called

A. Byte
B. Word
C. Bit
D. Hertz
WWW. vujannat.ning.COM Largest
Online Community of VU Students
FINALTERM EXAMINATION
FALL 2006 Marks: 60
CS101 - INTRODUCTION TO COMPUTING Time: 120min

StudentID/LoginID:

Student Name:

Center Name/Code:

Exam Date:

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. You can consult your handouts while solving the paper.
4. 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 10 Total
Marks
Question 11 12 13 14 15
Marks
Question
Marks

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

What computer hardware is essential for connecting two computers in Local Area Network?
► Modem

► Ethernet card

► VGA

► Internet Connection

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

The instruction written in high-level language are converted into low-level language by the

► Operating System

► Compiler

► Parser

► Router
Question No: 3 ( Marks: 1 ) - Please choose one

Which software can provide results of mathematical calculations very easily?

► Spreadsheets

► Image processor

► Word processor

► None of these

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

Which of the following is the extension of graphics files?

.
► .doc

► .mdb

► .gif

► .tmp

Question No: 5 ( Marks: 1 ) - Please choose one

A hardware device that stores data and programs, executes program instructions, and
performs arithmetic/logic operations is known as the .

► CPU

► Integrated Circuit

► Main Storage

► Memory

Question No: 6 ( Marks: 1 ) - Please choose one

The input device that reads printed characters, symbols, or graphical images into the
computer is the:

► Sensors

► Speech recognition

► Mouse.

► Scanner

Question No: 7 ( Marks: 1 ) - Please choose one

The component of the central processing unit that holds instructions, stores data and keeps
results during the processing is called the:
► Arithmetic/Logic unit.

► Control unit.

► Main memory.

► Micro processing chip.


Question No: 8 ( Marks: 1 ) - Please choose one

The software that is used to write/send/receive an e-mail is called

► Web browser

► Mail Binder

► E-mail Handler

► E-mail Client

Question No: 9 ( Marks: 1 ) - Please choose one

A computer virus is a

► Software that saves the computer from being damaged.

► Application software that helps to make different type of viruses and worms

► Program that spreads itself and destroys other program

► Program that corrects the problems in your computer

Question No: 10 ( Marks: 1 ) - Please choose one

What does internet service provider mean?

► A software that helps you to connect to internet


► A company that helps you to connect to internet

► A software that allows you to send/receive e-mails

► A telephone network which helps you to connect to internet


Question No: 11 ( Marks: 10 )

a) What are the following abbreviations stands for (Marks: 5)

1- SMTP
2- POP3
3- VoIP
4- DNS
5- RDBMS

b) What will be the outcome of the JavaScript function in the program? Also write comments
where you find “//” symbol from the following given chunk of code. (Marks: 5)

<HTML>
<HEAD>
<SCRIPT TYPE="TEXT/JAVASCRIPT">

function sqnum() //
{
document.square.res.value = document.square.num.value * document.square.num.value
</SCRIPT>
</HEAD>

<BODY>
<FORM NAME="square">
Enter Number
<INPUT TYPE=TEXT NAME="num" ONKEYUP="sqnum()"> //
<BR><BR>Square
<INPUT TYPE=TEXT NAME="res" DISABLED> //
</FORM>
</BODY>
</HTML>

Question No: 12 ( Marks: 8 )

What is the difference between Microprocessor and Micro-controller? Give at least three
differences.

Question No: 13 ( Marks: 8 )


Give at least one example for each the following?

1. Word Processor
2. Spreadsheet Software
3. Presentation software
4. Database software
5. Antivirus-software
6. Email Program
7. Search Engines
8. IP Address

Question No: 14 ( Marks: 12 )

What is Network Topology? Discuss advantages and disadvantages of the following network
design topologies with the help of diagram.

1- Bus Topology
2- Star Topology

Question No: 15 ( Marks: 12 )

Define the following terms: (Marks: 3*4=12)

a) Firewall
b) Artificial Neural Network
c) Animation
d) Denial of Service (DoS )
WWW. vujannat.ning.COM
WWW. vujannat.ning.COM Connecting
VU Students
FINALTERM EXAMINATION
FALL 2007 Marks: 45
CS101 - INTRODUCTION TO COMPUTING (Session - 7 Time: 150min
)

StudentID/LoginID:

Student Name:

Center Name/Code:

Exam Date: Monday, March 03, 2008

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.
3. Write all steps, missing steps may lead to deduction of marks.
4. Choose the most appropriate choice (among the given) while answering the MCQs.
5. Use of cell phone during the examination is strictly prohibited; otherwise strict disciplinary
action will be taken as per university rules.

**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 10 Total
Marks

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

FTP stands for


► File transmission protocol

► File transmission path

► File transfer protocol

► Fine Transfer path

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

What will be the result of a?


a = Math. abs(-23)

► 23

► -23

► 23.0

► 2.3

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

A function is also called

► Sub-program

► Procedure

► Sub-routine

► All of the these

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

URL is a/an .

► Device

► Component

► Address
► Tool

Question No: 5 ( Marks: 1 ) - Please choose one

Command that allows you to remove mistakes

► Copy

► Delete

► Cut

► Undo

Question No: 6 ( Marks: 9 )

What is the impact of web on our Society and Business?(4.5 + 4.5)

Question No: 7 ( Marks: 10 )

What are the Key Characteristics of Internet? Write any five of them.(2+2+2+2+2)

Question No: 8 ( Marks: 8 )

Can a human doctor be replaced by an Expert System? Give reasons to support your answer. (2+6)

Question No: 9 ( Marks: 6 )

What is function of Goal Seek command in Excel? How to use it?(3+3)

Question No: 10 ( Marks: 7 )

What is function ? Explain it with an example. (2+5)


WWW. vujannat.ning.COM

WWW.vujannat.ning.com

CS101 Introduction to Computing


Final Term Examination – Spring 2005
Time Allowed: 150 Minutes

Please read the following instructions carefully before attempting any


question:
1. This examination is closed book, closed notes, closed neighbors.
2. Answer all questions.
a. There is no choice.
b. You will have to answer correctly all questions in this
examination to get the maximum possible marks.
3. 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.
4. Examination also consists of multiple-choice questions. Choose
only one choice as your answer.
a. If you believe that two (or more) of the choices are the correct
ones for a particular question, choose the best one.
b. On the other hand, if you believe that all of the choices
provided for a particular question are the wrong ones, select
the one that appears to you as being the least wrong.
5. All Web development questions should be answered using the
HTML/JavaScript syntax.

**WARNING: Please note that Virtual University takes serious notice


of using unfair means. Anyone found involved in cheating will get
`F` grade in this course.

Total Marks: 50 Total Questions: 11


Question No. 1 Marks : 02
is the protocol used for file transfer.

o www
o smtp
o ftp
o http

Question No. 2 Marks : 06

What is difference between SMTP and POP?

Question No. 3 Marks : 02

is the correct JavaScript syntax.

o while{a<=b}
o while{a<=b};
o while(a<=b);
o while(a<=b)

Question No. 4 Marks : 02

You are required to develop a web page using HTML and JavaScript. Page
should have 4 buttons. Three buttons have different color(Red,Green,Blue).
Fourth button is u sed as "Refresh" button. Finally the page should be
represented as given in Fig.
Develop a function in JavaScript that changes the color of the back ground
according to the button clicked. "Refresh" buttons is use to reset the color
of page.Hint: Refresh button is used to set the background color of the page
to white.
[Example: When Green button is clicked the back ground color will be set to
"Green" and so on.]
Question No. 5 Marks : 02

Examine and write down the value printed after execution of following
statements.

1. document.write( 2 + Math.PI ) ; (Math.PI=3.141)

2. document.write( "2" + "3" ) ;

3. document.write( "2" + Math.PI ) ;

4. document.write( "Yes" + false ) ;

5. document.write( 2 + 3 ) ;

Question No. 6 Marks : 02

Applications talk to devices through the OS and OS talks to and manages


devices through_ .

o Application Interface
o File System
o Device Driver
o Kernel
Question No. 7 Marks : 02

How Data Security can be imp roved in Database Management System?

Question No. 8 Marks : 02

is readily understood by microprocessors and this


language is very difficult to write in for human programmers.
o Low Level Language
o Machine Language
o High Level Language
o Assembly Language

Question No. 9 Marks : 08

a) Write an Inline JavaScript code that prompts the message "Welcome


to VU" when button is clicked.
b) Convert the binary number 1110011 into decimal nu mber System.
Mention each step.

Question No. 10 Marks : 02

Examine the syntax carefully and determine the output:


name = "virtual university" ;
document.write( name.toUpperCase( ) ) ;

o virtual university
o Virtual University
o Virtual university
o VIRTUAL UNIVERSITY]

Question No. 11 Marks : 08

Define AI (Artificial Intelligence) in one line. Name sub categories of AI.


WWW. vujannat.ning.com
http:// vujannat.ning.com
Largest Online Community of VU Students
FINALTERM EXAMINATION
SPRING 2006 Marks: 50
CS101 - INTRODUCTION TO COMPUTING (Session - 3 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 1 2 3 4 5 6 7 8 9 Total
Marks

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() { // 1
setTimeout('doSomething()',10000); // 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)


WWW. vujannat.ning.COM
vujannat.ning.COM
Connecting VU Students
FINALTERM EXAMINATION
SPRING 2007 Marks: 60
CS101 - INTRODUCTION TO COMPUTING (Session - 3 Time: 150min
)

StudentID/LoginID:

Student Name:

Center Name/Code:

Exam Date: Wednesday, July 11, 2007

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.

d. Cutting and over-writing is not allowed in MCQs.


3. Use of cell phone during the examination is strictly prohibited, otherwise strict
disciplinary action will be taken as per university rules.

**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 10 Total
Marks
Question 11 12 13 14 15
Marks
Question
Marks

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

In Spreadsheets, you can create a relationship between two cells by using .

► Numbers

► Text

► Formulas

► None of given option


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

An algorithm that always takes the best immediate or local solution while finding an answer is
called .

► Deterministic Algorithm

► Non deterministic Algorithm

► Greedy Algorithm

► Randomized Algorithm

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

Which of the following command allows you to recover form mistakes in MS Word?

► Clear

► Edit

► Undo

► Break

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


A operating system allows many users to take advantage of the computer's
resources, simultaneously

► Single user

► Multi- user

► Single tasking

► Multi tasking
Question No: 5 ( Marks: 1 ) - Please choose one

Network Interface Card is an device

► Input

► Output

► Input/Output

► Storage

Question No: 6 ( Marks: 1 ) - Please choose one

The decimal equivalent of binary 1000 is

► 7

► 8

► 9

► 10

Question No: 7 ( Marks: 1 ) - Please choose one

Which of the following is NOT RDBMS software?


► My Sql

► MS Excel

► Oracle

► SQL Server
Question No: 8 ( Marks: 1 ) - Please choose one

A computer virus is a

► Software that saves the computer from being damaged.

► Application software that helps to make different type of viruses and worms

► Program that spreads itself and destroys other program

► Program that corrects the problems in your computer

Question No: 9 ( Marks: 1 ) - Please choose one

What will be the result of a?


a = Math.abs(-23)

► 23

► -23

► 23.0

► 2.3
Question No: 10 ( Marks: 1 ) - Please choose one

A Special program required to view swf (Shockwave Flash) files in web Browser is called

► TFlash

► Vflash

► plug-in

► None of the given options


Question No: 11 ( Marks: 8 )
Match the relevant options from the given two columns and write the correct options in
Column 3.
Column 1 Column 2 Column 3

1. Mainframe A. Network Traffic


Computers controller
2. Mosaic B. Laptop
3. Operating System C. Micro Processor
4. Router D. Software Piracy
5. Spread Sheet E. Windows XP
6. Mobile Computer F. Enterprise Servers
7. Intel 4004 G. VisiCalc
8. Cyber Crime H. Web Browser

Question No: 12 ( Marks: 12 )

(a) What is the difference between Wisdom and Heuristic?

(b) Differentiate between Cyber crime and Cyber warfare.

(c) What is a Relational Database? Give the names of any three RDBMS softwares?

Question No: 13 ( Marks: 8 )

What do you know about the following ? Describe briefly.

a) Enterprise Resource Planning (ERP) Software

b) Spread Sheet

c) Network Topology

d) SMTP

Question No: 14 ( Marks: 10 )

(a) What is the difference between High level and Low level programming languages?
(Marks: 4)
(b)What are the following abbreviations stands for
(Marks: 3)

1- VoIP

2- DNS

3- DOS

(c) Name three operations that you can perform on a database


(Marks: 3)

Question No: 15 ( Marks: 12 )

a) Develop a Web page that prompts the user to enter a name and then print that name five
times by using loop. A sample is shown in the figures below.
(Marks: 6)
b) Write down the JavaScript function that is equivalent to the following HTML code?
(Marks: 3)

HTML code JavaScript function


<FONT size=18>

</FONT>

<FONT color=”blue”>

</FONT>
<PRE> … </PRE>

(c) Suggest any three guidelines to make a website more readable?


(Marks: 3)
WWW. vujannat.ning.COM

vujannat.ning.com

CS101 Introduction to Computing


Mid Term Examination - November 2004
Time Allowed: 90 Minutes

Instructions
Please read the following instructions carefully before attempting any question:

1. This examination is closed book, closed notes, closed neighbors.


2. Answer all questions.
a. There is no choice.
b. You will have to answer correctly all questions in this examination to get the
maximum possible marks.
3. 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.
4. All Web development questions should be answered using the HTML/JavaScript syntax.

**WARNING: Please note that Virtual University takes serious notice of using
unfair means. Anyone found involved in cheating will get `F` grade in this course.

Total Marks: 45 Total Questions: 12

Question No. 1 Marks : 2

WYSIWYG is:

1 Software
2 The abbreviation of "what you see is what you get"
3 A Network company in Japan
4 The abbreviation of "word you see is what you get"

Question No. 2 Marks : 3

What do you know about structured design methodology?

Question No. 3 Marks : 2


BASIC stands for:
1 Basic American Standard Information Code
2 Beginners All purpose Symbolic Instruction Code
3 Brother and Sisters In Christ
4 British American Scientific International Commercial

Question No. 4 Marks : 4

Write down code for drop down list having options Cricket, Hockey and Soccer.

Question No. 5 Marks : 4

What are the basic steps to write pseudo code? Write any four.

Question No. 6 Marks : 2

Microprocessor are made up of semiconductor material called


1 Aluminum
2 Copper
3 Silicon dioxide
4 Silicon

Question No. 7 Marks : 10

a) Make truth table for the following Boolean expression z=(x XOR y).y'
b) Convert 1011 binary number to equivalent decimal number. Show each step of
Conversion.

Question No. 8 Marks : 3

What do you know about Mobile Computers? Explain Briefly.

Question No. 9 Marks : 2

World's first program was written by

1 Charles Babbage
2 Alfred Tennyson
3 Ada Lovelace
4 Bernoulli

Question No. 10 Marks : 6


What is difference between Literals, Identifiers and Variables in JavaScript? Give at least one
example of each.

Question No. 11 Marks : 15

a) Take a look at the image of the browser screen s hown below. Write down the HTML code
that will produce this screen. View the given below Image very carefully and try to fulfill
all requirements given in image.

b) Write down a function in JavaScript that compares two inputs taken from HTML Form
shown above and as a result display any one of the following message:

"First number is greater than the second" OR "Second number is greater than the first".
Question No. 12 Marks : 2

Batch programs do not

1 Print or store the results


2 Get input data
3 Execute programs without the interference of user
4 Provide event handling
vujannat.ning.com
http://vujannat.ning.com
Largest Online Community of VU Students

MID TERM EXAMINATION


Total Marks:50
SEMESTER FALL 2005
CS101-INTRODCUTION TO COMPUTING [Session-3] Duration: 60 min

StudentID/LoginID

Name

PVC Name/Code

Date 16 - 1 - 2006

Maximum Time Allowed: (1 Hour)

Please read the following instructions carefully before attempting any question:

1. This examination is closed book, closed notes, closed neighbors.


2. Answer all questions.
a. There is no choice.
b. You will have to answer correctly all questions in this examination to get the maximum
possible marks.
3. 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.
4. All Web development questions should be answered using the HTML/JavaScript syntax.

**WARNING: Please note that Virtual University takes serious notice of using unfair means.
Anyone found involved in cheating will get `F` grade in this course.
Question No: 1 Marks:14
You are required to develop a web page using HTML and JavaScript. The first page contains a button as
shown in fig1.1. When the button is clicked an input prompt is opened as shown in fig 1.2. By using java
script show either the input value is a binary number or not as shown in fig 1.3.

Fig 1.1

Fig 1.2

Fig 1.3

Question No: 2 Marks:10


(a). (5 marks) x, y and z are Boolean variables. Determine the truth tables for the following combinations:
• (y + x) . z
(b). (5 marks) Convert the following binary number into decimal number.
• 111011(2)

Question No: 3 Marks:8

(a) What is High Level and Low Level Programming?

(b) Difference between Assembly languages and Machine languages?

Question No: 4 Marks:8


− What is software development life cycle? Write down the names of different phases of system
development life cycle?

Question No: 5 Marks: 2


A program that translates the source code written in a High Level Language in one go, is called
.

1. Compiler
2. Interpreter
3. Device Driver
4. None of above.

Question No: 6 Marks: 2


A special type gateway that can keep external users from accessing resources on the LAN while letting
LAN users access the external info is called

1. Repeater
2. Firewall
3. Encryption
4. Hub

Question No: 7 Marks: 2


What does the following JavaScript code

function changeBgcolor() {
oldColor = window.document.bgColor;
window.document.bgColor = “pink”;
window. alert("The old color was " + oldColor);
}

1. Change the Color of Window document to pink and nothing else


2. Change the Color of Window document to pink and display the name of old Color in a dialogue box
3. Change the Color of Window document to Blue and displays name of old color in a dialogue box
4. Create a form in window document
WWW. vujannat.ning.COM

Question No: 8 Marks: 2


can also be improved through Encryption.

1. Data Integrity
2. Data Accessibility
3. Data Security
4. Data Entry

Question No: 9 Marks: 2


The collection of 4 bits is called .

1. Nibble
2. Byte
3. Word
4. Double-Word
WWW. vujannat.ning.COM
WWW. vujannat.ning.com
http:// vujannat.ning.com
Largest Online Community of VU Students

MIDTERM EXAMINATION
FALL 2006 Marks: 40
CS101 - INTRODUCTION TO COMPUTING Time: 60min

StudentID/LoginID:

Student Name:

Center Name/Code:

Exam Date:

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.

**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: 1 ) - Please choose one

Computer uses the scanner to input


WWW. vujannat.ning.COM

► Voice.

► Images.

► Voice and text.

► None of these

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

Software is

► Something that can be touched

► Something that cannot be touched

► Something used only as an output device

► Something used only as an input device

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

What is internet?

► A global network of networks

► A Software used to connect to some network

► A group of users

► Any network of more than two computers

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

Which of the following is a type of system software?

► Device driver

► Word processor

► Write once read -only- memory


WWW. vujannat.ning.COM
► Anti-Virus

Question No: 5 ( Marks: 1 ) - Please choose one

HTTP is the abbreviation for:

► Hyper text transfer protocol

► Hyper text terminal protocol

► Hyper text transmit protocol

► Hyper terminal text protocol

Question No: 6 ( Marks: 1 ) - Please choose one

Which of the following is called the brain of computer?

► Motherboard

► Slots

► Processor

► Power supply

Question No: 7 ( Marks: 12 )

a) Convert the following numbers from decimal numbers into binary numbers:
(Marks: 6)
1. 24
Answer =
2. 55
Answer =
3. 84
Answer =

b) X, Y is Boolean variables. Determine the truth tables for the following combinations:
(X . Y)’
(Marks: 6)

Question No: 8 ( Marks: 12 )


WWW. vujannat.ning.COM
a) What is the difference between Desktop Computer and Super Computer? Give at least
three differences (Marks: 6 )

b) Write an Algorithm to compute the final price of the item. It will ask two inputs from the
user i.e. Price of item and the sales tax rate. You have to calculate the final price of the item.
The formulas for calculating the sales tax and final price are as follows:
Sales tax = (price of item) * (sales tax rate)
Final price = (price of item) + (sales tax)
(Marks: 6 )

Question No: 9 ( Marks: 10 )

Write the HTML code that will generate the similar page as shown below. You have to put
the form elements with in the table.
WWW. vujannat.ning.COM
vujannat.ning.COM
Connecting VU Students
MIDTERM EXAMINATION

FALL 2007 Marks: 35

CS101 - INTRODUCTION TO COMPUTING (Session - 1 ) Time: 120min

StudentID/LoginID:

Student Name:

Center Name/Code:

Exam Date: Monday, November 19, 2007

Please read the foll owing 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.
3. Write all steps, missing steps may lead to deduction of marks.
4. Choose the most appropriate choice (among the given) while answering the MCQs.
5. Use of cell phone during the examination is strictly prohibited; otherwise strict disciplinary action will be
taken as per university rules.

**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: 1 ) - Please choose one

<UL> tag is used to

► underline text

► end the line


WWW. vujannat.ning.COM

► create ordered list

► create unordered list

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

Browser is a used for browsing.

► Component

► Tool

► None of these

► Device
Question No: 3 ( Marks: 1 ) - Please choose one

------------ is volatile memory

► RAM

► ROM

► Hard Disk

► CD ROM
Question No: 4 ( Marks: 1 ) - Please choose one

Using only Html we can create

► Dynamic web pages

► Static web pages

► Both Static and Dynamic pages

► None of these

Question No: 5 ( Marks: 1 ) - Please choose one

Command that allows you to recover form mistakes is


► Clear

► Edit

► Undo

► Break
Question No: 6 ( Marks: 8 )

What makes System Software different from Application software? Explain the attributes of
good application software. Please write down the concise and to the point answer.(4+4)

Question No: 7 ( Marks: 7 )

Draw the OS components diagram? What are the main responsibilities that Kernel plays in
Operating system? Please write down in 6-7 lines max.(3 + 4)

Question No: 8 ( Marks: 6 )

How you can enhance the capability of a micro processor? Write down the answer in
maximum 5-6 lines

Question No: 9 ( Marks: 9 )

Create the following page using html and javascript as shown in the image below. If someone
press “Ok” (submit) button without entering “age”, it should show a message “Please enter
your age”.

Options in drop down menu are


1) Chocolate
2) Vanilla
3) Cherry Garcia
4) Pizza Pancake
5) None of the above!
vujannat.ning.COM
Connecting VU Students
MIDTERM EXAMINATION

FALL 2007 Marks: 35


CS101 - INTRODUCTION TO COMPUTING (Session - 1 ) Time: 120min

StudentID/LoginID:

Student Name:

Center Name/Code:

Exam Date: Monday, November 19, 2007

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.
3. Write all steps, missing steps may lead to deduction of marks.
4. Choose the most appropriate choice (among the given) while answering the MCQs.
5. Use of cell phone during the examination is strictly prohibited; otherwise strict disciplinary action will be
taken as per university rules.

**WARNING: Please note that Virtual University takes serious note of unfair means. An yone 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: 1 ) - Please choose one

<UL> tag is used to

► underline text

► end the line

► create ordered list


WWW. vujannat.ning.COM
► create unordered list

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

Browser is a used for browsing.

► Component

► Tool

► None of these

► Device
Question No: 3 ( Marks: 1 ) - Please choose one

------------ is volatile memory

► RAM

► ROM

► Hard Disk

► CD ROM
Question No: 4 ( Marks: 1 ) - Please choose one

Using only Html we can create

► Dynamic web pages

► Static web pages

► Both Static and Dynamic pages

► None of these

Question No: 5 ( Marks: 1 ) - Please choose one

Command that allows you to recover form mistakes is

► Clear

► Edit
► Undo
WWW. vujannat.ning.COM
► Break
Question No: 6 ( Marks: 8 )

What makes System Software different from Application software? Explain the attributes of
good application software. Please write down the concise and to the point answer.(4+4)

Question No: 7 ( Marks: 7 )

Draw the OS components diagram? What are the main responsibilities that Kernel plays in
Operating system? Please write down in 6-7 lines max.(3 + 4)

Question No: 8 ( Marks: 6 )

How you can enhance the capability of a micro processor? Write down the answer in
maximum 5-6 lines

Question No: 9 ( Marks: 9 )

Create the following page using html and javascript as shown in the image below. If someone
press “Ok” (submit) button without entering “age”, it should show a message “Please enter
your age”.

Options in drop down menu are


1) Chocolate
2) Vanilla
3) Cherry Garcia
4) Pizza Pancake
5) None of the above!
WWW.vujannat.ning.COM
CS101 Introduction to Computing Page 1 of 7

vujannat.ning.com

CS101 Introduction to Computing


Mid Term Examination - April 2003
Session -1

Please read the following instructions carefully before attempting any of the questions:
1. The duration of this examination is 1.5 hours.
2. This examination is closed book, closed notes, closed neighbors; any one found cheating
will get zero grade in the course CS101 Introduction to Computing.
3. Answer all questions.
a. There is no choice.
b. You will have to correctly answer all questions in this examination to receive the
maximum possible marks.
4. Unless stated otherwise, all questions carry two marks. Each MCQ has 5 choices.
5. 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.
6. Most, but not all, of the examination consists of multiple-choice questions. Choose only
one choice as your answer.
a. If you believe that two (or more) of the choices are the correct ones for a
particular question, choose the best one.
b. On the other hand, if you believe that all of the choices provided for a particular
question are the wrong ones, select the one that appears to you as being the least
wrong.
7. All Web development questions should be answered using the HTML syntax.
WWW.vujannat.ning.COM
CS101 Introduction to Computing Page 2 of 7

Total Questions 25
Q.No 1
An object can be defined as
o Collection of integers and floats
o Collection o of integers and properties
o Collection of While loops and variables
o Collection of properties and methods
o Combination of sequential and conditional structures

Q.No 2
During the integration and testing phase of software development life cycle
o User documents the work that he thinks the system does
o Developer analyzes user's requirements, and perform further
investigation to write the specifications for the system
o Bring the subsystem together to form the systems and test them
o Detailed plan specifying the required resources and expected
deliverables
o Providing the feasibility of the system

Q.No 3
The advantage of client side scripting is
o All browsers support it
o Decreases the complexity of web page
o Reduces network traffic
o Increases server load
o User cannot see your code

Q.No 4
Spreadsheet software
o Is the replacement of ledgers
o Is a replacement of encyclopedia
o Are not used for business calculations and charts
o Is a sub category of science, engineering and graphics software
o Is a sub category of entertainment software.

Q.No 5
Decision support systems are sometimes called
o ERP
o Document-centered computing
o E-commerce software
WWW.vujannat.ning.COM
CS101 Introduction to Computing Page 3 of 7

o Electronic Encyclopedia
o Expert Systems

Q.No 6
ASP script is
o A data base management system
o Not a server side script
o Linux based server script
o Window based server script
o Unix based server script

Q.No 7
Software that directly interact with the user is called
o System software
o Application software
o Low level languages
o Machine language
o Compilers

Q.No 8
In the AND operation output is true if
o All input variables have true state
o Some of the input variables have true state
o None of the input variables have true state
o All the input variables have false state
o Only one of the input has false state

Q.No 9
Semantic web pages
o Are also called static web pages
o Are not understood by computers
o Are understood by computers
o Are not the extension of today's web pages
o Correct the semantics of the web page

Q.No 10
Two major types of software are
o Application Software, System Software
o Application Software , Database Software
o System Software , Database Software
WWW.vujannat.ning.COM
CS101 Introduction to Computing Page 4 of 7

o Database Software , Embedded Software


o Database Software , Embedded Software

Q.No 11
Language that is understood by computer hardware is called
o High level language
o Firmware
o Machine language
o Assembly language
o System software

Q.No 12
Microprocessor are made up of semiconductor material called
o Aluminum
o Copper
o Ferrous oxide
o Silicon
o Silicon dioxide

Q.No 13
The following code will

<Html><HEAD>
<TITLE>
My new Web Page
</TITLE>
</HEAD></Html>

o Display "My new Web Page " As a heading on my Web page


o Display "My new Web Page " On the title bar of the browser
o Display "My new Web Page " as a hyper link
o Make "My new Web Page " appear in bold letters
o Not display "My new Web Page

Q.No 14
In an HTML file, it is essential to have
o <Head> tag
o </Body> tag
o <Body> tag
o <B> tag
WWW.vujannat.ning.COM
CS101 Introduction to Computing Page 5 of 7

o None of above

Q.No 15
A unique identifier for the location of a specific Web page is called a
o FTP
o FAQ
o URL
o http://
o IRC

Q.No 16
Search engines
o Cannot search the entire web
o Are built to facilitate the scientists
o Make the list of images that are available on the net
o Search the news groups for the required information
o Scan the entire web for the desired information

Q.No 17
A web site
o Does not have a unique identifier
o Is accessible to limited user
o Is a collection of related documents on the internet
o Is a place where we can only read information on the internet
o Is a place on the net where we can only write information

Q.No 18
Vacuum Tubes are
o Smaller then transistors
o Developed for military applications
o Made up of two or more electrodes in a glass metal tube
o Used in IBM PC
o Invented by Tim Burners lee

Q.No 19
BASIC stands for
o Basic American Standard Information Code
o Beginners All purpose Symbolic Instruction Code
o Brother and Sisters In Christ
o British American Scientific International Commercial
WWW.vujannat.ning.COM
CS101 Introduction to Computing Page 6 of 7

o Badminton And Swimming Including Cycling

Q.No 20
JavaScript

o is an Object based Language


o is an interpreted language
o Both first and second
o is an Object-Oriented Language
o Both second and fourth

Q.No 21
World's first program was written by
o Charles Babbage
o Alfred Tennyson
o Ada Lovelace
o Bernouli
o Newton

Q.No 22
What would be the output of the following Pseudo Code? (3 Marks)

Start
Initialize x to 4
Initialize y to 1
Initialize Result to 0
While (y<=x)

Result=x+y
Y=y+1
Loop
Print Result
End

o 4
o 8
o 10
o 1
o None of the above
WWW.vujannat.ning.COM
CS101 Introduction to Computing Page 7 of 7

Q.No 23
Convert binary number 100100 into equivalent Decimal number. (5 Marks)

Q.No 24
Write the truth table for Boolean Expression. (5 Marks)

Z= x + (x. y)'

Q.No 25
Take a look at the image of the browser screen shown below. Write down the
HTML code that will produce this screen. (15 Marks)
WWW. vujannat.ning.COM
Connecting VU
Students
FINALTERM EXAMINATION
SPRING 2006 Marks: 50
CS101 - INTRODUCTION TO COMPUTING (Session - 1 Time: 120min
)

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?
WWW. vujannat.ning.COM
Connecting VU
Students

► 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 differe nt communication protocols. What
is the right choice to connect them?

► Router

► Bridge
WWW. vujannat.ning.COM
Connecting VU
Students

► Gateway

► Modem

Question No: 4 ( 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: 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 of data 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)


WWW. vujannat.ning.COM
Connecting VU
Students

b) How you can 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? Also write 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(“Virtual University 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?

You might also like