FINAL TERM EXAMINATION
SEMESTER FALL 2005
CS101-INTRODCUTION TO COMPUTING [Session-4]
Duration: 120 min
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
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
b. If you believe that some essential piece of information is missing, make an appropriate
assumption and use it to solve the problem.
**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
Question No: 1
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.
Question No: 2
Describe the following terms?
Question No: 3
What are local variables? Compare them with global variables?
Question No: 4
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
What will be the value of the variables “sum, x and y”, each time after the loop
Question No: 5
decimal number and converts it into its equivalent binary number and
the result in browser. Call that function in the body of the web page.
Question No: 6
What is database? Describe Data Integrity?
Question No: 7
Is a software to deliver e-mail
Is a computer that store and deliver web pages
Does not allow electronic chatting
Does not have a Domain name
Question No: 8
Used to allow I/O devices to communicate with the CPU
Able to process incoming data
Question No: 9
A Hyperlink is a:
Connection between two countries on the net
Gateway to the next web page
Gateway between five continents
Question No: 10
Vacuum Tubes are:
Smaller then transistors
Made up of two or more electrodes in a glass metal tube
Used in IBM PC
Invented by Tim Berners lee
Question No: 11
Memory inside a microprocessor is called