You are on page 1of 4

www.vustuff.

com
WWW.VUTUBE.EDU.PK

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 shown 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

You might also like